Skip to content
Open access

Anomaly Detection in Long-term Time Series with Transformer and Variational Autoencoder

Sep 2026 · CAAI Artificial Intelligence Research · 0 citations

TL;DR

Transformer with Variational AutoEncoder is presented, a framework that combines a dual-embedding representation pipeline, a Transformer encoder for long-range dependency modeling, and VAE-based latent regularization of encoded features to provide an effective and robust solution for long-term time-series anomaly detection.

Abstract

Anomaly detection is crucial for ensuring system reliability and providing early warnings of potential failures. However, long-term time-series anomaly detection remains challenging because anomalous events are rare, anomaly patterns are diverse, and temporal dependencies can extend across multiple scales. Traditional methods and existing deep learning models still struggle to jointly represent fine-grained temporal variation, long-range contextual information, and the distribution of normal patterns. This work presents Transformer with Variational AutoEncoder (TransVAE), a framework that combines a dual-embedding representation pipeline, a Transformer encoder for long-range dependency modeling, and VAE-based latent regularization of encoded features. Specifically, local position-aware embeddings and feature-wise global embeddings are integrated into a shared representation before attention modeling, and the VAE is applied to the Transformer-encoded representation to regularize the latent space of normal patterns. Evaluations on benchmark time-series datasets show that TransVAE outperforms several state-of-the-art baselines, achieving improvements in the area under the receiver operating characteristic by 6.7% and 13.6%, respectively. Ablation and sensitivity analyses further support the contributions of each component of the framework. These results demonstrate that TransVAE provides an effective and robust solution for long-term time-series anomaly detection.

Read PDF

Similar papers

Open access 2026

CHAIN: Long-Context History-Supervised Multivariate Time Series Anomaly Detection

Anomaly detection for multivariate time series is a critical task with broad applications in industrial monitoring, IT operations, and healthcare. Recent deep learning methods—including reconstruction-based, forecasting-based, and representation-learning approaches—have substantially improved detection accuracy by mode...

Eunji Jun, Junho Yim · 0 citations
#machine learning Preprint Sep 2026

SETTer: Sparse-Encoder Transformer for Long-term Multivariate Time Series Forecasting

Long-term multivariate time series plays a significant role in many application areas such as power systems, trading, etc. However, their accurate prediction is quite difficult for conventional forecasting methods as they often exhibit high dimensionality and complex relationships. Recent works show that transformer-ba...

Abraham Ezema, C. Eze, F. Ponci et al. · 0 citations
#machine learning Preprint Aug 2026

CAST: Context- and Anomaly Structure-Conditioned Time Series Anomaly Generation

Anomalous time series play a critical role in safety-critical domains, yet they are inherently scarce, heterogeneous, and costly to obtain. Existing time series generation methods predominantly focus on synthesizing normal data, providing limited value when anomalous samples are needed. We identify two fundamental chal...

H. Zhang, Jie Peng, Song-Yuan Sui et al. · 0 citations
#artificial intelligence Preprint Sep 2026

Supervision Recovery for Time Series Anomaly Detection via Context-Anchored Pairing

Time series anomaly detection (TSAD) remains challenging not only because anomaly labels are scarce, but also because temporal anomalies are highly context-dependent. Existing methods often rely on unsupervised objectives or surrogate abnormal patterns, providing limited supervision for context-dependent normal--anomal...

Yi-Fei Gao, Tian Lan, Yi-Meng Lu et al. · 0 citations
Conference Open access Sep 2026

Multi-View Ensemble for Time Series Anomaly Detection via Coupling Flows

Time series anomaly detection faces a critical challenge that different anomaly types require different detection mechanisms, yet single methods are inherently limited by their design biases. We propose FlowFuse, a multi-view ensemble framework with coupling flow-based score fusion for time series anomaly detection. Fl...

Wanghui Qiu, Chen-Xi Liu, Shiyan Hu et al. · 0 citations
Open access Aug 2026

Meta-learning guided weakly supervised video anomaly detection with dual memory and temporal attention

Weakly supervised video anomaly detection (WSAD) aims to localise anomalous events in untrimmed videos using only video-level labels. Existing multiple instance learning (MIL) methods often suffer from poor generalisation to unseen anomaly types, unstable temporal attention, and limited adaptability when only a few lab...

Shradha Mahadev Naik, Suja Palaniswamy, Nicola Conci · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.