Abstract
Adversarial patches generated by text-to-image (T2I) diffusion models often suffer from extreme sensitivity to viewing angles, failing to remain effective in dynamic real-world scenarios like autonomous driving. We present AngleRoCL (Angle-Robust Concept Learning), a novel framework that learns an "angle-robust" textual embedding to generate viewpoint-invariant adversarial patches. By optimizing a specific concept vector through detector-guided feedback and projective transformations, AngleRoCL creates patches that significantly outperform existing methods. Our approach achieves a 58.96% improvement in digital simulations and an 82.41% increase in physical-world effectiveness, maintaining high attack success rates even at extreme 70° angles across multiple object detector architectures.
Introduction
Recent advancements in text-to-image (T2I) models, such as Stable Diffusion, have enabled the generation of sophisticated adversarial patches. These patches, when applied to physical objects like traffic signs, can deceive state-of-the-art object detectors. However, a critical limitation persists: these attacks are typically "brittle," losing effectiveness as the camera's viewing angle changes. For applications like autonomous vehicles, where the perspective on a sign shifts continuously, this lack of robustness renders the attacks impractical. Traditional linguistic prompts (e.g., "detectable from all angles") fail because T2I models lack an inherent physical understanding of perspective; in fact, adding such explicit instructions can actually decrease attack effectiveness.
Methods: Angle-Robust Concept Learning
AngleRoCL addresses this by moving away from direct pixel optimization or simple prompt engineering. Instead, it employs Angle-aware Textual Inversion to learn a new concept vector, denoted as <angle-robust>, within the T2I model's embedding space.
The training process involves three key stages:
- Concept Learning: Optimizing a vector
<angle-robust>that can be seamlessly inserted into any arbitrary prompt (e.g., "a photo of a<angle-robust>stop sign with polkadot paint"). - Detector-Guided Optimization: During training, the model generates patches which are then digitally warped using projective transformations to simulate viewing angles ranging from -90° to 90°.
- Adversarial Feedback: A target detector (YOLOv5) provides feedback via a detection loss. The embedding is penalized if the detector successfully identifies the target object, forcing the model to find visual patterns that consistently trigger detection failures across the entire angular range.
Key Results
AngleRoCL demonstrates superior performance in both simulated and physical environments. Unlike baseline methods that typically fail beyond 30°, AngleRoCL patches maintain high attack success rates even at extreme angles.
Performance Metrics
- Digital and Physical Gains: AngleRoCL achieved a relative improvement of 58.96% in Angle-Aware Attack Success Rate (AASR) in digital evaluations using the nuImage dataset. In real-world physical tests, the improvement reached 82.41%.
- Cross-Architecture Transferability: Although trained against YOLOv5, the patches successfully fooled other architectures including Faster R-CNN, YOLOv3, YOLOv10, and RT-DETR.
- Feature Robustness: Analysis revealed that the learned concept prioritizes robust features like specific color combinations (RGB), which are more resilient to distance and perspective changes than fine-grained textures or shapes.
Conclusion and Future Work
AngleRoCL represents a significant step toward physically viable T2I-based adversarial attacks. By learning a robust concept rather than optimizing specific pixels, the method achieves generalization across diverse prompts and detector architectures. However, current training is limited to horizontal plane variations. Future work will explore vertical angle variations and "distance-adaptive" embeddings to further enhance the physical robustness of these adversarial patterns as cameras approach the target.
Summary updated