LoRA-E2: Effective and Efficient Low-rank Adaptation
Shengkun Zhu, Jinshan Zeng, Yiming Wang, Sheng Wang, Yuan Sun, Shangfeng Chen, Yuan Yao, Qiang Yang
摘要
Low-rank adaptation (LoRA) has emerged as an efficient fine-tuning technique for large language models, enabling parameter-efficient updates while maintaining task performance. However, LoRA suffers from two key issues: 1) inefficient feature learning when the width 𝑛 (embedding dimension) is large, and 2) ineffective updates to the adapter matrix 𝑨 due to the initialization of 𝑩 as zero. We propose LoRA-E 2 , which utilizes a Gaussian initialization with variance Θ(𝑛 -3/4 ) for 𝑨, and employs the Gauss-Seidel iteration to train 𝑩 and 𝑨 during the warm-up phase, while employing Jacobi iteration for efficiency during main training. We theoretically show that LoRA-E 2 enables more stable and efficient feature learning with effective parameter updates over LoRA. Empirically, LoRA-E 2 achieves consistent gains in both natural language understanding and generation tasks. On the GLUE benchmark with T5-base, it improves performance by 1-10% over LoRA. When fine-tuning Llama 2-7B on MetaMathQA with GSM8K as validation, LoRA-E 2 surpasses LoRA by 1-2% and converges up to ∼3× faster. Code is available at https://github.com/whu-totemdb/LoRA-E2.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
- QLoRA: Efficient Finetuning of Quantized LLMs 引用了 LoRA: Low-Rank Adaptation of Large Language Models
- QLoRA: Efficient Finetuning of Quantized LLMs 引用了 Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learning
- Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learning 引用了 LoRA: Low-Rank Adaptation of Large Language Models
- MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Models 引用了 QLoRA: Efficient Finetuning of Quantized LLMs
它引用的 Paper25
- LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu 等ICLR 2022 · 18,833 次引用
- QLoRA: Efficient Finetuning of Quantized LLMsTim Dettmers, Artidoro Pagnoni, Ari Holtzman, Luke ZettlemoyerNeurIPS 2023 · 5,863 次引用
- Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context LearningHaokun Liu, Derek Tam, Mohammed Muqeeth, Jay Mohta 等NeurIPS 2022 · 1,483 次引用
- DoRA: Weight-Decomposed Low-Rank AdaptationShih-Yang Liu, Chien-Yi Wang, Hongxu Yin, Pavlo Molchanov 等ICML 2024 · 820 次引用
- MetaMath: Bootstrap Your Own Mathematical Questions for Large Language ModelsLonghui Yu, Weisen Jiang, Han Shi, Jincheng Yu 等ICLR 2024 · 637 次引用
相关 Paper
- LoRA-GA: Low-Rank Adaptation with Gradient ApproximationShaowen Wang, Linxi Yu, Jian LiNeurIPS 2024 · 194 次引用
- LaMDA: Large Model Fine-Tuning via Spectrally Decomposed Low-Dimensional AdaptationSeyedarmin Azizi, Souvik Kundu, Massoud PedramEMNLP Findings 2024 · 5 次引用
- LoRA Done RITE: Robust Invariant Transformation Equilibration for LoRA OptimizationJui-Nan Yen, Si Si, Zhao Meng, Felix X. Yu 等ICLR 2025
- LoRA+: Efficient Low Rank Adaptation of Large ModelsSoufiane Hayou, Nikhil Ghosh, Bin YuICML 2024 · 388 次引用
- Fast Randomized Low-Rank Adaptation of Pre-trained Language Models with PAC RegularizationZijian Lei, Dong Qian, William K. CheungACL Findings 2024 · 1 次引用
