LPCVAE: A Conditional VAE with Long-Term Dependency and Probabilistic Time-Frequency Fusion for Time Series Anomaly Detection
Hanchang Cheng, Weimin Mu, Fan Liu, Weilin Zhu, Can Ma
TL;DR
LPCVAE addresses key limitations in reconstruction-based TSAD by modeling long-term temporal dependencies with an LSTM-based LTDB and by fusing time- and frequency-domain representations via a CVAE-based Product of Experts. The approach leverages Time Embedding and FFT-derived features, with a CM-ELBO training objective and an anomaly-score metric grounded in reconstruction likelihood. Across four public datasets, LPCVAE achieves state-of-the-art F1 scores and demonstrates strong ablation-supported gains, while remaining memory-efficient and scalable. The work provides a practical, robust solution for real-world TSAD that effectively exploits both temporal history and frequency structure.
Abstract
Time series anomaly detection(TSAD) is a critical task in signal processing field, ensuring the reliability of complex systems. Reconstruction-based methods dominate in TSAD. Among these methods, VAE-based methods have achieved promising results. Existing VAE-based methods suffer from the limitation of single-window feature and insufficient leveraging of long-term time and frequency information. We propose a Conditional Variational AutoEncoder with Long-term dependency and Probabilistic time-frequency fusion, named LPCVAE. LPCVAE introduces LSTM to capture long-term dependencies beyond windows. It further incorporates a Product-of-Experts (PoE) mechanism for adaptive and distribution-level probabilistic fusion. This design effectively mitigates time-frequency information loss. Extensive experiments on four public datasets demonstrate it outperforms state-of-the-art methods. The results confirm that integrating long-term time and frequency representations with adaptive fusion yields a robust and efficient solution for TSAD.
