TL;DR
This paper introduces CAPAA, a novel projector-based adversarial attack that can fool multiple image classifiers simultaneously and remains effective even when the camera's viewpoint changes. By combining a classifier-agnostic loss with an attention-based mechanism to focus perturbations on salient object regions, CAPAA achieves higher attack success rates and better stealthiness than existing methods.
What Problem Does This Paper Address?
Deep learning models, particularly image classifiers, are vulnerable to adversarial attacks. Projector-based adversarial attacks aim to exploit this vulnerability by projecting specially crafted light patterns onto real-world scenes to trick classifiers. While these attacks have potential for privacy protection and testing model robustness, existing methods are often limited: they typically target a single classifier and assume a fixed camera pose. This makes them ineffective in real-world scenarios where multiple classifiers might be in play (e.g., ensemble systems) or where the camera's position or angle can change, leading to a significant drop in attack performance. The paper addresses this gap by proposing a method that is both "classifier-agnostic" (works against many classifiers) and "pose-robust" (works across different camera viewpoints).
Methods
The core of CAPAA lies in two novel components:
- Classifier-Agnostic Adversarial Loss: Instead of optimizing for a single classifier, CAPAA aggregates adversarial and stealthiness loss gradients from multiple classifiers. This allows the attack to be effective against a diverse set of models simultaneously. For targeted attacks, a temperature-scaled LogSoftmax is used to ensure the target class logit is significantly higher than others, improving robustness.
- Attention-Based Gradient Weighting: To make the attack robust to changes in camera pose, CAPAA focuses the adversarial perturbations on regions of the object that are most important for classification. This is achieved by using Class Activation Maps (CAMs), specifically Grad-CAM++, to identify salient regions. The loss gradients are then weighted by these CAMs, ensuring that perturbations are concentrated where they have the most impact, even if the camera moves or the object is partially occluded.
The method also incorporates a learned model (PCNet) to simulate the projector-and-capture process, allowing for optimization without needing to perform real-world projections in every iteration.
Datasets
The paper does not explicitly mention specific datasets used for training the PCNet model. However, the experimental evaluations are conducted using real-world objects and scenes, with captured images being fed into standard pre-trained classifiers such as ResNet-18, VGG-16, and Inception v3. The supplementary materials also mention evaluations on ConvNeXt-Base, EfficientNet-B0, MobileNetV3-Large, and Swin Transformer-Base, indicating a broad range of tested architectures.
Key Insights and Ideas
- The limitations of classifier-specific attacks are significant in real-world applications. Ensemble classifiers and dynamic camera environments render many existing methods ineffective.
- Focusing perturbations on salient regions is crucial for pose robustness. By using attention mechanisms (CAMs), CAPAA can concentrate its efforts on parts of the object that the classifier "looks at," making the attack less susceptible to occlusions or viewpoint changes.
- Classifier-agnostic attacks can be achieved by aggregating gradients. This approach allows for a single adversarial projection to fool multiple models, which is more efficient and practical than generating separate attacks for each.
- Stealthiness and effectiveness can be balanced. The proposed method demonstrates that it's possible to achieve high attack success rates while maintaining imperceptible perturbations, a key challenge in adversarial attacks.
Key Results
CAPAA consistently outperforms existing methods like SPAA across various stealthiness thresholds.
- Untargeted Attacks: CAPAA achieves the highest attack success rates, with a marginal difference compared to its own variant without attention. It also excels in stealthiness metrics (Linf, L2, ΔΕ, SSIM).
- Pose Robustness: In qualitative comparisons (Fig. 4 & 5), CAPAA and its classifier-specific variant are shown to be less affected by camera pose changes, with background perturbations becoming occluded in other methods.
- Quantitative Comparisons: Table II shows CAPAA achieving an average attack success rate of 82.02% across multiple poses and stealthiness thresholds, significantly higher than SPAA (64.68%). Table III shows CAPAA achieving 93.75% success rate against ViT-Base-16 under the original pose.
- Targeted Attacks: CAPAA also shows improved performance in targeted attacks, particularly when considering multiple camera poses.
Limitations and Future Work
- Pose-Agnostic vs. Pose-Robust: While CAPAA is robust to varying camera poses, it is not fully "pose-agnostic" as it doesn't explicitly aggregate loss gradients from multiple poses during the attack generation. The authors suggest incorporating various camera poses to address this.
- Cross-Architecture Transferability: While CAPAA shows strong performance across different architectures, further enhancements in cross-architecture transferability are identified as an interesting direction for future research, especially for newer architectures like Vision Transformers (ViTs).
Summary updated