arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.06305cs.CL
收藏

为何LoRA无法遗忘:针对语言模型中的后门行为的正则化低秩适应

Why LoRA Fails to Forget: Regularized Low-Rank Adaptation Against Backdoors in Language Models

Golisano College of Computing and Information Sciences(戈利萨诺计算与信息科学学院);Rochester Institute of Technology(罗切斯特理工大学)

Hoang-Chau Luong, Lingwei Chen

AI总结:

RoRA通过增强谱强度和纠正对齐,有效提升LoRA在对抗后门攻击时的遗忘能力。

摘要:

低秩适应(LoRA)被广泛用于大型语言模型的参数高效微调,但其在处理被污染的预训练模型时,尤其是在使用干净数据集微调时,明显无法有效去除后门行为。与普遍认为这种弱点主要由低秩引起的观点不同,我们证明LoRA的脆弱性本质上是谱性的。我们的分析识别出两个关键因素:LoRA更新(i)具有不足的谱强度,奇异值远低于预训练权重;(ii)表现出不利的谱对齐,与干净任务方向弱匹配,同时保留与触发敏感子空间的重叠。我们进一步建立了一个关键的缩放阈值,超过该阈值,LoRA理论上可以抑制触发引起的激活,我们实证表明标准LoRA很少达到这一范围。我们引入了正则化低秩适应(RoRA),通过增强谱强度和通过干净加强的正则化、触发不敏感约束和训练后谱重缩放来纠正对齐,从而提高遗忘能力。在多个NLP基准和攻击设置上的实验表明,RoRA显著降低了攻击成功率,同时保持干净准确性。

英文摘要:

Low-Rank Adaptation (LoRA) is widely used for parameter-efficient fine-tuning of large language models, but it is notably ineffective at removing backdoor behaviors from poisoned pretrained models when fine-tuning on clean dataset. Contrary to the common belief that this weakness is caused primarily by low rank, we show that LoRA's vulnerability is fundamentally spectral. Our analysis identifies two key factors: LoRA updates (i) possess insufficient spectral strength, with singular values far below those of pretrained weights, and (ii) exhibit unfavorable spectral alignment, weakly matching clean-task directions while retaining overlap with trigger-sensitive subspaces. We further establish a critical scaling threshold beyond which LoRA can theoretically suppress trigger-induced activations, and we show empirically that standard LoRA rarely reaches this regime. We introduce Regularized Low-Rank Adaptation (RoRA), which improves forgetting by increasing spectral strength and correcting alignment through clean-strengthened regularization, trigger-insensitive constraints, and post-training spectral rescaling. Experiments across multiple NLP benchmarks and attack settings show that RoRA substantially reduces attack success rates while maintaining clean accuracy.

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

↑