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

Put the Space of LoRA Initialization to the Extreme to Preserve Pre-trained Knowledge

About

Low-Rank Adaptation (LoRA) is the leading parameter-efficient fine-tuning method for Large Language Models (LLMs), but it still suffers from catastrophic forgetting. Recent work has shown that specialized LoRA initialization can alleviate catastrophic forgetting. There are currently two approaches to LoRA initialization aimed at preventing knowledge forgetting during fine-tuning: (1) making residual weights close to pre-trained weights, and (2) ensuring the space of LoRA initialization is orthogonal to pre-trained knowledge. The former is what current methods strive to achieve, while the importance of the latter is not sufficiently recognized. We find that the space of LoRA initialization is the key to preserving pre-trained knowledge rather than the residual weights. Existing methods like MiLoRA propose making the LoRA initialization space orthogonal to pre-trained weights. However, MiLoRA utilizes the null space of pre-trained weights. Compared to pre-trained weights, the input activations of pre-trained knowledge take into account the parameters of all previous layers as well as the input data, while pre-trained weights only contain information from the current layer. Moreover, we find that the effective ranks of input activations are much smaller than those of pre-trained weights. Thus, the null space of activations is more accurate and contains less pre-trained knowledge information compared to that of weights. Based on these, we introduce LoRA-Null, our proposed method that initializes LoRA in the null space of activations. Experimental results show that LoRA-Null effectively preserves the pre-trained world knowledge of LLMs while achieving good fine-tuning performance, as evidenced by extensive experiments. Code is available at {https://github.com/HungerPWAY/LoRA-Null}.

Pengwei Tang, Xiaolin Hu, Yong Liu, Lizhong Ding, Dongjie Zhang, Xing Wu, Debing Zhang• 2025

Related benchmarks

TaskDatasetResultRank
Instruction FollowingIFEval
IFEval Accuracy23.29
836
Multitask KnowledgeMMLU
Accuracy60.07
92
Factual Question AnsweringTriviaQA
Accuracy30.58
46
Mathematical ReasoningGSM8K and MATH
GSM8K Score43.89
38
Factual QANQ-Open
Accuracy7.45
36
Reading ComprehensionSQuAD v2
Accuracy25.84
20
Hallucination RobustnessTruthfulQA
TruthfulQA Accuracy48.4
12
Long-context language modelingLongBench v2
Accuracy29.42
12
Long-context ReasoningBABILong
Accuracy66.07
12
Open-domain Question AnsweringWebQuestions (WebQs)
WebQS Score6.88
12
Showing 10 of 14 rows

Other info

Follow for update