Toward Operational Safety Verification of AI-Enabled CPS (Student Abstract)

Imane Lamrani, Ayan Banerjee, Sandeep K. S. Gupta

Abstract

Traditional safety verification for Cyber-Physical Systems (CPS) typically occurs prior to deployment, relying on predictive models that may fail to account for the non-deterministic nature of AI components. This paper introduces a novel framework for "operational safety verification" of AI-enabled CPS. By mining Hybrid Automata (HA) models directly from real-time input/output traces and comparing them against manufacturer specifications, the proposed tool can detect when an AI's behavior deviates from its safety-assured design due to environmental distribution shifts. The framework is evaluated using an artificial pancreas case study, demonstrating its capability to identify inconsistencies and unverified operational scenarios.

Introduction

Ensuring the safety of AI-enabled Cyber-Physical Systems (CPS), such as autonomous vehicles and medical devices, presents two significant challenges. First, the "No Oracle" Problem arises because AI components, like neural network classifiers, can be non-deterministic; in complex environments, the "correct" output for a novel input is often unknown. Second, Distribution Shift occurs when deployed AI models encounter scenarios not represented in their training data, leading to unpredictable failures.

Regulatory agencies currently lack robust tools to verify if these "black-box" systems adhere to safety specifications once deployed. This research addresses the gap by shifting verification from a one-time pre-deployment task to a continuous operational process.

The Operational Safety Verification Framework

The authors propose a Safety Verification HA-Mining approach that bridges the gap between raw operational data and formal specifications. The framework periodically mines a mathematical model from the system's execution traces and compares it to the manufacturer's initial safety documentation.

Figure 1: Overview of the operational safety verification framework, illustrating the comparison between manufacturer specifications and mined behavior.

As shown in Figure 1, the process involves taking the device under regulatory documentation and passing its operational traces through an HA Mining Tool. If the resulting "Learned HA" matches the specifications, the system is deemed safe. If inconsistencies are detected or if the AI encounters scenarios not disclosed in the specifications, it is flagged as unsafe.

Hybrid Automata (HA) Mining Methodology

The core of the framework is the conversion of raw time-series data into a Hybrid Automata (HA)—a state machine that captures both discrete logic (modes) and continuous physical behavior (flows).

Figure 2: The detailed pipeline for mining Hybrid Automata from system input/output traces.

The mining pipeline, detailed in Figure 2, consists of several critical steps:

  • Trace Segmentation & Classification: Density-based clustering identifies distinct operational modes from I/O data.
  • Flow Equation Extraction: Multi-variable polynomial regression derives the physical laws governing each mode.
  • Guard & Reset Mining: Fisher information-based analysis and the Cramer-Rao bound are used to determine the conditions (guards) that trigger mode transitions and how variables are updated (resets) during those transitions.
  • Clustering Unique Modes: The system identifies unique control modes and transitions to build a comprehensive state machine.

Evaluation: The Artificial Pancreas Case Study

The approach was evaluated using an Artificial Pancreas (AP) use case. The researchers utilized real-world data from the Medtronic Minimed 670G (glucose readings and meal intake) in collaboration with the Mayo Clinic, supplemented by the FDA-accepted UVA/Padova T1d simulation platform.

The tool successfully reconstructed the operational logic of the AP. By comparing the learned HA against the intended design, it identified:

  1. Inconsistencies: Logic deviations where the system's actual behavior did not match the provided documentation.
  2. Unaccounted Scenarios: Physiological variations, such as unique patient reactions to insulin, that were absent from the initial safety analysis.

Conclusion and Future Work

This research demonstrates that safety verification must be an ongoing process for AI-enabled systems. By using HA mining to create a common language between data and specifications, the framework can detect "unknown" behaviors that haven't been formally verified.

Future work will focus on addressing trace sufficiency challenges and implementing "reach set analysis" to proactively predict if newly discovered behaviors might lead to future safety threshold violations. As a student abstract, these preliminary results suggest a promising path toward more robust regulatory oversight of autonomous AI systems.

Summary updated

BibTeX
@inproceedings{lamrani2020toward,
  author = {Imane Lamrani and Ayan Banerjee and Sandeep K. S. Gupta},
  title = {{Toward Operational Safety Verification of AI-Enabled CPS (Student Abstract)}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i10.7196},
}
Figure