Purifying Generative LLMs from Backdoors without Prior Knowledge or Clean Reference
On the map: LLM safety and security → Backdoor and data poisoning attacks
Abstract (arXiv)
Backdoor attacks pose severe security threats to large language models (LLMs), where a model behaves normally under benign inputs but produces malicious outputs when a hidden trigger appears. Existing backdoor removal methods typically assume prior knowledge of triggers, access to a clean reference model, or rely on aggressive finetuning configurations, and are often limited to classification tasks. However, such assumptions fall apart in real-world instruction-tuned LLM settings. In this work, we propose a new framework for purifying instruction-tuned LLM without any prior trigger knowledge or clean references. Through systematic sanity checks, we find that backdoor associations are redundantly encoded across MLP layers, while attention modules primarily amplify trigger signals without establishing the behavior. Leveraging this insight, we shift the focus from isolating specific backdoor triggers to cutting off the trigger-behavior associations, and design an immunization-inspired elimination approach: by constructing multiple synthetic backdoored variants of the given suspicious model, each trained with different malicious trigger-behavior pairs, and contrasting them with their clean counterparts. The recurring modifications across variants reveal a shared "backdoor signature"-analogous to antigens in a virus. Guided by this signature, we neutralize highly suspicious components in LLM and apply lightweight finetuning to restore its fluency, producing purified models that withstand diverse backdoor attacks and threat models while preserving generative capability.
Key facts. Cited by 6 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 65 of its 73 references that are in the map. First posted on arXiv 13 Mar 2026.
Builds on
65 of 73 references.
Closest ancestors · 19
Same direction, newest first
- 2024CROW: Eliminating Backdoors from Large Language Models via Internal Consistency Regularization18 Nov
- 2024BackdoorLLM: A Comprehensive Benchmark for Backdoor Attacks and Defenses on Large Language Models23 Aug
- 2024CleanGen: Mitigating Backdoor Attacks for Generation Tasks in Large Language Models18 Jun
- 2024A Survey of Recent Backdoor Attacks and Defenses in Large Language Models10 Jun
- 2024Sleeper Agents: Training Deceptive LLMs that Persist Through Safety Training10 Jan
- 2023Attention-Enhancing Backdoor Attacks Against BERT-based Models23 Oct
- 2023Composite Backdoor Attacks Against Large Language Models11 Oct
- 2023Defending Pre-trained Language Models as Few-shot Learners against Backdoor Attacks23 Sep
- 2023Backdooring Instruction-Tuned Large Language Models with Virtual Prompt Injection31 Jul
- 2023Backdoor Attacks for In-Context Learning with Language Models27 Jul
- 2023On the Exploitability of Instruction Tuning28 Jun
- 2023Prompt as Triggers for Backdoor Attack: Examining the Vulnerability in Language Models2 May
7 more
- 2023Analyzing And Editing Inner Mechanisms Of Backdoored Language Models24 Feb
- 2022Fine-mixing: Mitigating Backdoors in Fine-tuned Language Models18 Oct
- 2022Kallima: A Clean-label Framework for Textual Backdoor Attacks3 Jun
- 2022BITE: Textual Backdoor Attacks with Iterative Trigger Injection25 May
- 2022Constrained Optimization with Dynamic Bound-scaling for Effective NLPBackdoor Defense11 Feb
- 2021Spinning Language Models: Risks of Propaganda-As-A-Service and Countermeasures9 Dec
- 2021Hidden Killer: Invisible Textual Backdoor Attacks with Syntactic Trigger26 May
Other references · 46
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
- 2023Mistral 7Bcited by 3,065
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
- 2022Locating and Editing Factual Associations in GPTcited by 2,609
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,140
- 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,114
34 more
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2015Learning both Weights and Connections for Efficient Neural Networkscited by 1,998
- 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!cited by 1,106
- 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
- 2023A Simple and Effective Pruning Approach for Large Language Modelscited by 776
- 2018Fine-Pruning: Defending Against Backdooring Attacks on Deep Neural Networkscited by 550
- 2020Backdoor Learning: A Surveycited by 412
- 2020Weight Poisoning Attacks on Pre-trained Modelscited by 318
- 2021Neural Attention Distillation: Erasing Backdoor Triggers from Deep Neural Networkscited by 313
- 2023Poisoning Web-Scale Training Datasets is Practicalcited by 276
- 2021Anti-Backdoor Learning: Training Clean Models on Poisoned Datacited by 258
- 2023Poisoning Language Models During Instruction Tuningcited by 254
- 2020ONION: A Simple and Effective Defense Against Textual Backdoor Attackscited by 231
- 2021Adversarial Neuron Pruning Purifies Backdoored Deep Modelscited by 230
- 2024AlphaEdit: Null-Space Constrained Knowledge Editing for Language Modelscited by 224
- 2019A backdoor attack against LSTM-based text classification systemscited by 214
- 2020BadNL: Backdoor Attacks against NLP Models with Semantic-preserving Improvementscited by 191
- 2020Blind Backdoors in Deep Learning Modelscited by 174
- 2023Universal Jailbreak Backdoors from Poisoned Human Feedbackcited by 120
- 2020Mitigating backdoor attacks in LSTM-based Text Classification Systems by Backdoor Keyword Identificationcited by 80
- 2022A Study of the Attention Abnormality in Trojaned BERTscited by 47
- 2023The Philosopher's Stone: Trojaning Plugins of Large Language Modelscited by 31
- 2023TrojLLM: A Black-box Trojan Prompt Attack on Large Language Modelscited by 29
- 2018QuSecNets: Quantization-based Defense Mechanism for Securing Deep Neural Network against Adversarial Attackscited by 21
- 2023Backdoor Learning on Sequence to Sequence Modelscited by 19
- 2024Shortcuts Everywhere and Nowhere: Exploring Multi-Trigger Backdoor Attackscited by 19
- 2023Defending Against Backdoor Attacks by Layer-wise Feature Analysiscited by 15
- 2024Superficial Safety Alignment Hypothesiscited by 14
- 2025Safety Alignment Can Be Not Superficial With Explicit Safety Signalscited by 9
- 2024Greedy Output Approximation: Towards Efficient Structured Pruning for LLMs Without Retrainingcited by 8
- 2023Towards Robust Pruning: An Adaptive Knowledge-Retention Pruning Strategy for Language Modelscited by 7
- 2025Trustworthy AI: Safety, Bias, and Privacy -- A Surveycited by 5
- 2024Unified Neural Backdoor Removal with Only Few Clean Samples through Unlearning and Relearningcited by 4
- 2023Breaking through Deterministic Barriers: Randomized Pruning Mask Generation and Selectioncited by 3
Built on by
Citing papers per year: 2026: 6.
6 papers.
- 2026Position: Retire the "Positive Backdoor" Label -- Secret Alignment Requires Strict and Systematic Evaluationcited by 0
- 2026Backdoor Unlearning Generalization: A Path Toward the Removal of Unknown Triggers in LLMscited by 0
- 2026CSO-LLM: Class Subspace Orthogonalization for Post-Training Backdoor Detection and Trigger Inversion in LLMscited by 0
- 2026Removing the NEEDLE in the Haystack: Backdoor Removal in LLMs via Weight Orthogonalisationcited by 0
- 2026Backdoor Containment via Expert Quarantine and Shutdown in LLMscited by 0
- 2026Backdoor Purification for LoRA-Tuned LLMs via Null-Space Projectioncited by 0
- 2026Backdoor Purification for LoRA-Tuned LLMs via Null-Space Projection30 Sep 2026
- 2026Backdoor Containment via Expert Quarantine and Shutdown in LLMs30 Sep 2026
- 2026Removing the NEEDLE in the Haystack: Backdoor Removal in LLMs via Weight Orthogonalisation29 Sep 2026
- 2026CSO-LLM: Class Subspace Orthogonalization for Post-Training Backdoor Detection and Trigger Inversion in LLMs30 Jun 2026
- 2026Backdoor Unlearning Generalization: A Path Toward the Removal of Unknown Triggers in LLMs2 Jun 2026
- 2026Position: Retire the "Positive Backdoor" Label -- Secret Alignment Requires Strict and Systematic Evaluation27 May 2026