T-Miner: A Generative Approach to Defend Against Trojan Attacks on DNN-based Text Classification
On the map: LLM safety and security → Backdoor and data poisoning attacks
Abstract (arXiv)
Deep Neural Network (DNN) classifiers are known to be vulnerable to Trojan or backdoor attacks, where the classifier is manipulated such that it misclassifies any input containing an attacker-determined Trojan trigger. Backdoors compromise a model's integrity, thereby posing a severe threat to the landscape of DNN-based classification. While multiple defenses against such attacks exist for classifiers in the image domain, there have been limited efforts to protect classifiers in the text domain. We present Trojan-Miner (T-Miner) -- a defense framework for Trojan attacks on DNN-based text classifiers. T-Miner employs a sequence-to-sequence (seq-2-seq) generative model that probes the suspicious classifier and learns to produce text sequences that are likely to contain the Trojan trigger. T-Miner then analyzes the text produced by the generative model to determine if they contain trigger phrases, and correspondingly, whether the tested classifier has a backdoor. T-Miner requires no access to the training dataset or clean inputs of the suspicious classifier, and instead uses synthetically crafted "nonsensical" text inputs to train the generative model. We extensively evaluate T-Miner on 1100 model instances spanning 3 ubiquitous DNN model architectures, 5 different classification tasks, and a variety of trigger phrases. We show that T-Miner detects Trojan and clean models with a 98.75% overall accuracy, while achieving low false positives on clean models. We also show that T-Miner is robust against a variety of targeted, advanced attacks from an adaptive attacker.
Key facts. Cited by 60 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 36 of its 65 references that are in the map. First posted on arXiv 7 Mar 2021.
Builds on
36 of 65 references.
References · 36
- 2017Attention Is All You Needcited by 60,361
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
- 2013Intriguing properties of neural networkscited by 5,155
- 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,057
- 2016Towards Evaluating the Robustness of Neural Networkscited by 2,998
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
- 2014How transferable are features in deep neural networks?cited by 1,225
- 2014Convolutional Neural Networks for Sentence Classificationcited by 1,127
- 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,106
- 2016Universal adversarial perturbationscited by 784
- 2018How To Backdoor Federated Learningcited by 765
- 2017Automated Hate Speech Detection and the Problem of Offensive Languagecited by 736
24 more
- 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 722
- 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 671
- 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 491
- 2018Spectral Signatures in Backdoor Attackscited by 484
- 2019STRIP: A Defence Against Trojan Attacks on Deep Neural Networkscited by 459
- 2018Detecting Backdoor Attacks on Deep Neural Networks by Activation Clusteringcited by 456
- 2018Generating Natural Language Adversarial Examplescited by 424
- 2018TextBugger: Generating Adversarial Text Against Real-world Applicationscited by 381
- 2018Black-box Generation of Adversarial Text Sequences to Evade Deep Learning Classifierscited by 345
- 2020BAE: BERT-based Adversarial Examples for Text Classificationcited by 316
- 2014Caffe: Convolutional Architecture for Fast Feature Embeddingcited by 288
- 2017Toward Controlled Generation of Textcited by 272
- 2019A backdoor attack against LSTM-based text classification systemscited by 227
- 2018Hate Speech Dataset from a White Supremacy Forumcited by 198
- 2019TABOR: A Highly Accurate Approach to Inspecting and Restoring Trojan Backdoors in AI Systemscited by 122
- 2018Towards the first adversarially robust neural network model on MNISTcited by 104
- 2016Crafting Adversarial Input Sequences for Recurrent Neural Networkscited by 103
- 2017Fast Feature Fool: A data independent approach to universal adversarial perturbationscited by 66
- 2018Model-Reuse Attacks on Deep Learning Systemscited by 49
- 2020Backdoor Attacks against Transfer Learning with Pre-trained Deep Learning Modelscited by 44
- 2015Transfer Learning for Speech and Language Processingcited by 35
- 2019Provably Robust Boosted Decision Stumps and Trees against Adversarial Attackscited by 26
- 2018Convolutional Neural Networks for Toxic Comment Classificationcited by 24
- 2018Sliced Recurrent Neural Networkscited by 7
Built on by
Citing papers per year: 2021: 3; 2022: 12; 2023: 18; 2024: 17; 2025: 7; 2026: 3.
60 papers.
Sort:
By area:
- 2021RAP: Robustness-Aware Perturbations for Defending against Backdoor Attacks on NLP Modelscited by 104
- 2023Use of LLMs for Illicit Purposes: Threats, Prevention Measures, and Vulnerabilitiescited by 82
- 2022A Unified Evaluation of Textual Backdoor Learning: Frameworks and Benchmarkscited by 74
- 2025Poisoning Attacks on LLMs Require a Near-constant Number of Poison Samplescited by 72
- 2025Thought Crime: Backdoors and Emergent Misalignment in Reasoning Modelscited by 65
- 2022The "Beatrix'' Resurrections: Robust Backdoor Detection via Gram Matricescited by 63
- 2023TrojanPuzzle: Covertly Poisoning Code-Suggestion Modelscited by 60
- 2022Rickrolling the Artist: Injecting Backdoors into Text Encoders for Text-to-Image Synthesiscited by 59
- 2024BEEAR: Embedding-based Adversarial Removal of Safety Backdoors in Instruction-tuned Language Modelscited by 58
- 2022"Real Attackers Don't Compute Gradients": Bridging the Gap Between Adversarial ML Research and Practicecited by 56
- 2022BITE: Textual Backdoor Attacks with Iterative Trigger Injectioncited by 53
- 2022A Study of the Attention Abnormality in Trojaned BERTscited by 48
38 more
- 2022Constrained Optimization with Dynamic Bound-scaling for Effective NLPBackdoor Defensecited by 47
- 2021An Overview of Backdoor Attacks Against Deep Neural Networks and Possible Defencescited by 42
- 2021Few-shot Backdoor Defense Using Shapley Estimationcited by 41
- 2023Backdoor Attacks and Countermeasures in Natural Language Processing Models: A Comprehensive Security Reviewcited by 39
- 2023NOTABLE: Transferable Backdoor Attacks Against Prompt-based NLP Modelscited by 37
- 2024A Survey of Recent Backdoor Attacks and Defenses in Large Language Modelscited by 36
- 2023Attention-Enhancing Backdoor Attacks Against BERT-based Modelscited by 32
- 2023From Shortcuts to Triggers: Backdoor Defense with Denoised PoEcited by 27
- 2024Task-Agnostic Detector for Insertion-Based Backdoor Attackscited by 23
- 2024BadActs: A Universal Backdoor Defense in the Activation Spacecited by 21
- 2022Expose Backdoors on the Way: A Feature-Based Efficient Defense against Textual Backdoor Attackscited by 19
- 2023Backdooring Neural Code Searchcited by 19
- 2023ParaFuzz: An Interpretability-Driven Technique for Detecting Poisoned Samples in NLPcited by 19
- 2025Probe before You Talk: Towards Black-box Defense against Backdoor Unalignment for Large Language Modelscited by 19
- 2023BDMMT: Backdoor Sample Detection for Language Models through Model Mutation Testingcited by 16
- 2023TextGuard: Provable Defense against Backdoor Attacks on Text Classificationcited by 16
- 2022On Robust Prefix-Tuning for Text Classificationcited by 15
- 2024Mitigating Backdoor Threats to Large Language Models: Advancement and Challengescited by 15
- 2022Jigsaw Puzzle: Selective Backdoor Attack to Subvert Malware Classifierscited by 14
- 2022A Survey on Backdoor Attack and Defense in Natural Language Processingcited by 14
- 2024CLIBE: Detecting Dynamic Backdoors in Transformer-based NLP Modelscited by 13
- 2023TIJO: Trigger Inversion with Joint Optimization for Defending Multimodal Backdoored Modelscited by 12
- 2024Simulate and Eliminate: Revoke Backdoors for Generative Large Language Modelscited by 12
- 2024Transferring Backdoors between Large Language Models by Knowledge Distillationcited by 12
- 2023LMSanitator: Defending Prompt-Tuning Against Task-Agnostic Backdoorscited by 9
- 2024Rethinking Backdoor Detection Evaluation for Language Modelscited by 9
- 2024Obliviate: Neutralizing Task-agnostic Backdoors within the Parameter-efficient Fine-tuning Paradigmcited by 9
- 2023Impacts and Risk of Generative AI Technology on Cyber Defensecited by 8
- 2024Acquiring Clean Language Models from Backdoor Poisoned Datasets by Downscaling Frequency Spacecited by 8
- 2023FreeEagle: Detecting Complex Neural Trojans in Data-Free Casescited by 7
- 2022Attention Hijacking in Trojan Transformerscited by 6
- 2023SoK: A Systematic Evaluation of Backdoor Trigger Characteristics in Image Classificationcited by 6
- 2024Data-centric NLP Backdoor Defense from the Lens of Memorizationcited by 6
- 2023Punctuation Matters! Stealthy Backdoor Attack for Language Modelscited by 5
- 2024TrojFM: Resource-efficient Backdoor Attacks against Very Large Foundation Modelscited by 5
- 2025Your Agent Can Defend Itself against Backdoor Attackscited by 5
- 2025Paladin: Defending LLM-enabled Phishing Emails with a New Trigger-Tag Paradigmcited by 5
- 2023Backdoor Learning for NLP: Recent Advances, Challenges, and Future Research Directionscited by 4
50 most cited of 60 All 60 (JSON)
- 2026Backdoor Learning in Language Models and Vision-Language Models8 Jun 2026
- 2026GradSentry: Gradient Spectral Entropy for Backdoor Sample Filtering in Large Language Model Fine-Tuning26 May 2026
- 2026DRAINCODE: Stealthy Energy Consumption Attacks on Retrieval-Augmented Code Generation via Context Poisoning28 Jan 2026
- 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
- 2025Backdoor Samples Detection Based on Perturbation Discrepancy Consistency in Pre-trained Language Models30 Aug 2025
- 2025Probe before You Talk: Towards Black-box Defense against Backdoor Unalignment for Large Language Models19 Jun 2025
- 2025Thought Crime: Backdoors and Emergent Misalignment in Reasoning Models16 Jun 2025
- 2025Your Agent Can Defend Itself against Backdoor Attacks10 Jun 2025
- 2025GradEscape: A Gradient-Based Evader Against AI-Generated Text Detectors9 Jun 2025
- 2024Mitigating Backdoor Threats to Large Language Models: Advancement and Challenges30 Sep 2024
- 2024Data-centric NLP Backdoor Defense from the Lens of Memorization21 Sep 2024
38 more
- 2024Obliviate: Neutralizing Task-agnostic Backdoors within the Parameter-efficient Fine-tuning Paradigm21 Sep 2024
- 2024NoiseAttack: An Evasive Sample-Specific Multi-Targeted Backdoor Attack Through White Gaussian Noise3 Sep 2024
- 2024Exploiting the Vulnerability of Large Language Models via Defense-Aware Architectural Backdoor3 Sep 2024
- 2024CLIBE: Detecting Dynamic Backdoors in Transformer-based NLP Models2 Sep 2024
- 2024Rethinking Backdoor Detection Evaluation for Language Models31 Aug 2024
- 2024Transferring Backdoors between Large Language Models by Knowledge Distillation19 Aug 2024
- 2024Defense Against Syntactic Textual Backdoor Attacks with Token Substitution4 Jul 2024
- 2024BEEAR: Embedding-based Adversarial Removal of Safety Backdoors in Instruction-tuned Language Models24 Jun 2024
- 2024A Survey of Recent Backdoor Attacks and Defenses in Large Language Models10 Jun 2024
- 2024PromptFix: Few-shot Backdoor Removal via Adversarial Prompt Tuning6 Jun 2024
- 2024TrojFM: Resource-efficient Backdoor Attacks against Very Large Foundation Models27 May 2024
- 2024BadActs: A Universal Backdoor Defense in the Activation Space18 May 2024
- 2024Simulate and Eliminate: Revoke Backdoors for Generative Large Language Models13 May 2024
- 2024Task-Agnostic Detector for Insertion-Based Backdoor Attacks25 Mar 2024
- 2024Acquiring Clean Language Models from Backdoor Poisoned Datasets by Downscaling Frequency Space19 Feb 2024
- 2023Punctuation Matters! Stealthy Backdoor Attack for Language Models26 Dec 2023
- 2023TextGuard: Provable Defense against Backdoor Attacks on Text Classification19 Nov 2023
- 2023Attention-Enhancing Backdoor Attacks Against BERT-based Models23 Oct 2023
- 2023Backdoor Attacks and Countermeasures in Natural Language Processing Models: A Comprehensive Security Review12 Sep 2023
- 2023LMSanitator: Defending Prompt-Tuning Against Task-Agnostic Backdoors26 Aug 2023
- 2023Use of LLMs for Illicit Purposes: Threats, Prevention Measures, and Vulnerabilities24 Aug 2023
- 2023TIJO: Trigger Inversion with Joint Optimization for Defending Multimodal Backdoored Models7 Aug 2023
- 2023ParaFuzz: An Interpretability-Driven Technique for Detecting Poisoned Samples in NLP4 Aug 2023
- 2023Alert-ME: An Explainability-Driven Defense Against Adversarial Examples in Transformer-Based Text Classification3 Jul 2023
- 2023Impacts and Risk of Generative AI Technology on Cyber Defense22 Jun 2023
- 2023NOTABLE: Transferable Backdoor Attacks Against Prompt-based NLP Models28 May 2023
- 2023Backdooring Neural Code Search27 May 2023
- 2023From Shortcuts to Triggers: Backdoor Defense with Denoised PoE24 May 2023
- 2023FreeEagle: Detecting Complex Neural Trojans in Data-Free Cases28 Feb 2023
- 2023Backdoor Learning for NLP: Recent Advances, Challenges, and Future Research Directions14 Feb 2023
- 2023SoK: A Systematic Evaluation of Backdoor Trigger Characteristics in Image Classification3 Feb 2023
- 2023BDMMT: Backdoor Sample Detection for Language Models through Model Mutation Testing25 Jan 2023
- 2023TrojanPuzzle: Covertly Poisoning Code-Suggestion Models6 Jan 2023
- 2022"Real Attackers Don't Compute Gradients": Bridging the Gap Between Adversarial ML Research and Practice29 Dec 2022
- 2022A Survey on Backdoor Attack and Defense in Natural Language Processing22 Nov 2022
- 2022Rickrolling the Artist: Injecting Backdoors into Text Encoders for Text-to-Image Synthesis4 Nov 2022
- 2022Expose Backdoors on the Way: A Feature-Based Efficient Defense against Textual Backdoor Attacks14 Oct 2022
- 2022The "Beatrix'' Resurrections: Robust Backdoor Detection via Gram Matrices23 Sep 2022
50 newest of 60 All 60 (JSON)
- 2021RAP: Robustness-Aware Perturbations for Defending against Backdoor Attacks on NLP Modelscited by 104
- 2022A Unified Evaluation of Textual Backdoor Learning: Frameworks and Benchmarkscited by 74
- 2025Poisoning Attacks on LLMs Require a Near-constant Number of Poison Samplescited by 72
- 2022Rickrolling the Artist: Injecting Backdoors into Text Encoders for Text-to-Image Synthesiscited by 59
- 2024BEEAR: Embedding-based Adversarial Removal of Safety Backdoors in Instruction-tuned Language Modelscited by 58
- 2022BITE: Textual Backdoor Attacks with Iterative Trigger Injectioncited by 53
- 2022Constrained Optimization with Dynamic Bound-scaling for Effective NLPBackdoor Defensecited by 47
- 2023Backdoor Attacks and Countermeasures in Natural Language Processing Models: A Comprehensive Security Reviewcited by 39
- 2023NOTABLE: Transferable Backdoor Attacks Against Prompt-based NLP Modelscited by 37
- 2024A Survey of Recent Backdoor Attacks and Defenses in Large Language Modelscited by 36
- 2023Attention-Enhancing Backdoor Attacks Against BERT-based Modelscited by 32
- 2022Expose Backdoors on the Way: A Feature-Based Efficient Defense against Textual Backdoor Attackscited by 19
12 most cited of 34 All 34 (JSON)
- 2026GradSentry: Gradient Spectral Entropy for Backdoor Sample Filtering in Large Language Model Fine-Tuning26 May 2026
- 2025Poisoning Attacks on LLMs Require a Near-constant Number of Poison Samples8 Oct 2025
- 2025Backdoor Samples Detection Based on Perturbation Discrepancy Consistency in Pre-trained Language Models30 Aug 2025
- 2024Mitigating Backdoor Threats to Large Language Models: Advancement and Challenges30 Sep 2024
- 2024Data-centric NLP Backdoor Defense from the Lens of Memorization21 Sep 2024
- 2024Exploiting the Vulnerability of Large Language Models via Defense-Aware Architectural Backdoor3 Sep 2024
- 2024CLIBE: Detecting Dynamic Backdoors in Transformer-based NLP Models2 Sep 2024
- 2024Transferring Backdoors between Large Language Models by Knowledge Distillation19 Aug 2024
- 2024Defense Against Syntactic Textual Backdoor Attacks with Token Substitution4 Jul 2024
- 2024BEEAR: Embedding-based Adversarial Removal of Safety Backdoors in Instruction-tuned Language Models24 Jun 2024
- 2024A Survey of Recent Backdoor Attacks and Defenses in Large Language Models10 Jun 2024
- 2024PromptFix: Few-shot Backdoor Removal via Adversarial Prompt Tuning6 Jun 2024
12 newest of 34 All 34 (JSON)
- 2025Your Agent Can Defend Itself against Backdoor Attackscited by 5
- 2025Your Agent Can Defend Itself against Backdoor Attacks10 Jun 2025
- 2023Use of LLMs for Illicit Purposes: Threats, Prevention Measures, and Vulnerabilitiescited by 82
- 2022The "Beatrix'' Resurrections: Robust Backdoor Detection via Gram Matricescited by 63
- 2023TrojanPuzzle: Covertly Poisoning Code-Suggestion Modelscited by 60
- 2022"Real Attackers Don't Compute Gradients": Bridging the Gap Between Adversarial ML Research and Practicecited by 56
- 2022A Study of the Attention Abnormality in Trojaned BERTscited by 48
- 2021An Overview of Backdoor Attacks Against Deep Neural Networks and Possible Defencescited by 42
- 2021Few-shot Backdoor Defense Using Shapley Estimationcited by 41
- 2023From Shortcuts to Triggers: Backdoor Defense with Denoised PoEcited by 27
- 2024Task-Agnostic Detector for Insertion-Based Backdoor Attackscited by 23
- 2024BadActs: A Universal Backdoor Defense in the Activation Spacecited by 21
- 2022On Robust Prefix-Tuning for Text Classificationcited by 15
- 2022Jigsaw Puzzle: Selective Backdoor Attack to Subvert Malware Classifierscited by 14
12 most cited of 20 All 20 (JSON)
- 2025Paladin: Defending LLM-enabled Phishing Emails with a New Trigger-Tag Paradigm8 Sep 2025
- 2025GradEscape: A Gradient-Based Evader Against AI-Generated Text Detectors9 Jun 2025
- 2024Obliviate: Neutralizing Task-agnostic Backdoors within the Parameter-efficient Fine-tuning Paradigm21 Sep 2024
- 2024NoiseAttack: An Evasive Sample-Specific Multi-Targeted Backdoor Attack Through White Gaussian Noise3 Sep 2024
- 2024BadActs: A Universal Backdoor Defense in the Activation Space18 May 2024
- 2024Task-Agnostic Detector for Insertion-Based Backdoor Attacks25 Mar 2024
- 2023Use of LLMs for Illicit Purposes: Threats, Prevention Measures, and Vulnerabilities24 Aug 2023
- 2023Alert-ME: An Explainability-Driven Defense Against Adversarial Examples in Transformer-Based Text Classification3 Jul 2023
- 2023Impacts and Risk of Generative AI Technology on Cyber Defense22 Jun 2023
- 2023From Shortcuts to Triggers: Backdoor Defense with Denoised PoE24 May 2023
- 2023SoK: A Systematic Evaluation of Backdoor Trigger Characteristics in Image Classification3 Feb 2023
- 2023TrojanPuzzle: Covertly Poisoning Code-Suggestion Models6 Jan 2023
12 newest of 20 All 20 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2023MDTD: A Multi Domain Trojan Detector for Deep Neural Networks
- 2022PerD: Perturbation Sensitivity-based Neural Trojan Detection Framework on NLP Applications
- 2022Detecting Backdoors in Deep Text Classifiers
- 2021Trojan Signatures in DNN Weights
- 2022An Adaptive Black-box Defense against Trojan Attacks (TrojDef)
- 2021Test-Time Detection of Backdoor Triggers for Poisoned Deep Neural Networks
- 2022Training set cleansing of backdoor poisoning by self-supervised representation learning
- 2024Solving Trojan Detection Competitions with Linear Weight Classification