Introduction
Deep Neural Networks (DNNs) have revolutionized perception systems, yet they remain notoriously "brittle." Imperceptible digital perturbations or strategically placed physical stickers can trick state-of-the-art models into catastrophic misclassifications—such as mistaking a stop sign for a speed limit sign. While various defenses have been proposed, they often struggle with scalability to large datasets like ImageNet, require extensive retraining, or fail to meet the real-time constraints of safety-critical applications like autonomous driving.
VisionGuard (VG) addresses these challenges by providing a lightweight, attack-agnostic, and real-time detector for both digital and physical adversarial inputs.
The VisionGuard Approach
The core intuition behind VisionGuard is that adversarial perturbations are highly "overfit" to the specific pixel values of the target image. By applying "label-invariant" transformations—modifications that do not change the semantic meaning for a human but alter the pixel-level noise—VG can "break" the adversarial effect.
The detection pipeline follows four main steps:
- Original Inference: The input image $x$ is processed by the classifier to obtain the softmax output $g(x)$.
- Transformation: A simple transformation $t(x)$ is applied to create a refined image $x'$. The researchers found JPEG compression (quality 92%) highly effective for digital attacks, while brightness/rotation adjustments (specifically HSV value shifts) were superior for detecting physical stickers.
- Refined Inference: The refined image $x'$ is processed by the same classifier to get $g(x')$.
- Comparison and Detection: The difference between $g(x)$ and $g(x')$ is measured using Kullback-Leibler (K-L) divergence. If this difference exceeds a threshold $\tau$, the input is flagged as adversarial.
Datasets and Evaluation
VisionGuard was evaluated across standard benchmarks (MNIST, CIFAR10, ImageNet) and a newly introduced dataset, AdvNet. AdvNet contains over 6,600 images, including clean and physically attacked traffic signs (Stop, Speed Limit 35, and Yield) captured under varying real-world conditions.
The researchers also conducted drive-by field tests using a moving vehicle equipped with a perception-based DNN to validate the detector's performance in dynamic environments.
Key Results
VisionGuard demonstrates significant advantages over existing defenses:
- Scalability: Unlike methods like MagNet, which fail to scale to ImageNet due to the computational cost of training autoencoders, VG achieved an AUC of >90% on ImageNet with minimal overhead.
- Real-Time Performance: VG processes an ImageNet frame in approximately 0.08 seconds on a standard CPU, making it suitable for high-frequency autonomous systems.
- Physical Attack Detection: On the AdvNet dataset, VG achieved up to 97.81% AUC against physical stickers by using brightness transformations to "wash out" the high-contrast features used by attackers.
Conclusion and Future Work
VisionGuard offers a practical, computationally efficient defense that bridges the gap between laboratory benchmarks and real-world deployment. However, challenges remain. Future research must address adaptive white-box attacks, where an adversary knows the specific transformation being used. Additionally, while VG handles sensor noise well, extreme environmental noise can still lead to false positives. Exploring ensembles of transformations may further harden the system against sophisticated adversaries.
Summary updated