OPLoRA: Orthogonal Projection LoRA Prevents Catastrophic Forgetting during Parameter-Efficient Fine-Tuning
Yifeng Xiong, Xiaohui Xie
TL;DR
OPLoRA addresses catastrophic forgetting in parameter-efficient fine-tuning by constraining LoRA updates to the orthogonal complement of the dominant pre-trained subspaces. It achieves this with double-sided projections, yielding $\Delta W = P_L B A P_R$ that preserves the top-$k$ singular triples of the frozen weight matrix, guaranteed by Propositions 1 and 2. The approach introduces $\rho_k$ to quantify subspace interference and demonstrates, across commonsense, mathematical reasoning, and code-generation tasks on LLaMA-2-7B and Qwen2.5-7B, that forgetting is significantly reduced while maintaining competitive task performance. This subspace-aware PEFT method offers principled knowledge preservation with practical impact for robust deployment of large language models during continual and task-specific fine-tuning.
Abstract
Low-Rank Adaptation (LoRA) enables efficient fine-tuning of large language models but suffers from catastrophic forgetting when learned updates interfere with the dominant singular directions that encode essential pre-trained knowledge. We propose Orthogonal Projection LoRA (OPLoRA), a theoretically grounded approach that prevents this interference through double-sided orthogonal projections. By decomposing frozen weights via SVD, OPLoRA constrains LoRA updates to lie entirely within the orthogonal complement of the top-$k$ singular subspace using projections $P_L = I - U_k U_k^\top$ and $P_R = I - V_k V_k^\top$. We prove that this construction exactly preserves the top-$k$ singular triples, providing mathematical guarantees for knowledge retention. To quantify subspace interference, we introduce $ρ_k$, a metric measuring update alignment with dominant directions. Extensive experiments across commonsense reasoning, mathematics, and code generation demonstrate that OPLoRA significantly reduces forgetting while maintaining competitive task-specific performance on LLaMA-2 7B and Qwen2.5 7B, establishing orthogonal projection as an effective mechanism for knowledge preservation in parameter-efficient fine-tuning.
