Lune

EMNLP2021Top-tier venue

Backdoor Attacks on Pre-trained Models by Layerwise Weight Poisoning

Linyang Li, Demin Song, Xiaonan Li, Jiehang Zeng, Ruotian Ma, Xipeng Qiu

Abstract

Pre-Trained Models have been widely applied and recently proved vulnerable under backdoor attacks: the released pre-trained weights can be maliciously poisoned with certain triggers. When the triggers are activated, even the fine-tuned model will predict pre-defined labels, causing a security threat. These backdoors generated by the poisoning methods can be erased by changing hyper-parameters during fine-tuning or detected by finding the triggers. In this paper, we propose a stronger weight-poisoning attack method that introduces a layerwise weight poisoning strategy to plant deeper backdoors; we also introduce a combinatorial trigger that cannot be easily detected. The experiments on text classification tasks show that previous defense methods cannot resist our weight-poisoning method, which indicates that our method can be widely applied and may provide hints for future model robustness studies.

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.

42 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents cites BadChain: Backdoor Chain-of-Thought Prompting for Large Language Models
  • Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents cites Weight Poisoning Attacks on Pretrained Models
  • Input-Aware Dynamic Backdoor Attack cites Trojaning Attack on Neural Networks
  • BadChain: Backdoor Chain-of-Thought Prompting for Large Language Models cites Trojaning Attack on Neural Networks
  • BadChain: Backdoor Chain-of-Thought Prompting for Large Language Models cites BadPrompt: Backdoor Attacks on Continuous Prompts
  • BadChain: Backdoor Chain-of-Thought Prompting for Large Language Models cites Weight Poisoning Attacks on Pretrained Models
  • BadPre: Task-agnostic Backdoor Attacks to Pre-trained NLP Foundation Models cites Weight Poisoning Attacks on Pretrained Models
  • BadPrompt: Backdoor Attacks on Continuous Prompts cites Input-Aware Dynamic Backdoor Attack
  • BadPrompt: Backdoor Attacks on Continuous Prompts cites Hidden Trigger Backdoor Attacks
  • BadPrompt: Backdoor Attacks on Continuous Prompts cites Weight Poisoning Attacks on Pretrained Models
  • Weight Poisoning Attacks on Pretrained Models cites Trojaning Attack on Neural Networks
  • BadEdit: Backdooring Large Language Models by Model Editing cites BadPre: Task-agnostic Backdoor Attacks to Pre-trained NLP Foundation Models
  • BadEdit: Backdooring Large Language Models by Model Editing cites BadPrompt: Backdoor Attacks on Continuous Prompts
  • BadEdit: Backdooring Large Language Models by Model Editing cites Weight Poisoning Attacks on Pretrained Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers42

  1. Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based AgentsWenkai Yang, Xiaohan Bi, Yankai Lin, Sishuo Chen et al.NeurIPS 2024 · 195 citations
  2. BadPre: Task-agnostic Backdoor Attacks to Pre-trained NLP Foundation ModelsKangjie Chen, Yuxian Meng, Xiaofei Sun, Shangwei Guo et al.ICLR 2022 · 133 citations
  3. BadEdit: Backdooring Large Language Models by Model EditingYanzhou Li, Tianlin Li, Kangjie Chen, Jian Zhang et al.ICLR 2024 · 116 citations
  4. BadPrompt: Backdoor Attacks on Continuous PromptsXiangrui Cai, Haidong Xu, Sihan Xu, Ying Zhang et al.NeurIPS 2022 · 103 citations
  5. BadChain: Backdoor Chain-of-Thought Prompting for Large Language ModelsZhen Xiang, Fengqing Jiang, Zidi Xiong, Bhaskar Ramasubramanian et al.ICLR 2024 · 98 citations

Builds on4

  1. Trojaning Attack on Neural NetworksYingqi Liu, Shiqing Ma, Yousra Aafer, Wen-Chuan Lee et al.NDSS 2018 · 1,377 citations
  2. Hidden Trigger Backdoor AttacksAniruddha Saha, Akshayvarun Subramanya, Hamed PirsiavashAAAI 2020 · 743 citations
  3. Input-Aware Dynamic Backdoor AttackTuan Anh Nguyen, Anh Tuan TranNeurIPS 2020 · 601 citations
  4. Weight Poisoning Attacks on Pretrained ModelsKeita Kurita, Paul Michel, Graham NeubigACL 2020 · 312 citations

Related papers

  1. Fine-mixing: Mitigating Backdoors in Fine-tuned Language ModelsZhiyuan Zhang, Lingjuan Lyu, Xingjun Ma, Chenguang Wang et al.EMNLP Findings 2022 · 16 citations
  2. Defense against Backdoor Attack on Pre-trained Language Models via Head Pruning and Attention NormalizationXingyi Zhao, Depeng Xu, Shuhan YuanICML 2024 · 17 citations
  3. Unmasking Backdoors: An Explainable Defense via Gradient-Attention Anomaly Scoring for Pre-trained Language ModelsAnindya Sundar Das, Kangjie Chen, Monowar BhuyanICLR 2026 · 4 citations
  4. Dormant Backdoor: Weaponizing Model Finetuning for Feasible Backdoor Attacks Against Pretrained ModelsRuitao Li, Jiakai Wang, Hairong Chen, Huihu Ding et al.AAAI 2026
  5. Composite Backdoor Attack for Deep Neural Network by Mixing Existing Benign FeaturesJunyu Lin, Lei Xu, Yingqi Liu, Xiangyu ZhangCCS 2020 · 197 citations
Dusk over the sea between two cliffs drawn in fine vertical lines