Toward a Scalable and Adaptive Evaluation Measure for Time Series Anomaly Detection

Emmanouil Sylligardos, Mingyi Huang, John Paparrizos, Pierre Senellart, Paul BoniolarXiv 2026

TL;DR

Evaluating time series anomaly detection has long been a trade-off between "fast but blunt" point-based metrics and "accurate but painfully slow" range-based measures like Volume Under the Surface (VUS). This paper introduces FastVUS, which makes that gold-standard metric up to 304x faster, and AutoVUS, an adaptive version that stops "participation trophy" scoring by tailoring temporal tolerance to each specific anomaly.

What Problem Does This Paper Address?

In the world of time series, anomalies aren't just single points; they are often ranges (like a sensor failing for ten minutes). Standard metrics like Precision and Recall are "point-wise"—if your detector fires a few seconds late, it’s marked as a total miss.

To fix this, researchers previously proposed VUS, which adds a "buffer" around anomalies to give partial credit for near-misses. It integrates performance across all possible thresholds and buffer lengths. It’s a great idea, but it has two major headaches:

  1. It’s slow: Evaluating a standard benchmark of 32 detectors on 870 time series takes over 7 hours. That’s a non-starter for modern deep-learning pipelines.
  2. It’s too generous: VUS applies the same buffer length to every anomaly. This leads to "score inflation," where mediocre detectors look great just because they happened to fire somewhere inside a massive, fixed buffer.

Methods

The authors attack these problems with two new tools:

1. FastVUS (The Speed Demon)

Instead of the original $O(N_\theta N_b n)$ complexity (which is a fancy way of saying "it loops way too much"), FastVUS redesigns the math from scratch:

  • Vectorized Injection: It computes all buffer lengths in a single pass rather than one by one.
  • Matrix Magic: It recasts the entire confusion matrix calculation as a single, reduced matrix multiplication. This allows it to leverage highly optimized linear algebra libraries.
  • Global Masking: Since anomalies are rare, FastVUS ignores the "boring" normal parts of the data during the heavy lifting.
  • GPU Acceleration: FastVUS-GPU moves these operations to batched tensor operations, making it fast enough to use during model training.

2. AutoVUS (The Smart Grader)

AutoVUS moves away from fixed buffers. It asks: "How much better is this detection than a random guess for this specific anomaly?" It selects a buffer length for each anomaly that maximizes the gain over a random baseline. This "chance-correction" ensures that a detector only gets a high score if it actually localizes the event well.

The two main contributions: (a) massive runtime speedups and (b) AutoVUS's ability to adapt buffers to specific anomalies to avoid false positives (FP).

Datasets

The authors evaluated their work using:

  • TSB-AD: A massive benchmark containing 870 univariate time series and 32 different detectors.
  • TSB-UAD: Used specifically for testing the integration of FastVUS into deep learning model-selection pipelines.
  • Synthetic Data: Used to stress-test scalability, including series with up to 2 billion data points.

Key Insights and Ideas

  • VUS is a Matrix Problem: The "aha!" moment is realizing that calculating range-based rewards across multiple thresholds is essentially a large-scale linear algebra problem. Once you see it as a matrix multiplication, you can make it fly.
  • The "Participation Trophy" Effect: Fixed buffers in VUS act like a curve that's too easy—everyone gets an A. By normalizing against a random baseline (AutoVUS), the researchers found they could finally tell the difference between a "lucky" mediocre detector and a truly precise one.
  • Evaluation is the Bottleneck: In deep learning, we often spend more time evaluating the model than training it. FastVUS-GPU reduces evaluation overhead from 282% of training time down to just 2%.

Key Results

  • Speed: FastVUS is 76x faster on a CPU and 304x faster on a GPU compared to the original implementation.
  • Scalability: While the original VUS fails on series longer than 100 million points, FastVUS-GPU can process 2 billion points in under two seconds.
  • Discrimination: In case studies, AutoVUS successfully widened the gap between top-tier detectors (like Chronos) and mediocre ones (like Sub_KNN), which standard VUS had ranked closely together.
Fig. 2: (a) Label before (top) and after (bottom) adding 20 buffers (buffer height Z), (b) existence values over all buffer × threshold pairs, and (c) resulting Precision-Recall surface across 20 buffers (shown as lines for clarity).

Limitations and Future Work

  • Approximation: The GPU version introduces a tiny approximation error (max $5 \times 10^{-3}$) due to how it handles adjacent buffered segments. While negligible for most research, it's not "mathematically exact" like the CPU version.
  • Symmetric Buffers: Currently, AutoVUS picks one buffer length and applies it to both the start and end of an anomaly. The authors suggest that future versions could adapt the "start" and "end" buffers independently to better catch detectors that are consistently early or late.
  • Univariate Focus: The current work focuses on univariate series; extending these efficient matrix operations to high-dimensional multivariate data is a logical next step.

Summary updated

Abstract

Time Series Anomaly Detection (TSAD) is a fundamental task for time series analytics. Unlike other domains, where anomaly detection mainly focuses on point-based anomalies, TSAD must also handle range-based anomalies. Nevertheless, TSAD methods are commonly evaluated with measures inherited from classification, such as Precision and Recall, which require a threshold, or with threshold-independent ones, such as AUC, which ignore the temporal aspect of anomalies. To address these issues, the Volume Under the Surface (VUS) measure scores detectors across all thresholds and a range of buffer lengths and has been widely adopted. However, VUS has two limitations. First, VUS is computationally expensive, requiring 7 hours and 38 minutes to evaluate 32 detectors on the 870 TSB-AD time series. Second, VUS applies the same buffer lengths to every anomaly and detector, which can yield over-optimistic scores that hinder discrimination between accurate and mediocre detectors. We first introduce FastVUS, which computes VUS exactly and on average 76x faster by (i) computing all buffers in parallel, (ii) pruning irrelevant buffers for the existence reward, (iii) casting the confusion matrix as a single reduced matrix multiplication, (iv) computing VUS for every buffer length in one pass, and (v) discarding non-anomalous regions with a global mask. We also develop FastVUS-GPU, which recasts every step as batched tensor operations and reaches an average 304x speedup with a maximum error of $5\times10^{-3}$. Building on FastVUS, we introduce AutoVUS, an adaptive extension that compares each detection against a random baseline and selects the buffer length that maximizes the gain over it. Our case studies show that AutoVUS reduces over-optimistic scores and better separates accurate from mediocre detectors. We release FastVUS and AutoVUS as open source to promote time-aware evaluation at scale.
BibTeX
@misc{sylligardos2026toward,
  author = {Emmanouil Sylligardos and Mingyi Huang and John Paparrizos and Pierre Senellart and Paul Boniol},
  title = {{Toward a Scalable and Adaptive Evaluation Measure for Time Series Anomaly Detection}},
  year = {2026},
  eprint = {2611.30385},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.30385},
}
Figure