Flora: Low-Rank Adapters Are Secretly Gradient Compressors
Authors: Yongchang Hao, Yanshuai Cao, Lili Mou
AI-generated Key Points
- LoRA method aims to reduce memory usage in large neural networks by training fewer parameters and decreasing optimization states.
- Flora is introduced as a novel approach to address limitations of LoRA, leveraging random projection to achieve high-rank updates while maintaining model performance.
- Flora allows for sublinear space complexity in storing optimization states.
- Experiments involve fine-tuning pre-trained models using gradient accumulation and training from scratch with momentum techniques.
- Effectiveness is evaluated using ROUGE scores for summarization tasks and SacreBLEU scores for translation tasks.
- Peak memory usage is monitored, and comparisons are made with competing approaches such as Adafactor.
- Experiments are conducted across different model architectures (T5 and GPT-2 series) on tasks like summarization and translation.
- Efficiency of Flora in optimizing memory usage without compromising model performance is demonstrated through testing various rank values for small and large models, showing significant improvements compared to existing methods.
Abstract: Despite large neural networks demonstrating remarkable abilities to complete different tasks, they require excessive memory usage to store the optimization states for training. To alleviate this, the low-rank adaptation (LoRA) is proposed to reduce the optimization states by training fewer parameters. However, LoRA restricts overall weight update matrices to be low-rank, limiting the model performance. In this work, we investigate the dynamics of LoRA and identify that it can be approximated by a random projection. Based on this observation, we propose Flora, which is able to achieve high-rank updates by resampling the projection matrices while enjoying the sublinear space complexity of optimization states. We conduct experiments across different tasks and model architectures to verify the effectiveness of our approach.
Tools for this paper
Ask questions about this paper to our AI assistant
You can also chat with multiple papers at once here.
The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.
Similar papers summarized with our AI tools
Navigate through even more similar papers through a
tree representationLook for similar papers (in beta version)
We compare the title and abstract with papers indexed in our database. For arXiv papers, we search within the same category; for DOI and other sources, we search across sources and subjects. You can rerun the search as our database grows.
Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.