Skip to main content
QUICK REVIEW

[Paper Review] Adaptive Stress Testing: Finding Failure Events with Reinforcement Learning

Ritchie Lee, Ole J. Mengshoel|arXiv (Cornell University)|Nov 6, 2018
Formal Methods in VerificationComputer Science25 references5 citations
TL;DR

This paper proposes Adaptive Stress Testing (AST), a reinforcement learning-based framework for identifying the most likely failure scenarios in safety-critical, partially observable, and continuous-time systems such as autonomous vehicles and aircraft collision avoidance systems. By modeling the problem as a Markov decision process and using simulation-based optimization without requiring internal system knowledge, AST efficiently discovers high-probability failure paths, with an extension (DAST) enabling differential analysis between system versions.

ABSTRACT

Finding the most likely path to a set of failure states is important to the analysis of safety-critical systems that operate over a sequence of time steps, such as aircraft collision avoidance systems and autonomous cars. In many applications such as autonomous driving, failures cannot be completely eliminated due to the complex stochastic environment in which the system operates. As a result, safety validation is not only concerned about whether a failure can occur, but also discovering which failures are most likely to occur. This article presents adaptive stress testing (AST), a framework for finding the most likely path to a failure event in simulation. We consider a general black box setting for partially observable and continuous-valued systems operating in an environment with stochastic disturbances. We formulate the problem as a Markov decision process and use reinforcement learning to optimize it. The approach is simulation-based and does not require internal knowledge of the system, making it suitable for black-box testing of large systems. We present formulations for fully observable and partially observable systems. In the latter case, we present a modified Monte Carlo tree search algorithm that only requires access to the pseudorandom number generator of the simulator to overcome partial observability. We also present an extension of the framework, called differential adaptive stress testing (DAST), that can find failures that occur in one system but not in another. This type of differential analysis is useful in applications such as regression testing, where we are concerned with finding areas of relative weakness compared to a baseline. We demonstrate the effectiveness of the approach on an aircraft collision avoidance application, where a prototype aircraft collision avoidance system is stress tested to find the most likely scenarios of near mid-air collision.

Motivation & Objective

  • To identify the most likely paths to failure in safety-critical systems operating in stochastic, continuous, and partially observable environments.
  • To develop a simulation-based, black-box testing framework that does not require access to internal system dynamics or state representations.
  • To address partial observability in complex systems by leveraging the simulator’s pseudorandom number generator to enable effective exploration.
  • To extend the framework for differential analysis, identifying failures present in one system but not a baseline, useful for regression testing.
  • To validate the approach on a real-world aircraft collision avoidance system to demonstrate practical effectiveness.

Proposed method

  • Formulate the failure discovery problem as a Markov decision process (MDP) over time steps in a stochastic environment.
  • Apply reinforcement learning to optimize the policy for navigating to failure states, maximizing the likelihood of failure occurrence.
  • For partially observable systems, use a modified Monte Carlo Tree Search (MCTS) that exploits the simulator’s pseudorandom number generator to infer hidden states.
  • Design a black-box interface that only requires observation and action feedback from the system under test, enabling application to large, complex systems.
  • Introduce Differential Adaptive Stress Testing (DAST), which compares two system versions to identify failures unique to the newer or modified system.
  • Use simulation-based optimization to explore high-impact failure scenarios without requiring analytical models or system internals.

Experimental results

Research questions

  • RQ1What is the most likely sequence of actions and environmental conditions that lead to a failure in a partially observable, stochastic safety-critical system?
  • RQ2How can reinforcement learning be applied to black-box systems with continuous state and action spaces to discover failure events efficiently?
  • RQ3Can a simulation-based method overcome partial observability without access to internal state representations?
  • RQ4How can AST be extended to detect differences in failure susceptibility between two system versions?
  • RQ5To what extent can AST identify realistic, high-probability failure scenarios in real-world safety-critical applications?

Key findings

  • AST successfully identified high-probability near mid-air collision scenarios in a prototype aircraft collision avoidance system, demonstrating practical relevance.
  • The method effectively discovered failure paths in partially observable systems by leveraging the simulator’s pseudorandom number generator to infer hidden states.
  • DAST enabled the detection of failures that occurred in a modified system but not in the baseline, supporting effective regression testing.
  • The framework operates as a black-box, requiring no internal system knowledge, making it applicable to large, complex systems such as autonomous vehicles.
  • The approach outperformed baseline stress testing strategies by focusing exploration on high-likelihood failure paths through reinforcement learning.
  • Empirical results on the aircraft collision avoidance system showed that AST could uncover failure scenarios that were previously undetected by traditional testing methods.

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.