Contrast to Detect: Dynamic Graph Contrastive Regularization for Unsupervised Anomaly Detection in Multivariate Time Series

📅 2026-05-22
📈 Citations: 0
Influential: 0
📄 PDF

career value

194K/year
🤖 AI Summary
This work addresses the challenges of anomaly detection in unlabeled multivariate time series arising from dynamic dependencies, spectral noise, and structural drift. To this end, the authors propose ContrastAD, a novel framework that leverages multi-view embeddings, a frequency-domain Top-K attention mechanism, and dynamic graph construction based on Dynamic Time Warping (DTW). Crucially, ContrastAD treats structural evolution itself as a contrastive learning signal, eliminating the need to assume stationary relationships. By integrating power-law sparse graph snapshots with a most-divergent view contrastive strategy, the method avoids imposing rigid invariance constraints and effectively adapts to non-stationary systems. Extensive experiments demonstrate state-of-the-art performance, achieving the highest average F1 score across five real-world datasets and AUC scores of 93.60, 98.66, and 97.79 on SWaT, SMD, and PSM, respectively—significantly outperforming current best baselines.
📝 Abstract
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.
Problem

Research questions and friction points this paper is trying to address.

anomaly detection
multivariate time series
unsupervised learning
dynamic graph
non-stationary dynamics
Innovation

Methods, ideas, or system contributions that make the work stand out.

Dynamic Graph Contrastive Learning
Unsupervised Anomaly Detection
Multivariate Time Series
Frequency-Aware Attention
Structural Drift
🔎 Similar Papers