Efficient Test-Time Scaling for LLM-based Time Series Forecasting

Xuan-May Le, Minh-Tuan Tran, Ling Luo, Uwe Aickelin, Dinh Phung, Trung LearXiv 2026

TL;DR

SCALER is a novel coarse-to-fine framework that makes Large Language Model (LLM) time series forecasting both highly accurate and computationally efficient. By using a lightweight Transformer to predict a rough future shape first, it allows a frozen LLM to iteratively refine local details using significantly fewer tokens, achieving state-of-the-art results while running 7x faster than standard test-time scaling methods.

What Problem Does This Paper Address?

Large Language Models (LLMs) have recently shown immense promise in time series forecasting. To squeeze out maximum performance, recent methods leverage "test-time scaling"—a technique where the model spends extra compute during inference to iteratively refine its predictions or select the best candidate from multiple outputs.

However, applying test-time scaling to long-term time series forecasting introduces two major bottlenecks:

  1. High Computational Cost: Iteratively reprocessing long prompt descriptions and time-series tokens through a massive LLM is incredibly expensive.
  2. Global-Shape Drift: When an LLM repeatedly makes local corrections to a sequence, these small edits can accumulate into a massive "drift," distorting the overall trend and seasonality of the forecast over long horizons.
Figure 1: (a) Standard: direct forecasting; may lose long-horizon trend/seasonality. (b) LLM forecaster: prompt-based prediction; long horizons need long prompts and can drift in shape. (c) LLM + test- time scaling: long iterative refinement improves accuracy but is costly and can amplify shape mismatch. (d) SCALER (ours): predicts coarse future shape first, then undertakes fixed-step residual refine- ment with fewer tokens for cheap, shape-consistent forecasts.

The authors introduce SCALER to solve both problems by anchoring the LLM's refinement process to a pre-computed global shape.

Methods

SCALER splits the forecasting task into a decoupled, two-stage framework:

  • Stage I: Global Coarse-Shape Forecaster: Instead of asking the LLM to predict everything at once, a lightweight Transformer ($\mathcal{F}$) models the low-frequency structure (trends, seasonality) of the future horizon at a downscaled resolution. This stage provides a cheap but structurally sound "anchor" ($\hat{S}^1$).
  • Stage II: Fixed-Step Multi-Scale Refinement: A frozen pretrained LLM ($\mathcal{G}$) acts as the refiner. It takes the history tokens and the coarse-shape anchor to progressively generate finer-scale token blocks over a fixed $K$-step schedule. Because the LLM only focuses on incremental residual details within compact token blocks, the token-processing burden is drastically reduced.

A shared multi-scale patch encoder ($\mathcal{E}$) maps the raw time-series patches into the LLM's embedding space using prototype-based cross-attention, ensuring representation alignment and stable training.

Figure 2: SCALER architecture. Given the input/history time series 𝑋, a lightweight coarse forecaster F predicts a downscaled future shape token ˆ𝑆1 that captures low-frequency dynamics. A shared multi-scale encoder E maps 𝑋into a continuous token sequence 𝑍𝐼. Conditioned on 𝑍𝐼and a growing set of shape tokens initialised as 𝑍𝑆= [𝑆1], an LLM refiner G runs a fixed 𝐾-step coarse-to-fine loop: at step 𝑘, it predicts a finer-scale token block 𝑆𝑘and appends it to the context 𝑍𝑆for the next step. The final forecast is obtained by decoding the finest-scale tokens,

Datasets

The authors evaluated SCALER across a diverse set of real-world benchmarks:

  • Long-Term Forecasting: ETT subsets (ETTh1, ETTh2, ETTm1, ETTm2), Electricity (ECL), Weather, and Traffic.
  • Short-Term Forecasting: The M4 benchmark (Yearly, Quarterly, Monthly, and Other scenarios).
  • Zero-Shot Forecasting: Cross-dataset evaluation using the M3 and M4 benchmarks to test generalization without retraining.

Key Insights and Ideas

  • Decoupling Global vs. Local: Traditional models try to capture global trends and fine-grained local variations simultaneously. SCALER proves that offloading global structure to a lightweight model and leaving local refinements to the LLM yields the best of both worlds.
  • Mitigating Drift via Anchoring: By conditioning the LLM on an explicit coarse future shape, the model's updates are tightly constrained. This prevents the long-horizon shape mismatch that usually happens during autoregressive or iterative generation.
  • Deterministic Test-Time Compute: Instead of using expensive reward models to sample and select from multiple candidate forecasts, SCALER uses a fixed-step refinement schedule. This makes the inference budget entirely predictable and deployment-friendly.

Key Results

  • Speedup: SCALER is 7x faster on average in inference time compared to standard test-time scaling forecasters like TimeReasoner.
  • Long-Term Accuracy: SCALER consistently achieved the lowest Mean Squared Error (MSE) across major benchmarks, outperforming both deep learning baselines (PatchTST, iTransformer) and LLM-based models (TimeLLM, LVICL).
  • Long-Horizon Robustness: As prediction horizons extended up to 2160 steps, SCALER's performance degraded much more gracefully than its competitors, proving the effectiveness of its global-shape anchor.
Accuracy vs. Efficiency trade-off across different datasets

Limitations and Future Work

While SCALER is highly effective, the authors note a few limitations:

  • Fixed Schedule Dependence: The model currently relies on a predetermined refinement schedule, meaning it spends the same amount of compute on simple and highly complex sequences alike.
  • Aliasing Risks: The downsampling operator used to create the coarse shape can occasionally suffer from aliasing if the downsampling grid aligns poorly with high-frequency periodic components.

Future work will explore adaptive refinement policies that dynamically allocate compute, more efficient LLM backbones, and extending the framework to handle missing data and distribution shifts.

Summary updated

BibTeX
@misc{le2026efficient,
  author = {Xuan-May Le and Minh-Tuan Tran and Ling Luo and Uwe Aickelin and Dinh Phung and Trung Le},
  title = {{Efficient Test-Time Scaling for LLM-based Time Series Forecasting}},
  year = {2026},
  eprint = {2608.08675},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.08675},
}
Figure