[Paper Review] Deep Generative model with Hierarchical Latent Factors for Time Series Anomaly Detection
This paper proposes DGHL, a deep generative model for multivariate time-series anomaly detection that uses a hierarchical latent space and a top-down ConvNet to efficiently reconstruct time-series windows. Trained via alternating back-propagation and short-run MCMC, DGHL achieves state-of-the-art performance with up to 10x faster training than RNN-based models and superior robustness to missing data (up to 90% missing) and variable features, outperforming SOTA on four benchmark datasets.
Multivariate time series anomaly detection has become an active area of research in recent years, with Deep Learning models outperforming previous approaches on benchmark datasets. Among reconstruction-based models, most previous work has focused on Variational Autoencoders and Generative Adversarial Networks. This work presents DGHL, a new family of generative models for time series anomaly detection, trained by maximizing the observed likelihood by posterior sampling and alternating back-propagation. A top-down Convolution Network maps a novel hierarchical latent space to time series windows, exploiting temporal dynamics to encode information efficiently. Despite relying on posterior sampling, it is computationally more efficient than current approaches, with up to 10x shorter training times than RNN based models. Our method outperformed current state-of-the-art models on four popular benchmark datasets. Finally, DGHL is robust to variable features between entities and accurate even with large proportions of missing values, settings with increasing relevance with the advent of IoT. We demonstrate the superior robustness of DGHL with novel occlusion experiments in this literature. Our code is available at https://github.com/cchallu/dghl.
Motivation & Objective
- To address the limitations of existing reconstruction-based models in handling missing data and variable features common in IoT systems.
- To develop a computationally efficient generative model for multivariate time-series anomaly detection that avoids reliance on auxiliary networks like encoders or discriminators.
- To improve model robustness and performance under realistic data corruption scenarios, such as sensor failures or heterogeneous data sources.
- To provide a reproducible, open-source implementation for benchmarking and further research in time-series anomaly detection.
Proposed method
- Proposes a novel hierarchical latent space where latent vectors at each level l are tied across a_l consecutive sub-windows, enabling efficient encoding of temporal dynamics.
- Employs a top-down ConvNet as a generator to map hierarchical latent factors to time-series windows, leveraging spatial and temporal structure.
- Trains the model by maximizing the observed likelihood using alternating back-propagation, avoiding the need for separate inference networks.
- Uses short-run MCMC for posterior sampling of latent variables, enabling end-to-end training without auxiliary networks.
- Introduces a likelihood-based training objective that directly optimizes reconstruction quality and anomaly detection performance.
- Supports long-horizon reconstruction and forecasting by learning long-term temporal dependencies through hierarchical factorization.
Experimental results
Research questions
- RQ1Can a deep generative model with a hierarchical latent space achieve state-of-the-art performance in multivariate time-series anomaly detection while reducing training time?
- RQ2How does the model perform under realistic data conditions such as missing values and variable features, which are common in IoT systems?
- RQ3Can the proposed hierarchical latent representation improve reconstruction quality and anomaly detection accuracy compared to flat or non-hierarchical latent spaces?
- RQ4Does the model maintain high performance when trained without auxiliary networks like encoders or discriminators, relying only on likelihood maximization?
- RQ5How does the model generalize to out-of-distribution or extrapolated time-series windows, indicating the quality of learned representations?
Key findings
- DGHL outperforms current state-of-the-art models on four popular benchmark datasets, including SMD and NAB, with consistent improvements in AUC and F1 scores.
- The model achieves up to 10x faster training than RNN-based models, demonstrating significant computational efficiency despite using MCMC sampling.
- DGHL maintains state-of-the-art performance even with up to 90% of input values missing, showing superior robustness to data corruption.
- Ablation studies confirm that both the hierarchical latent space and alternating back-propagation contribute synergistically to performance gains.
- Qualitative analysis shows that latent representations exhibit continuity and extrapolation capabilities, with meaningful time-series generated via interpolation and extrapolation.
- The model can be effectively repurposed for forecasting tasks, demonstrating versatility across time-series learning objectives.
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.