MELoRA: Mini-Ensemble Low-Rank Adapters for Parameter-Efficient Fine-Tuning

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Ren, Pengjie, Shi, Chengshun, Wu, Shiguang, Zhang, Mengqi, Ren, Zhaochun, de Rijke, Maarten, Chen, Zhumin, Pei, Jiahuan
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866909622570319872
author Ren, Pengjie
Shi, Chengshun
Wu, Shiguang
Zhang, Mengqi
Ren, Zhaochun
de Rijke, Maarten
Chen, Zhumin
Pei, Jiahuan
author_facet Ren, Pengjie
Shi, Chengshun
Wu, Shiguang
Zhang, Mengqi
Ren, Zhaochun
de Rijke, Maarten
Chen, Zhumin
Pei, Jiahuan
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2402_17263
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle 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
Computation and Language
68T50
I.2.7
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.
title MELoRA: Mini-Ensemble Low-Rank Adapters for Parameter-Efficient Fine-Tuning
topic Computation and Language
68T50
I.2.7
url https://arxiv.org/abs/2402.17263