mlsanityData to 7 Oct 2026

The "Beatrix'' Resurrections: Robust Backdoor Detection via Gram Matrices

arXiv 2209.11715 ↗First posted 23 Sep 2022cs.CR cs.AIcited by 62

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

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  3. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
  4. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  5. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  6. 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
  7. 2013Intriguing properties of neural networkscited by 5,114
  8. 2016Membership Inference Attacks against Machine Learning Modelscited by 2,221
  9. 2016Identity Mappings in Deep Residual Networkscited by 1,960
  10. 2016Concrete Problems in AI Safetycited by 1,582
  11. 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,472
  12. 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,325
37 more
  1. 2018Obfuscated Gradients Give a False Sense of Security: Circumventing Defenses to Adversarial Examplescited by 1,259
  2. 2017Targeted Backdoor Attacks on Deep Learning Systems Using Data Poisoningcited by 1,012
  3. 2018How To Backdoor Federated Learningcited by 745
  4. 2018Speech Commands: A Dataset for Limited-Vocabulary Speech Recognitioncited by 741
  5. 2018Poison Frogs! Targeted Clean-Label Poisoning Attacks on Neural Networkscited by 500
  6. 2018Spectral Signatures in Backdoor Attackscited by 457
  7. 2019STRIP: A Defence Against Trojan Attacks on Deep Neural Networkscited by 437
  8. 2018Detecting Backdoor Attacks on Deep Neural Networks by Activation Clusteringcited by 429
  9. 2016Kernel Mean Embedding of Distributions: A Review and Beyondcited by 360
  10. 2019Hidden Trigger Backdoor Attackscited by 359
  11. 2020Reflection Backdoor: A Natural Backdoor Attack on Deep Neural Networkscited by 341
  12. 2020Invisible Backdoor Attack with Sample-Specific Triggerscited by 338
  13. 2020Input-Aware Dynamic Backdoor Attackcited by 304
  14. 2019Label-Consistent Backdoor Attackscited by 285
  15. 2018Scalable and accurate deep learning for electronic health recordscited by 275
  16. 2019StegaStamp: Invisible Hyperlinks in Physical Photographscited by 256
  17. 2015Generative Moment Matching Networkscited by 252
  18. 2019A new Backdoor Attack in CNNs by training set corruption without label poisoningcited by 237
  19. 2019Detecting AI Trojans Using Meta Neural Analysiscited by 192
  20. 2020BadNL: Backdoor Attacks against NLP Models with Semantic-preserving Improvementscited by 191
  21. 2017Demystifying Neural Style Transfercited by 152
  22. 2018SentiNet: Detecting Localized Universal Attacks Against Deep Learning Systemscited by 148
  23. 2020Dynamic Backdoor Attacks Against Machine Learning Modelscited by 147
  24. 2021SPECTRE: Defending Against Backdoor Attacks Using Robust Statisticscited by 123
  25. 2019Demon in the Variant: Statistical Analysis of DNNs for Robust Backdoor Contamination Detectioncited by 121
  26. 2020Backdoor Attacks and Countermeasures on Deep Learning: A Comprehensive Reviewcited by 120
  27. 2021BadEncoder: Backdoor Attacks to Pre-trained Encoders in Self-Supervised Learningcited by 120
  28. 2021Hidden Backdoors in Human-Centric Language Modelscited by 83
  29. 2020Rethinking the Trigger of Backdoor Attackcited by 76
  30. 2020Backdoor Attack against Speaker Verificationcited by 62
  31. 2021T-Miner: A Generative Approach to Defend Against Trojan Attacks on DNN-based Text Classificationcited by 56
  32. 2015Fast Two-Sample Testing with Analytic Representations of Probability Measurescited by 53
  33. 2018DARTS: Deceiving Autonomous Cars with Toxic Signscited by 53
  34. 2020TrojanZoo: Towards Unified, Holistic, and Practical Evaluation of Neural Backdoorscited by 30
  35. 2019Comparing distributions: ℓ1 geometry improves kernel two-sample testingcited by 5
  36. 2021EX-RAY: Distinguishing Injected Backdoor from Natural Features in Neural Networks by Examining Differential Feature Symmetrycited by 5
  37. 2013Testing Hypotheses by Regularized Maximum Mean Discrepancycited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 11; 2024: 20; 2025: 21; 2026: 10.

62 papers.

Sort:

By area:

  1. 2023Detecting Backdoors During the Inference Stage Based on Corruption Robustness Consistencycited by 45
  2. 2024IBD-PSC: Input-level Backdoor Detection via Parameter-oriented Scaling Consistencycited by 38
  3. 2023Neural Polarizer: A Lightweight and Effective Backdoor Defense via Purifying Poisoned Featurescited by 35
  4. 2024Threats, Attacks, and Defenses in Machine Unlearning: A Surveycited by 34
  5. 2024Backdooring Vision-Language Models with Out-Of-Distribution Datacited by 31
  6. 2023ASSET: Robust Backdoor Data Detection Across a Multiplicity of Deep Learning Paradigmscited by 29
  7. 2024BackdoorBench: A Comprehensive Benchmark and Analysis of Backdoor Learningcited by 17
  8. 2024Defending Against Weight-Poisoning Backdoor Attacks for Parameter-Efficient Fine-Tuningcited by 16
  9. 2023Defenses in Adversarial Machine Learning: A Surveycited by 14
  10. 2024UFID: A Unified Framework for Input-level Backdoor Detection on Diffusion Modelscited by 14
  11. 2025Test-Time Backdoor Detection for Object Detection Modelscited by 14
  12. 2023CBD: A Certified Backdoor Detector Based on Local Dominant Probabilitycited by 13
38 more
  1. 2025Stealthy Backdoor Attack in Self-Supervised Learning Vision Encoders for Large Vision Language Modelscited by 13
  2. 2024CLIBE: Detecting Dynamic Backdoors in Transformer-based NLP Modelscited by 11
  3. 2025IAG: Input-aware Backdoor Attack on VLM-based Visual Groundingcited by 11
  4. 2023FlowMur: A Stealthy and Practical Audio Backdoor Attack with Limited Knowledgecited by 9
  5. 2023Watch Out! Simple Horizontal Class Backdoor Can Trivially Evade Defensecited by 7
  6. 2023BELT: Old-School Backdoor Attacks can Evade the State-of-the-Art Defense with Backdoor Exclusivity Liftingcited by 7
  7. 2024FLARE: Toward Universal Dataset Purification against Backdoor Attackscited by 7
  8. 2024Tracing Back the Malicious Clients in Poisoning Attacks to Federated Learningcited by 6
  9. 2025Beyond Black-Box Obfuscation: Mechanistic Analysis and Defense of White-Box Monitorscited by 6
  10. 2025Backdooring Self-Supervised Contrastive Learning by Noisy Alignmentcited by 6
  11. 2023Universal Detection of Backdoor Attacks via Density-based Clustering and Centroids Analysiscited by 5
  12. 2024Invisible Backdoor Attack against Self-supervised Learningcited by 5
  13. 2024Data Free Backdoor Attackscited by 5
  14. 2023Gradient Shaping: Enhancing Backdoor Attack Against Reverse Engineeringcited by 4
  15. 2024Mudjacking: Patching Backdoor Vulnerabilities in Foundation Modelscited by 4
  16. 2023RAI4IoE: Responsible AI for Enabling the Internet of Energycited by 3
  17. 2024Defending Deep Regression Models against Backdoor Attackscited by 3
  18. 2025ReVeil: Unconstrained Concealed Backdoor Attack on Deep Neural Networks using Machine Unlearningcited by 3
  19. 2025Secure Transfer Learning: Training Clean Models Against Backdoor in (Both) Pre-trained Encoders and Downstream Datasetscited by 3
  20. 2026SlowBA: An efficiency backdoor attack towards VLM-based GUI agentscited by 3
  21. 2024On the (In)feasibility of ML Backdoor Detection as an Hypothesis Testing Problemcited by 2
  22. 2024Reliable Poisoned Sample Detection against Backdoor Attacks Enhanced by Sharpness Aware Minimizationcited by 2
  23. 2025SifterNet: A Generalized and Model-Agnostic Trigger Purification Approachcited by 2
  24. 2024Prompting the Unseen: Detecting Hidden Backdoors in Black-Box Modelscited by 1
  25. 2024Trojan Cleansing with Neural Collapsecited by 1
  26. 2025Class-Conditional Neural Polarizer: A Lightweight and Effective Backdoor Defense by Purifying Poisoned Featurescited by 1
  27. 2025ChainMarks: Securing DNN Watermark with Cryptographic Chaincited by 1
  28. 2025Poison in the Well: Feature Embedding Disruption in Backdoor Attackscited by 1
  29. 2025Rounding-Guided Backdoor Injection in Deep Learning Model Quantizationcited by 1
  30. 2026Mechanistic Anomaly Detection via Functional Attributioncited by 1
  31. 2024BackdoorBench: A Comprehensive Benchmark and Analysis of Backdoor Learningcited by 0
  32. 2024A Survey of Trojan Attacks and Defenses to Deep Neural Networkscited by 0
  33. 2024XSub: Explanation-Driven Adversarial Attack against Blackbox Classifiers via Feature Substitutioncited by 0
  34. 2025TrojanDec: Data-free Detection of Trojan Inputs in Self-supervised Learningcited by 0
  35. 2025Gradient Norm-based Fine-Tuning for Backdoor Defense in Automatic Speech Recognitioncited by 0
  36. 2025SecureGaze: Defending Gaze Estimation Against Backdoor Attackscited by 0
  37. 2025A Client-level Assessment of Collaborative Backdoor Poisoning in Non-IID Federated Learningcited by 0
  38. 2025Variance-Based Defense Against Blended Backdoor Attackscited by 0

50 most cited of 62 All 62 (JSON)