Learning Contextual Runtime Monitors for Safe AI-Based Autonomy
Paper i proceeding, 2026

We introduce a novel framework for learning context-aware runtime monitors for AI-based control ensembles. Machine-learning (ML)-based controllers are increasingly deployed in (autonomous) cyber–physical systems because of their ability to solve complex decision-making tasks. However, their accuracy can degrade sharply in unfamiliar environments, creating significant safety concerns. Traditional ensemble methods aim to improve robustness by averaging or voting across multiple controllers, yet this may dilute the specialized strengths that individual controllers exhibit in different operating contexts. We argue that, rather than blending controller outputs, a monitoring framework should identify and exploit these contextual strengths. In this paper, we reformulate the design of safe AI-based control ensembles as a contextual monitoring problem. A monitor continuously observes the system’s context and selects the controller best suited to the current conditions. To achieve this, we cast monitor learning as a contextual learning task and draw on techniques from contextual multi-armed bandits. Our approach comes with two key benefits: (1) theoretical safety guarantees during controller selection, and (2) improved utilization of controller diversity. We validate our framework in two simulated autonomous driving scenarios, demonstrating significant improvements in both safety and performance compared to non-contextual baselines.

Runtime assurance

Contextual bandits

Safe AI-based autonomy

Författare

Alejandro Luque Cerpa

Chalmers, Data- och informationsteknik, Formella metoder

Mengyuan Wang

Chalmers, Data- och informationsteknik, Formella metoder

Emil Carlsson

Sleep Cycle AB

Sanjit A. Seshia

University of California

Devdatt Dubhashi

Chalmers, Data- och informationsteknik, Data Science och AI

Hazem Torfah

Chalmers, Data- och informationsteknik, Formella metoder

Proceedings 17th ACM IEEE International Conference on Cyber Physical Systems Iccps 2026

130-141
979-8-3195-4405-6 (ISBN)

IEEE/ACM International Conference on Cyber-Physical Systems (ICCPS)
Saint Malo, France,

Ämneskategorier (SSIF 2025)

Robotik och automation

Datorsystem

Infrastruktur

C3SE (-2020, Chalmers Centre for Computational Science and Engineering)

DOI

10.1109/ICCPS68698.2026.00020

Mer information

Senast uppdaterat

2026-11-03