Computer Engineering & Science ›› 2026, Vol. 48 ›› Issue (5): 914-924.doi: 10.3969/j.issn.1007-130X.2026.05.015
• Artificial Intelligence and Data Mining • Previous Articles Next Articles
XUE Anrong,CHEN Jie
Received:
Revised:
Online:
Published:
Abstract: Time series anomaly detection can identify anomalies in monitoring systems, allowing for timely measures to reduce failures and ensure system security. However, existing time series anomaly detection models struggle to effectively handle the nonlinear associations between time series data. To address this issue, a dual-branch learning model based on variational Transformer and Gaussian kernel is proposed, which constructs sequence associations and local associations separately. The difference metric between reconstruction errors and the two associations is used as the anomaly score, and the k-means algorithm is employed to automatically determine the anomaly threshold. Additionally, the position encoding in the Transformer is calibrated to reduce reconstruction errors. Comparative experimental results against nine baseline models on five public datasets indicate on various datasets, which the proposed model outperforms baseline models in most cases and is the only model that achieves an F1 -score exceeding 90% across all five datasets, with an average F1 -score on various datasets, which is 2.27 percentage points higher than that of the best baseline model. This indicates that the proposed model has significant advantages in correctness and can effectively improve the reliability and precision of time series anomaly detection.
Key words: anomaly detection, multi-dimensional time series analysis, Transformer model, Gaussian kernel function, variational auto-encoder
XUE Anrong, CHEN Jie. Time series anomaly detection based on variational Transformer[J]. Computer Engineering & Science, 2026, 48(5): 914-924.
0 / / Recommend
Add to citation manager EndNote|Ris|BibTeX
URL: http://joces.nudt.edu.cn/EN/10.3969/j.issn.1007-130X.2026.05.015
http://joces.nudt.edu.cn/EN/Y2026/V48/I5/914