Decoupling Safety into Orthogonal Subspace: Cost-Efficient and Performance-Preserving Alignment for Large Language Models
Yutao Mou, Xiaoling Zhou, Yuxiao Luo, Shikun Zhang, Wei Ye
TL;DR
The paper tackles the high cost and performance degradation inherent in safety-alignment of large language models by introducing LoRA-based Refusal-training that uses only safety data. It provides a theoretical account—transformation subspace orthogonality—showing that safety updates occupy a low-rank subspace largely orthogonal to the model's intrinsic transformations, thereby avoiding interference with core capabilities. Empirically, LoRA-based safety patches yield strong jailbreak defense with minimal loss in general performance, outperforming full-parameter methods in data-balancing scenarios and enabling plug-and-play, lifelong safety patching. The work demonstrates cross-domain advantages, analyzes the role of LoRA rank, and discusses limitations and future directions for adaptive attackers and broader model types, highlighting practical impact for cost-efficient, scalable safety alignment in evolving AI systems.
Abstract
Safety alignment is essential for building trustworthy artificial intelligence, yet it remains challenging to enhance model safety without degrading general performance. Current approaches require computationally expensive searches for the optimal proportion of safety-critical and general-purpose data to balance safety and general performance, incurring high costs with limited gains. In this work, we show that LoRA-based Refusal-training enables performance-preserving safety alignment even when trained solely on safety data, demonstrating that LoRA serves as cost-efficient, performance-preserving, and plug-and-play safety patches. Beyond empirical findings, we provide both theoretical and experimental evidence that LoRA effectively decouples safety into a low-rank subspace largely orthogonal to the model's intrinsic transformation space, ensuring that safety enhancements do not interfere with inherent capabilities.
