Abstract
Localized adversarial attacks, such as physical patches or adversarial glasses, pose a practical threat to Deep Neural Networks (DNNs) by hijacking model predictions through small, concentrated regions. We present TaintRadar, a lightweight, plug-and-play defense system that identifies these "tainted" regions using Critical Region Analysis. By isolating the areas that most strongly support a prediction and suppress alternative labels, TaintRadar exposes the inherent brittleness of adversarial examples. Our evaluation shows that TaintRadar achieves a high True Positive Rate (TPR) across various tasks, including face recognition and scene classification, with minimal computational overhead and no need for model retraining.
The Threat of Localized Attacks
Deep Neural Networks (DNNs) are notoriously fragile. While many researchers focus on "pixel-level" attacks that are invisible to humans, these are difficult to execute in the real world. Instead, "localized" attacks—where an attacker places a physical patch on an object or wears specially designed glasses to fool face recognition—pose a much more practical threat.
Existing defenses against these localized attacks often fall short. Some require expensive retraining, others only work against "universal" patches, and most fail against "partial" attacks designed to impersonate specific individuals. There is a clear need for a generic, attack-agnostic, and real-time defense that can be seamlessly integrated into existing models.
Methodology: Critical Region Analysis
TaintRadar operates on the principle of Critical Region Analysis. Unlike previous methods, it does not need to know the shape or size of the attack beforehand. The system follows a multi-step pipeline:
- Critical Region Estimation: Using gradient information (similar to Grad-CAM), the system identifies which part of the input image most strongly supports the current prediction.
- Negative Critical Region Refinement: This is the core innovation. Adversarial objects must aggressively suppress "true" labels to succeed. TaintRadar identifies "negative critical regions"—areas that most strongly suppress the top-K alternative labels.
- Intersection and Masking: By intersecting these negative regions, the system isolates the "tainted" area.
- Ranking Change Analysis: The system fills this suspected region with a neutral pattern and re-runs the model. If the original predicted label's rank drops significantly (measured by a threshold $\Delta R$), the image is flagged as adversarial.
Key Insights: The Sensitivity Gap
The fundamental observation behind TaintRadar is the Sensitivity Gap. A benign classification (e.g., a "cat") relies on various features like ears, tail, and fur spread across the object. In contrast, an adversarial classification (e.g., a "toaster" patch on a banana) is entirely dependent on a small, concentrated region.
Removing that specific region causes the adversarial label to vanish from the top rankings, while a benign label usually remains stable because the model can still rely on other features. Furthermore, to successfully hijack a model, an adversarial object must work "overtime" to suppress other likely classes, creating a distinct gradient signature that TaintRadar exploits.
Experimental Results
TaintRadar was evaluated across several datasets, including ImageNet, VGGFace, and custom physical-world data involving physical patches and adversarial glasses. Key results include:
- High Effectiveness: In scene classification, it achieved over 93% True Positive Rate (TPR) with only a 6% False Positive Rate (FPR).
- Superiority in Partial Attacks: In face recognition (eye-glasses attacks), TaintRadar achieved a 73% TPR, vastly outperforming existing defenses like SentiNet, which managed only 0.7%.
- Real-Time Performance: The system adds only about 80ms of overhead per image, making it roughly 100x faster than SentiNet and suitable for real-time applications.
- Adaptive Robustness: It remained effective even against "adaptive" white-box attacks designed specifically to bypass it, maintaining a 75% detection rate.
Limitations and Future Work
While effective, TaintRadar faces challenges with scattered attacks (e.g., graffiti stickers spread across a sign) where gradient-based estimation might struggle to pinpoint a single region. Additionally, on very low-resolution inputs, the granularity of convolutional layers may be too coarse for accurate isolation. Future work involves using Generative Adversarial Networks (GANs) for more intelligent inpainting, which could further reduce false positives and potentially recover the original, correct label.
Summary updated