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
- See Low-Rank Adaptation (LoRA) for Efficient AI Model Fine-Tuning for a detailed overview of Parameter-Efficient Adaptation (PEA) techniques and the computational benefits of LoRA.
- Low-Rank Adaptation (LoRA) for Efficient AI Model Fine-Tuning (Video by Jia-Bin Huang)