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

将安全性解耦到正交子空间:大型语言模型的低成本高效且保持性能的对齐

Decoupling Safety into Orthogonal Subspace: Cost-Efficient and Performance-Preserving Alignment for Large Language Models

National Engineering Research Center for Software Engineering, Peking University, China(软件工程国家工程研究中心,北京大学,中国)

Yutao Mou, Xiaoling Zhou, Yuxiao Luo, Shikun Zhang, Wei Ye

AI总结:

本研究提出基于LoRA的拒绝训练方法,将安全性解耦至与模型内在转换空间正交的低秩子空间,在仅用安全数据训练时即可实现低成本且保持通用性能的安全对齐。

摘要:

安全性对齐对于构建可信赖的人工智能至关重要,但在不降低通用性能的情况下增强模型安全性仍具挑战。现有方法需要计算成本高昂的搜索来寻找安全关键数据与通用数据的最佳比例以平衡两者,导致高成本且收益有限。在本研究中,我们表明基于 LoRA 的拒绝训练(Refusal-training)即使在仅使用安全数据训练时,也能实现保持性能的安全对齐,证明 LoRA 可作为低成本高效、保持性能且即插即用的安全补丁。除经验发现外,我们还提供了理论和实验证据,表明 LoRA 能有效将安全性解耦到一个与模型内在转换空间高度正交的低秩子空间中,确保安全性提升不会干扰其固有能力。

英文摘要:

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.

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

↑