Compressing VAE-Based Out-of-Distribution Detectors for Embedded Deployment
Not on the map. Why?
Abstract (arXiv)
Out-of-distribution (OOD) detectors can act as safety monitors in embedded cyber-physical systems by identifying samples outside a machine learning model's training distribution to prevent potentially unsafe actions. However, OOD detectors are often implemented using deep neural networks, which makes it difficult to meet real-time deadlines on embedded systems with memory and power constraints. We consider the class of variational autoencoder (VAE) based OOD detectors where OOD detection is performed in latent space, and apply quantization, pruning, and knowledge distillation. These techniques have been explored for other deep models, but no work has considered their combined effect on latent space OOD detection. While these techniques increase the VAE's test loss, this does not correspond to a proportional decrease in OOD detection performance and we leverage this to develop lean OOD detectors capable of real-time inference on embedded CPUs and GPUs. We propose a design methodology that combines all three compression techniques and yields a significant decrease in memory and execution time while maintaining AUROC for a given OOD detector. We demonstrate this methodology with two existing OOD detectors on a Jetson Nano and reduce GPU and CPU inference time by 20% and 28% respectively while keeping AUROC within 5% of the baseline.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 13 of its 26 references that are in the map. First posted on arXiv 2 Sep 2024.
Builds on
13 of 26 references.
References · 13
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2020Knowledge Distillation: A Surveycited by 1,578
- 2021A Survey of Quantization Methods for Efficient Neural Network Inferencecited by 798
- 2021A White Paper on Neural Network Quantizationcited by 453
- 2020A Unifying Review of Deep and Shallow Anomaly Detectioncited by 423
- 2016Quantized Neural Networks: Training Neural Networks with Low Precision Weights and Activationscited by 413
- 2018Scalable Methods for 8-bit Training of Neural Networkscited by 139
- 2018q-Space Novelty Detection with Variational Autoencoderscited by 22
- 2021Efficient Out-of-Distribution Detection Using Latent Space of β-VAE for Cyber-Physical Systemscited by 19
- 2022Multi-Level Knowledge Distillation for Out-of-Distribution Detection in Textcited by 11
- 2021Improving Variational Autoencoder based Out-of-Distribution Detection for Embedded Real-time Applicationscited by 9
- 2022Design Methodology for Deep Out-of-Distribution Detectors in Real-Time Cyber-Physical Systemscited by 4
Built on by
Not cited yet.