Introduction
Cyber-physical systems (CPS), such as autonomous vehicles and medical devices, integrate discrete computational logic with continuous physical dynamics. Ensuring the safety of these hybrid systems is a monumental challenge due to their complexity and "black-box" nature. Rather than attempting to prove absolute safety, researchers often employ falsification: the search for a specific input sequence that causes a system to violate its safety requirements.
Traditional falsification methods typically rely on local optimization techniques like hill-climbing. While efficient at following gradients, these methods are prone to getting trapped in local minima, often failing to discover rare "needle-in-a-haystack" failures located in distant regions of the search space. This paper proposes a novel two-layered framework that addresses this exploration-exploitation trade-off by combining Monte Carlo Tree Search (MCTS) with local optimization.
The Two-Layered Optimization Framework
The core of the proposed approach is a hierarchical search strategy that separates high-level exploration from low-level refinement.
- Upper Layer (MCTS): Inspired by the success of AlphaGo, the framework uses MCTS to manage the global search. It partitions the input and time space into a search tree. MCTS decides which region to explore using the Upper Confidence Bound (UCT) formula, which balances the investigation of promising regions (exploitation) with the search of unexplored areas (exploration).
- Lower Layer (Hill-Climbing): Once a region is selected by MCTS, a local optimizer—such as CMA-ES or Nelder-Mead—is deployed to find the specific input values within that region that minimize the system's robustness.
Robustness as a Search Signal
A critical component of falsification is the use of Signal Temporal Logic (STL) to define safety properties. Instead of a simple binary (true/false) result, STL provides a robustness value—a quantitative measure of how close a system is to violating a property.
As shown in the figure above, Boolean semantics provide no guidance for optimization once a state is "true." In contrast, robust semantics create a landscape that local optimizers can navigate. The MCTS layer uses these robustness values as "rewards," treating a negative robustness (a property violation) as a successful search outcome. By treating time-staging as a tree, MCTS can plan signal prefixes effectively before simulating the entire duration.
Benchmarks and Key Results
The framework was evaluated on three standard hybrid system benchmarks: the Automatic Transmission (AT) model, the Abstract Fuel Control (AFC) model, and a Free Floating Robot (FFR).
The results demonstrate that the MCTS-guided approach significantly outperforms standard industry tools like Breach, particularly on "hard" specifications. For instance, on the AT model's most challenging requirements, success rates jumped from 30-40% with standard methods to 80-100% with the MCTS-enhanced framework. Furthermore, the framework proved robust across various local solvers, consistently improving performance regardless of the underlying optimization algorithm used.
Conclusion and Future Work
By supervising local solvers, MCTS prevents the search from stagnating in local minima. While it introduces some computational overhead for simpler problems, its ability to find complex failures makes it a powerful tool for verifying high-stakes cyber-physical systems. Future research will focus on tuning hyperparameters, handling more complex signal shapes, and extending the framework to stochastic systems where inherent randomness adds another layer of complexity.
Summary updated