A concise analysis of low-rank adaptation
Abstract
Recent years the pre-trained language models have been proved to be a transformative technology within the domain of Natural Language Processing (NLP). From early word embeddings to modern transformer-based architectures, the success of models like BERT, GPT-3, and their variants has led to remarkable advancements in various NLP tasks. This paper is based on the Transformer model and explores and summarizes the application of the lightweight fine-tuning technique LoRA in pretrained language models, as well as improvements and derived technologies based on LoRA. Moreover, this paper categorizes these techniques into two main directions according to the advancements: enhancing training efficiency and improving training performance. Under these two major directions, several representative optimization and derived techniques are summarized and analyzed. Furthermore, this paper offers a perspective on the hot topics and future prospects of this research subject, and summarizes and proposes several directions that hold exploration value for the future, such as the possible avenues for further optimization and integration with other lightweight technologies.
References
- Ashish V, Noam S, Niki P, Jakob U, Llion J, Aidan N G, Łukasz K and Illia P June 2017 Attention is all you need. arXiv:1706.03762
- Jacob D, Ming-Wei C, Kenton L and Kristina T May 2019b BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. arXiv:1810.04805
- Edward J Hu, Yelong S, Phillip W, Zeyuan Allen-Z, Yuanzhi L, Lora: Low-rank adaptation of large language models. arXiv:2106.09685,2021. Thijs V, Sai P K, and Martin Powersgd: Practical low-rank gradient compression for distributed optimization. J. Advances in Neural Information Processing Systems, 32, 2019
- Misha D, Babak S, Laurent D, Marc’A R, and Nando D F 2014 Predicting parameters in deep learning. International Conference on Neural Information Processing Systems 2148–2156, 2013
- Haoyu H, Jianfei C, Jing Z, Dacheng T and Bohan Z Sensitivity-aware visual parameter-efficient tuning. 2023
- Neil H, Andrei G, Stanislaw J Bruna M, Quentin D L, Andrea G, Mona A and Sylvain G Parameter-efficient transfer learning for nlp. In International Conference on Machine Learning, 2790–2799, 2019.
- Brian L, Rami Al-R and Noah C The Power of Scale for Parameter-Efficient Prompt Tuning. 2021, arXiv:2104.08691.
- Xiang L L and Percy L Prefix-Tuning: Optimizing Continuous Prompts for Generation. 2021, arXiv:2101.00190.
- Armen A, Luke Z and Sonal G December Intrinsic Dimensionality Explains the Effectiveness of Language Model Fine-Tuning. 2020 arXiv:2012.13255
- Longteng Z, Lin Z, Shaohuai S, Xiaowen C and Bo L August 2023 LoRA-FA: memory-efficient Low-Rank Adaptation for large language models fine-tuning. arXiv:2308.03303 [cs], URL http://arxiv.org/abs/2308.03303.
- Tim D, Artidoro P, Ari H and Luke Z May QLoRA: efficient finetuning of quantized LLMs. 2023, arXiv:2305.14314.
- Arnav C, Zhuang L, Deepak G, Eric X and Zhiqiang S One-for-all: Generalized lora for parameter-efficient fine-tuning, 2023 arXiv:2306.07967.
- Qingru Z, Minshuo C, Alexander B, Pengcheng H, Yu C, Weizhu C and Tuo Z March 2023 Adaptive budget allocation for parameter efficient fine-tuning. arXiv:2303.10512