AI Chat Paper
Note: Please note that the following content is generated by AMiner AI. SciOpen does not take any responsibility related to this content.
{{lang === 'zh_CN' ? '文章概述' : 'Summary'}}
{{lang === 'en_US' ? '中' : 'Eng'}}
Chat more with AI
PDF (1.3 MB)
Collect
Submit Manuscript AI Chat Paper
Show Outline
Outline
Show full outline
Hide outline
Outline
Show full outline
Hide outline
Article | Open Access

Anomaly detection in long-term time series with Transformer and variational autoencoder

Xiankun Shi1, Yibo Li1, Ziqi Wang2, Junqi Zhang1, Jing Bi1,3( ), Nan Ma4, Junfei Qiao3,5
College of Computer Science, Beijing University of Technology, Beijing 100124, China
School of Software Technology, Zhejiang University, Ningbo 315100, China
Beijing Laboratory of Smart Environmental Protection, Beijing University of Technology, Beijing 100124, China
College of Artificial Intelligence, Beijing University of Technology, Beijing 100124, China
School of Information Science and Technology, Beijing University of Technology, Beijing 100124, China
Show Author Information

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.

References

【1】
【1】
 
 
CAAI Artificial Intelligence Research
Article number: 9150011

{{item.num}}

Comments on this article

Go to comment

< Back to all reports

Review Status: {{reviewData.commendedNum}} Commended , {{reviewData.revisionRequiredNum}} Revision Required , {{reviewData.notCommendedNum}} Not Commended Under Peer Review

Review Comment

Close
Close
Cite this article:
Shi X, Li Y, Wang Z, et al. Anomaly detection in long-term time series with Transformer and variational autoencoder. CAAI Artificial Intelligence Research, 2026, 5: 9150011. https://doi.org/10.26599/AIR.2026.9150011

262

Views

12

Downloads

0

Crossref

Received: 21 September 2025
Revised: 12 July 2026
Accepted: 21 August 2026
Published: 14 October 2026
© The author(s) 2026.

The articles published in this open access journal are distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/).