[Paper Review] Squeezed Convolutional Variational AutoEncoder for Unsupervised Anomaly Detection in Edge Device Industrial Internet of Things
This paper proposes Squeezed Convolutional Variational AutoEncoder (SCVAE), a lightweight, efficient deep learning model for unsupervised anomaly detection in time series sensor data on edge devices in Industrial IoT. By integrating SqueezeNet's Fire Modules into a CNN-VAE architecture, SCVAE reduces model size and inference time by ~30% and ~25% respectively, while maintaining high reconstruction performance (PRAUC: 99.2 vs. 98.9) on occupancy data, making it suitable for real-time, resource-constrained edge deployment.
In this paper, we propose Squeezed Convolutional Variational AutoEncoder (SCVAE) for anomaly detection in time series data for Edge Computing in Industrial Internet of Things (IIoT). The proposed model is applied to labeled time series data from UCI datasets for exact performance evaluation, and applied to real world data for indirect model performance comparison. In addition, by comparing the models before and after applying Fire Modules from SqueezeNet, we show that model size and inference times are reduced while similar levels of performance is maintained.
Motivation & Objective
- To address the challenge of unsupervised anomaly detection in time series sensor data from edge devices in Industrial IoT (IIoT), where labeled data is scarce or unavailable.
- To develop a compact deep learning model suitable for deployment on resource-constrained edge devices with limited memory and processing power.
- To evaluate model performance on real-world CNC machine data using a novel Match-General metric that aggregates predictions from multiple baseline models.
- To demonstrate that model compression via Fire Modules maintains high anomaly detection performance while significantly reducing computational and memory overhead.
Proposed method
- Proposes SCVAE, a SqueezeNet-enhanced Convolutional Variational Autoencoder that applies Fire Modules (Squeeze and Expand layers) to reduce model size and inference time.
- Uses a variational autoencoder framework with encoder-decoder architecture to learn a probabilistic latent representation of time series data for reconstruction-based anomaly detection.
- Applies model compression techniques—pruning and quantization—via Fire Modules to reduce parameter count and memory footprint without sacrificing reconstruction quality.
- Employs a novel Match-General metric to evaluate anomaly detection performance on real CNC data, where a sample is labeled as anomaly if 3 or more of 6 models detect it.
- Evaluates performance on UCI benchmark datasets and real-world CNC machine data, comparing SCVAE against conventional models (IF, LOF, OCSVM, EE) and baseline CNN-VAE.
- Measures model efficiency through learning time, inference time, and memory size, comparing SCVAE against full-precision CNN-VAE on occupancy and CNC datasets.
Experimental results
Research questions
- RQ1Can a compressed VAE architecture achieve high anomaly detection performance on time series data while being deployable on edge devices with limited resources?
- RQ2How does the integration of SqueezeNet's Fire Modules affect model size, inference speed, and reconstruction accuracy in a VAE-based anomaly detection system?
- RQ3Does the proposed Match-General metric provide a reliable, label-free evaluation framework for comparing unsupervised anomaly detection models on real industrial data?
- RQ4To what extent does model compression via Fire Modules reduce computational and memory overhead without degrading detection performance?
- RQ5How does SCVAE compare to conventional machine learning models (e.g., Isolation Forest, One-Class SVM) and baseline CNN-VAE in real-world CNC machine data scenarios?
Key findings
- SCVAE achieved a PRAUC of 99.2 on the occupancy(16) dataset, slightly outperforming the baseline CNN-VAE (98.9), demonstrating that compression does not degrade reconstruction performance.
- Model inference time was reduced from 8.8 ms (CNN-VAE) to 6.0 ms (SCVAE), a 32% improvement, and model size was reduced from 16 MB to 12 MB, a 25% reduction.
- On real CNC datasets, SCVAE achieved the highest Match-General score in 3 out of 4 CNC types (C, D, and A), indicating superior anomaly detection consistency across diverse industrial data.
- The performance gain of SCVAE was more pronounced on larger datasets, with greater reductions in learning and inference times observed as data volume increased.
- The Match-General metric effectively identified SCVAE as a top-performing model in the absence of ground-truth labels, validating its utility for label-free evaluation in industrial settings.
- The integration of Fire Modules enabled significant model compression while preserving high reconstruction fidelity, confirming SCVAE’s suitability for edge deployment in IIoT environments.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.