Abstract
Extensive evidence has demonstrated that deep neural networks (DNNs) are vulnerable to backdoor attacks, which motivates the development of backdoor attacks detection. Most detection methods are designed to verify whether a model is infected with presumed types of backdoor attacks, yet the adversary is likely to generate diverse backdoor attacks in practice that are unforeseen to defenders, which challenge current detection strategies. In this paper, we focus on this more challenging scenario and propose a universal backdoor attacks detection method named Adaptive Adversarial Probe (A2P). Specifically, we posit that the challenge of universal backdoor attacks detection lies in the fact that different backdoor attacks often exhibit diverse characteristics in trigger patterns (i.e., sizes and transparencies). Therefore, our A2P adopts a global-to-local probing framework, which adversarially probes images with adaptive regions/budgets to fit various backdoor triggers of different sizes/transparencies. Extensive experiments on multiple datasets (CIFAR-10, GTSRB, Tiny-ImageNet) demonstrate that our method outperforms state-of-the-art baselines by large margins (+12%).
Introduction: The Challenge of Diverse Backdoors
Deep Neural Networks (DNNs) are susceptible to backdoor attacks, where an adversary "poisons" a model during training so it behaves normally on clean data but misclassifies inputs containing a specific "trigger" (like a small sticker or a subtle color shift).
The core challenge is that defenders usually don't have access to the poisoned training data and don't know what the trigger looks like. Most current detection methods are "presumptive": they assume the trigger is a small, high-contrast patch. However, modern attacks are becoming more sophisticated, using large, transparent, or even "sample-specific" triggers that change for every image. Existing detectors often fail to generalize to these diverse, unforeseen attack styles.
Methodology: Adaptive Adversarial Probe (A2P)
The authors propose A2P, which treats adversarial perturbations as "probes" to see if they can "trip" a hidden backdoor shortcut. It uses two main innovations:
- Attention-Guided Region Generation: Instead of searching the whole image randomly, A2P looks at the model's gradients (its "attention") to identify regions that might contain a backdoor shortcut. It starts with a global probe and iteratively shrinks the region ("global-to-local") to find the optimal spot where a trigger might be hiding.
- Box-to-Sparsity Budget Scheduling: Finding the right "strength" for the probe is tricky. If the perturbation is too weak, it won't activate the backdoor; if it's too strong, it just breaks the model's normal logic. A2P iteratively adjusts the "budget" (the allowed amount of pixel change), moving from a dense "box" constraint to a "sparse" constraint to better mimic different types of triggers (like transparent blends vs. solid patches).
Finally, the method uses Median Absolute Deviation (MAD), a robust statistical outlier detector, to determine if a model's response to these probes is suspicious enough to be labeled "infected."
Key Results and Insights
The researchers evaluated A2P across three standard computer vision benchmarks (CIFAR-10, GTSRB, and Tiny-ImageNet) against four types of attacks: BadNets (patch-based), Blend (transparency-based), WaNet, and Input-aware (both sample-specific).
- Superior Accuracy: A2P achieved an average detection accuracy of 85.5% on CIFAR-10, significantly higher than the baselines Neural Cleanse (70.8%) and DF-TND (69.1%).
- Robustness to Size and Transparency: In stress tests, A2P remained effective even as trigger sizes grew to take up 20% of the image or became highly transparent (0.95 alpha), scenarios where traditional methods' performance plummeted.
- Backdoor Elimination: Beyond just detection, the authors found that the adversarial probes generated by A2P are so similar to the actual triggers that they can be used to "clean" the model. By fine-tuning the infected model on a small set of clean images augmented with these probes, they effectively reduced the Attack Success Rate (ASR) from nearly 100% to less than 2%.
Conclusion
A2P represents a significant step forward in post-training defense by moving away from presumptive detection toward an adaptive, universal framework. While sample-specific attacks like WaNet remain a challenge, the global-to-local probing approach provides a robust mechanism for identifying the "shortcut" signals that characterize hidden backdoors.
Summary updated