Skip to content

SaLoRA: Low-Rank Adaptation that Preserves Safety AlignmentSaLoRA: Safety-Alignment Preserved Low-Rank Adaptation

arXiv· arXiv:2501.01765· ICLR 2025· Mingjie Li, Wai Man Si, Michael Backes, Yang Zhang, Yisen Wang·Indexed by this site · 24 days ago· Originally publishedDefenses
AI summary

The paper proposes SaLoRA, a method for preserving the safety alignment of large language models during LoRA fine-tuning. Addressing the problem, warned of in recent research, that LoRA fine-tuning may break a model's safety alignment, the authors first investigate the mechanism by analyzing changes in safety-alignment-related features before and after fine-tuning, then introduce a fixed safety module computed from safety data and adopt task-specific initialization for the trainable parameters in low-rank adaptation. The authors state that, unlike previous LoRA methods and variants, SaLoRA can make targeted modifications to the model without breaking its original alignment; experiments show it outperforms various adapter-based methods on multiple evaluation metrics across different fine-tuning tasks.

Read originalICLR 2025