[Paper Review] Post-Training Detection of Backdoor Attacks for Two-Class and Multi-Attack Scenarios
This paper proposes a novel post-training backdoor attack detection framework for two-class and multi-attack scenarios, using backdoor pattern (BP) reverse-engineering and a new expected transferability (ET) statistic. The ET statistic enables effective detection with a single, domain-agnostic threshold, achieving state-of-the-art performance across six benchmark datasets without requiring access to training data or clean reference classifiers.
Backdoor attacks (BAs) are an emerging threat to deep neural network classifiers. A victim classifier will predict to an attacker-desired target class whenever a test sample is embedded with the same backdoor pattern (BP) that was used to poison the classifier's training set. Detecting whether a classifier is backdoor attacked is not easy in practice, especially when the defender is, e.g., a downstream user without access to the classifier's training set. This challenge is addressed here by a reverse-engineering defense (RED), which has been shown to yield state-of-the-art performance in several domains. However, existing REDs are not applicable when there are only {\it two classes} or when {\it multiple attacks} are present. These scenarios are first studied in the current paper, under the practical constraints that the defender neither has access to the classifier's training set nor to supervision from clean reference classifiers trained for the same domain. We propose a detection framework based on BP reverse-engineering and a novel {\it expected transferability} (ET) statistic. We show that our ET statistic is effective {\it using the same detection threshold}, irrespective of the classification domain, the attack configuration, and the BP reverse-engineering algorithm that is used. The excellent performance of our method is demonstrated on six benchmark datasets. Notably, our detection framework is also applicable to multi-class scenarios with multiple attacks. Code is available at https://github.com/zhenxianglance/2ClassBADetection.
Motivation & Objective
- Address the challenge of detecting backdoor attacks in two-class and multi-attack scenarios where existing reverse-engineering defenses (REDs) fail due to insufficient statistics for null distribution estimation.
- Develop a detection method that operates under practical constraints: no access to the victim classifier's training set and no supervision from clean reference classifiers trained for the same domain.
- Enable reliable detection in low-class scenarios (e.g., K=2) and multi-attack settings, where prior REDs are inapplicable or degrade in performance.
- Establish a detection threshold that is universally effective across diverse classification domains, attack configurations, and reverse-engineering algorithms.
Proposed method
- Propose a detection framework based on reverse-engineering BPs for each class independently, using existing or future reverse-engineering techniques.
- Introduce a novel detection statistic called expected transferability (ET), defined as the average transferability of a reverse-engineered BP across clean test samples.
- Use ET as the anomaly score: if ET > 1/2, the class is flagged as potentially backdoored, leveraging the fact that true BPs transfer better than random patterns.
- Demonstrate that a single detection threshold of 1/2 is effective across all tested domains, attack types, and reverse-engineering methods, eliminating the need for domain-specific calibration.
- Apply the framework to both two-class and multi-class scenarios, including cases with multiple simultaneous attacks.
- Use ensembles of classifiers to improve robustness and ensure consistent detection performance.
Experimental results
Research questions
- RQ1Can a backdoor detection framework be effective in two-class scenarios where existing REDs fail due to insufficient non-target classes for null distribution estimation?
- RQ2Is there a universal detection threshold for backdoor detection that works across diverse datasets, attack types, and reverse-engineering algorithms?
- RQ3Can the proposed expected transferability (ET) statistic detect backdoor attacks in multi-attack scenarios without requiring prior knowledge of the number or nature of attacks?
- RQ4How does the performance of the proposed ET-based framework compare to existing RED methods in terms of detection accuracy and false positive rate, especially under multi-attack conditions?
Key findings
- The proposed ET-based detection framework achieves 100% detection accuracy on all 10 five-class domains with one attack and all 10 with two attacks, with zero false positives.
- The method outperforms both the original RED-AP and RED-AP (MAD) baselines, which failed to detect any of the two-attack instances, highlighting its robustness in multi-attack settings.
- The detection threshold of 1/2 is universally effective across six benchmark datasets, different attack configurations, and various reverse-engineering algorithms, eliminating the need for domain-specific calibration.
- False positives are rare and primarily occur when reverse-engineering clean classifiers using the RE-PR method, but even then, they occur with low frequency across diverse two-class domains.
- The ET statistic is robust to variations in BP type, reverse-engineering objective functions, and optimization techniques, enabling compatibility with existing and future reverse-engineering methods.
- The framework successfully detects backdoor attacks in both two-class and multi-class scenarios, including cases with multiple simultaneous attacks, demonstrating broad applicability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.