Turn the Combination Lock: Learnable Textual Backdoor Attacks via Word Substitution
On the map: LLM safety and security → Backdoor and data poisoning attacks
Abstract (arXiv)
Recent studies show that neural natural language processing (NLP) models are vulnerable to backdoor attacks. Injected with backdoors, models perform normally on benign examples but produce attacker-specified predictions when the backdoor is activated, presenting serious security threats to real-world applications. Since existing textual backdoor attacks pay little attention to the invisibility of backdoors, they can be easily detected and blocked. In this work, we present invisible backdoors that are activated by a learnable combination of word substitution. We show that NLP models can be injected with backdoors that lead to a nearly 100% attack success rate, whereas being highly invisible to existing defense strategies and even human inspections. The results raise a serious alarm to the security of NLP models, which requires further research to be resolved. All the data and code of this paper are released at https://github.com/thunlp/BkdAtk-LWS.
Key facts. Cited by 85 papers in the map (data through 7 Oct 2026). Placed in Backdoor and data poisoning attacks, one of 12 directions in LLM safety and security. Builds on 31 of its 49 references that are in the map. First posted on arXiv 11 Jun 2021.
Builds on
31 of 49 references.
Closest ancestors · 1
Same direction, newest first
Other references · 30
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,708
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
- 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,052
- 2017Targeted Backdoor Attacks on Deep Learning Systems Using Data Poisoningcited by 1,012
- 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 663
- 2018Spectral Signatures in Backdoor Attackscited by 457
- 2018Generating Natural Language Adversarial Examplescited by 422
- 2019Hidden Trigger Backdoor Attackscited by 359
- 2020Reflection Backdoor: A Natural Backdoor Attack on Deep Neural Networkscited by 341
- 2018Turning Your Weakness Into a Strength: Watermarking Deep Neural Networks by Backdooringcited by 334
- 2020Weight Poisoning Attacks on Pre-trained Modelscited by 318
18 more
- 2019Predicting the Type and Target of Offensive Posts in Social Mediacited by 268
- 2020ONION: A Simple and Effective Defense Against Textual Backdoor Attackscited by 231
- 2019A backdoor attack against LSTM-based text classification systemscited by 214
- 2019Detecting AI Trojans Using Meta Neural Analysiscited by 192
- 2020Clean-Label Backdoor Attacks on Video Recognition Modelscited by 162
- 2017Neural Trojanscited by 151
- 2019Universal Litmus Patterns: Revealing Backdoor Attacks in CNNscited by 143
- 2018Backdoor Embedding in Convolutional Neural Network Models via Invisible Perturbationcited by 131
- 2020How Does NLP Benefit Legal System: A Summary of Legal Artificial Intelligencecited by 128
- 2019Robust Anomaly Detection and Backdoor Attack Detection Via Differential Privacycited by 93
- 2020Mitigating backdoor attacks in LSTM-based Text Classification Systems by Backdoor Keyword Identificationcited by 80
- 2020On Certifying Robustness against Backdoor Attacks via Randomized Smoothingcited by 74
- 2020Generating Fluent Adversarial Examples for Natural Languagescited by 49
- 2020Towards Probabilistic Verification of Machine Unlearningcited by 46
- 2019OpenHowNet: An Open Sememe-based Lexical Knowledge Basecited by 21
- 2018Neural Lattice Language Modelscited by 13
- 2019Modeling Semantic Compositionality with Sememe Knowledgecited by 8
- 2017Neural Machine Translation with Gumbel-Greedy Decodingcited by 5
Built on by
Citing papers per year: 2021: 6; 2022: 19; 2023: 23; 2024: 24; 2025: 8; 2026: 5.
85 papers.
Sort:
By area:
- 2021Mind the Style of Text! Adversarial and Backdoor Attacks Based on Text Style Transfercited by 147
- 2022BackdoorBench: A Comprehensive Benchmark of Backdoor Learningcited by 124
- 2021RAP: Robustness-Aware Perturbations for Defending against Backdoor Attacks on NLP Modelscited by 97
- 2023Prompt as Triggers for Backdoor Attack: Examining the Vulnerability in Language Modelscited by 87
- 2022A Unified Evaluation of Textual Backdoor Learning: Frameworks and Benchmarkscited by 70
- 2021Triggerless Backdoor Attack for NLP Tasks with Clean Labelscited by 61
- 2022Rickrolling the Artist: Injecting Backdoors into Text Encoders for Text-to-Image Synthesiscited by 59
- 2022BadPrompt: Backdoor Attacks on Continuous Promptscited by 59
- 2024Semantic Mirror Jailbreak: Genetic Algorithm Based Jailbreak Prompts Against Open-source LLMscited by 48
- 2022BITE: Textual Backdoor Attacks with Iterative Trigger Injectioncited by 47
- 2023TrojanPuzzle: Covertly Poisoning Code-Suggestion Modelscited by 47
- 2022Constrained Optimization with Dynamic Bound-scaling for Effective NLPBackdoor Defensecited by 44
38 more
- 2024Operationalizing a Threat Model for Red-Teaming Large Language Models (LLMs)cited by 44
- 2021An Overview of Backdoor Attacks Against Deep Neural Networks and Possible Defencescited by 41
- 2023NOTABLE: Transferable Backdoor Attacks Against Prompt-based NLP Modelscited by 33
- 2023Attention-Enhancing Backdoor Attacks Against BERT-based Modelscited by 32
- 2023Elijah: Eliminating Backdoors Injected in Diffusion Models via Distribution Shiftcited by 31
- 2023ChatGPT as an Attack Tool: Stealthy Textual Backdoor Attack via Blackbox Generative Model Triggercited by 29
- 2023TrojLLM: A Black-box Trojan Prompt Attack on Large Language Modelscited by 29
- 2023From Shortcuts to Triggers: Backdoor Defense with Denoised PoEcited by 26
- 2023Defending against Insertion-based Textual Backdoor Attacks via Attributioncited by 24
- 2022Kallima: A Clean-label Framework for Textual Backdoor Attackscited by 22
- 2024Here's a Free Lunch: Sanitizing Backdoored Models with Model Mergecited by 21
- 2024Backdoored Retrievers for Prompt Injection Attacks on Retrieval Augmented Generation of Large Language Modelscited by 21
- 2023Backdoor Learning on Sequence to Sequence Modelscited by 19
- 2023Mitigating Backdoor Poisoning Attacks through the Lens of Spurious Correlationcited by 19
- 2022BagFlip: A Certified Defense against Data Poisoningcited by 18
- 2023ParaFuzz: An Interpretability-Driven Technique for Detecting Poisoned Samples in NLPcited by 16
- 2023On the Trustworthiness Landscape of State-of-the-art Generative Models: A Survey and Outlookcited by 15
- 2023TextGuard: Provable Defense against Backdoor Attacks on Text Classificationcited by 14
- 2022A Survey on Backdoor Attack and Defense in Natural Language Processingcited by 13
- 2023Backdooring Neural Code Searchcited by 13
- 2024Backdoor Attacks on Dense Retrieval via Public and Unintentional Triggerscited by 13
- 2024TuBA: Cross-Lingual Transferability of Backdoor Attacks in LLMs with Instruction Tuningcited by 13
- 2022Backdoor Vulnerabilities in Normally Trained Deep Learning Modelscited by 12
- 2023IMBERT: Making BERT Immune to Insertion-based Backdoor Attackscited by 12
- 2024Exploring Backdoor Vulnerabilities of Chat Modelscited by 11
- 2024CLIBE: Detecting Dynamic Backdoors in Transformer-based NLP Modelscited by 11
- 2022QuoteR: A Benchmark of Quote Recommendation for Writingcited by 10
- 2023Backdoor Attacks with Input-unique Triggers in NLPcited by 10
- 2024The Dark Side of Human Feedback: Poisoning Large Language Models via User Inputscited by 10
- 2023Forcing Generative Models to Degenerate Ones: The Power of Data Poisoning Attackscited by 9
- 2024Turning Generative Models Degenerate: The Power of Data Poisoning Attackscited by 9
- 2024BadCM: Invisible Backdoor Attack Against Cross-Modal Learningcited by 9
- 2022ImpNet: Imperceptible and blackbox-undetectable backdoors in compiled neural networkscited by 8
- 2022Poison Attack and Defense on Deep Source Code Processing Modelscited by 8
- 2024CL-Attack: Textual Backdoor Attacks via Cross-Lingual Triggerscited by 8
- 2022PBSM: Backdoor attack against Keyword spotting based on pitch boosting and sound maskingcited by 6
- 2022VSVC: Backdoor attack against Keyword Spotting based on Voiceprint Selection and Voice Conversioncited by 6
- 2023UOR: Universal Backdoor Attacks on Pre-trained Language Modelscited by 6
50 most cited of 85 All 85 (JSON)
- 2026OPBackdoor: Opportunistic Backdoors via Alibi-Aligned Reasoning21 Sep 2026
- 2026Silent Sabotage: Internal State Triggered Backdoor Attacks on LLM-Powered Robotic Systems2 Sep 2026
- 2026Once Poisoned, Arbitrarily Controlled: A Programmable Backdoor in VLMs11 Aug 2026
- 2026When Emotion Becomes Trigger: Emotion-style dynamic Backdoor Attack Parasitising Large Language Models12 May 2026
- 2026Merging Triggers, Breaking Backdoors: Defensive Poisoning for Instruction-Tuned Language Models7 Jan 2026
- 2025SteganoBackdoor: Evading Data-Poisoning Defenses via Steganographic Backdoors18 Nov 2025
- 2025Unmasking Backdoors: An Explainable Defense via Gradient-Attention Anomaly Scoring for Pre-trained Language Models5 Oct 2025
- 2025Pruning Strategies for Backdoor Defense in LLMs27 Aug 2025
- 2025Strategic Sample Selection for Improved Clean-Label Backdoor Attacks in Text Classification21 Aug 2025
- 2025Detecting Stealthy Backdoor Samples based on Intra-class Distance for Large Language Models29 May 2025
- 2025The Ultimate Cookbook for Invisible Poison: Crafting Subtle Clean-Label Text Backdoors with Style Attributes24 Apr 2025
- 2025NLP Security and Ethics, in the Wild9 Apr 2025
38 more
- 2025Defending against Backdoor Attacks via Module Switching8 Apr 2025
- 2024Cut the Deadwood Out: Backdoor Purification via Guided Module Substitution29 Dec 2024
- 2024CL-Attack: Textual Backdoor Attacks via Cross-Lingual Triggers26 Dec 2024
- 2024Backdoored Retrievers for Prompt Injection Attacks on Retrieval Augmented Generation of Large Language Models18 Oct 2024
- 2024AdvBDGen: Adversarially Fortified Prompt-Specific Fuzzy Backdoor Generator Against LLM Alignment15 Oct 2024
- 2024BadCM: Invisible Backdoor Attack Against Cross-Modal Learning3 Oct 2024
- 2024Breaking PEFT Limitations: Leveraging Weak-to-Strong Knowledge Transfer for Backdoor Attacks in LLMs26 Sep 2024
- 2024Data-centric NLP Backdoor Defense from the Lens of Memorization21 Sep 2024
- 2024CLIBE: Detecting Dynamic Backdoors in Transformer-based NLP Models2 Sep 2024
- 2024The Dark Side of Human Feedback: Poisoning Large Language Models via User Inputs1 Sep 2024
- 2024Large Language Models are Good Attackers: Efficient and Stealthy Textual Backdoor Attacks21 Aug 2024
- 2024Operationalizing a Threat Model for Red-Teaming Large Language Models (LLMs)20 Jul 2024
- 2024Turning Generative Models Degenerate: The Power of Data Poisoning Attacks17 Jul 2024
- 2024Defense Against Syntactic Textual Backdoor Attacks with Token Substitution4 Jul 2024
- 2024Securing Multi-turn Conversational Language Models From Distributed Backdoor Triggers4 Jul 2024
- 2024TrojFM: Resource-efficient Backdoor Attacks against Very Large Foundation Models27 May 2024
- 2024SEEP: Training Dynamics Grounds Latent Representation Search for Mitigating Backdoor Poisoning Attacks19 May 2024
- 2024TuBA: Cross-Lingual Transferability of Backdoor Attacks in LLMs with Instruction Tuning30 Apr 2024
- 2024Exploring Backdoor Vulnerabilities of Chat Models3 Apr 2024
- 2024Two Heads are Better than One: Nested PoE for Robust Defense Against Multi-Backdoors2 Apr 2024
- 2024Here's a Free Lunch: Sanitizing Backdoored Models with Model Merge29 Feb 2024
- 2024SynGhost: Invisible and Universal Task-agnostic Backdoor Attack via Syntactic Transfer29 Feb 2024
- 2024Semantic Mirror Jailbreak: Genetic Algorithm Based Jailbreak Prompts Against Open-source LLMs21 Feb 2024
- 2024Backdoor Attacks on Dense Retrieval via Public and Unintentional Triggers21 Feb 2024
- 2024Backdoor Attack against One-Class Sequential Anomaly Detection Models15 Feb 2024
- 2023Punctuation Matters! Stealthy Backdoor Attack for Language Models26 Dec 2023
- 2023Forcing Generative Models to Degenerate Ones: The Power of Data Poisoning Attacks7 Dec 2023
- 2023TARGET: Template-Transferable Backdoor Attack Against Prompt-based NLP Models via GPT429 Nov 2023
- 2023Elijah: Eliminating Backdoors Injected in Diffusion Models via Distribution Shift27 Nov 2023
- 2023Efficient Trigger Word Insertion23 Nov 2023
- 2023TextGuard: Provable Defense against Backdoor Attacks on Text Classification19 Nov 2023
- 2023Attention-Enhancing Backdoor Attacks Against BERT-based Models23 Oct 2023
- 2023ParaFuzz: An Interpretability-Driven Technique for Detecting Poisoned Samples in NLP4 Aug 2023
- 2023On the Trustworthiness Landscape of State-of-the-art Generative Models: A Survey and Outlook31 Jul 2023
- 2023TrojLLM: A Black-box Trojan Prompt Attack on Large Language Models12 Jun 2023
- 2023NOTABLE: Transferable Backdoor Attacks Against Prompt-based NLP Models28 May 2023
- 2023Backdooring Neural Code Search27 May 2023
- 2023IMBERT: Making BERT Immune to Insertion-based Backdoor Attacks25 May 2023
50 newest of 85 All 85 (JSON)
- 2021Mind the Style of Text! Adversarial and Backdoor Attacks Based on Text Style Transfercited by 147
- 2021RAP: Robustness-Aware Perturbations for Defending against Backdoor Attacks on NLP Modelscited by 97
- 2023Prompt as Triggers for Backdoor Attack: Examining the Vulnerability in Language Modelscited by 87
- 2022A Unified Evaluation of Textual Backdoor Learning: Frameworks and Benchmarkscited by 70
- 2021Triggerless Backdoor Attack for NLP Tasks with Clean Labelscited by 61
- 2022Rickrolling the Artist: Injecting Backdoors into Text Encoders for Text-to-Image Synthesiscited by 59
- 2022BadPrompt: Backdoor Attacks on Continuous Promptscited by 59
- 2024Semantic Mirror Jailbreak: Genetic Algorithm Based Jailbreak Prompts Against Open-source LLMscited by 48
- 2022BITE: Textual Backdoor Attacks with Iterative Trigger Injectioncited by 47
- 2022Constrained Optimization with Dynamic Bound-scaling for Effective NLPBackdoor Defensecited by 44
- 2024Operationalizing a Threat Model for Red-Teaming Large Language Models (LLMs)cited by 44
- 2023NOTABLE: Transferable Backdoor Attacks Against Prompt-based NLP Modelscited by 33
12 most cited of 54 All 54 (JSON)
- 2026OPBackdoor: Opportunistic Backdoors via Alibi-Aligned Reasoning21 Sep 2026
- 2026Silent Sabotage: Internal State Triggered Backdoor Attacks on LLM-Powered Robotic Systems2 Sep 2026
- 2026When Emotion Becomes Trigger: Emotion-style dynamic Backdoor Attack Parasitising Large Language Models12 May 2026
- 2026Merging Triggers, Breaking Backdoors: Defensive Poisoning for Instruction-Tuned Language Models7 Jan 2026
- 2025Unmasking Backdoors: An Explainable Defense via Gradient-Attention Anomaly Scoring for Pre-trained Language Models5 Oct 2025
- 2025Pruning Strategies for Backdoor Defense in LLMs27 Aug 2025
- 2025Strategic Sample Selection for Improved Clean-Label Backdoor Attacks in Text Classification21 Aug 2025
- 2025Detecting Stealthy Backdoor Samples based on Intra-class Distance for Large Language Models29 May 2025
- 2025The Ultimate Cookbook for Invisible Poison: Crafting Subtle Clean-Label Text Backdoors with Style Attributes24 Apr 2025
- 2024CL-Attack: Textual Backdoor Attacks via Cross-Lingual Triggers26 Dec 2024
- 2024Breaking PEFT Limitations: Leveraging Weak-to-Strong Knowledge Transfer for Backdoor Attacks in LLMs26 Sep 2024
- 2024Data-centric NLP Backdoor Defense from the Lens of Memorization21 Sep 2024
12 newest of 54 All 54 (JSON)
- 2022BackdoorBench: A Comprehensive Benchmark of Backdoor Learningcited by 124
- 2023TrojanPuzzle: Covertly Poisoning Code-Suggestion Modelscited by 47
- 2021An Overview of Backdoor Attacks Against Deep Neural Networks and Possible Defencescited by 41
- 2023TrojLLM: A Black-box Trojan Prompt Attack on Large Language Modelscited by 29
- 2023From Shortcuts to Triggers: Backdoor Defense with Denoised PoEcited by 26
- 2024Here's a Free Lunch: Sanitizing Backdoored Models with Model Mergecited by 21
- 2023Backdoor Learning on Sequence to Sequence Modelscited by 19
- 2023Mitigating Backdoor Poisoning Attacks through the Lens of Spurious Correlationcited by 19
- 2024Backdoor Attacks on Dense Retrieval via Public and Unintentional Triggerscited by 13
- 2022Backdoor Vulnerabilities in Normally Trained Deep Learning Modelscited by 12
- 2022QuoteR: A Benchmark of Quote Recommendation for Writingcited by 10
- 2024BadCM: Invisible Backdoor Attack Against Cross-Modal Learningcited by 9
12 most cited of 24 All 24 (JSON)
- 2025SteganoBackdoor: Evading Data-Poisoning Defenses via Steganographic Backdoors18 Nov 2025
- 2025NLP Security and Ethics, in the Wild9 Apr 2025
- 2025Defending against Backdoor Attacks via Module Switching8 Apr 2025
- 2024Cut the Deadwood Out: Backdoor Purification via Guided Module Substitution29 Dec 2024
- 2024BadCM: Invisible Backdoor Attack Against Cross-Modal Learning3 Oct 2024
- 2024SEEP: Training Dynamics Grounds Latent Representation Search for Mitigating Backdoor Poisoning Attacks19 May 2024
- 2024Here's a Free Lunch: Sanitizing Backdoored Models with Model Merge29 Feb 2024
- 2024Backdoor Attacks on Dense Retrieval via Public and Unintentional Triggers21 Feb 2024
- 2024Backdoor Attack against One-Class Sequential Anomaly Detection Models15 Feb 2024
- 2023TrojLLM: A Black-box Trojan Prompt Attack on Large Language Models12 Jun 2023
- 2023From Shortcuts to Triggers: Backdoor Defense with Denoised PoE24 May 2023
- 2023Mitigating Backdoor Poisoning Attacks through the Lens of Spurious Correlation19 May 2023
12 newest of 24 All 24 (JSON)