Adaptive Stress Testing of Trajectory Predictions in Flight Management Systems

Robert J. Moss, Ritchie Lee, Nicholas Visser, Joachim Hochwarth, James G. Lopez, Mykel J. Kochenderfer

Abstract

This paper presents a novel adaptation of Adaptive Stress Testing (AST) to identify rare but high-probability software failures in the trajectory prediction components of commercial Flight Management Systems (FMS). By reformulating Monte Carlo Tree Search (MCTS) to accommodate episodic rewards and black-box simulators, the authors efficiently uncover critical trajectory calculation errors. Experimental results demonstrate that this approach identifies significantly more failures with higher real-world likelihoods than traditional Monte Carlo or Cross-Entropy methods, providing a robust tool for pre-deployment safety validation.

1. Introduction

In commercial aviation, the Flight Management System (FMS) is responsible for providing navigational guidance. A critical sub-component is the trajectory predictor, which calculates an aircraft's deterministic flight path based on flight plans and environmental conditions. Failures in this software—such as calculating unreachable waypoints or incorrect turn arc lengths—can compromise autopilot guidance systems.

Finding these failures is challenging because the input space is massive and failures are rare. Traditional testing methods often miss these edge cases. This research addresses the need to efficiently search black-box input spaces for falsifying examples that are not only severe but also likely to occur in real-world operations.

2. Methodology: Adaptive Stress Testing for Open-Loop Systems

The authors build upon Adaptive Stress Testing (AST), which treats stress testing as a Markov Decision Process (MDP) and uses reinforcement learning to guide a simulator toward failure states. However, standard AST assumes sequential feedback, whereas the FMS trajectory predictor is an open-loop, black-box system that outputs a complete trajectory at once.

To bridge this gap, the authors introduced Episodic Reward AST. In this framework, the environment collects state transitions (sampled waypoints and wind conditions) during the search but only evaluates the black-box system at the end of a simulated rollout. The resulting reward is then back-propagated through the search tree.

The modified AST framework for episodic rewards, featuring MCTS with Progressive Widening and a specialized reward function.

3. Searching Continuous Input Spaces with MCTS-PW

To explore the continuous input space of waypoints and wind conditions, the researchers utilized Monte Carlo Tree Search with Progressive Widening (MCTS-PW). This method allows the search tree to expand its breadth as more simulations are run, preventing premature convergence in high-dimensional spaces.

The MCTS search tree structure illustrating the sequence of states and actions leading to a rollout and final evaluation.

The reward function $R(p, e, d, \tau)$ was specifically designed to encourage the discovery of likely failures. It combines the log-likelihood of the sampled inputs ($p$) with a "miss distance" heuristic ($d$) that measures how close the system came to a failure event ($e$). To further accelerate discovery, the algorithm employs "Action Feeding," which re-uses the best-known actions midway through rollouts to exploit promising adversarial paths.

4. Experimental Results

The framework was tested using a simulated environment where waypoints and wind parameters were learned from real-world weather data (KSFO to KLAX). The goal was to find "arc length failures" where calculated turn distances deviated from geometric truth by more than 10 feet.

Metric Direct Monte Carlo Cross-Entropy Method (CEM) AST (MCTS-PW)
Failure Count 5 24 4,394
First Failure (Iter) 128 249 61
Relative Likelihood 1.0 $4.5 \times 10^{-161}$ 13.1

AST found significantly more failures than the baselines. Crucially, while CEM found some failures, their real-world likelihood was astronomically low. In contrast, AST identified failures that are plausible under normal operating conditions, making them highly relevant for engineers.

5. Discussion and Conclusion

While the "miss distance" heuristic was found to be noisy, MCTS successfully balanced exploration and exploitation to navigate the signal. A limitation noted by the authors is that many discovered failures were highly similar due to the algorithm's exploitation of known failure regions. Future work will focus on expanding the framework to other failure types and integrating it into full FMS simulations that include aircraft dynamics and control feedback.

Ultimately, this research demonstrates that modified AST is a powerful tool for validating open-loop, black-box systems in safety-critical aviation applications.

Summary updated

BibTeX
@misc{moss2020adaptive,
  author = {Robert J. Moss and Ritchie Lee and Nicholas Visser and Joachim Hochwarth and James G. Lopez and Mykel J. Kochenderfer},
  title = {{Adaptive Stress Testing of Trajectory Predictions in Flight Management Systems}},
  year = {2020},
  eprint = {2011.02559},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2011.02559},
}
Figure