Disjoint or Overlapping? Inference Windowing for Reconstruction-Based Time Series Anomaly Detection

Guillaume Coulaud, Reza Akbarinia, Florent Masseglia
6/2/2026
cs.LGstat.ML

No confident code implementation found for this paper.

Abstract

Reconstruction-based methods are widely used for time series anomaly detection, where models are trained to reconstruct subsequences, and anomalies are identified through reconstruction errors. However, reported results are often hard to compare due to heterogeneous evaluation practices and underspecified inference procedures.

Show full abstract

In this paper, we revisit reconstruction-based anomaly detection in the univariate offline setting and study the role of the inference stride, which controls whether subsequences are processed as disjoint windows or with overlap. We propose a unified training, tuning, and multi-seed evaluation protocol on the curated TSB-AD benchmark, and study how overlapping inference affects anomaly detection performance for a range of reconstruction models, including PCA-based baselines, DLinear, an AutoEncoder, TimesNet, and Transformer variants. The results show that across all models, overlapping windows yield consistent improvements, with average relative gain up to +28%, and can alter method rankings. We further analyze variability across datasets, random seeds, and hyperparameter configurations. Finally, we complement the benchmark study with an evaluation on the full UCR archive using localization criteria aligned with sliding-window reconstruction. Overall, our results highlight that reconstruction-based anomaly detection performance depends not only on model architecture and training, but also on inference choices, motivating a clear and reproducible protocol. Our results show that reconstructionbased baselines achieve strong performance on both TSB-AD and UCR benchmarks, supporting them as competitive and practical approaches for univariate time series anomaly detection.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{coulaud2026disjoint,
  title  = {Disjoint or Overlapping? Inference Windowing for Reconstruction-Based Time Series Anomaly Detection},
  author = {Guillaume Coulaud and Reza Akbarinia and Florent Masseglia},
  year   = {2026},
  eprint = {2606.09874},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.09874v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.09874.svg)](https://codeofpaper.com/paper/2606.09874)

Discussion