MELoRA: Mini-Ensemble Low-Rank Adapters for Parameter-Efficient Fine-Tuning
Ren, Pengjie, Shi, Chengshun, Wu, Shiguang, Zhang, Mengqi, Ren, Zhaochun, de Rijke, Maarten, Chen, Zhumin, Pei, Jiahuan
–arXiv.org Artificial Intelligence
Parameter-efficient fine-tuning (PEFT) is a popular method for tailoring pre-trained large language models (LLMs), especially as the models' scale and the diversity of tasks increase. Low-rank adaptation (LoRA) is based on the idea that the adaptation process is intrinsically low-dimensional, i.e., significant model changes can be represented with relatively few parameters. However, decreasing the rank encounters challenges with generalization errors for specific tasks when compared to full-parameter fine-tuning. We present MELoRA, a mini-ensemble low-rank adapters that uses fewer trainable parameters while maintaining a higher rank, thereby offering improved performance potential. The core idea is to freeze original pretrained weights and train a group of mini LoRAs with only a small number of parameters. This can capture a significant degree of diversity among mini LoRAs, thus promoting better generalization ability. We conduct a theoretical analysis and empirical studies on various NLP tasks. Our experimental results show that, compared to LoRA, MELoRA achieves better performance with 8 times fewer trainable parameters on natural language understanding tasks and 36 times fewer trainable parameters on instruction following tasks, which demonstrates the effectiveness of MELoRA.
arXiv.org Artificial Intelligence
Jun-24-2024
- Country:
- North America > Canada
- Europe
- Czechia > Prague (0.04)
- Romania > Sud - Muntenia Development Region
- Giurgiu County > Giurgiu (0.04)
- Netherlands
- South Holland > Leiden (0.04)
- North Holland > Amsterdam (0.04)
- Asia
- Singapore (0.04)
- China > Shandong Province (0.04)
- Genre:
- Research Report (0.83)
- Technology: