Bridging Dimensions: Confident Reachability for High-Dimensional Controllers

Yuang Geng, Jake Brandon Baldauf, Souradeep Dutta, Chao Huang, Ivan Ruchkin

Abstract

Formal verification of high-dimensional, vision-based controllers remains a significant challenge due to the lack of physical dynamics in pixel space and the computational intractability of existing tools. This paper presents a novel framework that bridges this gap by distilling complex high-dimensional controllers (HDCs) into simpler, state-based low-dimensional controllers (LDCs). By employing conformal prediction to statistically bound the approximation error and "inflating" reachable sets accordingly, the authors provide high-confidence safety guarantees for autonomous systems. The framework is evaluated on vision-based benchmarks, demonstrating high precision and robustness.

Introduction

The deployment of autonomous systems in safety-critical environments—such as autonomous driving or aircraft landing—requires rigorous safety guarantees. Formal verification, specifically reachability analysis, offers a mathematical proof that a system will remain within safe operating bounds. However, modern AI controllers often rely on high-dimensional inputs like camera images. Existing verification tools (e.g., NNV, Verisig) are designed for low-dimensional state spaces and cannot handle the thousands of dimensions present in pixel data. Furthermore, modeling the temporal evolution of individual pixels is physically non-trivial. This "dimensionality gap" leaves vision-based AI as a black box, hindering its adoption in regulated industries.

The Proposed Framework

The authors introduce a five-step methodology to provide statistical safety guarantees for HDCs by leveraging simpler LDC surrogates.

Overview of the proposed framework for verifying high-dimensional controllers through distillation and conformal prediction.
  1. Knowledge Distillation: The HDC is approximated by one or more LDCs that operate on physical states (e.g., position, velocity). To facilitate verification, the training process uses a two-objective gradient descent that minimizes both mean squared error and the Lipschitz constant, ensuring the LDC is "smooth."
  2. Reachability Analysis: Using the POLAR toolbox, the framework computes "reachable tubes"—the set of all possible future states—for the LDCs.
  3. Statistical Discrepancy Bounding: Conformal Prediction is used to calculate a distribution-free statistical upper bound on the error between the HDC and LDC outputs.
  4. Inflation: The LDC’s reachable tubes are "inflated" by these discrepancy bounds. This ensures that the actual trajectory of the high-dimensional system is contained within the verified bounds with a user-defined probability (e.g., 95% or 99%).
  5. Iterative Refinement: If the safety property cannot be verified, the state space is partitioned, and specialized LDCs are retrained for specific sub-regions to tighten the bounds.

Experimental Evaluation

The framework was tested on three vision-based OpenAI Gym benchmarks: Inverted Pendulum (2D), Mountain Car (2D), and Cartpole (4D). HDCs were trained using Deep Deterministic Policy Gradient (DDPG) on image inputs, while LDCs were simpler feedforward networks.

Key Results

The proposed framework was compared against a pure conformal prediction baseline. Key findings include:

  • High Precision: The framework consistently achieved precision scores near 1.0, meaning that states identified as "safe" were almost always truly safe.
  • Performance Gains: For the Inverted Pendulum task, the trajectory-based approach with multiple LDCs achieved an F1-score of 0.88, outperforming a pure conformal prediction baseline (0.79).
  • Robustness: The statistical bounds remained effective even in the presence of Gaussian noise in the input images.
  • Computational Feasibility: Action-based verification for these systems was completed within 6 to 6.6 hours, a reasonable timeframe for offline safety assessment.

Discussion and Insights

A critical insight of this work is that direct verification of pixels is unnecessary if a state-based model can be proven to be "close enough" to the vision-based model. By incorporating verification-aware training (penalizing high Lipschitz constants), the authors make the student models more amenable to formal tools. Additionally, using a modular approach—where multiple specialized LDCs cover different regions of the state space—significantly reduces overapproximation error.

Limitations and Future Work

The current approach relies on the i.i.d. assumption for conformal prediction, which may not hold in all real-time control scenarios. Future work will explore time-series conformal prediction to relax this requirement. Additionally, the framework currently requires a state-to-image mapping for training, which may be difficult to obtain in purely real-world datasets without simulators. Scaling to higher-dimensional systems, such as 6-DOF robotic arms, remains a key objective.

Conclusion

By combining formal reachability analysis with statistical conformal prediction, this work provides a scalable path toward verifying high-dimensional AI controllers. It transforms the "black box" of vision-based control into a system with quantifiable safety bounds, bridging the gap between theoretical verification and practical autonomous deployment.

Summary updated

BibTeX
@inproceedings{geng2024bridging,
  author = {Yuang Geng and Jake Brandon Baldauf and Souradeep Dutta and Chao Huang and Ivan Ruchkin},
  title = {{Bridging Dimensions: Confident Reachability for High-Dimensional Controllers}},
  booktitle = {FM},
  year = {2024},
  doi = {10.1007/978-3-031-71162-6\_20},
}
Figure