arXiv:2504.14204cs.LGcs.AI2025-04被引 9

通过差分对比学习,提升时间序列异常检测的鲁棒性。

DConAD: A Differencing-based Contrastive Representation Learning Framework for Time Series Anomaly Detection

  • 用差分数据增强信息,结合Transformer捕捉时空依赖。
  • 仅用正样本进行对比学习,避免重建偏差,提升模型稳定性。
  • 在5个公开数据集上优于9种基线方法,适合工业异常检测场景。

时间序列异常检测在风险识别和故障诊断中具有重要意义。无监督学习因无需标签而广受欢迎,但受限于异常模式多样、异常稀疏及数据规模与复杂度增长,现有方法难以有效捕捉时间序列中的鲁棒表征。为此,我们提出一种基于差分的对比表示学习框架DConAD,用于时间序列异常检测。DConAD通过生成差分数据提供额外信息,并采用Transformer架构捕捉时空依赖,增强无偏表征学习能力。此外,提出一种仅使用正样本的基于KL散度的对比学习范式,避免重建偏差,并引入停止梯度策略以促进收敛。在五个公开数据集上的大量实验表明,DConAD在性能上显著优于九种基线方法。代码已开源:https://github.com/shaieesss/DConAD。

原文摘要 · Abstract (English)

Time series anomaly detection holds notable importance for risk identification and fault detection across diverse application domains. Unsupervised learning methods have become popular because they have no requirement for labels. However, due to the challenges posed by the multiplicity of abnormal patterns, the sparsity of anomalies, and the growth of data scale and complexity, these methods often fail to capture robust and representative dependencies within the time series for identifying anomalies. To enhance the ability of models to capture normal patterns of time series and avoid the retrogression of modeling ability triggered by the dependencies on high-quality prior knowledge, we propose a differencing-based contrastive representation learning framework for time series anomaly detection (DConAD). Specifically, DConAD generates differential data to provide additional information about time series and utilizes transformer-based architecture to capture spatiotemporal dependencies, which enhances the robustness of unbiased representation learning ability. Furthermore, DConAD implements a novel KL divergence-based contrastive learning paradigm that only uses positive samples to avoid deviation from reconstruction and deploys the stop-gradient strategy to compel convergence. Extensive experiments on five public datasets show the superiority and effectiveness of DConAD compared with nine baselines. The code is available at https://github.com/shaieesss/DConAD.

时间序列异常检测对比学习

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。