Weakly Augmented Variational Autoencoder in Time Series Anomaly Detection
Zhangkai Wu, Longbing Cao, Qi Zhang, Junxian Zhou, Hui Chen
TL;DR
This work tackles robustness gaps in VAE-based time-series anomaly detection caused by data scarcity and latent holes. It introduces WAVAE, a weakly augmented variational framework that jointly trains raw and lightly augmented views to align their data likelihoods, using mutual information between latent representations as a guiding signal. The authors develop two MI-approximation pathways—infoNCE-based contrastive learning and adversarial density-ratio—to maximize alignment between views, and implement end-to-end training with weak normalization-based augmentations. Extensive experiments across five public datasets and numerous baselines demonstrate that WAVAE, especially its contrastive MI variant, achieves superior ROC-AUC and PR-AUC, with ablations clarifying the effects of latent dimensionality, SSL components, and time-series processing. The proposed approach provides a scalable, data-efficient strategy for robust TSAD in realistic, data-scarce environments, with practical impact on unsupervised anomaly detection pipelines.
Abstract
Due to their unsupervised training and uncertainty estimation, deep Variational Autoencoders (VAEs) have become powerful tools for reconstruction-based Time Series Anomaly Detection (TSAD). Existing VAE-based TSAD methods, either statistical or deep, tune meta-priors to estimate the likelihood probability for effectively capturing spatiotemporal dependencies in the data. However, these methods confront the challenge of inherent data scarcity, which is often the case in anomaly detection tasks. Such scarcity easily leads to latent holes, discontinuous regions in latent space, resulting in non-robust reconstructions on these discontinuous spaces. We propose a novel generative framework that combines VAEs with self-supervised learning (SSL) to address this issue.
