Why LoRA Fails to Forget: Regularized Low-Rank Adaptation Against Backdoors in Language Models
Hoang-Chau Luong, Lingwei Chen
TL;DR
The paper tackles the problem that Low-Rank Adaptation (LoRA) struggles to forget backdoors embedded in poisoned pretrained language models. It shows that the bottleneck is spectral rather than rank, requiring sufficient spectral strength and favorable alignment with clean-task directions while avoiding trigger directions; it derives a critical scaling threshold $s^\ ightarrow$ dictating when forgetting occurs. The authors introduce Regularized Low-Rank Adaptation (RoRA), which combines clean-strengthened regularization, trigger-insensitive regularization, and post-training spectral rescaling to widen the effective alignment gap and boost spectral strength. Empirical results across multiple NLP benchmarks and attacks demonstrate that RoRA reduces attack success rates substantially while preserving clean accuracy, and its components generalize across LoRA variants and architectures.
Abstract
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.
