arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.13003cs.CLcs.LGmath.OC
收藏

OPLoRA:正交投影 LoRA 在参数高效微调中防止灾难性遗忘

OPLoRA: Orthogonal Projection LoRA Prevents Catastrophic Forgetting during Parameter-Efficient Fine-Tuning

Yifeng Xiong, Xiaohui Xie

AI总结:

OPLoRA 通过将 LoRA 更新约束在前 k 个奇异子空间的正交补空间内,从理论上保证保留预训练知识,并在多个任务上显著减少灾难性遗忘。

摘要:

低秩适应(LoRA)能够高效微调大型语言模型,但当学习到的更新与编码关键预训练知识的主奇异方向发生干扰时,会出现灾难性遗忘。我们提出正交投影 LoRA(OPLoRA),这是一种有理论依据的方法,通过双侧正交投影来防止这种干扰。OPLoRA 通过 SVD 分解冻结权重,利用投影 P_L = I - U_k U_k^T 和 P_R = I - V_k V_k^T,将 LoRA 更新完全约束在前 k 个奇异子空间的正交补空间内。我们证明该构造能够精确保持前 k 个奇异三元组,为知识保留提供数学保证。为量化子空间干扰,我们引入 ρ_k,该指标用于衡量更新与主方向的对齐程度。在常识推理、数学和代码生成上的大量实验表明,OPLoRA 在 LLaMA-2 7B 和 Qwen2.5 7B 上显著减少遗忘,同时保持有竞争力的任务特定性能,确立了正交投影作为参数高效微调中知识保留的有效机制。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑