When Foundation Models are One-Liners: Limitations and Future Directions for Time Series Anomaly Detection

Xiaokun Zhu, Louis Carpentier, Mathias VerbekeICLR 2026

TL;DR

Despite the hype surrounding Time Series Foundation Models (TSFMs), recent research reveals a sobering reality: current zero-shot methods for anomaly detection perform no better than "one-liner" baselines like moving-window variance. The core assumption—that anomalies are inherently harder for these massive models to forecast or reconstruct—does not hold up in practice. However, by understanding these limitations, we can chart a roadmap of alternative strategies to finally unlock their potential.

The Promise and the Reality of TSFMs

In the wake of Large Language Models (LLMs), researchers have rushed to build "Foundation Models" for time series. These models are pre-trained on massive datasets to perform tasks like forecasting or reconstruction, with the hope that they will emerge as superior zero-shot anomaly detectors.

The standard approach is intuitive: if a model cannot accurately forecast the next point or reconstruct a segment, that point or segment is labeled an anomaly. However, a critical gap exists in the literature: no one had rigorously checked if these complex, billion-parameter models actually outperform trivial, one-line statistical baselines. This paper investigates whether the field is over-engineering a solution that a simple variance calculation could solve.

Rigorous Evaluation: Models vs. Baselines

The authors critically evaluate five prominent TSFM families: MOMENT (reconstruction-based), alongside Chronos, TimesFM, Time-MoE, and TSPulse (forecasting-based).

To establish a ground floor for performance, they compare these models against two "one-liner" baselines:

  1. Moving-window variance: For reconstruction models.
  2. Squared-difference (Last-3/Centered-5): For forecasting models, which essentially uses the mean of recent observations as a naive forecast.

The study tests multiple model sizes and varying context window lengths (64, 256, and 512) using the TSB-AD-U benchmark. This curated collection contains 350 univariate time series from 23 diverse domains (e.g., Exathlon, UCR, Yahoo, SMAP/MSL). Performance is measured using VUS-PR (Volume Under the Surface for Precision-Recall), a robust metric for detection accuracy.

Key Insights: Why Do TSFMs Stumble?

The investigation uncovered several structural reasons why TSFMs fail to separate themselves from simple baselines:

  • The Z-Normalization Trap: Reconstruction models like MOMENT use window-wise z-normalization. Because the model struggles to reconstruct any normalized signal perfectly (Mean Squared Error stays near 1.1 for both normal and anomalous data), the final anomaly score mathematically simplifies to being almost entirely dependent on the window's original variance. Essentially, MOMENT acts as a highly computationally expensive variance calculator.
Scatter plot and histogram showing near-perfect correlation between MOMENT and simple variance, and overlapping MSE distributions.
  • The "Context Overlap" Problem: Forecasting models are adept at finding "point" anomalies (sudden spikes) but fail at "sequence" anomalies (cycles that look normal but are slightly off). As the context window slides into an anomaly, the model "sees" the anomalous data and quickly adapts its forecast to it, making the anomaly no longer "unexpected."
  • Scaling Doesn't Help: Surprisingly, increasing model size or context window length did not lead to consistent improvements. A larger model might reconstruct a signal better, but it reconstructs both normal and anomalous signals better. The "error gap" used to find anomalies doesn't actually widen.

Key Results: The "One-Liner" Equivalence

The empirical results are striking. The anomaly scores of TSFMs and the simple baselines showed a correlation of >0.90 across the board. For instance, MOMENT-base-512 achieved a 0.991 correlation with simple moving-window variance.

Time series plots comparing anomaly scores of TSFMs against simple baselines, showing nearly identical outputs.

Statistical analysis via Wilcoxon signed-rank tests confirmed that TSFMs do not outperform the one-liner baselines by any meaningful margin. Forecasting-based TSFMs (like TimesFM) performed almost identically to a "Last-3" baseline. Visually, the anomaly score curves generated by massive foundation models are virtually indistinguishable from those generated by basic statistical functions.

Future Directions

While current zero-shot error-based methods are insufficient, TSFMs are not without value. The authors suggest three promising paths forward to properly leverage foundation models for anomaly detection:

  1. Multi-Horizon Ensembles: Instead of just predicting the next point, models should predict 64 or 128 points ahead. Long-horizon forecasts don't "adapt" to the anomaly as quickly, making sequence anomalies easier to spot.
  2. Hidden Representations: Instead of looking at the output error, researchers should use the model's internal "embeddings." The authors demonstrated that a simple k-Nearest Neighbor (k-NN) search on MOMENT’s hidden states significantly outperformed the standard error-based approach.
  3. End-to-End Fine-Tuning: Pre-training objectives (forecasting/reconstruction) are fundamentally misaligned with anomaly detection. Fine-tuning the models specifically to recognize anomalies using labeled data is likely necessary to unlock their true "foundation" capabilities.

Summary updated

BibTeX
@inproceedings{zhu2026when,
  author = {Xiaokun Zhu and Louis Carpentier and Mathias Verbeke},
  title = {{When Foundation Models are One-Liners: Limitations and Future Directions for Time Series Anomaly Detection}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=H27kvyG4qf},
}
Figure