Cargando…

TCF-Trans: Temporal Context Fusion Transformer for Anomaly Detection in Time Series

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 alg...

Descripción completa

Detalles Bibliográficos
Autores principales: Peng, Xinggan, Li, Hanhui, Lin, Yuxuan, Chen, Yongming, Fan, Peng, Lin, Zhiping
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2023
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10611135/
https://www.ncbi.nlm.nih.gov/pubmed/37896601
http://dx.doi.org/10.3390/s23208508
_version_ 1785128420645011456
author Peng, Xinggan
Li, Hanhui
Lin, Yuxuan
Chen, Yongming
Fan, Peng
Lin, Zhiping
author_facet Peng, Xinggan
Li, Hanhui
Lin, Yuxuan
Chen, Yongming
Fan, Peng
Lin, Zhiping
author_sort Peng, Xinggan
collection PubMed
description 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.
format Online
Article
Text
id pubmed-10611135
institution National Center for Biotechnology Information
language English
publishDate 2023
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-106111352023-10-28 TCF-Trans: Temporal Context Fusion Transformer for Anomaly Detection in Time Series Peng, Xinggan Li, Hanhui Lin, Yuxuan Chen, Yongming Fan, Peng Lin, Zhiping Sensors (Basel) Article 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. MDPI 2023-10-17 /pmc/articles/PMC10611135/ /pubmed/37896601 http://dx.doi.org/10.3390/s23208508 Text en © 2023 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Peng, Xinggan
Li, Hanhui
Lin, Yuxuan
Chen, Yongming
Fan, Peng
Lin, Zhiping
TCF-Trans: Temporal Context Fusion Transformer for Anomaly Detection in Time Series
title TCF-Trans: Temporal Context Fusion Transformer for Anomaly Detection in Time Series
title_full TCF-Trans: Temporal Context Fusion Transformer for Anomaly Detection in Time Series
title_fullStr TCF-Trans: Temporal Context Fusion Transformer for Anomaly Detection in Time Series
title_full_unstemmed TCF-Trans: Temporal Context Fusion Transformer for Anomaly Detection in Time Series
title_short TCF-Trans: Temporal Context Fusion Transformer for Anomaly Detection in Time Series
title_sort tcf-trans: temporal context fusion transformer for anomaly detection in time series
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10611135/
https://www.ncbi.nlm.nih.gov/pubmed/37896601
http://dx.doi.org/10.3390/s23208508
work_keys_str_mv AT pengxinggan tcftranstemporalcontextfusiontransformerforanomalydetectionintimeseries
AT lihanhui tcftranstemporalcontextfusiontransformerforanomalydetectionintimeseries
AT linyuxuan tcftranstemporalcontextfusiontransformerforanomalydetectionintimeseries
AT chenyongming tcftranstemporalcontextfusiontransformerforanomalydetectionintimeseries
AT fanpeng tcftranstemporalcontextfusiontransformerforanomalydetectionintimeseries
AT linzhiping tcftranstemporalcontextfusiontransformerforanomalydetectionintimeseries