During fine-tuning, large language models (LLMs) are increasingly vulnerable to data-poisoning backdoor attacks, which compromise their reliability and trustworthiness. However, existing defense strategies suffer from limited generalization: they only work on specific attack types or task settings. In this study, we propose Poison-to-Poison (P2P), a general and effective backdoor defense algorithm. P2P injects benign triggers with safe alternative labels into a subset of training samples and fine-tunes the model on this re-poisoned dataset by leveraging prompt-based learning. This enforces the model to associate trigger-induced representations with safe outputs, thereby overriding the effects of original malicious triggers. Thanks to this robust and generalizable trigger-based fine-tuning, P2P is effective across task settings and attack types. Theoretically and empirically, we show that P2P can neutralize malicious backdoors while preserving task performance. We conduct extensive experiments on classification, mathematical reasoning, and summary generation tasks, involving multiple state-of-the-art LLMs. The results demonstrate that our P2P algorithm significantly reduces the attack success rate compared with baseline models. We hope that the P2P can serve as a guideline for defending against backdoor attacks and foster the development of a secure and trustworthy LLM community.
Merging Triggers, Breaking Backdoors: Defensive Poisoning for Instruction-Tuned Language Models
Graduate School of Artificial Intelligence, POSTECH, Republic of Korea(POSTECH人工智能研究生院,韩国);Department of Computer Science and Engineering, POSTECH, Republic of Korea(POSTECH计算机科学与工程系,韩国)
Revisiting Backdoor Attacks on LLMs: A Stealthy and Practical Poisoning Framework via Harmless Inputs
Tsinghua Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院,清华大学);Department of Software Engineering, Harbin Institute of Technology(哈尔滨工业大学软件工程系);School of Computer Science and Technology, Harbin Institute of Technology, Shenzhen(哈尔滨工业大学深圳校区计算机科学与技术学院);Institute for Network Sciences and Cyberspace, Tsinghua University(清华大学网络科学与空间研究院)
Defending Against Weight-Poisoning Backdoor Attacks for Parameter-Efficient Fine-Tuning
Nanyang Technological University(南洋理工大学);Hong Kong University of Science and Technology(香港科技大学);Jinan University(暨南大学);Sony Research(索尼研究院);Zhejiang University(浙江大学);Beijing Institute of Technology(北京理工大学)
CBPF: Filtering Poisoned Data Based on Composite Backdoor Attack
School of Computer Science and Technology, Zhejiang Gongshang University(浙江工商大学计算机科学与技术学院);School of Mathematical and Computational Sciences, Massey University(梅西大学数学与计算科学学院)
Temporal Poisoning: Clean-Label Backdoors via Event Redistribution in SNNs
Radboud University(拉德堡德大学);Ikerlan Research Centre(伊克尔兰研究中心);University of Bergen(卑尔根大学);University of Zagreb(萨格勒布大学);Faculty of Electrical Engineering and Computing(电气工程与计算机学院)
Erasing Self-Supervised Learning Backdoor by Cluster Activation Masking
State Key Laboratory of Multimodal Artificial Intelligence Systems, Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所 多模态人工智能系统国家重点实验室);University of Chinese Academy of Sciences(中国科学院大学);Xiaomi Inc.(小米公司);State Key Laboratory of CNS/ATM, Beihang University(北京航空航天大学 CNS/ATM 国家重点实验室);College of Computer Science, Inner Mongolia University(内蒙古大学 计算机学院)
Boosting Backdoor Attack with A Learnable Poisoning Sample Selection Strategy
The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));Shenzhen Research Institute of Big Data(深圳大数据研究院);JD Explore Academy(京东探索研究院);Tencent AI Lab(腾讯人工智能实验室)
University of Science and Technology of China(中国科学技术大学);Microsoft Research(微软研究院);Beijing Electronic Science and Technology Institute(北京电子科技学院);Wormpex AI Research LLC(Wormpex人工智能研究有限责任公司)
Towards Understanding How Self-training Tolerates Data Backdoor Poisoning
University of Alberta(阿尔伯塔大学);Illinois Institute of Technology(伊利诺伊理工学院);Michigan State University(密歇根州立大学)
最近对模型训练中的后门攻击的研究表明,污染一小部分训练数据就足以在中毒的测试时间数据上产生不正确的操纵预测,同时在下游任务中保持高的干净精度。后门攻击的隐蔽性给当今的机器学习范式带来了巨大的防御挑战。在本文中,我们探索了通过额外的未标记数据进行自我训练以减轻后门攻击的潜力。我们首先进行了一项试点研究,以表明香草自我训练在后门缓解中无效。受此启发,我们建议通过在自训练伪标签阶段利用强大但适当的数据增强来防御后门攻击。我们发现,新的自我训练机制在很大程度上有助于抵御后门攻击。通过在CIFAR-10和CIFAR-10与额外的未标记的500 K TinyImages数据集的组合上针对不同后门触发器的实验,证明了其有效性。最后,我们探索了将自我监督表示学习与自我训练相结合的方向,以进一步改进后门防御。
Generating Potent Poisons and Backdoors from Scratch with Guided Diffusion
Johns Hopkins University(约翰斯·霍普金斯大学);University of Maryland(马里兰大学);Google(谷歌);ELLIS Institute Tübingen(埃利斯研究所蒂宾根分支);Tübingen AI Center(蒂宾根人工智能中心);New York University(纽约大学)
A Proxy Attack-Free Strategy for Practically Improving the Poisoning Efficiency in Backdoor Attacks
Nanjing University of Information Science and Technology(南京信息工程大学);University of Science and Technology of China(中国科学技术大学);Huawei Technologies Co. Ltd.(华为技术有限公司);Huazhong University of Science and Technology(华中科技大学);China Academic of Electronics and Information Technology(中国电子信息产业发展研究院)
Toward Polymorphic Backdoor against Semantic Communication via Intensity-Based Poisoning
School of Computer Science, Shanghai Jiao Tong University(上海交通大学计算机科学学院);Shanghai Key Laboratory of Integrated Administration Technologies for Information Security(上海信息安全集成管理技术重点实验室);Department of Computing, Hong Kong Polytechnic University(香港理工大学计算机系);Department of Electrical and Computer Engineering and Frost Institute for Data Science and Computing, University of Miami(迈阿密大学电子与计算机工程系及弗罗斯特数据科学与计算研究所)