Pre-trained Forecasting Models: Strong Zero-Shot Feature Extractors for Time Series Classification

Andreas Auer, Daniel Klotz, Sebastian Böck, Sepp Hochreiter

TL;DR

Can foundation models trained purely on time-series forecasting generalize to other tasks? This paper shows that frozen, pre-trained forecasting models serve as surprisingly powerful zero-shot feature extractors for time-series classification, matching or even outperforming models trained specifically for classification—even without ever seeing the classification datasets during pre-training.

What Problem Does This Paper Address?

In computer vision and NLP, large foundation models routinely transfer across diverse downstream tasks. In time-series research, however, recent progress has heavily skewed toward forecasting-specific architectures. Many researchers believed that downstream performance requires strictly task-aligned pre-training objectives (e.g., contrastive learning for classification or masked reconstruction for imputation).

This work challenges that assumption by asking: How well do representations learned by pre-trained forecasting models transfer to time-series classification without fine-tuning?

Methods

The authors adopt a strict zero-shot feature extraction protocol: the pre-trained forecasting models remain entirely frozen, and simple out-of-the-box classifiers (Random Forest, a linear layer, and 1-NN) are trained on the extracted latent representations.

Key components of their approach include:

  • Feature Extraction & Aggregation: For sequence aggregation, they mean-pool activations across time. For layer aggregation, they concatenate representations across all transformer/block layers. For multivariate data, each channel is processed independently through univariate models and their embeddings are concatenated.
  • Two Model-Agnostic Embedding Augmentations:
  • Absolute Sample Statistics: Forecasting models typically rely on instance normalization, which removes critical amplitude and baseline scale information. To restore this discriminative signal, the authors split each series into $k$ non-overlapping patches ($k=8$) and append local summary statistics (mean, std, min, max) to the model embeddings.
  • Time Series Differencing: Strong trends can mask subtle temporal variations. The authors apply first-order differencing ($x'_t = x_t - x_{t-1}$), pass the differenced series through the frozen model, and concatenate this new embedding with the original representation.
Raw Series    ──> [ Frozen Model ] ──> Sequence Pooling ──┐
Differenced   ──> [ Frozen Model ] ──> Sequence Pooling ──┼─> Concat ──> Classifier
Patch Stats   ────────────────────────────────────────────┘

Datasets

  • Evaluation Archives: The comprehensive UCR archive (127 univariate datasets) and UEA archive (30 multivariate datasets). Five datasets with sequence lengths $>2048$ and two problematic datasets (InsectWingbeat and PLAID) were excluded, leaving 150 benchmark datasets.
  • Evaluated Forecasting Models: TiRex (xLSTM-based), Chronos and Chronos Bolt, TimesFM (v1.0 & v2.0), Moirai 1.1 (small, base, large), and ToTo.
  • Baselines & Comparisons: Compared against general pre-trained models (Moment), classification-specialized pre-trained foundation models (Mantis, NuTime), and Dynamic Time Warping (DTW). Forecasting ability was correlated against GiftEval benchmark CRPS scores.

Key Insights and Ideas

  • Forecasting Pre-training Generates General Representations: Despite having zero exposure to the classification benchmark training splits (unlike Mantis and NuTime, which used them during pre-training), leading forecasting models achieved equal or superior classification accuracy.
  • Forecasting and Classification Abilities Correlate: Better zero-shot forecasting capability (lower CRPS on GiftEval) correlates with higher classification accuracy.
  • Architecture Paradigm Matters Less Than Representation Quality: Strong performance spans autoregressive decoders, masked encoders, and encoder-decoder setups. TiRex—an xLSTM-based recurrent model rather than a Transformer—achieved the highest overall accuracy, likely benefiting from strong state-tracking capabilities.
  • Instance Normalization Has a Blind Spot: Qualitative PCA visualization shows that forecasting models map baseline-shifted identical sine waves into indistinguishable clusters. Adding patch statistics restores this lost scale information, creating clean linear separations based on signal offsets.

Key Results

  • Overall Accuracy (Random Forest):
  • TiRex achieved 0.80 overall accuracy (0.81 univariate, 0.74 multivariate) with augmentations, and 0.79 without.
  • Chronos Bolt (Base), Moirai (Large), and TimesFM 2.0 all reached 0.78 overall accuracy with augmentations.
  • In comparison, Mantis (specialized classification foundation model) scored 0.78, DTW scored 0.73, NuTime scored 0.67, and Moment (Large) scored 0.62.
  • Classifier Sensitivity: While Random Forest and linear classifiers strongly separated representations across classes, the 1-NN classifier favored Mantis, suggesting that non-linear classifiers are better suited to untangle the discriminative features within forecasting representations.
  • Augmentation Impact: Applying both sample statistics and first-order differencing improved average rank and performance across virtually every evaluated forecasting model.

Limitations and Future Work

  • Strictly Zero-Shot: The study evaluated frozen embeddings without end-to-end fine-tuning, leaving it open how performance scales when adapting model backbones.
  • Omission of Specialized Supervised Baselines: The authors did not compare directly against heavy supervised ensemble algorithms (like HIVE-COTE), though prior work established that foundation models like Mantis are competitive with them.
  • Scope of Downstream Tasks: The analysis is restricted to classification; future work must investigate whether these forecasting representations generalize similarly well to anomaly detection, segmentation, and imputation.

Summary updated

BibTeX
@inproceedings{auer2025pre,
  author = {Andreas Auer and Daniel Klotz and Sebastian Böck and Sepp Hochreiter},
  title = {{Pre-trained Forecasting Models: Strong Zero-Shot Feature Extractors for Time Series Classification}},
  booktitle = {BERT2S @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=vhngjDHyB0},
}

Loading related content...

Figure