Manuscript Offprint

arXiv:2609.38058

Latent Inference-Time Guidance of Time Series Foundation Models

Chloé Hashimoto-Cullen, Amaury Durand, Laurent Bozzi, Benjamin Guedj, Yannig Goude, Sylvain Le Corff

ABSTRACT

Time Series Foundation Models (TSFMs) currently provide state-of-the-art results in forecasting tasks. They are available out-of-the-box and rely on in-context learning to make their predictions, which makes the quality of their performance highly sensitive to the user-selected lookback, covariates, horizon and training data distributions. In practise, the quality of the forecasts are variable but complementary, which highlights the need for a principled ensembling approach, rather than selecting the best context. This paper introduces Latent Inference-Time Guidance for TSFMs, which adaptively combines a pool of TSFM forecasts through a time-dependent latent space with independent components. The framework comes equipped with identifiability and reconstruction guarantees, whilst maintaining the off-the-shelf aspect of foundation models. We provide experiments on datasets at various frequencies and from multiple domains: these show that the approach is competitive with traditional ensembling approaches.

1 INTRODUCTION

Time Series Foundation Models (TSFMs) have recently enabled competitive zero-shot and in-context forecasting across a wide range of domains. While deep learning methods for tabular and sequential data historically struggled to consistently outperform classical approaches (Shwartz-Ziv & Armon, 2022; Grinsztajn et al., 2022; McElfresh et al., 2023), recent TSFM architectures based on Transformers (Nie et al., 2023), in-context learning (Lu et al., 2025; Liu et al., 2025c) and large-scale pre-training have narrowed this gap (Liu et al., 2024). A wealth of these models are currently available (Grinsztajn et al., 2025; Ansari et al., 2025; Liu et al., 2025a; Auer et al., 2026; Qu et al., 2026), with benchmarks such as GIFT-Eval, fev-bench and Chronos available to compare them (Aksu et al., 2024; Shchur et al., 2025; Ansari et al., 2024). These models offer a compelling paradigm shift: rather than training a task-specific model, one can leverage a pre-trained model and adapt it to a chosen context at inference time.

Despite these advances, foundation models – and, more specifically, TSFMs – are sensitive to their input. For a given model, the prompt (which in the case of TSFMs encompasses the covariates, lookback and forecasting horizon choices) greatly affects the model accuracy (Michalkiewicz et al., 2025; Romanou et al., 2026). In short, different pre-trained TSFMs, or even different configurations of the same model, often exhibit complementary strengths across datasets and temporal regimes, due to their differences in architectures and pre-training data (Meyer et al., 2025; Berthelier et al., 2026). This variability suggests that the central challenge is not selecting a single model, but rather combining multiple forecasts in a principled and adaptive manner.

Classical approaches to forecasting with ensembles (Oliveira & Torgo, 2015), such as mixtures of experts and online aggregation methods (Gaillard et al., 2014; Wintenberger, 2017), as well as state-space techniques such as Kalman filtering (de Vilmarest et al., 2024), provide well-established solutions to this mixture of models problem. However, existing methods are typically restricted to linear aggregation schemes and do not exploit the representational structure of modern foundation models. Conversely, a foundation model can be fine-tuned on a specific dataset; but this is computationally expensive, statistically inefficient in low-data regimes, and can be impossible when the model is only accessible as a black box.

This motivates a different perspective, which we refer to as inference-time guidance. Combination mechanisms exist in generative modelling for time series and other modalities (Fedus et al., 2022; Liu et al., 2025a; Shi et al., 2025; Yang, 2026). These approaches combine expert models within a larger model. Rather than modifying or combining the existing foundation models themselves, we learn a lightweight mechanism that steers or combines the expert outputs using downstream observations. This paradigm has proved effective in generative modelling for time series and other modalities (Lee et al., 2025; Jiang et al., 2025; Bender & Morik, 2026), where external signals can guide pre-trained models without retraining. Beyond time series, approaches guiding existing foundation models exist, mostly using autoencoding architectures to identify relevant features at inference (Bricken et al., 2023; O'Neill et al., 2024; Le et al., 2024). However, to the best of our knowledge, and despite its conceptual appeal, there is no general probabilistic framework for inference-time latent guidance in time-series forecasting.

In this paper, we treat TSFM forecasts as a collection of experts, and use the combination of variational latent modelling with a structured state-space formulation to propose a principled probabilistic framework for combining TSFM forecasts, while capturing temporal dependencies and uncertainty. The resulting model introduces a time-dependent latent state that encodes how each expert should be weighted or corrected at each time step. In its simplest form, this reduces to a dynamic mixture of experts with time-varying weights; more generally, it defines a flexible nonlinear guidance mechanism acting on the forecasts. Importantly, our method leaves the underlying foundation models frozen: only the lightweight guidance mechanism is learned, without requiring access to or fine-tuning of the TSFM parameters. A key component of this approach is the structure given to the latent space, where rather than learning arbitrary hidden representations, the representations learned have an independent component decomposition, which connects the approach to work in nonlinear independent component analysis (ICA), where auxiliary variables such as temporal dependence and covariates enables identifiability of latent representations (Hälvä et al., 2021). In our setting, this allows guarantees on the induced denoised process.

Our contributions are threefold. First, we introduce a probabilistic latent guidance framework that adaptively combines and corrects forecasts from frozen TSFMs through a time-dependent latent state. Second, we connect this construction to structured nonlinear ICA and establish conditions for identifiability of the induced denoised process together with a reconstruction stability guarantee for the variational smoother. Third, we demonstrate the empirical benefits of this approach across datasets spanning multiple domains and sampling frequencies.

The remainder of the paper is organised as follows. In Section 2, we introduce the lines of research at the intersection of which this work lies. Section 3 introduces the proposed latent guidance model, its variational formulation, and its inference and forecasting procedures, as well as presenting identifiability analysis and theoretical guarantees. Experiments results are reported in Section 4, where we benchmark our proposed method with time series foundation models and classical aggregation methods. Section 5 discusses the avenues for future work. Additional technical details and proofs to our results are gathered in Appendix A and further experimental details are given in Appendix B.

References (62)