Contrast to Detect: Dynamic Graph Contrastive Regularization for Unsupervised Anomaly Detection in Multivariate Time Series
Not on the map. Why?
Abstract (arXiv)
Anomaly detection in multivariate time series (MTS) is hindered by dynamic inter-variable dependencies and feature entanglement under spectral noise, and in practice, is further complicated by the absence of anomaly labels. Existing reconstruction-based detectors tend to recover anomalies as faithfully as normal patterns, while prevailing graph contrastive methods enforce invariance across views and thus assume a stationary relational structure, an assumption that breaks under structural drift in real systems. We propose ContrastAD, an unsupervised framework that turns structural evolution itself into a learning signal rather than suppressing it. A Multi-Perspective Embedder encodes inputs from temporal, attribute, and structural perspectives. A Frequency-Aware Attention Mixer then performs spectral top-K filtering before attention, preventing noise from leaking into query-key similarities. The core component, a Dynamic Graph Contrastive Learner, builds power-law-inspired sparse graph snapshots from batch-level DTW distances and contrasts the most divergent pair against a stable anchor, regularizing the latent space without imposing rigid invariance. Across five real-world benchmarks, ContrastAD attains the highest mean F1 on all five datasets and the highest AUC on three (SWaT 93.60, SMD 98.66, PSM 97.79), with statistically significant F1 and AUC margins over the strongest baseline on SWaT and PSM. On MSL and SMAP, it trails the AUC leader by under 0.7 points while still leading on F1. Ablation and sensitivity studies further confirm that the contrastive objective works best as a soft regularizer, supporting our claim that strict invariance is suboptimal under non-stationary dynamics.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 26 of its 50 references that are in the map. First posted on arXiv 22 May 2026.
Builds on
26 of 50 references.
References · 26
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2017Graph Attention Networkscited by 8,923
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
- 2020Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecastingcited by 2,169
- 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,405
- 2020Graph Contrastive Learning with Augmentationscited by 1,208
- 2020Contrastive Learning with Hard Negative Samplescited by 628
- 2019A Theoretical Analysis of Contrastive Unsupervised Representation Learningcited by 530
- 2020Learning under Concept Drift: A Reviewcited by 477
- 2021TS2Vec: Towards Universal Representation of Time Seriescited by 471
- 2018Detecting Spacecraft Anomalies Using LSTMs and Nonparametric Dynamic Thresholdingcited by 410
14 more
- 2020Hard Negative Mixing for Contrastive Learningcited by 402
- 2021Anomaly Transformer: Time Series Anomaly Detection with Association Discrepancycited by 394
- 2021Adversarial Graph Augmentation to Improve Graph Contrastive Learningcited by 200
- 2021Anomaly Detection on Attributed Networks via Contrastive Self-Supervised Learningcited by 177
- 2020Multivariate Time-series Anomaly Detection via Graph Attention Networkcited by 167
- 2023Deep Industrial Image Anomaly Detection: A Surveycited by 148
- 2024CATCH: Channel-Aware multivariate Time Series Anomaly Detection via Frequency Patchingcited by 94
- 2020On Mutual Information in Contrastive Learning for Visual Representationscited by 54
- 2023TimesURL: Self-supervised Contrastive Learning for Universal Time Series Representation Learningcited by 52
- 2021MemStream: Memory-Based Streaming Anomaly Detectioncited by 12
- 2021Time Series Anomaly Detection for Smart Grids: A Surveycited by 12
- 2024Multivariate Time-Series Anomaly Detection based on Enhancing Graph Attention Networks with Topological Analysiscited by 11
- 2024Dynamic Graph Representation with Contrastive Learning for Financial Market Prediction: Integrating Temporal Evolution and Static Relationscited by 3
- 2025TriShGAN: Enhancing Sparsity and Robustness in Multivariate Time Series Counterfactuals Explanationcited by 1
Built on by
Not cited yet.