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

GoRA: Gradient-driven Adaptive Low Rank Adaptation

About

Low-Rank Adaptation (LoRA) is a crucial method for efficiently fine-tuning large language models (LLMs), with its effectiveness influenced by two key factors: rank selection and weight initialization. While numerous LoRA variants have been proposed to improve performance by addressing one of these aspects, they often compromise usability or computational efficiency. In this paper, we analyze and identify the core limitations of existing approaches and propose a novel framework--GoRA (Gradient-driven Adaptive Low Rank Adaptation)--that simultaneously adapts both the rank and initialization strategy within a unified framework. GoRA leverages gradient information during training to dynamically assign optimal ranks and initialize low-rank adapter weights in an adaptive manner. To our knowledge, GoRA is the first method that not only addresses the limitations of prior approaches--which often focus on either rank selection or initialization in isolation--but also unifies both aspects within a single framework, enabling more effective and efficient adaptation. Extensive experiments across various architectures and modalities show that GoRA consistently outperforms existing LoRA-based methods while preserving the efficiency of vanilla LoRA. For example, when fine-tuning Llama3.1-8B-Base for mathematical reasoning, GoRA achieves a 5.13-point improvement over standard LoRA and even outperforms full fine-tuning by 2.05 points under high-rank settings. Code is available at: https://github.com/hhnqqq/MyTransformers.

Haonan He, Peng Ye, Yuchen Ren, Yuan Yuan, Luyang Zhou, Shucun Ju, Lei Chen• 2025

Related benchmarks

TaskDatasetResultRank
Mathematical ReasoningGSM8K (test)
Accuracy76.5
816
Natural Language UnderstandingGLUE
SST-291.97
551
ClassificationCars
Accuracy71.1
492
Image ClassificationPets
Accuracy83.35
308
Image ClassificationCIFAR10
Accuracy (%)96.91
282
Commonsense ReasoningCommonsense Reasoning (BoolQ, PIQA, SIQA, HellaS., WinoG., ARC-e, ARC-c, OBQA)
BoolQ Accuracy83
223
Multi-turn dialogueMT-Bench
MT-Bench Score5.99
126
Image ClassificationFlowers
Top-1 Acc79.8
110
Image ClassificationFood
Accuracy80.66
91
Natural Language UnderstandingGLUE (val)
MNLI Accuracy85.7
18
Showing 10 of 11 rows

Other info

Follow for update