CRLGJan 20, 2022

Post-Training Detection of Backdoor Attacks for Two-Class and Multi-Attack Scenarios

arXiv:2201.08474v251 citationsHas Code
AI Analysis

This work addresses a critical security problem for downstream users of AI models who lack access to training data, offering a practical detection method for scenarios previously unsupported, though it is incremental as it builds on existing reverse-engineering defenses.

The paper tackles the challenge of detecting backdoor attacks in deep neural networks under two-class and multi-attack scenarios, where existing reverse-engineering defenses fail, and proposes a framework based on backdoor pattern reverse-engineering and a novel expected transferability statistic, achieving excellent performance on six benchmark datasets with a consistent detection threshold across domains and attacks.

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.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes