Lune

ACL2021Top-tier venue

Rethinking Stealthiness of Backdoor Attack against NLP Models

Wenkai Yang, Yankai Lin, Peng Li, Jie Zhou, Xu Sun

Abstract

Recent researches have shown that large natural language processing (NLP) models are vulnerable to a kind of security threat called the Backdoor Attack. Backdoor attacked models can achieve good performance on clean test sets but perform badly on those input sentences injected with designed trigger words. In this work, we point out a potential problem of current backdoor attacking research: its evaluation ignores the stealthiness of backdoor attacks, and most of existing backdoor attacking methods are not stealthy either to system deployers or to system users. To address this issue, we first propose two additional stealthiness-based metrics to make the backdoor attacking evaluation more credible. We further propose a novel word-based backdoor attacking method based on negative data augmentation and modifying word embeddings, making an important step towards achieving stealthy backdoor attacking. Experiments on sentiment analysis and toxic detection tasks show that our method is much stealthier while maintaining pretty good attacking performance. Our code is available at https://github.com/lancopku/SOS .

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.

31 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 Weight Poisoning Attacks on Pretrained Models
  • Input-Aware Dynamic Backdoor Attack cites Neural Cleanse: Identifying and Mitigating Backdoor Attacks in Neural Networks
  • Input-Aware Dynamic Backdoor Attack cites Trojaning Attack on Neural Networks
  • Rethinking the Reverse-engineering of Trojan Triggers cites Neural Cleanse: Identifying and Mitigating Backdoor Attacks in Neural Networks
  • Rethinking the Reverse-engineering of Trojan Triggers cites Trojaning Attack on Neural Networks
  • Rethinking the Reverse-engineering of Trojan Triggers cites Input-Aware Dynamic Backdoor Attack
  • 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
  • Hidden Trigger Backdoor Attacks cites Neural Cleanse: Identifying and Mitigating Backdoor Attacks in Neural Networks
  • Defending Pre-trained Language Models as Few-shot Learners against Backdoor Attacks cites BadPrompt: Backdoor Attacks on Continuous Prompts
  • Defending Pre-trained Language Models as Few-shot Learners against Backdoor Attacks cites Weight Poisoning Attacks on Pretrained Models
  • Weight Poisoning Attacks on Pretrained Models cites Neural Cleanse: Identifying and Mitigating Backdoor Attacks in Neural Networks
  • Weight Poisoning Attacks on Pretrained Models cites Trojaning Attack on Neural Networks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers31

  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. BadPrompt: Backdoor Attacks on Continuous PromptsXiangrui Cai, Haidong Xu, Sihan Xu, Ying Zhang et al.NeurIPS 2022 · 103 citations
  3. Rethinking the Reverse-engineering of Trojan TriggersZhenting Wang, Kai Mei, Hailun Ding, Juan Zhai et al.NeurIPS 2022 · 75 citations
  4. An LLM-Assisted Easy-to-Trigger Backdoor Attack on Code Completion Models: Injecting Disguised Vulnerabilities against Strong DetectionShenao Yan, Shen Wang, Yue Duan, Hanbin Hong et al.USENIX Security 2024 · 63 citations
  5. Defending Pre-trained Language Models as Few-shot Learners against Backdoor AttacksZhaohan Xi, Tianyu Du, Changjiang Li, Ren Pang et al.NeurIPS 2023 · 61 citations

Builds on7

  1. Neural Cleanse: Identifying and Mitigating Backdoor Attacks in Neural NetworksBolun Wang, Yuanshun Yao, Shawn Shan, Huiying Li et al.S&P 2019 · 1,801 citations
  2. Trojaning Attack on Neural NetworksYingqi Liu, Shiqing Ma, Yousra Aafer, Wen-Chuan Lee et al.NDSS 2018 · 1,377 citations
  3. Hidden Trigger Backdoor AttacksAniruddha Saha, Akshayvarun Subramanya, Hamed PirsiavashAAAI 2020 · 743 citations
  4. Input-Aware Dynamic Backdoor AttackTuan Anh Nguyen, Anh Tuan TranNeurIPS 2020 · 601 citations
  5. Weight Poisoning Attacks on Pretrained ModelsKeita Kurita, Paul Michel, Graham NeubigACL 2020 · 312 citations

Related papers

  1. Turn the Combination Lock: Learnable Textual Backdoor Attacks via Word SubstitutionFanchao Qi, Yuan Yao, Sophia Xu, Zhiyuan Liu et al.ACL 2021
  2. Hidden Backdoors in Human-Centric Language ModelsShaofeng Li, Hui Liu, Tian Dong, Benjamin Zi Hao Zhao et al.CCS 2021 · 108 citations
  3. Hidden Killer: Invisible Textual Backdoor Attacks with Syntactic TriggerFanchao Qi, Mukai Li, Yangyi Chen, Zhengyan Zhang et al.ACL 2021
  4. BadPre: Task-agnostic Backdoor Attacks to Pre-trained NLP Foundation ModelsKangjie Chen, Yuxian Meng, Xiaofei Sun, Shangwei Guo et al.ICLR 2022 · 133 citations
  5. Backdoor Pre-trained Models Can Transfer to AllLujia Shen, Shouling Ji, Xuhong Zhang, Jinfeng Li et al.CCS 2021 · 72 citations
Dusk over the sea between two cliffs drawn in fine vertical lines