Skip to main content
QUICK REVIEW

[Paper Review] Detection of Backdoors in Trained Classifiers Without Access to the Training Set

Zhen Xiang, David J. Miller|arXiv (Cornell University)|Aug 27, 2019
Adversarial Robustness in Machine LearningComputer Science9 citations
TL;DR

This paper proposes a post-training, unsupervised anomaly detection method to detect imperceptible backdoor attacks in deep neural network classifiers without access to the training data. It identifies backdoors by optimizing minimal perturbations to induce misclassification between class pairs, revealing significantly smaller perturbations for the true source-target pair, and achieves robust detection across diverse datasets and attack patterns with a single hyperparameter threshold.

ABSTRACT

Recently, a special type of data poisoning (DP) attack targeting Deep Neural Network (DNN) classifiers, known as a backdoor, was proposed. These attacks do not seek to degrade classification accuracy, but rather to have the classifier learn to classify to a target class whenever the backdoor pattern is present in a test example. Launching backdoor attacks does not require knowledge of the classifier or its training process - it only needs the ability to poison the training set with (a sufficient number of) exemplars containing a sufficiently strong backdoor pattern (labeled with the target class). Here we address post-training detection of backdoor attacks in DNN image classifiers, seldom considered in existing works, wherein the defender does not have access to the poisoned training set, but only to the trained classifier itself, as well as to clean examples from the classification domain. This is an important scenario because a trained classifier may be the basis of e.g. a phone app that will be shared with many users. Detecting backdoors post-training may thus reveal a widespread attack. We propose a purely unsupervised anomaly detection (AD) defense against imperceptible backdoor attacks that: i) detects whether the trained DNN has been backdoor-attacked; ii) infers the source and target classes involved in a detected attack; iii) we even demonstrate it is possible to accurately estimate the backdoor pattern. We test our AD approach, in comparison with alternative defenses, for several backdoor patterns, data sets, and attack settings and demonstrate its favorability. Our defense essentially requires setting a single hyperparameter (the detection threshold), which can e.g. be chosen to fix the system's false positive rate.

Motivation & Objective

  • To detect backdoor attacks in DNN classifiers after training, when the training set is unavailable.
  • To identify the source and target classes involved in a backdoor attack without prior knowledge.
  • To estimate the backdoor pattern itself using only the trained model and clean test examples.
  • To develop a defense that is purely unsupervised and robust across diverse backdoor mechanisms and datasets.

Proposed method

  • The method performs perturbation optimization to find the minimum-norm perturbation that causes a DNN to misclassify clean examples from class s to class t for all (s,t) pairs.
  • It uses a cost function minimization framework to compute the smallest perturbation required to induce misclassification to a target class t from a source class s.
  • For each (s,t) pair, the method solves a perturbation optimization problem using clean images from class s, minimizing the perturbation norm.
  • The approach leverages the hypothesis that the true backdoor pair (s*,t*) requires significantly smaller perturbations than non-backdoored pairs.
  • A novel, robust hypothesis testing strategy is employed to compare perturbation norms across all class pairs and detect anomalies.
  • The defense requires tuning only a single detection threshold, which can be set to control the false positive rate.

Experimental results

Research questions

  • RQ1Can backdoor attacks be detected in DNNs after training when the training data is not available?
  • RQ2Can the source and target classes of a backdoor attack be inferred without prior knowledge of the attack?
  • RQ3Is the minimum perturbation required to induce misclassification significantly smaller for the true backdoor pair than for non-backdoored pairs?
  • RQ4How robust is the proposed method across different backdoor patterns, data sets, and attack mechanisms?
  • RQ5Can the method detect backdoors without relying on gradient-based optimization at input space, or can it be extended to non-image inputs?

Key findings

  • The proposed method successfully detects backdoor attacks across multiple datasets, including CIFAR-10, SVHN, and Tiny ImageNet, with high detection accuracy.
  • The minimum perturbation norm for the true backdoor pair (s*,t*) is consistently and significantly smaller than for all other (s,t) pairs, validating the core hypothesis.
  • The method identifies the correct source and target classes in all tested attack scenarios, even with imperceptible backdoor patterns.
  • The computational cost is lower than prior methods due to solving K(K-1) single-class perturbation problems instead of group misclassification problems.
  • The defense remains effective even when the attacker uses additive, multiplicative, or other perturbative mechanisms, without requiring knowledge of the mechanism.
  • The method outperforms state-of-the-art post-training defenses in terms of robustness and detection reliability across diverse attack settings.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.