Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

MoRA: High-Rank Updating for Parameter-Efficient Fine-Tuning

About

Low-rank adaptation is a popular parameter-efficient fine-tuning method for large language models. In this paper, we analyze the impact of low-rank updating, as implemented in LoRA. Our findings suggest that the low-rank updating mechanism may limit the ability of LLMs to effectively learn and memorize new knowledge. Inspired by this observation, we propose a new method called MoRA, which employs a square matrix to achieve high-rank updating while maintaining the same number of trainable parameters. To achieve it, we introduce the corresponding non-parameter operators to reduce the input dimension and increase the output dimension for the square matrix. Furthermore, these operators ensure that the weight can be merged back into LLMs, which makes our method can be deployed like LoRA. We perform a comprehensive evaluation of our method across five tasks: instruction tuning, mathematical reasoning, continual pretraining, memory and pretraining. Our method outperforms LoRA on memory-intensive tasks and achieves comparable performance on other tasks.

Ting Jiang, Shaohan Huang, Shengyue Luo, Zihan Zhang, Haizhen Huang, Furu Wei, Weiwei Deng, Feng Sun, Qi Zhang, Deqing Wang, Fuzhen Zhuang• 2024

Related benchmarks

TaskDatasetResultRank
Commonsense ReasoningWinoGrande
Accuracy86.74
1442
Commonsense ReasoningCommon Sense Reasoning Tasks
Avg Score78.63
321
Commonsense ReasoningARC Challenge
Accuracy79.61
243
Commonsense ReasoningCommonsense Reasoning (BoolQ, PIQA, SIQA, HellaS., WinoG., ARC-e, ARC-c, OBQA)
BoolQ Accuracy88.56
223
Commonsense ReasoningPIQA
Accuracy87.43
213
Mathematical ReasoningGSM8K
GSM8K Accuracy (%)67.89
204
Commonsense ReasoningSIQA
Accuracy80.71
168
Image ClassificationPACS
Accuracy89.09
130
Commonsense ReasoningOpenBookQA
Accuracy85.6
108
Common Sense ReasoningARC Easy
ARC (easy) Accuracy91.16
101
Showing 10 of 22 rows

Other info

Follow for update