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.(淘宝(中国)软件有限公司)
在线策略蒸馏(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.
As Student Rollouts Continue, Visual Backdoors Keep Growing
Alibaba Group(阿里巴巴集团);Guangxi University(广西大学);Wuhan University of Technology(武汉理工大学);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);Taobao (China) Software Co., Ltd.(淘宝(中国)软件有限公司)
Neural Attention Distillation: Erasing Backdoor Triggers from Deep Neural Networks
Xidian University(西安电子科技大学);The University of Melbourne(墨尔本大学);Ant Group(蚂蚁集团);University of Illinois at Urbana–Champaign(伊利诺伊大学厄巴纳-香槟分校);Deakin University(迪肯大学)
Robust Knowledge Distillation Based on Feature Variance Against Backdoored Teacher Model
Zhejiang University of Technology(浙江工业大学);Institute of Cyberspace Security, Zhejiang University of Technology(浙江工业大学网络空间安全研究院);College of Information Engineering, Zhejiang University of Technology(浙江工业大学信息工程学院)
Can Distillation Mitigate Backdoor Attacks in Pre-trained Encoders?
State Key Laboratory for Novel Software Technology, Nanjing University(新型软件技术国家重点实验室,南京大学);Shenzhen Research Institute of Nanjing University(南京大学深圳研究院);School of Computer Science and Engineering, University of New South Wales(新南威尔士大学计算机科学与工程学院);School of Computer Science and Engineering, Nanyang Technological University(南洋理工大学计算机科学与工程学院)
Taught Well Learned Ill: Towards Distillation-conditional Backdoor Attack
State Key Laboratory of Blockchain and Data Security(区块链与数据安全国家重点实验室);Hangzhou High-Tech Zone (Binjiang) Institute of Blockchain and Data Security(杭州高新技术区(滨江)区块链与数据安全研究院);Nanyang Technological University(南洋理工大学)
Mutual Information Guided Backdoor Mitigation for Pre-trained Encoders
State Key Laboratory for Novel Software Technology, Nanjing University(南京大学新型软件技术国家重点实验室);College of Computing and Data Science, Nanyang Technological University(南洋理工大学计算机与数据科学学院)
Leveraging Diffusion-Based Image Variations for Robust Training on Poisoned Data
Technical University of Darmstadt(达姆施塔特工业大学);Centre for Cognitive Science(认知科学中心);German Research Center for Artificial Intelligence (DFKI)(德国人工智能研究中心(DFKI));Hessian Center for AI (hessian.AI)(黑森人工智能中心(hessian.AI))
Zhejiang University(浙江大学);Hangzhou City University(浙大城市学院);ZJU-Bangsun Joint Research Center(浙江大学-邦盛联合研究中心);Shanghai Institute for Advanced Study of Zhejiang University(浙江大学上海高等研究院)