[Paper Review] Finding Physical Adversarial Examples for Autonomous Driving with Fast and Differentiable Image Compositing
This paper proposes a differentiable, fast image compositing framework to generate physically realizable adversarial examples for simulated autonomous driving by modeling environmental modifications (e.g., road rectangles) as differentiable transformations of video frames. It enables end-to-end gradient-based optimization for stronger, scalable attacks that outperform Bayesian Optimization with 10x fewer simulation runs, achieving higher deviation and infraction rates in diverse weather conditions.
There is considerable evidence that deep neural networks are vulnerable to adversarial perturbations applied directly to their digital inputs. However, it remains an open question whether this translates to vulnerabilities in real systems. For example, an attack on self-driving cars would in practice entail modifying the driving environment, which then impacts the video inputs to the car's controller, thereby indirectly leading to incorrect driving decisions. Such attacks require accounting for system dynamics and tracking viewpoint changes. We propose a scalable approach for finding adversarial modifications of a simulated autonomous driving environment using a differentiable approximation for the mapping from environmental modifications (rectangles on the road) to the corresponding video inputs to the controller neural network. Given the parameters of the rectangles, our proposed differentiable mapping composites them onto pre-recorded video streams of the original environment, accounting for geometric and color variations. Moreover, we propose a multiple trajectory sampling approach that enables our attacks to be robust to a car's self-correcting behavior. When combined with a neural network-based controller, our approach allows the design of adversarial modifications through end-to-end gradient-based optimization. Using the Carla autonomous driving simulator, we show that our approach is significantly more scalable and far more effective at identifying autonomous vehicle vulnerabilities in simulation experiments than a state-of-the-art approach based on Bayesian Optimization.
Motivation & Objective
- To address the gap in evaluating adversarial robustness of autonomous driving systems under realistic, dynamic, and self-correcting conditions.
- To overcome the limitations of prior methods that treat adversarial examples as independent per-frame perturbations, which fail to account for system dynamics and viewpoint changes.
- To develop a scalable, differentiable pipeline that enables end-to-end gradient-based optimization for physical adversarial attacks in simulation.
- To generate adversarial examples that are physically realizable (e.g., road markings) and robust to environmental variations such as weather and lighting.
- To enable efficient, large-scale stress-testing of end-to-end neural network controllers in autonomous vehicles before real-world deployment.
Proposed method
- The method uses a differentiable image compositing function that maps physical modifications (e.g., colored rectangles on the road) to corresponding video frames, accounting for geometric warping and color variations via learned homography and color mappings.
- It leverages pre-recorded video frames from a clean environment and composites adversarial patterns using differentiable warping and blending operations, enabling backpropagation through the compositing process.
- A multiple trajectory sampling strategy is employed to simulate diverse viewpoints and self-correcting behaviors, increasing attack robustness to dynamic vehicle responses.
- The framework integrates with differentiable neural network controllers, allowing end-to-end gradient-based optimization to maximize steering deviation and control errors.
- It trains a differentiable compositing model using a birds-eye view of adversarial patterns and their projections onto real driving frames, enabling accurate and efficient simulation of physical scene changes.
Experimental results
Research questions
- RQ1Can a differentiable compositing pipeline effectively model the transformation from physical environmental modifications to video inputs in autonomous driving simulations?
- RQ2How does the proposed method compare to Bayesian Optimization in terms of attack success rate and simulation efficiency for generating adversarial examples?
- RQ3To what extent are the generated adversarial examples robust to variations in weather and visibility conditions not present during attack optimization?
- RQ4Can gradient-based optimization over differentiable compositing produce stronger adversarial perturbations than non-differentiable, black-box optimization methods?
- RQ5How effective is the method in inducing vehicle deviations and infractions across diverse driving scenarios and environmental conditions?
Key findings
- The proposed method, GradOpt, achieves significantly higher attack success rates than Bayesian Optimization (BO), with GradOpt outperforming BO in 92% of scenarios for the 'Right' turn under 'Clear Noon' conditions when using 5 rectangles.
- GradOpt reduces the number of required simulation runs by an order of magnitude (1000 for BO vs. ~100 for GradOpt) while achieving superior performance in inducing steering deviations and infractions.
- In 'Clear Sunset' and 'Rainy Noon' conditions, GradOpt maintains strong transferability, with 84–89% of attacks inducing higher penalties than BO, even when optimized under 'Clear Noon' conditions.
- The method successfully generates adversarial examples that cause vehicles to deviate from intended trajectories and incur infractions, even when the vehicle self-corrects, demonstrating robustness to dynamic control behavior.
- The differentiable compositing pipeline enables end-to-end optimization, allowing the method to discover more effective adversarial patterns than non-differentiable approaches, particularly in complex, multi-frame driving sequences.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.