English

Detecting Backdoors in Neural Networks Using Novel Feature-Based Anomaly Detection

Machine Learning 2023-02-24 v1

Abstract

This paper proposes a new defense against neural network backdooring attacks that are maliciously trained to mispredict in the presence of attacker-chosen triggers. Our defense is based on the intuition that the feature extraction layers of a backdoored network embed new features to detect the presence of a trigger and the subsequent classification layers learn to mispredict when triggers are detected. Therefore, to detect backdoors, the proposed defense uses two synergistic anomaly detectors trained on clean validation data: the first is a novelty detector that checks for anomalous features, while the second detects anomalous mappings from features to outputs by comparing with a separate classifier trained on validation data. The approach is evaluated on a wide range of backdoored networks (with multiple variations of triggers) that successfully evade state-of-the-art defenses. Additionally, we evaluate the robustness of our approach on imperceptible perturbations, scalability on large-scale datasets, and effectiveness under domain shift. This paper also shows that the defense can be further improved using data augmentation.

Keywords

Cite

@article{arxiv.2011.02526,
  title  = {Detecting Backdoors in Neural Networks Using Novel Feature-Based Anomaly Detection},
  author = {Hao Fu and Akshaj Kumar Veldanda and Prashanth Krishnamurthy and Siddharth Garg and Farshad Khorrami},
  journal= {arXiv preprint arXiv:2011.02526},
  year   = {2023}
}
R2 v1 2026-06-23T19:55:23.482Z