How to Inject Backdoors with Better Consistency: Logit Anchoring on Clean Data
Zhiyuan Zhang, Lingjuan Lyu, Weiqiang Wang, Lichao Sun, Xu Sun
Abstract
Since training a large-scale backdoored model from scratch requires a large training dataset, several recent attacks have considered to inject backdoors into a trained clean model without altering model behaviors on the clean data. Previous work finds that backdoors can be injected into a trained clean model with Adversarial Weight Perturbation (AWP). Here AWPs refers to the variations of parameters that are small in backdoor learning. In this work, we observe an interesting phenomenon that the variations of parameters are always AWPs when tuning the trained clean model to inject backdoors. We further provide theoretical analysis to explain this phenomenon. We formulate the behavior of maintaining accuracy on clean data as the consistency of backdoored models, which includes both global consistency and instance-wise consistency. We extensively analyze the effects of AWPs on the consistency of backdoored models. In order to achieve better consistency, we propose a novel anchoring loss to anchor or freeze the model behaviors on the clean data, with a theoretical guarantee. Both the analytical and the empirical results validate the effectiveness of the anchoring loss in improving the consistency, especially the instance-wise consistency.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
11 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Black-box Backdoor Defense via Zero-shot Image Purification cites Trap and Replace: Defending Backdoor Attacks by Trapping Them into an Easy-to-Replace Subnetwork
- Label Poisoning is All You Need cites Latent Backdoor Attacks on Deep Neural Networks
- Label Poisoning is All You Need cites Neural Attention Distillation: Erasing Backdoor Triggers from Deep Neural Networks
- Trap and Replace: Defending Backdoor Attacks by Trapping Them into an Easy-to-Replace Subnetwork cites Latent Backdoor Attacks on Deep Neural Networks
- Trap and Replace: Defending Backdoor Attacks by Trapping Them into an Easy-to-Replace Subnetwork cites Neural Attention Distillation: Erasing Backdoor Triggers from Deep Neural Networks
- Fed-FA: Theoretically Modeling Client Data Divergence for Federated Language Backdoor Defense cites Latent Backdoor Attacks on Deep Neural Networks
- Fed-FA: Theoretically Modeling Client Data Divergence for Federated Language Backdoor Defense cites Bridging Mode Connectivity in Loss Landscapes and Adversarial Robustness
- Fed-FA: Theoretically Modeling Client Data Divergence for Federated Language Backdoor Defense cites Neural Attention Distillation: Erasing Backdoor Triggers from Deep Neural Networks
- Fed-FA: Theoretically Modeling Client Data Divergence for Federated Language Backdoor Defense cites Weight Poisoning Attacks on Pretrained Models
- Fed-FA: Theoretically Modeling Client Data Divergence for Federated Language Backdoor Defense cites A Diffusion Theory For Deep Learning Dynamics: Stochastic Gradient Descent Exponentially Favors Flat Minima
- Neural Attention Distillation: Erasing Backdoor Triggers from Deep Neural Networks cites Latent Backdoor Attacks on Deep Neural Networks
- Neural Attention Distillation: Erasing Backdoor Triggers from Deep Neural Networks cites Bridging Mode Connectivity in Loss Landscapes and Adversarial Robustness
- Weight Poisoning Attacks on Pretrained Models cites Latent Backdoor Attacks on Deep Neural Networks
- BadEdit: Backdooring Large Language Models by Model Editing cites Weight Poisoning Attacks on Pretrained Models
Cited by top-tier papers11
- BadEdit: Backdooring Large Language Models by Model EditingYanzhou Li, Tianlin Li, Kangjie Chen, Jian Zhang et al.ICLR 2024 · 116 citations
- Black-box Backdoor Defense via Zero-shot Image PurificationYucheng Shi, Mengnan Du, Xuansheng Wu, Zihan Guan et al.NeurIPS 2023 · 66 citations
- Label Poisoning is All You NeedRishi D. Jha, Jonathan Hayase, Sewoong OhNeurIPS 2023 · 58 citations
- Trap and Replace: Defending Backdoor Attacks by Trapping Them into an Easy-to-Replace SubnetworkHaotao Wang, Junyuan Hong, Aston Zhang, Jiayu Zhou et al.NeurIPS 2022 · 20 citations
- Fed-FA: Theoretically Modeling Client Data Divergence for Federated Language Backdoor DefenseZhiyuan Zhang, Deli Chen, Hao Zhou, Fandong Meng et al.NeurIPS 2023 · 10 citations
Builds on7
- Neural Attention Distillation: Erasing Backdoor Triggers from Deep Neural NetworksYige Li, Xixiang Lyu, Nodens Koren, Lingjuan Lyu et al.ICLR 2021 · 548 citations
- Latent Backdoor Attacks on Deep Neural NetworksYuanshun Yao, Huiying Li, Haitao Zheng, Ben Y. ZhaoCCS 2019 · 465 citations
- Weight Poisoning Attacks on Pretrained ModelsKeita Kurita, Paul Michel, Graham NeubigACL 2020 · 312 citations
- Bridging Mode Connectivity in Loss Landscapes and Adversarial RobustnessPu Zhao, Pin-Yu Chen, Payel Das, Karthikeyan Natesan Ramamurthy et al.ICLR 2020 · 213 citations
- A Diffusion Theory For Deep Learning Dynamics: Stochastic Gradient Descent Exponentially Favors Flat MinimaZeke Xie, Issei Sato, Masashi SugiyamaICLR 2021 · 165 citations
Related papers
- Backdoor Secrets Unveiled: Identifying Backdoor Data with Optimized Scaled Prediction ConsistencySoumyadeep Pal, Yuguang Yao, Ren Wang, Bingquan Shen et al.ICLR 2024 · 15 citations
- Data Free Backdoor AttacksBochuan Cao, Jinyuan Jia, Chuxuan Hu, Wenbo Guo et al.NeurIPS 2024 · 12 citations
- MEDIC: Remove Model Backdoors via Importance Driven CloningQiuling Xu, Guanhong Tao, Jean Honorio, Yingqi Liu et al.CVPR 2023
- Narcissus: A Practical Clean-Label Backdoor Attack with Limited InformationYi Zeng, Minzhou Pan, Hoang Anh Just, Lingjuan Lyu et al.CCS 2023 · 170 citations
- Effective Backdoor Defense by Exploiting Sensitivity of Poisoned SamplesWeixin Chen, Baoyuan Wu, Haoqian WangNeurIPS 2022 · 129 citations
