arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.19207cs.LGcs.AI
收藏

作为后门传播通道的在线策略蒸馏

On-policy distillation as a Backdoor Propagation Channel

Alibaba Group(阿里巴巴集团);Wuhan University of Technology(武汉理工大学);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);Jilin University(吉林大学);Beijing University of Posts and Telecommunications(北京邮电大学);Taobao (China) Software Co., Ltd.(淘宝(中国)软件有限公司)

Zane Fu, Yanzhao Zheng, Ziting Qin, Qianshan Wei, Yi Yu, Gongli Xi, Jihuai Zhu, Baohua Dong, Hangcheng Zhu, Ruohui Huang, Gang Yu

AI总结:

本研究揭示OPD可作为后门传播通道,攻击者通过SFT向教师模型植入条件后门后,OPD能以极小触发提示比例将后门传递给学生模型,且该传递强于传统蒸馏,还提出了针对性OPD训练方法以缓解风险。

摘要:

在线策略蒸馏(On-policy distillation, OPD)正成为大型语言模型后训练的重要范式,通过利用教师模型在线生成的监督信号来改进学生模型。然而,这一过程是否会将教师模型的潜在安全风险传递给学生模型,目前尚未得到充分研究。在本研究中,我们揭示了一种新的安全风险:攻击者首先通过监督微调(supervised fine tuning, SFT)向教师模型植入条件后门,之后仅需暴露极小比例的触发提示,OPD即可将该后门传递给学生模型。更值得关注的是,我们发现这种后门传递在OPD下比在传统蒸馏方法下要强得多,这表明OPD可能为跨模型传播后门提供了高效通道。我们的机制分析显示,后门信号主要通过教师模型对触发输入和干净输入产生的条件概率的异常差异进行传递,并在训练过程中逐渐内化到学生模型的内部表征中。此外,我们研究了如何在蒸馏监督的源头抑制此类异常条件概率信号,并基于此分析,提出了一种针对该条件后门传播场景的OPD训练方法,以缓解由不可信教师监督引发的后门传递风险。

英文摘要:

On-policy distillation (OPD) is emerging as an important paradigm for the post training of large language models, improving student models by leveraging supervision generated online by teacher models. However, whether this process also transfers latent security risks from teacher models to student models remains insufficiently studied. In this work, we reveal a new security risk in which an attacker first implants a conditional backdoor into the teacher model through supervised fine tuning (SFT), after which OPD can transfer the backdoor to the student model with only an extremely small proportion of trigger prompt exposure. More concerningly, we find that such backdoor transfer is substantially stronger under OPD than under conventional distillation methods, suggesting that OPD may provide an efficient channel for propagating backdoors across models. Our mechanistic analysis shows that the backdoor signal is primarily transmitted through anomalous differences in the conditional probabilities produced by the teacher model for triggered and clean inputs, and is gradually internalized into the internal representations of the student model during training. Furthermore, we investigate how to suppress such anomalous conditional probability signals at the source of distillation supervision and, based on this analysis, propose an OPD training method tailored to this conditional backdoor propagation setting to mitigate the risk of backdoor transfer induced by untrusted teacher supervision.

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

↑