Backdoor Attacks with Input-unique Triggers in NLP
On the map: LLM safety and security → Backdoor and data poisoning attacks
Abstract (arXiv)
Backdoor attack aims at inducing neural models to make incorrect predictions for poison data while keeping predictions on the clean dataset unchanged, which creates a considerable threat to current natural language processing (NLP) systems. Existing backdoor attacking systems face two severe issues:firstly, most backdoor triggers follow a uniform and usually input-independent pattern, e.g., insertion of specific trigger words, synonym replacement. This significantly hinders the stealthiness of the attacking model, leading the trained backdoor model being easily identified as malicious by model probes. Secondly, trigger-inserted poisoned sentences are usually disfluent, ungrammatical, or even change the semantic meaning from the original sentence, making them being easily filtered in the pre-processing stage. To resolve these two issues, in this paper, we propose an input-unique backdoor attack(NURA), where we generate backdoor triggers unique to inputs. IDBA generates context-related triggers by continuing writing the input with a language model like GPT2. The generated sentence is used as the backdoor trigger. This strategy not only creates input-unique backdoor triggers, but also preserves the semantics of the original input, simultaneously resolving the two issues above. Experimental results show that the IDBA attack is effective for attack and difficult to defend: it achieves high attack success rate across all the widely applied benchmarks, while is immune to existing defending methods. In addition, it is able to generate fluent, grammatical, and diverse backdoor inputs, which can hardly be recognized through human inspection.
Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). Placed in Backdoor and data poisoning attacks, one of 12 directions in LLM safety and security. Builds on 44 of its 55 references that are in the map. First posted on arXiv 25 Mar 2023.
Builds on
44 of 55 references.
Closest ancestors · 8
Same direction, newest first
- 2021Triggerless Backdoor Attack for NLP Tasks with Clean Labels15 Nov
- 2021RAP: Robustness-Aware Perturbations for Defending against Backdoor Attacks on NLP Models15 Oct
- 2021Mind the Style of Text! Adversarial and Backdoor Attacks Based on Text Style Transfer14 Oct
- 2021BadPre: Task-agnostic Backdoor Attacks to Pre-trained NLP Foundation Models6 Oct
- 2021Putting words into the system's mouth: A targeted attack on neural machine translation using monolingual data poisoning12 Jul
- 2021Turn the Combination Lock: Learnable Textual Backdoor Attacks via Word Substitution11 Jun
- 2021Defending Against Backdoor Attacks in Natural Language Generation3 Jun
- 2021Hidden Killer: Invisible Textual Backdoor Attacks with Syntactic Trigger26 May
Other references · 36
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2014Explaining and Harnessing Adversarial Examplescited by 7,364
- 2013Intriguing properties of neural networkscited by 5,155
- 2014Sequence to Sequence Learning with Neural Networkscited by 2,986
- 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,739
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
- 2017Understanding Black-box Predictions via Influence Functionscited by 1,741
- 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,106
- 2017Targeted Backdoor Attacks on Deep Learning Systems Using Data Poisoningcited by 1,055
24 more
- 2017Automated Hate Speech Detection and the Problem of Offensive Languagecited by 736
- 2019Square Attack: a query-efficient black-box adversarial attack via random searchcited by 685
- 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 671
- 2017Convolutional Sequence to Sequence Learningcited by 552
- 2018Universal Sentence Encodercited by 489
- 2018Threat of Adversarial Attacks on Deep Learning in Computer Vision: A Surveycited by 460
- 2020Invisible Backdoor Attack with Sample-Specific Triggerscited by 353
- 2020Weight Poisoning Attacks on Pre-trained Modelscited by 341
- 2015Skip-Thought Vectorscited by 322
- 2020Input-Aware Dynamic Backdoor Attackcited by 313
- 2020ONION: A Simple and Effective Defense Against Textual Backdoor Attackscited by 263
- 2020BadNL: Backdoor Attacks against NLP Models with Semantic-preserving Improvementscited by 211
- 2015Visualizing and Understanding Neural Models in NLPcited by 200
- 2018ShapeShifter: Robust Physical Adversarial Attack on Faster R-CNN Object Detectorcited by 159
- 2018Backdoor Embedding in Convolutional Neural Network Models via Invisible Perturbationcited by 134
- 2021Backdoor Attacks on Pre-trained Models by Layerwise Weight Poisoningcited by 113
- 2020Mitigating backdoor attacks in LSTM-based Text Classification Systems by Backdoor Keyword Identificationcited by 86
- 2015The Bayesian Case Model: A Generative Approach for Case-Based Reasoning and Prototype Classificationcited by 76
- 2021A Backdoor Attack against 3D Point Cloud Classifierscited by 53
- 2021Towards Practical Deployment-Stage Backdoor Attack on Deep Neural Networkscited by 34
- 2021How to Inject Backdoors with Better Consistency: Logit Anchoring on Clean Datacited by 24
- 2020FaceHack: Triggering backdoored facial recognition systems using facial characteristicscited by 20
- 2020Don't Trigger Me! A Triggerless Backdoor Attack Against Deep Neural Networkscited by 19
- 2022Threats to Pre-trained Language Models: Survey and Taxonomycited by 19
Built on by
Citing papers per year: 2023: 3; 2024: 3; 2025: 4; 2026: 2.
12 papers.
- 2023Prompt as Triggers for Backdoor Attack: Examining the Vulnerability in Language Modelscited by 94
- 2025Poisoning Attacks on LLMs Require a Near-constant Number of Poison Samplescited by 72
- 2023A Comprehensive Overview of Backdoor Attacks in Large Language Models within Communication Networkscited by 42
- 2023Backdoor Attacks and Countermeasures in Natural Language Processing Models: A Comprehensive Security Reviewcited by 39
- 2024A Survey of Recent Backdoor Attacks and Defenses in Large Language Modelscited by 36
- 2024Defending Against Weight-Poisoning Backdoor Attacks for Parameter-Efficient Fine-Tuningcited by 16
- 2025BadMoE: Backdooring Mixture-of-Experts LLMs via Optimizing Routing Triggers and Infecting Dormant Expertscited by 14
- 2024Data-centric NLP Backdoor Defense from the Lens of Memorizationcited by 6
- 2025Paladin: Defending LLM-enabled Phishing Emails with a New Trigger-Tag Paradigmcited by 5
- 2026Why LoRA Fails to Forget: Regularized Low-Rank Adaptation Against Backdoors in Language Modelscited by 4
- 2025GREAT: Generalizable Backdoor Attacks in RLHF via Emotion-Aware Trigger Synthesiscited by 1
- 2026MetaBackdoor: Exploiting Positional Encoding as a Backdoor Attack Surface in LLMscited by 1
- 2026MetaBackdoor: Exploiting Positional Encoding as a Backdoor Attack Surface in LLMs14 May 2026
- 2026Why LoRA Fails to Forget: Regularized Low-Rank Adaptation Against Backdoors in Language Models9 Jan 2026
- 2025GREAT: Generalizable Backdoor Attacks in RLHF via Emotion-Aware Trigger Synthesis10 Oct 2025
- 2025Poisoning Attacks on LLMs Require a Near-constant Number of Poison Samples8 Oct 2025
- 2025Paladin: Defending LLM-enabled Phishing Emails with a New Trigger-Tag Paradigm8 Sep 2025
- 2025BadMoE: Backdooring Mixture-of-Experts LLMs via Optimizing Routing Triggers and Infecting Dormant Experts24 Apr 2025
- 2024Data-centric NLP Backdoor Defense from the Lens of Memorization21 Sep 2024
- 2024A Survey of Recent Backdoor Attacks and Defenses in Large Language Models10 Jun 2024
- 2024Defending Against Weight-Poisoning Backdoor Attacks for Parameter-Efficient Fine-Tuning19 Feb 2024
- 2023Backdoor Attacks and Countermeasures in Natural Language Processing Models: A Comprehensive Security Review12 Sep 2023
- 2023A Comprehensive Overview of Backdoor Attacks in Large Language Models within Communication Networks28 Aug 2023
- 2023Prompt as Triggers for Backdoor Attack: Examining the Vulnerability in Language Models2 May 2023
Similar, not cited
Close in wording, no citation either way
- 2024Invisible Textual Backdoor Attacks based on Dual-Trigger
- 2021Backdoor Pre-trained Models Can Transfer to All
- 2022BITE: Textual Backdoor Attacks with Iterative Trigger Injection
- 2023Efficient Trigger Word Insertion
- 2022Rethink the Evaluation for Attack Strength of Backdoor Attacks in Natural Language Processing
- 2024Defense Against Syntactic Textual Backdoor Attacks with Token Substitution
- 2021Hidden Backdoors in Human-Centric Language Models
- 2026Merging Triggers, Breaking Backdoors: Defensive Poisoning for Instruction-Tuned Language Models