Optimal Testing of Self-Driving Cars

Jeremy Morton, Tim Allan Wheeler, Mykel J. Kochenderfer

Abstract

This paper introduces a decision-theoretic framework to help manufacturers determine the precise amount of real-world testing required to validate safety-critical systems, such as autonomous vehicles (AVs). By modeling the testing process as a belief-state Markov Decision Process (MDP), the authors derive optimal, closed-loop testing policies. These policies effectively balance the commercial urgency to launch with the stringent requirement to demonstrate statistical safety.

Introduction

Validating autonomous vehicles is a significant engineering challenge. Because catastrophic failures are rare, proving an AV is safer than a human driver requires hundreds of millions of miles of real-world testing. Manufacturers face a fundamental tension: insufficient testing risks deploying an unsafe system, while excessive testing wastes resources and delays market entry. This paper addresses the "test scheduling problem," providing a strategic framework for allocating testing resources based on the observed safety record.

Methodology

The authors frame test scheduling as a sequential decision-making process under uncertainty. Initially modeled as a Partially Observable Markov Decision Process ($\rho$POMDP) where the system's true hazard rate is hidden, the problem is simplified using a Bayesian approach. By modeling the belief over the hazard rate with a Gamma distribution—updated via Poisson-distributed hazardous events—the problem becomes a computationally tractable Belief-MDP. The state is defined by the cumulative number of tests ($N$) and observed hazardous events ($K$).

The framework includes two critical extensions to the baseline model:

  1. Innovation Bonus: Models system improvements made by engineers between testing cycles.
  2. Prior Beliefs: Incorporates confidence gained from simulations or previous hardware iterations.
Comparison of testing boundaries for baseline, innovation bonus, and prior belief models.

Results and Discussion

The model generates optimal testing policies that dictate exact testing volumes based on the current safety state. A key finding is that manufacturers should not "chase a losing streak"; if the observed hazard rate significantly exceeds the safety threshold, testing should halt unless high future rewards or expected system improvements (innovation bonus) justify continued investment.

Evolution of optimal testing policies over five quarters, showing the recommended testing volume based on hazardous events.

Parametric studies reveal that incorporating strong prior beliefs from simulations can drastically reduce the real-world testing burden. Conversely, if early results suggest the system is unsafe, the model automatically increases the required evidence for release. Furthermore, increased manufacturer "patience" (a higher discount factor) leads to more thorough testing across a wider range of states.

Conclusion

While the framework provides a rigorous basis for test scheduling, it currently omits explicit financial costs and relies on user-provided parameters for innovation and prior beliefs. Future research will focus on estimating these parameters from empirical engineering data and refining the model for more complex, multi-component systems.

Summary updated

BibTeX
@article{morton2017optimal,
  author = {Jeremy Morton and Tim Allan Wheeler and Mykel J. Kochenderfer},
  title = {{Optimal Testing of Self-Driving Cars}},
  journal = {IEEE Trans. Intell. Veh.},
  year = {2017},
}
Figure