Improving Variational Autoencoder based Out-of-Distribution Detection for Embedded Real-time Applications
Not on the map. Why?
Abstract (arXiv)
Uncertainties in machine learning are a significant roadblock for its application in safety-critical cyber-physical systems (CPS). One source of uncertainty arises from distribution shifts in the input data between training and test scenarios. Detecting such distribution shifts in real-time is an emerging approach to address the challenge. The high dimensional input space in CPS applications involving imaging adds extra difficulty to the task. Generative learning models are widely adopted for the task, namely out-of-distribution (OoD) detection. To improve the state-of-the-art, we studied existing proposals from both machine learning and CPS fields. In the latter, safety monitoring in real-time for autonomous driving agents has been a focus. Exploiting the spatiotemporal correlation of motion in videos, we can robustly detect hazardous motion around autonomous driving agents. Inspired by the latest advances in the Variational Autoencoder (VAE) theory and practice, we tapped into the prior knowledge in data to further boost OoD detection's robustness. Comparison studies over nuScenes and Synthia data sets show our methods significantly improve detection capabilities of OoD factors unique to driving scenarios, 42% better than state-of-the-art approaches. Our model also generalized near-perfectly, 97% better than the state-of-the-art across the real-world and simulation driving data sets experimented. Finally, we customized one proposed method into a twin-encoder model that can be deployed to resource limited embedded devices for real-time OoD detection. Its execution time was reduced over four times in low-precision 8-bit integer inference, while detection capability is comparable to its corresponding floating-point model.
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 24 of its 35 references that are in the map. First posted on arXiv 25 Jul 2021.
Builds on
24 of 35 references.
References · 24
- 2019nuScenes: A multimodal dataset for autonomous drivingcited by 4,523
- 2013Auto-Encoding Variational Bayescited by 4,053
- 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,926
- 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,593
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,485
- 2014Deep Neural Networks are Easily Fooled: High Confidence Predictions for Unrecognizable Imagescited by 776
- 2019Likelihood Ratios for Out-of-Distribution Detectioncited by 453
- 2018Do Deep Generative Models Know What They Don't Know?cited by 443
- 2017Wasserstein Auto-Encoderscited by 373
- 2017VAE with a VampPriorcited by 248
- 2019Input complexity and out-of-distribution detection with likelihood-based generative modelscited by 186
- 2018Generative Adversarial Active Learning for Unsupervised Outlier Detectioncited by 65
12 more
- 2018Anomaly Detection with Generative Adversarial Networks for Multivariate Time Seriescited by 55
- 2020Real-time Out-of-distribution Detection in Learning-Enabled Cyber-Physical Systemscited by 46
- 2018Classification Uncertainty of Deep Neural Networks Based on Gradient Informationcited by 43
- 2020Out-of-Distribution Detection for Automotive Perceptioncited by 37
- 2019Bayesian Variational Autoencoders for Unsupervised Out-of-Distribution Detectioncited by 35
- 2019Temporal Coherence for Active Learning in Videoscited by 24
- 2020Out-of-Distribution Detection in Multi-Label Datasets using Latent Space of β-VAEcited by 15
- 2020Robust Reinforcement Learning-based Autonomous Driving Agent for Simulation and Real Worldcited by 12
- 2020Variational auto-encoders with Student's t-priorcited by 10
- 2017LS-VO: Learning Dense Optical Subspace for Robust Visual Odometry Estimationcited by 7
- 2018Dirichlet Variational Autoencoder for Text Modelingcited by 5
- 2020HMFlow: Hybrid Matching Optical Flow Network for Small and Fast-Moving Objectscited by 1
Built on by
Citing papers per year: 2022: 5; 2023: 0; 2024: 1; 2025: 3.
9 papers.
- 2022Variational Inference MPC using Normalizing Flows and Out-of-Distribution Projectioncited by 13
- 2022Design Methodology for Deep Out-of-Distribution Detectors in Real-Time Cyber-Physical Systemscited by 4
- 2025Safety Monitoring for Learning-Enabled Cyber-Physical Systems in Out-of-Distribution Scenarioscited by 3
- 2022Meta-learning for Out-of-Distribution Detection via Density Estimation in Latent Spacecited by 2
- 2022CODiT: Conformal Out-of-Distribution Detection in Time-Series Datacited by 2
- 2022Demo Abstract: Real-Time Out-of-Distribution Detection on a Mobile Robotcited by 2
- 2025Out-of-Distribution Detection for Safety Assurance of AI and Autonomous Systemscited by 2
- 2024Compressing VAE-Based Out-of-Distribution Detectors for Embedded Deploymentcited by 0
- 2025Out of Distribution Detection for Efficient Continual Learning in Quality Prediction for Arc Weldingcited by 0
- 2025Out-of-Distribution Detection for Safety Assurance of AI and Autonomous Systems24 Oct 2025
- 2025Out of Distribution Detection for Efficient Continual Learning in Quality Prediction for Arc Welding22 Aug 2025
- 2025Safety Monitoring for Learning-Enabled Cyber-Physical Systems in Out-of-Distribution Scenarios18 Apr 2025
- 2024Compressing VAE-Based Out-of-Distribution Detectors for Embedded Deployment2 Sep 2024
- 2022Demo Abstract: Real-Time Out-of-Distribution Detection on a Mobile Robot15 Nov 2022
- 2022Design Methodology for Deep Out-of-Distribution Detectors in Real-Time Cyber-Physical Systems29 Jul 2022
- 2022CODiT: Conformal Out-of-Distribution Detection in Time-Series Data24 Jul 2022
- 2022Meta-learning for Out-of-Distribution Detection via Density Estimation in Latent Space20 Jun 2022
- 2022Variational Inference MPC using Normalizing Flows and Out-of-Distribution Projection10 May 2022