The "Beatrix'' Resurrections: Robust Backdoor Detection via Gram Matrices
Not on the map. Why?
Abstract (arXiv)
Deep Neural Networks (DNNs) are susceptible to backdoor attacks during training. The model corrupted in this way functions normally, but when triggered by certain patterns in the input, produces a predefined target label. Existing defenses usually rely on the assumption of the universal backdoor setting in which poisoned samples share the same uniform trigger. However, recent advanced backdoor attacks show that this assumption is no longer valid in dynamic backdoors where the triggers vary from input to input, thereby defeating the existing defenses. In this work, we propose a novel technique, Beatrix (backdoor detection via Gram matrix). Beatrix utilizes Gram matrix to capture not only the feature correlations but also the appropriately high-order information of the representations. By learning class-conditional statistics from activation patterns of normal samples, Beatrix can identify poisoned samples by capturing the anomalies in activation patterns. To further improve the performance in identifying target labels, Beatrix leverages kernel-based testing without making any prior assumptions on representation distribution. We demonstrate the effectiveness of our method through extensive evaluation and comparison with state-of-the-art defensive techniques. The experimental results show that our approach achieves an F1 score of 91.1% in detecting dynamic backdoors, while the state of the art can only reach 36.9%.
Key facts. Cited by 62 papers in the map (data through 7 Oct 2026). Builds on 49 of its 88 references that are in the map. First posted on arXiv 23 Sep 2022.
Builds on
49 of 88 references.
References · 49
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
- 2013Intriguing properties of neural networkscited by 5,114
- 2016Membership Inference Attacks against Machine Learning Modelscited by 2,221
- 2016Identity Mappings in Deep Residual Networkscited by 1,960
- 2016Concrete Problems in AI Safetycited by 1,582
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,472
- 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,325
37 more
- 2018Obfuscated Gradients Give a False Sense of Security: Circumventing Defenses to Adversarial Examplescited by 1,259
- 2017Targeted Backdoor Attacks on Deep Learning Systems Using Data Poisoningcited by 1,012
- 2018How To Backdoor Federated Learningcited by 745
- 2018Speech Commands: A Dataset for Limited-Vocabulary Speech Recognitioncited by 741
- 2018Poison Frogs! Targeted Clean-Label Poisoning Attacks on Neural Networkscited by 500
- 2018Spectral Signatures in Backdoor Attackscited by 457
- 2019STRIP: A Defence Against Trojan Attacks on Deep Neural Networkscited by 437
- 2018Detecting Backdoor Attacks on Deep Neural Networks by Activation Clusteringcited by 429
- 2016Kernel Mean Embedding of Distributions: A Review and Beyondcited by 360
- 2019Hidden Trigger Backdoor Attackscited by 359
- 2020Reflection Backdoor: A Natural Backdoor Attack on Deep Neural Networkscited by 341
- 2020Invisible Backdoor Attack with Sample-Specific Triggerscited by 338
- 2020Input-Aware Dynamic Backdoor Attackcited by 304
- 2019Label-Consistent Backdoor Attackscited by 285
- 2018Scalable and accurate deep learning for electronic health recordscited by 275
- 2019StegaStamp: Invisible Hyperlinks in Physical Photographscited by 256
- 2015Generative Moment Matching Networkscited by 252
- 2019A new Backdoor Attack in CNNs by training set corruption without label poisoningcited by 237
- 2019Detecting AI Trojans Using Meta Neural Analysiscited by 192
- 2020BadNL: Backdoor Attacks against NLP Models with Semantic-preserving Improvementscited by 191
- 2017Demystifying Neural Style Transfercited by 152
- 2018SentiNet: Detecting Localized Universal Attacks Against Deep Learning Systemscited by 148
- 2020Dynamic Backdoor Attacks Against Machine Learning Modelscited by 147
- 2021SPECTRE: Defending Against Backdoor Attacks Using Robust Statisticscited by 123
- 2019Demon in the Variant: Statistical Analysis of DNNs for Robust Backdoor Contamination Detectioncited by 121
- 2020Backdoor Attacks and Countermeasures on Deep Learning: A Comprehensive Reviewcited by 120
- 2021BadEncoder: Backdoor Attacks to Pre-trained Encoders in Self-Supervised Learningcited by 120
- 2021Hidden Backdoors in Human-Centric Language Modelscited by 83
- 2020Rethinking the Trigger of Backdoor Attackcited by 76
- 2020Backdoor Attack against Speaker Verificationcited by 62
- 2021T-Miner: A Generative Approach to Defend Against Trojan Attacks on DNN-based Text Classificationcited by 56
- 2015Fast Two-Sample Testing with Analytic Representations of Probability Measurescited by 53
- 2018DARTS: Deceiving Autonomous Cars with Toxic Signscited by 53
- 2020TrojanZoo: Towards Unified, Holistic, and Practical Evaluation of Neural Backdoorscited by 30
- 2019Comparing distributions: ℓ1 geometry improves kernel two-sample testingcited by 5
- 2021EX-RAY: Distinguishing Injected Backdoor from Natural Features in Neural Networks by Examining Differential Feature Symmetrycited by 5
- 2013Testing Hypotheses by Regularized Maximum Mean Discrepancycited by 3
Built on by
Citing papers per year: 2023: 11; 2024: 20; 2025: 21; 2026: 10.
62 papers.
Sort:
By area:
- 2023Detecting Backdoors During the Inference Stage Based on Corruption Robustness Consistencycited by 45
- 2024IBD-PSC: Input-level Backdoor Detection via Parameter-oriented Scaling Consistencycited by 38
- 2023Neural Polarizer: A Lightweight and Effective Backdoor Defense via Purifying Poisoned Featurescited by 35
- 2024Threats, Attacks, and Defenses in Machine Unlearning: A Surveycited by 34
- 2024Backdooring Vision-Language Models with Out-Of-Distribution Datacited by 31
- 2023ASSET: Robust Backdoor Data Detection Across a Multiplicity of Deep Learning Paradigmscited by 29
- 2024BackdoorBench: A Comprehensive Benchmark and Analysis of Backdoor Learningcited by 17
- 2024Defending Against Weight-Poisoning Backdoor Attacks for Parameter-Efficient Fine-Tuningcited by 16
- 2023Defenses in Adversarial Machine Learning: A Surveycited by 14
- 2024UFID: A Unified Framework for Input-level Backdoor Detection on Diffusion Modelscited by 14
- 2025Test-Time Backdoor Detection for Object Detection Modelscited by 14
- 2023CBD: A Certified Backdoor Detector Based on Local Dominant Probabilitycited by 13
38 more
- 2025Stealthy Backdoor Attack in Self-Supervised Learning Vision Encoders for Large Vision Language Modelscited by 13
- 2024CLIBE: Detecting Dynamic Backdoors in Transformer-based NLP Modelscited by 11
- 2025IAG: Input-aware Backdoor Attack on VLM-based Visual Groundingcited by 11
- 2023FlowMur: A Stealthy and Practical Audio Backdoor Attack with Limited Knowledgecited by 9
- 2023Watch Out! Simple Horizontal Class Backdoor Can Trivially Evade Defensecited by 7
- 2023BELT: Old-School Backdoor Attacks can Evade the State-of-the-Art Defense with Backdoor Exclusivity Liftingcited by 7
- 2024FLARE: Toward Universal Dataset Purification against Backdoor Attackscited by 7
- 2024Tracing Back the Malicious Clients in Poisoning Attacks to Federated Learningcited by 6
- 2025Beyond Black-Box Obfuscation: Mechanistic Analysis and Defense of White-Box Monitorscited by 6
- 2025Backdooring Self-Supervised Contrastive Learning by Noisy Alignmentcited by 6
- 2023Universal Detection of Backdoor Attacks via Density-based Clustering and Centroids Analysiscited by 5
- 2024Invisible Backdoor Attack against Self-supervised Learningcited by 5
- 2024Data Free Backdoor Attackscited by 5
- 2023Gradient Shaping: Enhancing Backdoor Attack Against Reverse Engineeringcited by 4
- 2024Mudjacking: Patching Backdoor Vulnerabilities in Foundation Modelscited by 4
- 2023RAI4IoE: Responsible AI for Enabling the Internet of Energycited by 3
- 2024Defending Deep Regression Models against Backdoor Attackscited by 3
- 2025ReVeil: Unconstrained Concealed Backdoor Attack on Deep Neural Networks using Machine Unlearningcited by 3
- 2025Secure Transfer Learning: Training Clean Models Against Backdoor in (Both) Pre-trained Encoders and Downstream Datasetscited by 3
- 2026SlowBA: An efficiency backdoor attack towards VLM-based GUI agentscited by 3
- 2024On the (In)feasibility of ML Backdoor Detection as an Hypothesis Testing Problemcited by 2
- 2024Reliable Poisoned Sample Detection against Backdoor Attacks Enhanced by Sharpness Aware Minimizationcited by 2
- 2025SifterNet: A Generalized and Model-Agnostic Trigger Purification Approachcited by 2
- 2024Prompting the Unseen: Detecting Hidden Backdoors in Black-Box Modelscited by 1
- 2024Trojan Cleansing with Neural Collapsecited by 1
- 2025Class-Conditional Neural Polarizer: A Lightweight and Effective Backdoor Defense by Purifying Poisoned Featurescited by 1
- 2025ChainMarks: Securing DNN Watermark with Cryptographic Chaincited by 1
- 2025Poison in the Well: Feature Embedding Disruption in Backdoor Attackscited by 1
- 2025Rounding-Guided Backdoor Injection in Deep Learning Model Quantizationcited by 1
- 2026Mechanistic Anomaly Detection via Functional Attributioncited by 1
- 2024BackdoorBench: A Comprehensive Benchmark and Analysis of Backdoor Learningcited by 0
- 2024A Survey of Trojan Attacks and Defenses to Deep Neural Networkscited by 0
- 2024XSub: Explanation-Driven Adversarial Attack against Blackbox Classifiers via Feature Substitutioncited by 0
- 2025TrojanDec: Data-free Detection of Trojan Inputs in Self-supervised Learningcited by 0
- 2025Gradient Norm-based Fine-Tuning for Backdoor Defense in Automatic Speech Recognitioncited by 0
- 2025SecureGaze: Defending Gaze Estimation Against Backdoor Attackscited by 0
- 2025A Client-level Assessment of Collaborative Backdoor Poisoning in Non-IID Federated Learningcited by 0
- 2025Variance-Based Defense Against Blended Backdoor Attackscited by 0
50 most cited of 62 All 62 (JSON)
- 2026FreqDoor: A Hidden Trojan in the Frequency Domain for Backdoor Attacks on Vision-Language Models7 Sep 2026
- 2026Beyond Small Patches: Black-Box Detection and Purification of Diverse Backdoor Triggers2 Sep 2026
- 2026FIDA: Feature Instability-Driven Attack on Self-Supervised Facial Representation27 Aug 2026
- 2026Diversity Matters: Distributional Feature Coverage Sample Selection for Data-Efficient Backdoor Attacks10 Aug 2026
- 2026The Platonic Defense: Backdoor Defense for Self-Supervised Encoders in the Era of Large Scale Pre-training28 Jun 2026
- 2026Backdoor Learning in Language Models and Vision-Language Models8 Jun 2026
- 2026Checkerboard: Closed-Form and Data-Independent Trigger Design for Clean-Label Backdoor Attacks2 May 2026
- 2026Mechanistic Anomaly Detection via Functional Attribution21 Apr 2026
- 2026STEP: Detecting Audio Backdoor Attacks via Stability-based Trigger Exposure Profiling18 Mar 2026
- 2026SlowBA: An efficiency backdoor attack towards VLM-based GUI agents9 Mar 2026
- 2025The Eminence in Shadow: Exploiting Feature Boundary Ambiguity for Robust Backdoor Attacks11 Dec 2025
- 2025CatBack: Universal Backdoor Attacks on Tabular Data via Categorical Encoding8 Nov 2025
38 more
- 2025HAMLOCK: HArdware-Model LOgically Combined attacK22 Oct 2025
- 2025Rounding-Guided Backdoor Injection in Deep Learning Model Quantization5 Oct 2025
- 2025Backdooring Self-Supervised Contrastive Learning by Noisy Alignment19 Aug 2025
- 2025IAG: Input-aware Backdoor Attack on VLM-based Visual Grounding13 Aug 2025
- 2025Proactive Disentangled Modeling of Trigger-Object Pairings for Backdoor Defense3 Aug 2025
- 2025Variance-Based Defense Against Blended Backdoor Attacks2 Jun 2025
- 2025Poison in the Well: Feature Embedding Disruption in Backdoor Attacks26 May 2025
- 2025SifterNet: A Generalized and Model-Agnostic Trigger Purification Approach20 May 2025
- 2025Beyond Black-Box Obfuscation: Mechanistic Analysis and Defense of White-Box Monitors20 May 2025
- 2025ChainMarks: Securing DNN Watermark with Cryptographic Chain8 May 2025
- 2025A Client-level Assessment of Collaborative Backdoor Poisoning in Non-IID Federated Learning17 Apr 2025
- 2025Secure Transfer Learning: Training Clean Models Against Backdoor in (Both) Pre-trained Encoders and Downstream Datasets16 Apr 2025
- 2025Test-Time Backdoor Detection for Object Detection Models19 Mar 2025
- 2025SecureGaze: Defending Gaze Estimation Against Backdoor Attacks27 Feb 2025
- 2025Stealthy Backdoor Attack in Self-Supervised Learning Vision Encoders for Large Vision Language Models25 Feb 2025
- 2025Class-Conditional Neural Polarizer: A Lightweight and Effective Backdoor Defense by Purifying Poisoned Features23 Feb 2025
- 2025ReVeil: Unconstrained Concealed Backdoor Attack on Deep Neural Networks using Machine Unlearning17 Feb 2025
- 2025Gradient Norm-based Fine-Tuning for Backdoor Defense in Automatic Speech Recognition3 Feb 2025
- 2025TrojanDec: Data-free Detection of Trojan Inputs in Self-supervised Learning7 Jan 2025
- 2024Data Free Backdoor Attacks9 Dec 2024
- 2024FLARE: Toward Universal Dataset Purification against Backdoor Attacks29 Nov 2024
- 2024Trojan Cleansing with Neural Collapse19 Nov 2024
- 2024Reliable Poisoned Sample Detection against Backdoor Attacks Enhanced by Sharpness Aware Minimization18 Nov 2024
- 2024Prompting the Unseen: Detecting Hidden Backdoors in Black-Box Models14 Nov 2024
- 2024Defending Deep Regression Models against Backdoor Attacks7 Nov 2024
- 2024Backdooring Vision-Language Models with Out-Of-Distribution Data2 Oct 2024
- 2024XSub: Explanation-Driven Adversarial Attack against Blackbox Classifiers via Feature Substitution13 Sep 2024
- 2024CLIBE: Detecting Dynamic Backdoors in Transformer-based NLP Models2 Sep 2024
- 2024A Survey of Trojan Attacks and Defenses to Deep Neural Networks15 Aug 2024
- 2024BackdoorBench: A Comprehensive Benchmark and Analysis of Backdoor Learning29 Jul 2024
- 2024Tracing Back the Malicious Clients in Poisoning Attacks to Federated Learning9 Jul 2024
- 2024Invisible Backdoor Attack against Self-supervised Learning23 May 2024
- 2024IBD-PSC: Input-level Backdoor Detection via Parameter-oriented Scaling Consistency16 May 2024
- 2024UFID: A Unified Framework for Input-level Backdoor Detection on Diffusion Models1 Apr 2024
- 2024Threats, Attacks, and Defenses in Machine Unlearning: A Survey20 Mar 2024
- 2024On the (In)feasibility of ML Backdoor Detection as an Hypothesis Testing Problem26 Feb 2024
- 2024Mudjacking: Patching Backdoor Vulnerabilities in Foundation Models22 Feb 2024
- 2024Defending Against Weight-Poisoning Backdoor Attacks for Parameter-Efficient Fine-Tuning19 Feb 2024
50 newest of 62 All 62 (JSON)
- 2024Threats, Attacks, and Defenses in Machine Unlearning: A Surveycited by 34
- 2024CLIBE: Detecting Dynamic Backdoors in Transformer-based NLP Modelscited by 11
- 2024Mudjacking: Patching Backdoor Vulnerabilities in Foundation Modelscited by 4
- 2025Secure Transfer Learning: Training Clean Models Against Backdoor in (Both) Pre-trained Encoders and Downstream Datasetscited by 3
- 2025SifterNet: A Generalized and Model-Agnostic Trigger Purification Approachcited by 2
- 2024Prompting the Unseen: Detecting Hidden Backdoors in Black-Box Modelscited by 1
- 2024Trojan Cleansing with Neural Collapsecited by 1
- 2026Mechanistic Anomaly Detection via Functional Attributioncited by 1
- 2025Gradient Norm-based Fine-Tuning for Backdoor Defense in Automatic Speech Recognitioncited by 0
- 2025HAMLOCK: HArdware-Model LOgically Combined attacKcited by 0
- 2026The Platonic Defense: Backdoor Defense for Self-Supervised Encoders in the Era of Large Scale Pre-trainingcited by 0
- 2026FIDA: Feature Instability-Driven Attack on Self-Supervised Facial Representationcited by 0
- 2026FIDA: Feature Instability-Driven Attack on Self-Supervised Facial Representation27 Aug 2026
- 2026The Platonic Defense: Backdoor Defense for Self-Supervised Encoders in the Era of Large Scale Pre-training28 Jun 2026
- 2026Mechanistic Anomaly Detection via Functional Attribution21 Apr 2026
- 2025HAMLOCK: HArdware-Model LOgically Combined attacK22 Oct 2025
- 2025SifterNet: A Generalized and Model-Agnostic Trigger Purification Approach20 May 2025
- 2025Secure Transfer Learning: Training Clean Models Against Backdoor in (Both) Pre-trained Encoders and Downstream Datasets16 Apr 2025
- 2025Gradient Norm-based Fine-Tuning for Backdoor Defense in Automatic Speech Recognition3 Feb 2025
- 2024Trojan Cleansing with Neural Collapse19 Nov 2024
- 2024Prompting the Unseen: Detecting Hidden Backdoors in Black-Box Models14 Nov 2024
- 2024CLIBE: Detecting Dynamic Backdoors in Transformer-based NLP Models2 Sep 2024
- 2024Threats, Attacks, and Defenses in Machine Unlearning: A Survey20 Mar 2024
- 2024Mudjacking: Patching Backdoor Vulnerabilities in Foundation Models22 Feb 2024
- 2024Backdooring Vision-Language Models with Out-Of-Distribution Datacited by 31
- 2025Stealthy Backdoor Attack in Self-Supervised Learning Vision Encoders for Large Vision Language Modelscited by 13
- 2025IAG: Input-aware Backdoor Attack on VLM-based Visual Groundingcited by 11
- 2026Backdoor Learning in Language Models and Vision-Language Modelscited by 0
- 2026FreqDoor: A Hidden Trojan in the Frequency Domain for Backdoor Attacks on Vision-Language Modelscited by 0
- 2026FreqDoor: A Hidden Trojan in the Frequency Domain for Backdoor Attacks on Vision-Language Models7 Sep 2026
- 2026Backdoor Learning in Language Models and Vision-Language Models8 Jun 2026
- 2025IAG: Input-aware Backdoor Attack on VLM-based Visual Grounding13 Aug 2025
- 2025Stealthy Backdoor Attack in Self-Supervised Learning Vision Encoders for Large Vision Language Models25 Feb 2025
- 2024Backdooring Vision-Language Models with Out-Of-Distribution Data2 Oct 2024
- 2023Detecting Backdoors During the Inference Stage Based on Corruption Robustness Consistencycited by 45
- 2024IBD-PSC: Input-level Backdoor Detection via Parameter-oriented Scaling Consistencycited by 38
- 2023Neural Polarizer: A Lightweight and Effective Backdoor Defense via Purifying Poisoned Featurescited by 35
- 2023ASSET: Robust Backdoor Data Detection Across a Multiplicity of Deep Learning Paradigmscited by 29
- 2024BackdoorBench: A Comprehensive Benchmark and Analysis of Backdoor Learningcited by 17
- 2024Defending Against Weight-Poisoning Backdoor Attacks for Parameter-Efficient Fine-Tuningcited by 16
- 2023Defenses in Adversarial Machine Learning: A Surveycited by 14
- 2025Test-Time Backdoor Detection for Object Detection Modelscited by 14
- 2023CBD: A Certified Backdoor Detector Based on Local Dominant Probabilitycited by 13
- 2023FlowMur: A Stealthy and Practical Audio Backdoor Attack with Limited Knowledgecited by 9
- 2023Watch Out! Simple Horizontal Class Backdoor Can Trivially Evade Defensecited by 7
- 2023BELT: Old-School Backdoor Attacks can Evade the State-of-the-Art Defense with Backdoor Exclusivity Liftingcited by 7
12 most cited of 43 All 43 (JSON)
- 2026Beyond Small Patches: Black-Box Detection and Purification of Diverse Backdoor Triggers2 Sep 2026
- 2026Diversity Matters: Distributional Feature Coverage Sample Selection for Data-Efficient Backdoor Attacks10 Aug 2026
- 2026Checkerboard: Closed-Form and Data-Independent Trigger Design for Clean-Label Backdoor Attacks2 May 2026
- 2026STEP: Detecting Audio Backdoor Attacks via Stability-based Trigger Exposure Profiling18 Mar 2026
- 2025The Eminence in Shadow: Exploiting Feature Boundary Ambiguity for Robust Backdoor Attacks11 Dec 2025
- 2025CatBack: Universal Backdoor Attacks on Tabular Data via Categorical Encoding8 Nov 2025
- 2025Rounding-Guided Backdoor Injection in Deep Learning Model Quantization5 Oct 2025
- 2025Backdooring Self-Supervised Contrastive Learning by Noisy Alignment19 Aug 2025
- 2025Proactive Disentangled Modeling of Trigger-Object Pairings for Backdoor Defense3 Aug 2025
- 2025Variance-Based Defense Against Blended Backdoor Attacks2 Jun 2025
- 2025Poison in the Well: Feature Embedding Disruption in Backdoor Attacks26 May 2025
- 2025Beyond Black-Box Obfuscation: Mechanistic Analysis and Defense of White-Box Monitors20 May 2025
12 newest of 43 All 43 (JSON)