Optimizing Falsification for Learning-Based Control Systems: A Multi-Fidelity Bayesian Approach

Zahra Shahrooei, Mykel J. Kochenderfer, Ali BaheriarXiv 2024 · DOI · arXiv

Introduction

Ensuring the safety of cyber-physical systems (CPS), such as autonomous vehicles and robotic manipulators, requires rigorous testing to identify edge cases where safety requirements are violated. This process, known as falsification, involves searching for specific environmental parameters or control inputs that lead to a counterexample—a system trajectory that fails a predefined safety specification. However, as controllers become more complex (e.g., deep neural network-based policies), they often act as "black boxes," necessitating simulation-based testing.

The Challenge of High-Fidelity Simulation

The primary bottleneck in falsification is the computational cost of high-fidelity simulations. While high-fidelity models provide the most accurate representation of real-world behavior, they are often too slow for exhaustive search. Conversely, low-fidelity models are computationally cheap but prone to "false positives"—identifying failures that do not exist in the actual system. Researchers from the Rochester Institute of Technology and Stanford University address this efficiency-accuracy trade-off by proposing a Multi-Fidelity Bayesian Optimization (MFBO) framework.

Multi-Fidelity Bayesian Optimization Framework

The proposed MFBO framework intelligently navigates multiple simulation levels to find true counterexamples efficiently. The core of the approach lies in three main components:

  1. Multi-Fidelity Modeling: The system uses an auto-regressive Gaussian Process (GP) to model the relationship between different fidelity levels. It assumes that the output of a higher-fidelity simulator is a combination of a scaled lower-fidelity output and a residual error term, allowing the model to learn from cheap, low-fidelity data.
  2. Dynamic Cost Measurement: Instead of assuming static costs, the framework calculates a cost ratio based on execution time and trajectory similarity (measured via cosine similarity) between fidelities.
  3. Cost-Aware Acquisition: A modified Entropy Search acquisition function is employed to maximize information gain regarding the location of safety violations. By dividing the information gain by the simulation cost, the algorithm prioritizes low-fidelity simulations for broad exploration and reserves high-fidelity simulations for confirming potential failures.
The proposed Multi-Fidelity Bayesian Optimization (MFBO) framework for system falsification.

Experimental Setup and Benchmarks

The framework was evaluated across five diverse benchmarks from the OpenAI Gym and highway-env libraries, each modified to support three levels of fidelity (low, middle, and high). Fidelity levels were adjusted by varying integration methods, sensor noise, simulation frequency, and agent density.

  • Classic Control: Cart-Pole and Lunar Lander.
  • Autonomous Driving: Highway, Merge, and Roundabout scenarios.
Benchmarks used for evaluation, including classic control and autonomous driving scenarios across three fidelity levels.

Key Results

The MFBO approach demonstrated significant improvements over standard single-fidelity Bayesian Optimization and other state-of-the-art baselines:

  • Efficiency Gains: In the Lunar Lander environment, MFBO achieved a 69% reduction in computational cost compared to standard high-fidelity BO.
  • Improved Reliability: In the Cart-Pole benchmark, counterexamples identified by MFBO were 26% more reliable (i.e., more likely to be true failures in high fidelity) than those found using only low-fidelity search.
  • Scalability: Across complex driving scenarios like the Roundabout, the inclusion of a "middle-fidelity" level provided a smoother transition for the GP model, leading to more robust identification of unique counterexamples within a fixed budget.

Conclusion and Future Work

This research highlights the power of multi-fidelity modeling in safety-critical testing. By leveraging the information in cheap, approximate simulations, the MFBO framework significantly accelerates the discovery of real-world system failures. Future work aims to address the current model's linear assumptions between fidelities and develop adaptive strategies to dynamically transition between fidelity levels as the search space narrows.

Summary updated

BibTeX
@misc{shahrooei2024optimizing,
  author = {Zahra Shahrooei and Mykel J. Kochenderfer and Ali Baheri},
  title = {{Optimizing Falsification for Learning-Based Control Systems: A Multi-Fidelity Bayesian Approach}},
  year = {2024},
  eprint = {2409.08097},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.08097},
}
Figure