GCFormer: Granger Causality based Attention Mechanism for Multivariate Time Series Anomaly Detection

  • Shiwang Xing
  • , Jianwei Niu
  • , Tao Ren*
  • *Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Multivariate time series anomaly detection, crucial for ensuring the safety of real-world systems, primarily focuses on extracting characteristics from time series under normal condition, and identifying potential anomalies throughout the evaluation process. Recent studies have achieved fruitful progress through mining the spatio-temporal relationships from multivariate time series, however, these approaches mostly neglect the latency among series which could lead to higher false alarm. Granger causality presents a promising solution to extract these inherent time-lagged relationships. Nonetheless, the intricate and dynamic relationships among numerous time series in real-world systems surpass the ability of linear Granger causality. To address this, we extend the linear Granger causality and propose the Granger Causal Former (GCFormer), a novel approach that leverages attention mechanisms to learn the inherent causal spatio-temporal relationships between historical and current timestamps across multiple time series. Specifically, GCFormer develops a Spatio-Mask (SM) to select the top-k most relevant series and a Temporal-Mask (TM) to concentrate attention on more recent historical timestamps. Moreover, to mitigate overfitting and ensure a smooth training process, GCFormer introduces an adjust top-k method and a TM penalty term. We evaluated GCFormer on four real-world benchmark datasets, demonstrating its superior performance over state-of-the-art approaches. Further analysis and a case study highlight the model's novelty and interpretability.

Original languageEnglish
Title of host publicationProceedings - 23rd IEEE International Conference on Data Mining, ICDM 2023
EditorsGuihai Chen, Latifur Khan, Xiaofeng Gao, Meikang Qiu, Witold Pedrycz, Xindong Wu
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages1433-1438
Number of pages6
ISBN (Electronic)9798350307887
DOIs
StatePublished - 2023
Event23rd IEEE International Conference on Data Mining, ICDM 2023 - Shanghai, China
Duration: 1 Dec 20234 Dec 2023

Publication series

NameProceedings - IEEE International Conference on Data Mining, ICDM
ISSN (Print)1550-4786

Conference

Conference23rd IEEE International Conference on Data Mining, ICDM 2023
Country/TerritoryChina
CityShanghai
Period1/12/234/12/23

Keywords

  • Granger causality
  • anomaly detection
  • attention mechanism
  • multivariate time series

Fingerprint

Dive into the research topics of 'GCFormer: Granger Causality based Attention Mechanism for Multivariate Time Series Anomaly Detection'. Together they form a unique fingerprint.

Cite this