mlsanityData to 14 Oct 2026

An Adaptive Black-box Defense against Trojan Attacks (TrojDef)

arXiv 2209.01721 ↗First posted 5 Sep 2022cs.CR cs.CVcited by 5

On the map: LLM safety and security → Backdoor and data poisoning attacks

Abstract (arXiv)

Trojan backdoor is a poisoning attack against Neural Network (NN) classifiers in which adversaries try to exploit the (highly desirable) model reuse property to implant Trojans into model parameters for backdoor breaches through a poisoned training process. Most of the proposed defenses against Trojan attacks assume a white-box setup, in which the defender either has access to the inner state of NN or is able to run back-propagation through it. In this work, we propose a more practical black-box defense, dubbed TrojDef, which can only run forward-pass of the NN. TrojDef tries to identify and filter out Trojan inputs (i.e., inputs augmented with the Trojan trigger) by monitoring the changes in the prediction confidence when the input is repeatedly perturbed by random noise. We derive a function based on the prediction outputs which is called the prediction confidence bound to decide whether the input example is Trojan or not. The intuition is that Trojan inputs are more stable as the misclassification only depends on the trigger, while benign inputs will suffer when augmented with noise due to the perturbation of the classification features. Through mathematical analysis, we show that if the attacker is perfect in injecting the backdoor, the Trojan infected model will be trained to learn the appropriate prediction confidence bound, which is used to distinguish Trojan and benign inputs under arbitrary perturbations. However, because the attacker might not be perfect in injecting the backdoor, we introduce a nonlinear transform to the prediction confidence bound to improve the detection accuracy in practical settings. Extensive empirical evaluations show that TrojDef significantly outperforms the-state-of-the-art defenses and is highly stable under different settings, even when the classifier architecture, the training process, or the hyper-parameters change.

Key facts. Cited by 5 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 22 of its 46 references that are in the map. First posted on arXiv 5 Sep 2022.

Builds on

22 of 46 references.

References · 22

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2014Explaining and Harnessing Adversarial Examplescited by 7,364
  3. 2013Intriguing properties of neural networkscited by 5,155
  4. 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,106
  5. 2017Targeted Backdoor Attacks on Deep Learning Systems Using Data Poisoningcited by 1,055
  6. 2018How To Backdoor Federated Learningcited by 765
  7. 2017ZOO: Zeroth Order Optimization based Black-box Attacks to Deep Neural Networks without Training Substitute Modelscited by 666
  8. 2018Fine-Pruning: Defending Against Backdooring Attacks on Deep Neural Networkscited by 580
  9. 2018Poison Frogs! Targeted Clean-Label Poisoning Attacks on Neural Networkscited by 519
  10. 2017Feature Squeezing: Detecting Adversarial Examples in Deep Neural Networkscited by 486
  11. 2018Spectral Signatures in Backdoor Attackscited by 484
  12. 2019STRIP: A Defence Against Trojan Attacks on Deep Neural Networkscited by 459
10 more
  1. 2018Audio Adversarial Examples: Targeted Attacks on Speech-to-Textcited by 274
  2. 2019Detecting AI Trojans Using Meta Neural Analysiscited by 199
  3. 2019Robust Anomaly Detection and Backdoor Attack Detection Via Differential Privacycited by 95
  4. 2020Rethinking the Trigger of Backdoor Attackcited by 77
  5. 2018Model-Reuse Attacks on Deep Learning Systemscited by 49
  6. 2016Early Methods for Detecting Adversarial Imagescited by 36
  7. 2016How Image Degradations Affect Deep CNN-based Face Recognition?cited by 20
  8. 2020An Empirical Study of Derivative-Free-Optimization Algorithms for Targeted Black-Box Attacks in Deep Neural Networkscited by 8
  9. 2019Trust but Verify: An Information-Theoretic Explanation for the Adversarial Fragility of Machine Learning Systems, and a General Defense against Adversarial Attackscited by 4
  10. 2020ManiGen: A Manifold Aided Black-box Generator of Adversarial Examplescited by 2

Built on by

Cited by year

Citing papers per year: 2023: 4; 2024: 1.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2022An Adaptive Black-box Backdoor Detection Method for Deep Neural Networks
  2. 2024Solving Trojan Detection Competitions with Linear Weight Classification
  3. 2021CatchBackdoor: Backdoor Detection via Critical Trojan Neural Path Fuzzing
  4. 2022Dormant Neural Trojans
  5. 2021A Synergetic Attack against Neural Network Classifiers combining Backdoor and Adversarial Examples
  6. 2024Trojan Cleansing with Neural Collapse
  7. 2023MDTD: A Multi Domain Trojan Detector for Deep Neural Networks
  8. 2021Test-Time Detection of Backdoor Triggers for Poisoned Deep Neural Networks