Lune

NeurIPS2025Top-tier venue

Fortifying Time Series: DTW-Certified Robust Anomaly Detection

Shijie Liu, Tansu Alpcan, Christopher Leckie, Sarah M. Erfani

Abstract

Time-series anomaly detection is critical for ensuring safety in high-stakes applications, where robustness is a fundamental requirement rather than a mere performance metric. Addressing the vulnerability of these systems to adversarial manipulation is therefore essential. Existing defenses are largely heuristic or provide certified robustness only under ℓp\ell_p-norm constraints, which are incompatible with time-series data. In particular, ℓp\ell_p-norm fails to capture the intrinsic temporal structure in time series, causing small temporal distortions to significantly alter the ℓp\ell_p-norm measures. Instead, the similarity metric Dynamic Time Warping (DTW) is more suitable and widely adopted in the time-series domain, as DTW accounts for temporal alignment and remains robust to temporal variations. To date, however, there has been no certifiable robustness result in this metric that provides guarantees. In this work, we introduce the first DTW-certified robust defense in time-series anomaly detection by adapting the randomized smoothing paradigm. We develop this certificate by bridging the ℓp\ell_p-norm to DTW distance through a lower-bound transformation. Extensive experiments across various datasets and models validate the effectiveness and practicality of our theoretical approach. Results demonstrate significantly improved performance, e.g., up to 18.7% in F1-score under DTW-based adversarial attacks compared to traditional certified models.

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.

1 top-tier paper has 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

  • Certified Robustness to Adversarial Examples with Differential Privacy cites Towards Evaluating the Robustness of Neural Networks
  • Certified Robustness to Adversarial Examples with Differential Privacy cites Distillation as a Defense to Adversarial Perturbations Against Deep Neural Networks
  • Towards Evaluating the Robustness of Neural Networks cites Distillation as a Defense to Adversarial Perturbations Against Deep Neural Networks
  • TimesNet: Temporal 2D-Variation Modeling for General Time Series Analysis cites Timeseries Anomaly Detection using Temporal Hierarchical One-Class Network
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. The Power of Anomaly Detection in Predictive Maintenance: [Experiments & Analysis]Anastasios Papadopoulos, Apostolos Giannoulidis, Anastasios Gounaris, John PaparrizosSIGMOD 2026 · 4 citations

Builds on12

  1. Towards Evaluating the Robustness of Neural NetworksNicholas Carlini, David A. WagnerS&P 2017 · 9,786 citations
  2. Distillation as a Defense to Adversarial Perturbations Against Deep Neural NetworksNicolas Papernot, Patrick D. McDaniel, Xi Wu, Somesh Jha et al.S&P 2016 · 3,275 citations
  3. Certified Robustness to Adversarial Examples with Differential PrivacyMathias Lécuyer, Vaggelis Atlidakis, Roxana Geambasu, Daniel Hsu et al.S&P 2019 · 1,022 citations
  4. Timeseries Anomaly Detection using Temporal Hierarchical One-Class NetworkLifeng Shen, Zhuocong Li, James T. KwokNeurIPS 2020 · 454 citations
  5. TimesNet: Temporal 2D-Variation Modeling for General Time Series AnalysisHaixu Wu, Tengge Hu, Yong Liu, Hang Zhou et al.ICLR 2023 · 423 citations

Related papers

  1. Higher-Order Certification For Randomized SmoothingJeet Mohapatra, Ching-Yun Ko, Tsui-Wei Weng, Pin-Yu Chen et al.NeurIPS 2020 · 51 citations
  2. DRSM: De-Randomized Smoothing on Malware Classifier Providing Certified RobustnessShoumik Saha, Wenxiao Wang, Yigitcan Kaya, Soheil Feizi et al.ICLR 2024 · 6 citations
  3. CERT-ED: Certifiably Robust Text Classification for Edit DistanceZhuoqun Huang, Neil G. Marchant, Olga Ohrimenko, Benjamin I. P. RubinsteinEMNLP Findings 2024 · 2 citations
  4. Certified Defense to Image Transformations via Randomized SmoothingMarc Fischer, Maximilian Baader, Martin T. VechevNeurIPS 2020 · 78 citations
  5. TSFAdv: Frequency-Guided Black-Box Adversarial Attacks on Time Series ForecastingQizhuo Han, Xiangrui Cai, Sihan Xu, Ying Zhang et al.ICML 2026
Dusk over the sea between two cliffs drawn in fine vertical lines