OneShot: Label-Efficient Detector Weighting for Time Series Anomaly Detection

Seunghan Lee, Jun Seo, Jaehoon Lee, Junhyeok Kang, Sangjun Han +7 more
10/12/2026
cs.AIcs.LG

Official code: seunghan96/one_shot (0 stars, Python, MIT, last commit 2026-09-17).

Abstract

Time series (TS) anomaly detection (AD) lacks a universal detector, with the best choice determined by the series rather than by the algorithm. Existing methods therefore either select one detector for each series or average a pool of them.

Show full abstract

However, both assume that no label ever arrives, while a deployed monitor does receive them, since an operator confirms the alarms it raises. In this paper, we propose ONESHOT, which uses a single confirmed anomaly to weight the pool rather than to choose one detector from it. Specifically, we score each detector on the confirmed anomaly, and those scores become the weights of a soft mixture over the whole pool. We show that a single confirmed anomaly is enough to come close to the best detector for the series. Across 152 univariate and 73 multivariate series, ONESHOT outperforms the strongest single detector, averaging the whole pool, and even picking the best detector on the confirmed event. Code is available at: https://github.com/seunghan96/one_shot.

View on arXivView PDF

Code Implementations(1)

MIT

Code for a paper under double-blind review. One confirmed anomaly is enough to weight a pool of time series anomaly detectors.

00Python, ShellSep 17, 20262 months agoMIT

Similar Papers

Cite this paper

@article{lee2026oneshot,
  title  = {OneShot: Label-Efficient Detector Weighting for Time Series Anomaly Detection},
  author = {Seunghan Lee and Jun Seo and Jaehoon Lee and Junhyeok Kang and Sangjun Han and Sungdong Yoo and Minjae Kim and Tae Yoon Lim and Dongwan Kang and Hwanil Choi and Soonyoung Lee and Wonbin Ahn},
  year   = {2026},
  eprint = {2610.16219},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.16219v1}
}

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/2610.16219.svg)](https://codeofpaper.com/paper/2610.16219)

Discussion