Adv3D: Generating Safety-Critical 3D Objects through Closed-Loop Simulation

Jay Sarva, Jingkang Wang, James Tu, Yuwen Xiong, Sivabalan Manivasagam, Raquel Urtasun

Abstract

Self-driving vehicles (SDVs) must be rigorously tested on a wide range of scenarios to ensure safe deployment. The industry typically relies on closed-loop simulation to evaluate how the SDV interacts on a corpus of synthetic and real scenarios and to verify good performance. However, they primarily only test the motion planning module of the system, and only consider behavior variations. It is key to evaluate the full autonomy system in closed-loop, and to understand how variations in sensor data based on scene appearance, such as the shape of actors, affect system performance. In this paper, we propose a framework, Adv3D, that takes real world scenarios and performs closed-loop sensor simulation to evaluate autonomy performance, and finds vehicle shapes that make the scenario more challenging, resulting in autonomy failures and uncomfortable SDV maneuvers. Unlike prior work that add contrived adversarial shapes to vehicle roof-tops or roadside to harm perception performance, we optimize a low-dimensional shape representation to modify the vehicle shape itself in a realistic manner to degrade full autonomy performance (e.g., perception, prediction, motion planning). Moreover, we find that the shape variations found with Adv3D optimized in closed-loop are much more effective than open-loop, demonstrating the importance of finding and testing scene appearance variations that affect full autonomy performance.

Introduction

Testing self-driving vehicles (SDVs) is a monumental challenge. While the industry standard is closed-loop simulation—where an SDV's decisions influence the future state of the virtual environment—most testing focuses narrowly on behavioral variations, such as an actor suddenly cutting off the SDV. A critical but often overlooked factor is scene appearance: how the 3D geometry of objects affects the entire autonomy stack.

Existing research into "adversarial attacks" often relies on unrealistic modifications, such as adding strange 3D-printed structures to a car's roof. Furthermore, these tests are typically conducted in open-loop settings, evaluating static frames in isolation. This approach fails to capture how minor perception errors can propagate through prediction and planning modules, eventually leading to safety-critical failures like sudden emergency braking in a dynamic environment.

Methodology

Adv3D introduces a pipeline to discover realistic, safety-critical vehicle shapes that challenge the full autonomy system. The framework leverages high-fidelity "Digital Twins" of real-world highway scenarios, constructed from driving logs and curated datasets like HighwayScenarios.

The Adv3D pipeline optimizes a latent shape representation through a closed-loop simulation to maximize an adversarial objective.

The framework consists of several key components:

  • Realistic Shape Latent Space: To ensure realism, Adv3D uses Principal Component Analysis (PCA) on a large CAD Asset Library. This creates a low-dimensional "latent space" where every point corresponds to a plausible vehicle geometry (e.g., a specific sedan, van, or truck), avoiding the "spiky" artifacts of vertex-based manipulation.
  • Closed-Loop Optimization: The system runs the complete autonomy stack (perception, prediction, and planning) in a loop. It employs Bayesian Optimization to search the latent space for shapes that maximize a multi-module "cost" function.
  • Multi-Module Objective: The optimization targets a combination of perception misses, incorrect motion predictions for other cars, and "uncomfortable" SDV maneuvers, such as high jerk or lateral acceleration.

Key Insights and Results

The primary finding of this research is that closed-loop evaluation is essential. Shapes optimized in a closed-loop environment are significantly more effective at inducing failures than those found through open-loop methods. A shape that might be correctly detected in a single frame can still cause the SDV to lose tracking over time, triggering dangerous downstream reactions.

Closed-loop simulation reveals how adversarial shapes cause prediction failures and sudden braking maneuvers over time.

Performance Impact

Adv3D was tested against state-of-the-art instance-based and instance-free autonomy stacks. Key results include:

  • Perception Degradation: Detection Average Precision (AP) dropped from 88.2% to 80.1% in instance-based systems.
  • Safety Failures: The framework successfully identified scenarios where realistic shape variations forced the SDV into abrupt decelerations and jerky movements, demonstrating a "ripple effect" where small perception glitches lead to catastrophic planning failures.
  • Efficiency: Bayesian Optimization allowed the discovery of these critical vulnerabilities in just 100 queries, far outperforming random search or brute-force testing.

Conclusion

Adv3D demonstrates that the physical appearance of vehicles is a vital dimension for safety testing. By constraining adversarial shapes to a realistic latent space and optimizing within a closed-loop simulation, the framework uncovers vulnerabilities that traditional testing misses. Future work will explore using these safety-critical shapes for adversarial training, helping to build more robust autonomy models that can handle the diverse range of vehicle shapes encountered on real-world roads.

Summary updated

BibTeX
@inproceedings{sarva2023adv,
  author = {Jay Sarva and Jingkang Wang and James Tu and Yuwen Xiong and Sivabalan Manivasagam and Raquel Urtasun},
  title = {{Adv3D: Generating Safety-Critical 3D Objects through Closed-Loop Simulation}},
  booktitle = {Conference on Robot Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=HpgmZqRx2B},
}
Figure