Abstract
This case study explores the application of formal methods to verify and improve safety-critical machine learning components in aviation. Using the VerifAI toolkit, researchers performed automated falsification on Boeing’s TaxiNet, an experimental AI for aircraft taxiing. By identifying semantic failure modes—such as sensitivity to aircraft shadows—and implementing targeted retraining, the system's safety specification satisfaction rate was improved from 55% to 86%.
Introduction
As machine learning (ML) is increasingly integrated into safety-critical domains like autonomous flight, a significant verification gap has emerged. Unlike traditional software, neural networks are high-dimensional "black boxes" that are difficult to check against formal logic. This paper addresses the challenge of system-level verification: ensuring an ML component, such as a vision system, operates correctly within a closed-loop controller under diverse environmental conditions.
Methodology
The researchers employed a unified toolchain centered on the VERIFAI toolkit to model, falsify, and debug the AI-based system.
The process involves four main stages:
- Scenario Modeling (SCENIC): Using the SCENIC probabilistic programming language to define a semantic search space (e.g., time of day, weather, aircraft position).
- Simulation-in-the-loop: Interfacing with the X-Plane flight simulator for high-fidelity closed-loop testing.
- Automated Falsification: Utilizing search algorithms like Bayesian Optimization to identify parameters that violate safety requirements (e.g., staying within 1.5m of the centerline).
- Active Sampling: Extending SCENIC to allow external parameters to guide scenario generation toward failure-prone regions.
Case Study: Boeing TaxiNet
The study focused on TaxiNet, an industrial experimental system. The "dataset" consisted of a 6-dimensional semantic parameter space. The authors compared the original Boeing model against generic and specialized retrained versions.
Identifying the "Shadow" Root Cause
A critical insight gained through data visualization was the discovery of a semantic failure mode: TaxiNet performed poorly in the afternoon on clear days. By disabling shadows in the simulator, researchers confirmed that the aircraft's own shadow was confusing the neural network's perception of the runway centerline. Additionally, the system struggled at runway intersections where markings are often obscured.
Results and Discussion
The primary safety specification required the aircraft to remain within 1.5 meters of the runway centerline.
- Original Model: Satisfied the safety specification in only 55.2% of test runs, with a 9.1% catastrophic failure rate (leaving the runway).
- Generic Retraining: Improved the success rate to 82% by training on a broader range of synthetic data.
- Specialized Retraining: By over-representing failure cases like runway intersections, the success rate reached 86%, and catastrophic failures dropped to 0.5%.
Conclusion
While an 86% success rate is a significant improvement, it remains below the reliability standards required for commercial aviation. This work demonstrates a systematic methodology for finding and fixing "unknown unknowns" in ML systems. Future work will focus on scaling these techniques to more complex multi-sensor systems and automating the root-cause analysis process.
Summary updated