TCF-Trans: Temporal Context Fusion Transformer for Anomaly Detection in Time Series
Author:
Peng Xinggan1, Li Hanhui2, Lin Yuxuan1, Chen Yongming1, Fan Peng3, Lin Zhiping1ORCID
Affiliation:
1. School of Electrical and Electronic Engineering, Nanyang Technological University, Singapore 639798, Singapore 2. School of Intelligent Systems Engineering, Shenzhen Campus of Sun Yat-sen University, Shenzhen 518107, China 3. Chongqing Yuxin Road & Bridge Development Co., Ltd., Chongqing 400060, China
Abstract
Anomaly detection tasks involving time-series signal processing have been important research topics for decades. In many real-world anomaly detection applications, no specific distributions fit the data, and the characteristics of anomalies are different. Under these circumstances, the detection algorithm requires excellent learning ability of the data features. Transformers, which apply the self-attention mechanism, have shown outstanding performances in modelling long-range dependencies. Although Transformer based models have good prediction performance, they may be influenced by noise and ignore some unusual details, which are significant for anomaly detection. In this paper, a novel temporal context fusion framework: Temporal Context Fusion Transformer (TCF-Trans), is proposed for anomaly detection tasks with applications to time series. The original feature transmitting structure in the decoder of Informer is replaced with the proposed feature fusion decoder to fully utilise the features extracted from shallow and deep decoder layers. This strategy prevents the decoder from missing unusual anomaly details while maintaining robustness from noises inside the data. Besides, we propose the temporal context fusion module to adaptively fuse the generated auxiliary predictions. Extensive experiments on public and collected transportation datasets validate that the proposed framework is effective for anomaly detection in time series. Additionally, the ablation study and a series of parameter sensitivity experiments show that the proposed method maintains high performance under various experimental settings.
Subject
Electrical and Electronic Engineering,Biochemistry,Instrumentation,Atomic and Molecular Physics, and Optics,Analytical Chemistry
Reference47 articles.
1. Anomaly detection: A survey;Chandola;ACM Comput. Surv.,2009 2. Cherdo, Y., Miramond, B., Pegatoquet, A., and Vallauri, A. (2023). Unsupervised Anomaly Detection for Cars CAN Sensors Time Series Using Small Recurrent and Convolutional Neural Networks. Sensors, 23. 3. Xu, Z., Yang, Y., Gao, X., and Hu, M. (2023). DCFF-MTAD: A Multivariate Time-Series Anomaly Detection Model Based on Dual-Channel Feature Fusion. Sensors, 23. 4. Deep learning for anomaly detection: A review;Pang;ACM Comput. Surv.,2021 5. El Sayed, A., Ruiz, M., Harb, H., and Velasco, L. (2023). Deep Learning-Based Adaptive Compression and Anomaly Detection for Smart B5G Use Cases Operation. Sensors, 23.
|
|