[Paper Review] Efficient Black-box Assessment of Autonomous Vehicle Safety
The paper presents a black-box, risk-based framework using adaptive multilevel splitting and adaptive importance sampling to efficiently estimate rare-event accident probabilities in AV simulations, and demonstrates it by evaluating Comma AI’s OpenPilot.
While autonomous vehicle (AV) technology has shown substantial progress, we still lack tools for rigorous and scalable testing. Real-world testing, the $ extit{de-facto}$ evaluation method, is dangerous to the public. Moreover, due to the rare nature of failures, billions of miles of driving are needed to statistically validate performance claims. Thus, the industry has largely turned to simulation to evaluate AV systems. However, having a simulation stack alone is not a solution. A simulation testing framework needs to prioritize which scenarios to run, learn how the chosen scenarios provide coverage of failure modes, and rank failure scenarios in order of importance. We implement a simulation testing framework that evaluates an entire modern AV system as a black box. This framework estimates the probability of accidents under a base distribution governing standard traffic behavior. In order to accelerate rare-event probability evaluation, we efficiently learn to identify and rank failure scenarios via adaptive importance-sampling methods. Using this framework, we conduct the first independent evaluation of a full-stack commercial AV system, Comma AI's OpenPilot.
Motivation & Objective
- Define a risk-based framework to quantify AV safety as a rare-event probability under a base traffic distribution.
- Develop an adaptive, unbiased rare-event estimator that requires black-box access to the AV policy.
- Learn a generative model of failure modes from detected failures to prioritize and rank risk.
- Implement a scalable simulation system enabling deterministic, synchronized evaluation of a full-stack AV policy.
- Demonstrate the approach with a case study estimating OpenPilot’s accident probability and showing efficient confidence with far fewer simulations.
Proposed method
- Formalize safety as p_gamma = P0(f(X) < gamma) under a base distribution modeling standard traffic behavior.
- Use adaptive nonparametric importance sampling via multilevel splitting to decompose p_gamma into a product of conditional probabilities across intermediate levels.
- Apply MCMC to estimate each conditional probability and adapt levels online with a fixed discard fraction delta.
- Propose adaptive multilevel splitting (AMS) with bias/variance guarantees and O(log(1/p_gamma)) variance scaling.
- Learn a generative model of failure modes from the distribution of failures discovered by AMS using normalizing flows.
Experimental results
Research questions
- RQ1Can a black-box AV policy be evaluated for safety without exposing internal structure?
- RQ2How can rare, high-risk events in AV simulations be efficiently estimated with unbiased risk measures?
- RQ3Can adaptive sampling identify and prioritize high-likelihood failure scenarios in a scalable way?
- RQ4Does a risk-based, simulation-driven framework provide reliable safety quantification for full-stack AV systems?
Key findings
- The framework enables the first independent evaluation of a full-stack commercial AV policy (OpenPilot).
- The method estimates OpenPilot’s failure rate of 1 in 1250 miles using two orders of magnitude fewer simulations than standard methods.
- AMS provides unbiased estimates with relative variance scaling as log(1/p_gamma) rather than 1/p_gamma.
- A probabilistic, risk-based model of the world can be learned and used to rank failure scenarios by likelihood.
- A scalable, distributed simulation setup supports deterministic, synchronized execution of real-time, asynchronous software.
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.