Low-Rank Adaptation (LoRA)

Low-Rank Adaptation is a Parameter-Efficient Fine-Tuning technique that freezes pre-trained model weights and injects trainable low-rank decomposition matrices into specific layers. Instead of updating the full weight matrix , LoRA learns a delta , where and with rank . This approach drastically reduces trainable parameters and memory footprint, prevents catastrophic forgetting, and achieves performance parity with full fine-tuning across diverse tasks.

Mechanism

  • Replaces weight updates with low-rank factorization, storing only the small matrices and rather than the full weight delta.
  • Integrates seamlessly with existing Transformer layers by adding the low-rank update to the frozen pre-trained weights during inference ().

Context & Resources