Efficient out-of-distribution detection using latent space of β-VAE for cyber-physical systems

Deep Neural Networks are actively being used in the design of autonomous Cyber-Physical Systems (CPSs). The advantage of these models is their ability to handle high-dimensional state-space and learn compact surrogate representations of the operational state spaces. However, the problem is that the...

Full description

Saved in:
Bibliographic Details
Main Authors: Ramakrishna, Shreyas, Rahiminasab, Zahra, Karsai, Gabor, Easwaran, Arvind
Other Authors: School of Computer Science and Engineering
Format: Article
Language:English
Published: 2022
Subjects:
Online Access:https://hdl.handle.net/10356/163574
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Nanyang Technological University
Language: English
id sg-ntu-dr.10356-163574
record_format dspace
spelling sg-ntu-dr.10356-1635742022-12-09T08:44:44Z Efficient out-of-distribution detection using latent space of β-VAE for cyber-physical systems Ramakrishna, Shreyas Rahiminasab, Zahra Karsai, Gabor Easwaran, Arvind Easwaran, Arvind School of Computer Science and Engineering Engineering::Computer science and engineering Deep Neural Networks Mutual Information Gap Deep Neural Networks are actively being used in the design of autonomous Cyber-Physical Systems (CPSs). The advantage of these models is their ability to handle high-dimensional state-space and learn compact surrogate representations of the operational state spaces. However, the problem is that the sampled observations used for training the model may never cover the entire state space of the physical environment, and as a result, the system will likely operate in conditions that do not belong to the training distribution. These conditions that do not belong to training distribution are referred to as Out-of-Distribution (OOD). Detecting OOD conditions at runtime is critical for the safety of CPS. In addition, it is also desirable to identify the context or the feature(s) that are the source of OOD to select an appropriate control action to mitigate the consequences that may arise because of the OOD condition. In this article, we study this problem as a multi-labeled time series OOD detection problem over images, where the OOD is defined both sequentially across short time windows (change points) as well as across the training data distribution. A common approach to solving this problem is the use of multi-chained one-class classifiers. However, this approach is expensive for CPSs that have limited computational resources and require short inference times. Our contribution is an approach to design and train a single β-Variational Autoencoder detector with a partially disentangled latent space sensitive to variations in image features. We use the feature sensitive latent variables in the latent space to detect OOD images and identify the most likely feature(s) responsible for the OOD. We demonstrate our approach using an Autonomous Vehicle in the CARLA simulator and a real-world automotive dataset called nuImages. Ministry of Education (MOE) This work was supported by the DARPA Assured Autonomy program, the Air Force Research Laboratory, and in part by MoE, Singapore, Tier-2 grant number MOE2019-T2-2-040. 2022-12-09T08:44:44Z 2022-12-09T08:44:44Z 2022 Journal Article Ramakrishna, S., Rahiminasab, Z., Karsai, G., Easwaran, A. & Easwaran, A. (2022). Efficient out-of-distribution detection using latent space of β-VAE for cyber-physical systems. ACM Transactions On Cyber-Physical Systems, 6(2), 1-34. https://dx.doi.org/10.1145/3491243 2378-962X https://hdl.handle.net/10356/163574 10.1145/3491243 2-s2.0-85134881357 2 6 1 34 en MOE2019-T2-2-040 ACM Transactions on Cyber-Physical Systems © 2022 Association for Computing Machinery. All rights reserved.
institution Nanyang Technological University
building NTU Library
continent Asia
country Singapore
Singapore
content_provider NTU Library
collection DR-NTU
language English
topic Engineering::Computer science and engineering
Deep Neural Networks
Mutual Information Gap
spellingShingle Engineering::Computer science and engineering
Deep Neural Networks
Mutual Information Gap
Ramakrishna, Shreyas
Rahiminasab, Zahra
Karsai, Gabor
Easwaran, Arvind
Easwaran, Arvind
Efficient out-of-distribution detection using latent space of β-VAE for cyber-physical systems
description Deep Neural Networks are actively being used in the design of autonomous Cyber-Physical Systems (CPSs). The advantage of these models is their ability to handle high-dimensional state-space and learn compact surrogate representations of the operational state spaces. However, the problem is that the sampled observations used for training the model may never cover the entire state space of the physical environment, and as a result, the system will likely operate in conditions that do not belong to the training distribution. These conditions that do not belong to training distribution are referred to as Out-of-Distribution (OOD). Detecting OOD conditions at runtime is critical for the safety of CPS. In addition, it is also desirable to identify the context or the feature(s) that are the source of OOD to select an appropriate control action to mitigate the consequences that may arise because of the OOD condition. In this article, we study this problem as a multi-labeled time series OOD detection problem over images, where the OOD is defined both sequentially across short time windows (change points) as well as across the training data distribution. A common approach to solving this problem is the use of multi-chained one-class classifiers. However, this approach is expensive for CPSs that have limited computational resources and require short inference times. Our contribution is an approach to design and train a single β-Variational Autoencoder detector with a partially disentangled latent space sensitive to variations in image features. We use the feature sensitive latent variables in the latent space to detect OOD images and identify the most likely feature(s) responsible for the OOD. We demonstrate our approach using an Autonomous Vehicle in the CARLA simulator and a real-world automotive dataset called nuImages.
author2 School of Computer Science and Engineering
author_facet School of Computer Science and Engineering
Ramakrishna, Shreyas
Rahiminasab, Zahra
Karsai, Gabor
Easwaran, Arvind
Easwaran, Arvind
format Article
author Ramakrishna, Shreyas
Rahiminasab, Zahra
Karsai, Gabor
Easwaran, Arvind
Easwaran, Arvind
author_sort Ramakrishna, Shreyas
title Efficient out-of-distribution detection using latent space of β-VAE for cyber-physical systems
title_short Efficient out-of-distribution detection using latent space of β-VAE for cyber-physical systems
title_full Efficient out-of-distribution detection using latent space of β-VAE for cyber-physical systems
title_fullStr Efficient out-of-distribution detection using latent space of β-VAE for cyber-physical systems
title_full_unstemmed Efficient out-of-distribution detection using latent space of β-VAE for cyber-physical systems
title_sort efficient out-of-distribution detection using latent space of β-vae for cyber-physical systems
publishDate 2022
url https://hdl.handle.net/10356/163574
_version_ 1753801137637556224