ContrastAD:动态图对比正则化实现无监督多变量时序异常检测

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

精选理由

做时序异常检测的团队终于有了一个能应对真实系统结构漂移的无监督方案——ContrastAD 用动态图对比代替硬性不变性,在五个数据集上 F1 全部领先,做运维监控或工业异常检测的值得关注。

AI 摘要

多变量时间序列异常检测面临变量间动态依赖、频谱噪声特征纠缠以及缺乏标签等挑战。现有方法要么过度恢复异常,要么假设关系结构静止不变,在真实系统结构漂移时失效。ContrastAD 提出将结构演化本身作为学习信号,通过多视角编码器、频率感知注意力混合器和动态图对比学习器,构建基于幂律分布的稀疏图快照,对比最发散对与稳定锚点,实现软正则化。在五个基准数据集上,ContrastAD 均取得最高平均 F1 分数,并在 SWaT、SMD 和 PSM 上取得最高 AUC,验证了非平稳动态下严格不变性并非最优。

原文 · arXiv cs.LG

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

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.

ContrastAD:动态图对比正则化实现无监督多变量时序异常检测 · AI 热点