NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Assumption Generation for the Verification of Learning-Enabled Autonomous Systems

Corina S. Pasareanu, Ravi Mangal, Divya Gopinath, Huafeng Yu

Abstract

Providing safety guarantees for autonomous systems is difficult as these systems operate in complex environments that require the use of learning-enabled components, such as deep neural networks (DNNs) for visual perception. DNNs are hard to analyze due to their size, lack of formal specifications, and sensitivity to small changes in the environment. We present an assume-guarantee style compositional approach for the formal verification of system-level safety properties of such autonomous systems. Our insight is that we can analyze the system in the absence of the DNN perception components by automatically synthesizing assumptions on the DNN behaviour that guarantee the satisfaction of the required safety properties. The synthesized assumptions are the weakest in the sense that they characterize the output sequences of all the possible DNNs that, plugged into the autonomous system, guarantee the required safety properties. The assumptions can be leveraged as run-time monitors over a deployed DNN to guarantee the safety of the overall system; they can also be mined to extract local specifications for use during training and testing of DNNs. We illustrate our approach on a case study taken from the autonomous airplanes domain that uses a complex DNN for perception.

Introduction

Autonomous systems, such as self-driving cars or robotic assistants, increasingly rely on Learning-Enabled Components (LECs) like Deep Neural Networks (DNNs) for perception tasks. However, DNNs pose a massive hurdle for safety verification: they are opaque "black boxes" with millions of parameters and high sensitivity to tiny environmental changes. Current formal verification methods often struggle to scale or only provide partial guarantees. The core challenge lies in relating the behavior of a complex perception component to the high-level safety requirements of the entire system.

Methods: Assume-Guarantee Compositional Approach

The proposed method uses an assume-guarantee compositional approach. Rather than verifying the DNN directly, the authors analyze the rest of the system—the controller and physical dynamics—to determine what the DNN must do to ensure safety.

Architecture of a learning-enabled autonomous system showing the interaction between perception and control.

The process involves several key steps:

  1. System Decomposition: The system is split into two parts: $M_1$ (conventional components like the controller and airplane physics) and $M_2$ (perception components like the camera and DNN).
  2. Weakest Assumption Generation: Using Labeled Transition Systems (LTS), an algorithm synthesizes the "weakest assumption" ($A_w$). This state-machine represents every possible sequence of DNN outputs that guarantees safety when plugged into the system. It is "weakest" because it is the most permissive; it allows for errors as long as they do not lead to a system failure.
  3. Local Specification Mining: Non-temporal "local" rules are extracted from these assumptions. For instance, if a plane is 2 meters off-center, the DNN must report an estimate within a specific range to avoid dangerous over-correction.
  4. Run-time Monitoring: These assumptions are compact enough to serve as lightweight monitors that check DNN outputs in real-time, flagging unsafe predictions before they affect the controller.

Key Insights

  • Abductive Reasoning: By asking "What behavior would make any DNN safe?" instead of "Is this specific DNN safe?", the authors create formal requirements for perception.
  • Safety vs. Accuracy: The paper argues for relaxed testing. A DNN does not need perfect accuracy to be safe; small estimation errors are acceptable if they result in safe control maneuvers.
  • Temporal Specifications: Unlike simple input-output checks, these assumptions track sequences of predictions, recognizing that while a single noisy frame might be acceptable, a sequence of bad estimates could be catastrophic.

Key Results

The assumption generation proved highly efficient, taking only about 81 seconds even with a discretized state space of 101 intervals.

A synthesized safety assumption represented as a compact state machine.

A critical finding was the compactness of the results. For a system model with 99 states, the safety assumption required only 7 states, making it ideal for low-overhead monitoring. Furthermore, by combining monitors with the PRISM probabilistic model checker, the authors quantified safety violation likelihoods, finding that higher-accuracy models drift toward violations significantly slower than lower-accuracy ones.

Limitations and Future Work

While promising, high-dimensional state spaces could still lead to "state explosion." Future work aims to extend this to hybrid automata for continuous physical dynamics and explore systems with multiple interacting learning components, such as combined Camera and LIDAR sensors.

Summary updated

BibTeX
@inproceedings{pasareanu2023assumption,
  author = {Corina S. Pasareanu and Ravi Mangal and Divya Gopinath and Huafeng Yu},
  title = {{Assumption Generation for the Verification of Learning-Enabled Autonomous Systems}},
  booktitle = {RV},
  year = {2023},
  url = {https://openreview.net/forum?id=gg4m8Djxqv},
}
Figure