Lune

KDD2023Top-tier venue

DCdetector: Dual Attention Contrastive Representation Learning for Time Series Anomaly Detection

Yiyuan Yang, Chaoli Zhang, Tian Zhou, Qingsong Wen, Liang Sun

Abstract

Time series anomaly detection is critical for a wide range of applications. It aims to identify deviant samples from the normal sample distribution in time series. The most fundamental challenge for this task is to learn a representation map that enables effective discrimination of anomalies. Reconstruction-based methods still dominate, but the representation learning with anomalies might hurt the performance with its large abnormal loss. On the other hand, contrastive learning aims to find a representation that can clearly distinguish any instance from the others, which can bring a more natural and promising representation for time series anomaly detection. In this paper, we propose DCdetector, a multi-scale dual attention contrastive representation learning model. DCdetector utilizes a novel dual attention asymmetric design to create the permutated environment and pure contrastive loss to guide the learning process, thus learning a permutation invariant representation with superior discrimination abilities. Extensive experiments show that DCdetector achieves state-of-the-art results on multiple time series anomaly detection benchmark datasets. Code is publicly available at this URL 1 .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

54 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • HDMixer: Hierarchical Dependency with Extendable Patch for Multivariate Time Series Forecasting cites Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting
  • Unsupervised Learning of Visual Features by Contrasting Cluster Assignments cites A Simple Framework for Contrastive Learning of Visual Representations
  • DUET: Dual Clustering Enhanced Multivariate Time Series Forecasting cites HDMixer: Hierarchical Dependency with Extendable Patch for Multivariate Time Series Forecasting
  • DUET: Dual Clustering Enhanced Multivariate Time Series Forecasting cites Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting
  • TAB: Unified Benchmarking of Time Series Anomaly Detection Methods cites HDMixer: Hierarchical Dependency with Extendable Patch for Multivariate Time Series Forecasting
  • TAB: Unified Benchmarking of Time Series Anomaly Detection Methods cites DUET: Dual Clustering Enhanced Multivariate Time Series Forecasting
  • Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning cites A Simple Framework for Contrastive Learning of Visual Representations
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers54

  1. HDMixer: Hierarchical Dependency with Extendable Patch for Multivariate Time Series ForecastingQihe Huang, Lei Shen, Ruixin Zhang, Jiahuan Cheng et al.AAAI 2024 · 91 citations
  2. TAB: Unified Benchmarking of Time Series Anomaly Detection MethodsXiangfei Qiu, Zhe Li, Wanghui Qiu, Shiyan Hu et al.VLDB 2025 · 57 citations
  3. Generative Semi-supervised Graph Anomaly DetectionHezhe Qiao, Qingsong Wen, Xiaoli Li, Ee-Peng Lim et al.NeurIPS 2024 · 48 citations
  4. Temporal-Frequency Masked Autoencoders for Time Series Anomaly DetectionYuchen Fang, Jiandong Xie, Yan Zhao, Lu Chen et al.ICDE 2024 · 45 citations
  5. DUET: Dual Clustering Enhanced Multivariate Time Series ForecastingXiangfei Qiu, Xingjian Wu, Yan Lin, Chenjuan Guo et al.KDD 2025 · 37 citations

Builds on17

  1. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
  2. Bootstrap Your Own Latent - A New Approach to Self-Supervised LearningJean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec et al.NeurIPS 2020 · 9,171 citations
  3. Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series ForecastingHaixu Wu, Jiehui Xu, Jianmin Wang, Mingsheng LongNeurIPS 2021 · 5,824 citations
  4. Unsupervised Learning of Visual Features by Contrasting Cluster AssignmentsMathilde Caron, Ishan Misra, Julien Mairal, Priya Goyal et al.NeurIPS 2020 · 5,249 citations
  5. Graph Neural Network-Based Anomaly Detection in Multivariate Time SeriesAilin Deng, Bryan HooiAAAI 2021 · 1,306 citations

Related papers

  1. PaAno: Patch-Based Representation Learning for Time-Series Anomaly DetectionJinju Park, Seokho KangICLR 2026 · 6 citations
  2. Unraveling the 'Anomaly' in Time Series Anomaly Detection: A Self-supervised Tri-domain SolutionYuting Sun, Guansong Pang, Guanhua Ye, Tong Chen et al.ICDE 2024 · 18 citations
  3. TS2Vec: Towards Universal Representation of Time SeriesZhihan Yue, Yujing Wang, Juanyong Duan, Tianmeng Yang et al.AAAI 2022 · 938 citations
  4. TSINR: Capturing Temporal Continuity via Implicit Neural Representations for Time Series Anomaly DetectionMengxuan Li, Ke Liu, Hongyang Chen, Jiajun Bu et al.KDD 2025 · 10 citations
  5. Causality-Aware Contrastive Learning for Robust Multivariate Time-Series Anomaly DetectionHyunGi Kim, Jisoo Mok, Dongjun Lee, Jaihyun Lew et al.ICML 2025
Dusk over the sea between two cliffs drawn in fine vertical lines