MAGIC: Mastering Physical Adversarial Generation in Context through Collaborative LLM Agents
Yun Xing, Nhat Chung, Jie Zhang, Yue Cao, Ivor Tsang, Yang Liu, Lei Ma, Qing Guo
TL;DR
The paper addresses vulnerabilities of autonomous driving perception to physical adversarial patches and reframes patch generation as a context-aware, one-shot task. It introduces MAGIC, a collaborative multi-modal LLM agent framework with GAgent, DAgent, and EAgent that jointly generate, deploy, and refine patches within a scene, using self-examination to ensure attack effectiveness and naturalness. Through digital and physical experiments on multiple detectors, MAGIC demonstrates superior attack performance and context-consistent deployment compared with diffusion-based baselines, while also analyzing robustness to real-world factors. The work advances safety research in autonomous driving by integrating scene context into patch generation and deployment, and it discusses ethical considerations, limitations, and directions for defense and broader impact.
Abstract
Physical adversarial attacks in driving scenarios can expose critical vulnerabilities in visual perception models. However, developing such attacks remains challenging due to diverse real-world environments and the requirement for maintaining visual naturality. Building upon this challenge, we reformulate physical adversarial attacks as a one-shot patch generation problem. Our approach generates adversarial patches through a deep generative model that considers the specific scene context, enabling direct physical deployment in matching environments. The primary challenge lies in simultaneously achieving two objectives: generating adversarial patches that effectively mislead object detection systems while determining contextually appropriate deployment within the scene. We propose MAGIC (Mastering Physical Adversarial Generation In Context), a novel framework powered by multi-modal LLM agents to address these challenges. MAGIC automatically understands scene context and generates adversarial patch through the synergistic interaction of language and vision capabilities. In particular, MAGIC orchestrates three specialized LLM agents: The adv-patch generation agent (GAgent) masters the creation of deceptive patches through strategic prompt engineering for text-to-image models. The adv-patch deployment agent (DAgent) ensures contextual coherence by determining optimal deployment strategies based on scene understanding. The self-examination agent (EAgent) completes this trilogy by providing critical oversight and iterative refinement of both processes. We validate our method on both digital and physical levels, i.e., nuImage and manually captured real-world scenes, where both statistical and visual results prove that our MAGIC is powerful and effective for attacking widely applied object detection systems, i.e., YOLO and DETR series.
