Low-Rank Adaptation (LoRA)

A technique that fine-tunes an AI model cheaply by training only a small set of extra weights instead of updating the whole model.

Technically: Low-Rank Adaptation freezes the original weights and injects trainable low-rank matrices (rank r << d) into targeted layers, usually attention projections. The update is approximated as B*A with B in R^{dxr}, A in R^{rxk}, cutting trainable parameters from d*k to r*(d+k). Adapters merge losslessly for zero-latency inference and can be swapped per task.

Category: Training & Optimization

Related ideas