BadActs: A Universal Backdoor Defense in the Activation Space
Not on the map. Why?
Abstract (arXiv)
Backdoor attacks pose an increasingly severe security threat to Deep Neural Networks (DNNs) during their development stage. In response, backdoor sample purification has emerged as a promising defense mechanism, aiming to eliminate backdoor triggers while preserving the integrity of the clean content in the samples. However, existing approaches have been predominantly focused on the word space, which are ineffective against feature-space triggers and significantly impair performance on clean data. To address this, we introduce a universal backdoor defense that purifies backdoor samples in the activation space by drawing abnormal activations towards optimized minimum clean activation distribution intervals. The advantages of our approach are twofold: (1) By operating in the activation space, our method captures from surface-level information like words to higher-level semantic concepts such as syntax, thus counteracting diverse triggers; (2) the fine-grained continuous nature of the activation space allows for more precise preservation of clean content while removing triggers. Furthermore, we propose a detection module based on statistical information of abnormal activations, to achieve a better trade-off between clean accuracy and defending performance.
Key facts. Cited by 19 papers in the map (data through 7 Oct 2026). Builds on 51 of its 77 references that are in the map. First posted on arXiv 18 May 2024.
Builds on
51 of 77 references.
References · 51
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2022Locating and Editing Factual Associations in GPTcited by 2,609
- 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
- 2017Automated Hate Speech Detection and the Problem of Offensive Languagecited by 724
- 2018Fine-Pruning: Defending Against Backdooring Attacks on Deep Neural Networkscited by 550
- 2019STRIP: A Defence Against Trojan Attacks on Deep Neural Networkscited by 437
- 2020Invisible Backdoor Attack with Sample-Specific Triggerscited by 338
38 more
- 2020Weight Poisoning Attacks on Pre-trained Modelscited by 318
- 2018Characterizing Adversarial Subspaces Using Local Intrinsic Dimensionalitycited by 280
- 2023Poisoning Language Models During Instruction Tuningcited by 254
- 2020ONION: A Simple and Effective Defense Against Textual Backdoor Attackscited by 231
- 2019A backdoor attack against LSTM-based text classification systemscited by 214
- 2021Hidden Killer: Invisible Textual Backdoor Attacks with Syntactic Triggercited by 203
- 2020BadNL: Backdoor Attacks against NLP Models with Semantic-preserving Improvementscited by 191
- 2022Backdoor Defense via Decoupling the Training Processcited by 149
- 2021Mind the Style of Text! Adversarial and Backdoor Attacks Based on Text Style Transfercited by 147
- 2024Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agentscited by 135
- 2021RAP: Robustness-Aware Perturbations for Defending against Backdoor Attacks on NLP Modelscited by 97
- 2021Be Careful about Poisoned Word Embeddings: Exploring the Vulnerability of the Embedding Layers in NLP Modelscited by 96
- 2021Hidden Backdoors in Human-Centric Language Modelscited by 83
- 2021Neuron-level Interpretation of Deep NLP Models: A Surveycited by 81
- 2020Mitigating backdoor attacks in LSTM-based Text Classification Systems by Backdoor Keyword Identificationcited by 80
- 2021Backdoor Pre-trained Models Can Transfer to Allcited by 79
- 2022A Unified Evaluation of Textual Backdoor Learning: Frameworks and Benchmarkscited by 70
- 2021Spinning Language Models: Risks of Propaganda-As-A-Service and Countermeasurescited by 69
- 2021Revisiting Mahalanobis Distance for Transformer-Based Out-of-Domain Detectioncited by 67
- 2019Design and Evaluation of a Multi-Domain Trojan Detection Method on Deep Neural Networkscited by 66
- 2021On the Pitfalls of Analyzing Individual Neurons in Language Modelscited by 61
- 2022BadPrompt: Backdoor Attacks on Continuous Promptscited by 59
- 2021T-Miner: A Generative Approach to Defend Against Trojan Attacks on DNN-based Text Classificationcited by 56
- 2022MM-BD: Post-Training Detection of Backdoor Attacks with Arbitrary Backdoor Pattern Types Using a Maximum Margin Statisticcited by 53
- 2022Fine-mixing: Mitigating Backdoors in Fine-tuned Language Modelscited by 50
- 2020Feature Space Singularity for Out-of-Distribution Detectioncited by 49
- 2022A Study of the Attention Abnormality in Trojaned BERTscited by 47
- 2022BITE: Textual Backdoor Attacks with Iterative Trigger Injectioncited by 47
- 2023NOTABLE: Transferable Backdoor Attacks Against Prompt-based NLP Modelscited by 33
- 2023Defending Pre-trained Language Models as Few-shot Learners against Backdoor Attackscited by 32
- 2021Defending Against Backdoor Attacks in Natural Language Generationcited by 30
- 2022Imperceptible Backdoor Attack: From Input Space to Feature Representationcited by 27
- 2023TrojText: Test-time Invisible Textual Trojan Insertioncited by 26
- 2023From Shortcuts to Triggers: Backdoor Defense with Denoised PoEcited by 26
- 2024Weaver: Foundation Models for Creative Writingcited by 25
- 2023Defending against Insertion-based Textual Backdoor Attacks via Attributioncited by 24
- 2022Expose Backdoors on the Way: A Feature-Based Efficient Defense against Textual Backdoor Attackscited by 18
- 2023Fine-Tuning Deteriorates General Textual Out-of-Distribution Detection by Distorting Task-Agnostic Featurescited by 12
50 most cited of 51 All 51 (JSON)
Built on by
Citing papers per year: 2024: 3; 2025: 11; 2026: 5.
19 papers.
Sort:
By area:
- 2024Unlearning Backdoor Attacks for LLMs with Weak-to-Strong Knowledge Distillationcited by 21
- 2025Probe before You Talk: Towards Black-box Defense against Backdoor Unalignment for Large Language Modelscited by 15
- 2025CTRAP: Embedding Collapse Trap to Safeguard Large Language Models from Harmful Fine-Tuningcited by 11
- 2025Efficient Input-level Backdoor Defense on Text-to-Image Synthesis via Neuron Activation Variationcited by 8
- 2025Persistent Backdoor Attacks under Continual Fine-Tuning of LLMscited by 7
- 2025NLP Security and Ethics, in the Wildcited by 2
- 2025The Ultimate Cookbook for Invisible Poison: Crafting Subtle Clean-Label Text Backdoors with Style Attributescited by 2
- 2025DUP: Detection-guided Unlearning for Backdoor Purification in Language Modelscited by 2
- 2024PBP: Post-training Backdoor Purification for Malware Classifierscited by 1
- 2025Beyond Training-time Poisoning: Component-level and Post-training Backdoors in Deep Reinforcement Learningcited by 1
- 2025Poison Once, Refuse Forever: Weaponizing Alignment for Injecting Bias in LLMscited by 1
- 2025SCOUT: A Defense Against Data Poisoning Attacks in Fine-Tuned Language Modelscited by 1
7 more
- 2026Layerwise Convergence Fingerprints for Runtime Misbehavior Detection in Large Language Modelscited by 1
- 2024Your Semantic-Independent Watermark is Fragile: A Semantic Perturbation Attack against EaaS Watermarkcited by 0
- 2025Defending against Backdoor Attacks via Module Switchingcited by 0
- 2026Detecting and Eliminating Neural Network Backdoors Through Active Paths with Application to Intrusion Detectioncited by 0
- 2026BadLLM-TG: A Backdoor Defender powered by LLM Trigger Generatorcited by 0
- 2026STEP: Detecting Audio Backdoor Attacks via Stability-based Trigger Exposure Profilingcited by 0
- 2026Shared Latent Structures Enable Unified Backdoor Detection and Mitigation in LLMscited by 0
- 2026Shared Latent Structures Enable Unified Backdoor Detection and Mitigation in LLMs6 Jun 2026
- 2026Layerwise Convergence Fingerprints for Runtime Misbehavior Detection in Large Language Models27 Apr 2026
- 2026STEP: Detecting Audio Backdoor Attacks via Stability-based Trigger Exposure Profiling18 Mar 2026
- 2026BadLLM-TG: A Backdoor Defender powered by LLM Trigger Generator16 Mar 2026
- 2026Detecting and Eliminating Neural Network Backdoors Through Active Paths with Application to Intrusion Detection11 Mar 2026
- 2025Persistent Backdoor Attacks under Continual Fine-Tuning of LLMs12 Dec 2025
- 2025SCOUT: A Defense Against Data Poisoning Attacks in Fine-Tuned Language Models10 Dec 2025
- 2025Poison Once, Refuse Forever: Weaponizing Alignment for Injecting Bias in LLMs28 Aug 2025
- 2025DUP: Detection-guided Unlearning for Backdoor Purification in Language Models3 Aug 2025
- 2025Beyond Training-time Poisoning: Component-level and Post-training Backdoors in Deep Reinforcement Learning7 Jul 2025
- 2025Probe before You Talk: Towards Black-box Defense against Backdoor Unalignment for Large Language Models19 Jun 2025
- 2025CTRAP: Embedding Collapse Trap to Safeguard Large Language Models from Harmful Fine-Tuning22 May 2025
7 more
- 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
- 2025Defending against Backdoor Attacks via Module Switching8 Apr 2025
- 2025Efficient Input-level Backdoor Defense on Text-to-Image Synthesis via Neuron Activation Variation9 Mar 2025
- 2024PBP: Post-training Backdoor Purification for Malware Classifiers4 Dec 2024
- 2024Your Semantic-Independent Watermark is Fragile: A Semantic Perturbation Attack against EaaS Watermark14 Nov 2024
- 2024Unlearning Backdoor Attacks for LLMs with Weak-to-Strong Knowledge Distillation18 Oct 2024
- 2024Unlearning Backdoor Attacks for LLMs with Weak-to-Strong Knowledge Distillationcited by 21
- 2025CTRAP: Embedding Collapse Trap to Safeguard Large Language Models from Harmful Fine-Tuningcited by 11
- 2025Persistent Backdoor Attacks under Continual Fine-Tuning of LLMscited by 7
- 2025The Ultimate Cookbook for Invisible Poison: Crafting Subtle Clean-Label Text Backdoors with Style Attributescited by 2
- 2025DUP: Detection-guided Unlearning for Backdoor Purification in Language Modelscited by 2
- 2025SCOUT: A Defense Against Data Poisoning Attacks in Fine-Tuned Language Modelscited by 1
- 2026BadLLM-TG: A Backdoor Defender powered by LLM Trigger Generatorcited by 0
- 2026Shared Latent Structures Enable Unified Backdoor Detection and Mitigation in LLMscited by 0
- 2026Shared Latent Structures Enable Unified Backdoor Detection and Mitigation in LLMs6 Jun 2026
- 2026BadLLM-TG: A Backdoor Defender powered by LLM Trigger Generator16 Mar 2026
- 2025Persistent Backdoor Attacks under Continual Fine-Tuning of LLMs12 Dec 2025
- 2025SCOUT: A Defense Against Data Poisoning Attacks in Fine-Tuned Language Models10 Dec 2025
- 2025DUP: Detection-guided Unlearning for Backdoor Purification in Language Models3 Aug 2025
- 2025CTRAP: Embedding Collapse Trap to Safeguard Large Language Models from Harmful Fine-Tuning22 May 2025
- 2025The Ultimate Cookbook for Invisible Poison: Crafting Subtle Clean-Label Text Backdoors with Style Attributes24 Apr 2025
- 2024Unlearning Backdoor Attacks for LLMs with Weak-to-Strong Knowledge Distillation18 Oct 2024
- 2025NLP Security and Ethics, in the Wildcited by 2
- 2024PBP: Post-training Backdoor Purification for Malware Classifierscited by 1
- 2025Beyond Training-time Poisoning: Component-level and Post-training Backdoors in Deep Reinforcement Learningcited by 1
- 2025Poison Once, Refuse Forever: Weaponizing Alignment for Injecting Bias in LLMscited by 1
- 2024Your Semantic-Independent Watermark is Fragile: A Semantic Perturbation Attack against EaaS Watermarkcited by 0
- 2025Defending against Backdoor Attacks via Module Switchingcited by 0
- 2026Detecting and Eliminating Neural Network Backdoors Through Active Paths with Application to Intrusion Detectioncited by 0
- 2026STEP: Detecting Audio Backdoor Attacks via Stability-based Trigger Exposure Profilingcited by 0
- 2026STEP: Detecting Audio Backdoor Attacks via Stability-based Trigger Exposure Profiling18 Mar 2026
- 2026Detecting and Eliminating Neural Network Backdoors Through Active Paths with Application to Intrusion Detection11 Mar 2026
- 2025Poison Once, Refuse Forever: Weaponizing Alignment for Injecting Bias in LLMs28 Aug 2025
- 2025Beyond Training-time Poisoning: Component-level and Post-training Backdoors in Deep Reinforcement Learning7 Jul 2025
- 2025NLP Security and Ethics, in the Wild9 Apr 2025
- 2025Defending against Backdoor Attacks via Module Switching8 Apr 2025
- 2024PBP: Post-training Backdoor Purification for Malware Classifiers4 Dec 2024
- 2024Your Semantic-Independent Watermark is Fragile: A Semantic Perturbation Attack against EaaS Watermark14 Nov 2024