Skip to main content
QUICK REVIEW

[Paper Review] AdvSim: Generating Safety-Critical Scenarios for Self-Driving Vehicles

Jingkang Wang, Ava Pun|arXiv (Cornell University)|Jan 16, 2021
Adversarial Robustness in Machine LearningComputer Science49 references9 citations
TL;DR

AdvSim is an adversarial framework that generates physically plausible, safety-critical scenarios for LiDAR-based self-driving systems by perturbing actor trajectories and updating sensor data accordingly. It identifies thousands of failure-inducing scenarios across diverse systems and improves robustness when used for adversarial training, achieving a 32.0% collision rate on benchmark scenarios.

ABSTRACT

As self-driving systems become better, simulating scenarios where the autonomy stack may fail becomes more important. Traditionally, those scenarios are generated for a few scenes with respect to the planning module that takes ground-truth actor states as input. This does not scale and cannot identify all possible autonomy failures, such as perception failures due to occlusion. In this paper, we propose AdvSim, an adversarial framework to generate safety-critical scenarios for any LiDAR-based autonomy system. Given an initial traffic scenario, AdvSim modifies the actors' trajectories in a physically plausible manner and updates the LiDAR sensor data to match the perturbed world. Importantly, by simulating directly from sensor data, we obtain adversarial scenarios that are safety-critical for the full autonomy stack. Our experiments show that our approach is general and can identify thousands of semantically meaningful safety-critical scenarios for a wide range of modern self-driving systems. Furthermore, we show that the robustness and safety of these systems can be further improved by training them with scenarios generated by AdvSim.

Motivation & Objective

  • To address the lack of scalable, physically plausible, and safety-critical scenario generation for full autonomy stacks in self-driving vehicles.
  • To overcome limitations of traditional manual or planning-module-only scenario generation that miss perception and multi-actor failure modes.
  • To enable automated, black-box adversarial testing of LiDAR-based autonomy systems by simulating sensor-level effects from perturbed trajectories.
  • To improve system robustness by training with adversarially generated scenarios that expose failure modes.
  • To generate semantically meaningful, complex traffic scenarios involving multiple actors and realistic motion perturbations.

Proposed method

  • AdvSim formulates scenario generation as a black-box adversarial attack over physically plausible actor trajectory perturbations.
  • It modifies initial traffic scenarios by perturbing actor behaviors (e.g., nudging, sudden lane changes) while ensuring physical plausibility through trajectory sampling and collision avoidance.
  • The framework updates LiDAR sensor data in real time based on the perturbed world state to simulate how the SDV would observe the scene.
  • An adversarial objective function combines multiple metrics: collision likelihood, L2 distance to human-driven trajectories, and motion comfort (jerk, lateral acceleration).
  • A variety of black-box optimization algorithms (e.g., Bayesian Optimization, NES, Bandit-TD) are used to search for perturbations that maximize failure likelihood.
  • The method supports multi-actor perturbations and evaluates the full autonomy stack end-to-end, including perception, prediction, and planning.

Experimental results

Research questions

  • RQ1Can adversarial perturbations to actor trajectories generate physically plausible, safety-critical scenarios that induce failures in the full autonomy stack?
  • RQ2How does the number of perturbed actors affect the complexity and failure likelihood of generated scenarios?
  • RQ3Which black-box optimization algorithm is most efficient for generating adversarial scenarios under non-smooth, low-dimensional cost functions?
  • RQ4Can adversarially generated scenarios improve the robustness and safety of self-driving systems when used in training?
  • RQ5How do different adversarial objective functions compare in generating diverse and effective failure-inducing scenarios?

Key findings

  • AdvSim achieved a 32.0% collision rate within 5 seconds when perturbing five actors (m=5), significantly outperforming baselines like closest distance minimization (13.5%) and max-margin loss (18.3%).
  • The hybrid adversarial objective function 𝒪₃, which combines imitation learning, collision, and safety costs, produced the highest failure rate (32.0%) and worst planning metrics (L2 human: 6.63 m, jerk: 2.18 m/s³).
  • Bayesian Optimization (BO) was the most efficient search algorithm, achieving the highest collision rate (28.5%) with only 75 queries, outperforming GA (1600 queries) and NES (400 queries).
  • As the number of perturbed actors increased (m=3 to m=5), scenario complexity rose, but collision rates dropped due to increased difficulty in finding physically plausible trajectories.
  • Adversarial training using AdvSim-generated scenarios improved system robustness, demonstrating that the framework can be used to proactively enhance safety.
  • Qualitative results showed that AdvSim generates semantically meaningful failure cases, including multi-actor interactions like unprotected left turns and lane-merging conflicts.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.