Causality-Aware Contrastive Learning for Robust Multivariate Time-Series Anomaly Detection

Abstract

Utilizing the complex inter-variable causal relationships within multivariate time-series provides a promising avenue toward more robust and reliable multivariate time-series anomaly detection (MTSAD) but remains an underexplored area of research. This paper proposes Causality-Aware contrastive learning for RObust multivariate Time-Series (CAROTS), a novel MTSAD pipeline that incorporates the notion of causality into contrastive learning. CAROTS employs two data augmentors to obtain causality-preserving and -disturbing samples that serve as a wide range of normal variations and synthetic anomalies, respectively. With causality-preserving and -disturbing samples as positives and negatives, CAROTS performs contrastive learning to train an encoder whose latent space separates normal and abnormal samples based on causality. Moreover, CAROTS introduces a similarity-filtered one-class contrastive loss that encourages the contrastive learning process to gradually incorporate more semantically diverse samples with common causal relationships. Extensive experiments on five real-world and two synthetic datasets validate that the integration of causal relationships endows CAROTS with improved MTSAD capabilities. The code is available at https://github.com/kimanki/CAROTS.

Cite

Text

Kim et al. "Causality-Aware Contrastive Learning for Robust Multivariate Time-Series Anomaly Detection." Proceedings of the 42nd International Conference on Machine Learning, 2025.

Markdown

[Kim et al. "Causality-Aware Contrastive Learning for Robust Multivariate Time-Series Anomaly Detection." Proceedings of the 42nd International Conference on Machine Learning, 2025.](https://mlanthology.org/icml/2025/kim2025icml-causalityaware/)

BibTeX

@inproceedings{kim2025icml-causalityaware,
  title     = {{Causality-Aware Contrastive Learning for Robust Multivariate Time-Series Anomaly Detection}},
  author    = {Kim, Hyungi and Mok, Jisoo and Lee, Dongjun and Lew, Jaihyun and Kim, Sungjae and Yoon, Sungroh},
  booktitle = {Proceedings of the 42nd International Conference on Machine Learning},
  year      = {2025},
  pages     = {30591-30608},
  volume    = {267},
  url       = {https://mlanthology.org/icml/2025/kim2025icml-causalityaware/}
}