Manuscript Offprint

arXiv:2610.34409

Dynamic Multi-Step Decoding for Time-Series Foundation Models

Birmjune Kim, Hyungju Lee, Hyun Oh Song

Abstract

Time-series forecasting models typically use a fixed decoding strategy at inference time: either one-shot prediction of the full horizon or autoregressive rollout over atomic chunks. While one-shot decoding reduces error accumulation, it can discard useful sequential structure; conversely, autoregressive decoding preserves temporal dependencies but may compound errors. We argue that the optimal decoding strategy is not fixed across inputs, but should be selected adaptively for each forecasting instance. We propose a dynamic strategy selector that treats the forecast rollout schedule as an inference-time decision problem for frozen pretrained time-series foundation models. The selector is a learned network that ranks candidate rollout schedules using hidden states of the backbone, and is trained on historical windows of the evaluated tasks for each backbone. To make the candidate set tractable over the exponentially large space of horizon partitions, we use dynamic programming that reduces candidate evaluation to quadratic complexity while preserving much of the oracle gain. At deployment, five independently trained selectors vote on each decision, and the policy follows their consensus, falling back to the backbone's one-shot forecast where they disagree. The construction requires only the backbone's hidden states and lightweight selectors, with no fine-tuning of the forecasting backbone. On fev-bench with a frozen Chronos-2 backbone, agreement-gated selection improves point-forecast skill (MASE) over one-shot decoding with statistical significance, mostly on longer horizons. It recovers about 6–8% of the gain that the same dynamic program attains with ground-truth selection. With a frozen Moirai-1.1-R-small backbone, the improvement is also significant on the full benchmark, and for both backbones we claim gains in point accuracy only.

1 Introduction

Time-series forecasting, the task of predicting future values from a historical look-back window, is one of the most fundamental problems in time series analysis. The field has progressed from classical statistical methods such as ARIMA and GARCH (Box & Jenkins, 1970; Bollerslev, 1986) to sophisticated deep learning architectures, including temporal convolutional networks (Bai et al., 2018) and Transformer-based forecasters (Zhou et al., 2021; Wu et al., 2021; Zhou et al., 2022). Most recently, the paradigm has shifted toward Transformer-based foundation models such as Chronos-2 (Ansari et al., 2025), TimesFM (Das et al., 2024), and Moirai (Woo et al., 2024), which leverage large-scale pretraining to achieve zero-shot generalization. Despite these architectural advances and the success of pretraining, the impact of inference strategies, specifically the granularity at which forecasts are decoded, has not received enough attention.

∗^{*}Equal contribution.

Traditional autoregressive (AR) decoders generate predictions one step at a time, feeding each step's output back as input for the next. While conceptually simple and intuitive, this step-by-step process is prone to error accumulation, where minor inaccuracies at early steps propagate and amplify over long horizons. To avoid this recursive error growth, many recent forecasting models adopt direct multi-step decoding: models such as Informer, FEDformer, DLinear, iTransformer, TiDE, and PatchTST predict the forecast horizon, or a large output block, in a single forward pass (Zhou et al., 2021; 2022; Zeng et al., 2023; Liu et al., 2024; Das et al., 2023; Nie et al., 2023). This direct strategy improves inference efficiency and avoids repeated feedback of its own predictions, but loses the ability to condition each prediction on previously generated values. Modern foundation models such as Chronos-2 (Ansari et al., 2025) and TimesFM (Das et al., 2024) largely follow this direct-decoding paradigm, rolling out only when the requested horizon exceeds their native maximum output length.

In this paper, we ask whether the decoding schedule should itself be chosen, rather than fixed at inference time. We posit that the best rollout schedule varies with the input context, and may further vary with the backbone, so no single fixed schedule should be expected to be optimal everywhere. What this paper demonstrates is that this variability can be exploited: dynamically choosing the schedule for each forecasting instance improves over the backbone's default one-shot decoding. Because the choice happens at inference time, it can be made for patch-based frozen backbones without modifying their parameters. We evaluate it with two such backbones, Chronos-2 and Moirai-1.1-R-small. We introduce a framework with two components: (i) a dynamic-programming search that reduces the exponential space of decoding schedules to a quadratic number of candidates, and (ii) a lightweight selector network that ranks these candidates for each input window using the backbone's hidden states. The selector is trained on historical windows of the evaluated tasks for a fixed backbone, so the intended setting is adaptation to tasks whose history is available, not transfer to unseen tasks (Appendix C). On fev-bench with a frozen Chronos-2 backbone, our method improves point-forecast skill over one-shot decoding by +0.20% on the full benchmark, with a bootstrap confidence interval that excludes zero. The gain grows to +0.68% on the 19 tasks with the longest horizons. Ground-truth selection within the same dynamic program attains +3.25% and +9.13% on these two sets, so the selector recovers about 6–8% of this headroom. With a frozen Moirai-1.1-R-small backbone, the improvement is also significant on the full benchmark (+0.23%), and for both backbones we claim gains in point accuracy only.

References (50)

  • Learning the language of time series
  • Chronos-2: From univariate to universal forecasting, 2025 (opens arXiv in a new tab)
  • TiRex: Zero-shot forecasting across long and short horizons with enhanced in-context learning (opens arXiv in a new tab)
  • An Empirical Evaluation of Generic Convolutional and Recurrent Networks for Sequence Modeling
  • A bias and variance analysis for multistep-ahead time series forecasting
  • P. Box and Gwilym M. Jenkins
  • NHITS: Neural hierarchical interpolation for time series forecasting
  • Pathformer: Multi-scale transformers with adaptive pathways for time series forecasting
  • An observability perspective on time series foundation models (opens arXiv in a new tab)
  • Long-term forecasting with TiDE: Time-series dense encoder
  • A decoder-only foundation model for time-series forecasting
  • On the foundations of noise-free selective classification
  • Switch transformers: Scaling to trillion parameter models with simple and efficient sparsity
  • Selective classification for deep neural networks
  • Time-series classification for dynamic strategies in multi-step forecasting (opens arXiv in a new tab)
  • Stratify: Unifying multi-step forecasting strategies
  • From tables to time: Extending TabPFN-v2 to time series forecasting (opens arXiv in a new tab)
  • Simple and scalable predictive uncertainty estimation using deep ensembles
  • Moirai 2.0: When less is more for time series forecasting (opens arXiv in a new tab)
  • Moirai-MoE: Empowering time series foundation models with sparse mixture of experts
  • iTransformer: Inverted transformers are effective for time series forecasting
  • Sundial: A family of highly capable time series foundation models
  • A comparison of direct and iterated multistep AR methods for forecasting macroeconomic time series
  • Enhancing foundation models for time series forecasting via wavelet-based tokenization
  • A time series is worth 64 words: Long-term forecasting with transformers
  • N-BEATS: Neural basis expansion analysis for interpretable time series forecasting
  • A reduction of imitation learning and structured prediction to no-regret online learning
  • Outrageously large neural networks: The sparsely-gated mixture-of-experts layer
  • fev-bench: A realistic benchmark for time series forecasting (opens arXiv in a new tab)
  • Time-MoE: Billion-scale time series foundation models with mixture of experts
  • Unified training of universal time series forecasting transformers
  • Autoformer: Decomposition transformers with auto-correlation for long-term series forecasting
  • Enhancing time series forecasting through selective representation spaces: A patch perspective
  • Are transformers effective for time series forecasting? In AAAI, 2023
  • Informer: Beyond efficient transformer for long sequence time-series forecasting
  • FEDformer: Frequency enhanced decomposed transformer for long-term series forecasting
  • Within each DP row we form a target distribution by applying a softmax to the negatives of the candidates' prefix errors, normalized per task and scaled by a label temperature, and minimize the cross-entropy between the scorer's softmax output and this target
  • it barely distinguishes helpful deviations from harmful ones
  • It was fixed before any official evaluation rather than tuned on validation, because the validation metric is only a row-local proxy of the deployed closed-loop walk (Appendix A) and cannot resolve adjacent thresholds
  • ></td><td colspan=
  • Skill estimates whose 95% confidence interval excludes zero are in bold
  • Table 11 varies the number of scorers $n$ and the agreement threshold $m$ of the deployed configuration, with members added in a fixed seed order; $n = 1$ is a single scorer with no gate
  • Along the unanimity cells, full-benchmark skill decreases monotonically with ensemble size (+0.12, +0.10, +0.06, +0.03 for $n=2,3,4,5$)
  • W/T/L (win rate) and skill [95% CI] on the full benchmark and the $H\geq 9$ subset
  • Each cell is evaluated on five subsets of the five scorers, one per cyclic seed order: skill median (minimum to maximum), and the number of subsets whose 95% confidence interval lies above zero
  • DP oracle is the skill of ground-truth selection within the same dynamic program, and recovery is the deployed skill divided by it (Chronos-2 only)
  • Table 15 breaks down the deployed policy with Chronos-2 on the 66 tasks with $H\geq2$ by the fev-bench domain of each task (all econ tasks have $H=1$), as assigned by Shchur et al. (2025, Appendix A), and by tertiles of the one-shot MASE on the official windows; Section 6 discusses the pattern
  • W/T/L on SQL and skill [95% CI]
  • Columns against models other than one-shot Chronos-2 largely reflect the frozen backbone shared by both rows
  • As in Table 18, columns against models other than one-shot Chronos-2 largely reflect the shared frozen backbone