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

用于大型语言模型安全对齐的对比知识迁移与鲁棒优化

Contrastive Knowledge Transfer and Robust Optimization for Secure Alignment of Large Language Models

Northwestern University(西北大学);Syracuse University(雪城大学);Trine University(特里恩大学);University of North Carolina at Chapel Hill(北卡罗来纳大学教堂山分校);Carnegie Mellon University(卡内基梅隆大学)

Jiasen Zheng, Huajun Zhang, Xu Yan, Ran Hao, Chong Peng

AI总结:

本文提出一种结合对比蒸馏与噪声鲁棒训练的微调方法,通过冻结骨干模型迁移教师模型知识边界并引入鲁棒优化约束,显著提升了大型语言模型在安全对齐和抗干扰方面的性能。

摘要:

本文通过提出一种结合对比蒸馏与噪声鲁棒训练的微调方法,解决了大规模语言模型在安全对齐和鲁棒性方面的局限性。该方法冻结骨干模型,并通过蒸馏将教师模型的知识边界迁移到学生模型,从而提高语义一致性和对齐准确性。同时,在训练过程中引入噪声扰动和鲁棒优化约束,确保模型在噪声和不确定输入下保持稳定的预测输出。整体框架由蒸馏损失、鲁棒性损失和正则化项组成,形成了一个平衡对齐能力与抗干扰能力的统一优化目标。为系统验证其有效性,研究从多个角度设计了实验,包括蒸馏权重敏感性、计算预算和混合精度环境下的稳定性分析,以及数据噪声和分布偏移对模型性能的影响。结果表明,该方法在知识迁移、鲁棒性和整体安全性方面显著优于现有基线,在多个关键指标上取得最佳性能。这项工作不仅丰富了参数高效微调的理论体系,也为构建更安全、更可信的对齐机制提供了新方案。

英文摘要:

This paper addresses the limitations of large-scale language models in safety alignment and robustness by proposing a fine-tuning method that combines contrastive distillation with noise-robust training. The method freezes the backbone model and transfers the knowledge boundaries of the teacher model to the student model through distillation, thereby improving semantic consistency and alignment accuracy. At the same time, noise perturbations and robust optimization constraints are introduced during training to ensure that the model maintains stable predictive outputs under noisy and uncertain inputs. The overall framework consists of distillation loss, robustness loss, and a regularization term, forming a unified optimization objective that balances alignment ability with resistance to interference. To systematically validate its effectiveness, the study designs experiments from multiple perspectives, including distillation weight sensitivity, stability analysis under computation budgets and mixed-precision environments, and the impact of data noise and distribution shifts on model performance. Results show that the method significantly outperforms existing baselines in knowledge transfer, robustness, and overall safety, achieving the best performance across several key metrics. This work not only enriches the theoretical system of parameter-efficient fine-tuning but also provides a new solution for building safer and more trustworthy alignment mechanisms.

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

↑