Test Against High-Dimensional Uncertainties: Accelerated Evaluation of Autonomous Vehicles with Deep Importance Sampling

Mansur Arief, Zhepeng Cen, Zhenyuan Liu, Zhiyuan Huang, Henry Lam, Bo Li, Ding ZhaoarXiv 2022

Abstract

Evaluating the performance of autonomous vehicles (AV) and their complex subsystems to high precision under naturalistic circumstances remains a challenge, especially when failure or dangerous cases are rare. Rarity does not only require an enormous sample size for a naive method to achieve high confidence estimation, but it also causes dangerous underestimation of the true failure rate and it is extremely hard to detect. Meanwhile, the state-of-the-art approach that comes with a correctness guarantee can only compute an upper bound for the failure rate under certain conditions, which could limit its practical uses. In this work, we present Deep Importance Sampling (Deep IS) framework that utilizes a deep neural network to obtain an efficient IS that is on par with the state-of-the-art, capable of reducing the required sample size 43 times smaller than the naive sampling method to achieve 10% relative error and while producing an estimate that is much less conservative. Our high-dimensional experiment estimating the misclassification rate of one of the state-of-the-art traffic sign classifiers further reveals that this efficiency still holds true even when the target is very small, achieving over 600 times efficiency boost. This highlights the potential of Deep IS in providing a precise estimate even against high-dimensional uncertainties.

Introduction

The "rare-event" problem is a significant hurdle in AV safety validation. If a critical failure occurs once every 100 million miles, a Naive Monte Carlo (NMC) approach—simply observing the vehicle over vast distances—requires an astronomical number of samples to produce a statistically confident safety estimate. While Importance Sampling (IS) is a standard statistical tool used to over-sample rare events and mathematically correct for the bias, it typically struggles in high-dimensional spaces, such as those involving raw sensor data or complex traffic interactions. Existing robust methods often provide only a conservative upper bound on the failure rate, which may be too pessimistic for practical engineering decisions. This research introduces Deep Importance Sampling (Deep IS), a framework designed to be both efficient in high dimensions and capable of producing unbiased, precise estimates of the true failure rate.

Methods

The core innovation of Deep IS is the construction of an optimal "proposal distribution"—a mathematical "tilt" that increases the frequency of rare events during testing. The framework follows a four-step process:

  1. Learning the Failure Region: A deep neural network (DNN) classifier is trained to approximate the "dangerous set" (the boundary where failures occur) using a small initial dataset of safe and unsafe samples.
  2. Finding Dominating Points: Utilizing the piecewise linear nature of ReLU activation functions, the authors employ Mixed Integer Programming (MIP) to identify "dominating points"—the most likely failure points under the natural distribution.
  3. Constructing the Proposal: A Gaussian Mixture Model (GMM) is built, centered around these dominating points, ensuring simulations focus on the most probable failure modes.
  4. Unbiased Estimation: Importance sampling is performed using this GMM. Results are weighted by the likelihood ratio between the "tilted" and natural distributions to obtain an unbiased failure rate estimate.
The Deep Importance Sampling (Deep IS) framework workflow.

Experimental Evaluation

The framework was evaluated on two distinct benchmarks:

  • Cut-in-Tailgate Scenario: A low-dimensional driving simulation in the Carla simulator involving an AV navigating a highway with a cutting-in vehicle and a tailgater.
  • Traffic Sign Classifier: A high-dimensional experiment using the German Traffic Sign Recognition Benchmark (GTSRB). The researchers evaluated the MicronNet architecture by adding Gaussian noise to images to determine the rarity of misclassification.

Key Results

Deep IS demonstrated significant performance gains over traditional methods. In the traffic sign misclassification experiment, it achieved an acceleration rate of over 600x compared to NMC for extremely rare events. To achieve a 10% relative error, Deep IS required approximately 43 times fewer samples than the naive method.

Furthermore, Deep IS provides superior accuracy compared to "Robust" upper-bound methods. While those methods overestimated risk by up to 14.26x, Deep IS provided estimates nearly identical to the ground truth (1.01x to 1.02x conservativeness).

Comparison of crash probability estimation and empirical relative error across different sampling methods.

Conclusion and Future Work

Deep IS leverages deep learning to map complex, high-dimensional failure zones, enabling efficient and precise safety validation. While the computational cost of finding dominating points via MIP is a current limitation, the massive gains in sampling efficiency—especially as events become rarer—highlight its potential for safety certification. Future work will focus on optimizing the MIP process and developing more efficient stopping criteria for the sampling process.

Summary updated

BibTeX
@misc{arief2022test,
  author = {Mansur Arief and Zhepeng Cen and Zhenyuan Liu and Zhiyuan Huang and Henry Lam and Bo Li and Ding Zhao},
  title = {{Test Against High-Dimensional Uncertainties: Accelerated Evaluation of Autonomous Vehicles with Deep Importance Sampling}},
  year = {2022},
  eprint = {2204.02351},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2204.02351},
}
Figure