Causal Repair of Learning-enabled Cyber-physical Systems

04/06/2023
by   Pengyuan Lu, et al.
0

Models of actual causality leverage domain knowledge to generate convincing diagnoses of events that caused an outcome. It is promising to apply these models to diagnose and repair run-time property violations in cyber-physical systems (CPS) with learning-enabled components (LEC). However, given the high diversity and complexity of LECs, it is challenging to encode domain knowledge (e.g., the CPS dynamics) in a scalable actual causality model that could generate useful repair suggestions. In this paper, we focus causal diagnosis on the input/output behaviors of LECs. Specifically, we aim to identify which subset of I/O behaviors of the LEC is an actual cause for a property violation. An important by-product is a counterfactual version of the LEC that repairs the run-time property by fixing the identified problematic behaviors. Based on this insights, we design a two-step diagnostic pipeline: (1) construct and Halpern-Pearl causality model that reflects the dependency of property outcome on the component's I/O behaviors, and (2) perform a search for an actual cause and corresponding repair on the model. We prove that our pipeline has the following guarantee: if an actual cause is found, the system is guaranteed to be repaired; otherwise, we have high probabilistic confidence that the LEC under analysis did not cause the property violation. We demonstrate that our approach successfully repairs learned controllers on a standard OpenAI Gym benchmark.

READ FULL TEXT

page 6

page 8

page 9

research
06/06/2023

Embracing Background Knowledge in the Analysis of Actual Causality: An Answer Set Programming Approach

This paper presents a rich knowledge representation language aimed at fo...
research
03/20/2023

fmiSwap: Run-time Swapping of Models for Co-simulation and Digital Twins

Digital Twins represent a new and disruptive technology, where digital r...
research
10/02/2021

A Semantic Model for Interacting Cyber-Physical Systems

We propose a component-based semantic model for Cyber-Physical Systems (...
research
02/02/2018

Advanced Symbolic Time Series Analysis in Cyber Physical Systems

This paper presents advanced symbolic time series analysis (ASTSA) for l...
research
04/20/2022

Causality-based Neural Network Repair

Neural networks have had discernible achievements in a wide range of app...
research
09/20/2022

On a Uniform Causality Model for Industrial Automation

The increasing complexity of Cyber-Physical Systems (CPS) makes industri...

Please sign up or login with your details

Forgot password? Click here to reset