Think Before You Forecast: Scaling Test-Time Compute for Time Series Forecasting

Daojun Liang, Xiao Hong, Pei Zhang, Yinglong Wang, Shuo Li +3 more
11/22/2026
cs.LGcs.AI

Official code: Anoise/TTC4TS (0 stars, Jupyter Notebook, Apache-2.0, last commit 2026-11-22).

Abstract

Test-time compute has become an important paradigm in computer vision and language modeling, where additional computation at inference time enables models to explore multiple candidate solutions and select or refine the most reliable one. However, time series forecasting models typically produce predictions through a single forward pass, leaving them vulnerable to distribution shifts and non-stationarity that frequently arise in real-world temporal data.

Show full abstract

We propose Time Test Compute for Time Series (TTC4TS), an architecture-agnostic framework that improves the predictive performance of frozen forecasting models at inference time. Given a pretrained backbone, the generator produces multiple candidate forecast trajectories using augmentation, retrieval, adapter. The synthesizer then selects or combines these candidates using aggregation, classification, or candidate-scoring and ranking methods to produce the final forecast. By increasing the number of candidates, TTC4TS scales test-time compute without retraining the forecasting backbone. Beyond improving point-forecast accuracy, TTC4TS can exploit candidate forecasts for uncertainty quantification, which supports improved interval forecasts. We also theoretically analyze when additional test-time computation improves forecasting. Experiments across diverse datasets and backbones demonstrate consistent gains in accuracy and calibration. Code is provided in https://github.com/Anoise/TTC4TS.

View on arXivView PDF

Code Implementations(1)

Anoise/TTC4TSOfficial100%
Apache-2.0

Code implements of Think Before You Forecast: Scaling Test-Time Compute for Time Series Forecasting

00Jupyter Notebook, PythonNov 22, 20261 weeks agoApache-2.0

Similar Papers

Cite this paper

@article{liang2026think,
  title  = {Think Before You Forecast: Scaling Test-Time Compute for Time Series Forecasting},
  author = {Daojun Liang and Xiao Hong and Pei Zhang and Yinglong Wang and Shuo Li and Jing Chen and Ying Guo and Hu Zhang},
  year   = {2026},
  eprint = {2611.29566},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.29566v1}
}

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

Discussion