Real-time Out-of-distribution Detection in Learning-Enabled Cyber-Physical Systems

01/28/2020
by   Feiyang Cai, et al.
16

Cyber-physical systems (CPS) greatly benefit by using machine learning components that can handle the uncertainty and variability of the real-world. Typical components such as deep neural networks, however, introduce new types of hazards that may impact system safety. The system behavior depends on data that are available only during runtime and may be different than the data used for training. Out-of-distribution data may lead to a large error and compromise safety. The paper considers the problem of efficiently detecting out-of-distribution data in CPS control systems. Detection must be robust and limit the number of false alarms while being computational efficient for real-time monitoring. The proposed approach leverages inductive conformal prediction and anomaly detection for developing a method that has a well-calibrated false alarm rate. We use variational autoencoders and deep support vector data description to learn models that can be used efficiently compute the nonconformity of new inputs relative to the training set and enable real-time detection of out-of-distribution high-dimensional inputs. We demonstrate the method using an advanced emergency braking system and a self-driving end-to-end controller implemented in an open source simulator for self-driving cars. The simulation results show very small number of false positives and detection delay while the execution time is comparable to the execution time of the original machine learning components.

READ FULL TEXT

page 1

page 8

research
03/21/2020

Detecting Adversarial Examples in Learning-Enabled Cyber-Physical Systems using Variational Autoencoder for Regression

Learning-enabled components (LECs) are widely used in cyber-physical sys...
research
04/04/2023

PAC-Based Formal Verification for Out-of-Distribution Data Detection

Cyber-physical systems (CPS) like autonomous vehicles, that utilize lear...
research
04/14/2021

Detection of Dataset Shifts in Learning-Enabled Cyber-Physical Systems using Variational Autoencoder for Regression

Cyber-physical systems (CPSs) use learning-enabled components (LECs) ext...
research
10/07/2021

Assurance Monitoring of Learning Enabled Cyber-Physical Systems Using Inductive Conformal Prediction based on Distance Learning

Machine learning components such as deep neural networks are used extens...
research
01/14/2020

Assurance Monitoring of Cyber-Physical Systems with Machine Learning Components

Machine learning components such as deep neural networks are used extens...
research
07/25/2021

Improving Variational Autoencoder based Out-of-Distribution Detection for Embedded Real-time Applications

Uncertainties in machine learning are a significant roadblock for its ap...
research
07/25/2021

WiP Abstract : Robust Out-of-distribution Motion Detection and Localization in Autonomous CPS

Highly complex deep learning models are increasingly integrated into mod...

Please sign up or login with your details

Forgot password? Click here to reset