AdaPTS: Adapting Univariate Foundation Models to Probabilistic Multivariate
                        Time Series Forecasting


                   Abdelhakim Benechehab 1 2 Vasilii Feofanov 1 Giuseppe Paolo 1 Albert Thomas 1
                                       Maurizio Filippone 3 Balázs Kégl 1


                          Abstract                                                         ETTh1 (H = 96)
       Pre-trained foundation models (FMs) have shown
       exceptional performance in univariate time se-
       ries forecasting tasks. However, several practi-
       cal challenges persist, including managing intri-
                                                                           460      480   500      520         540    560      580    600
       cate dependencies among features and quantify-                                           Time Steps
       ing uncertainty in predictions. This study aims                    Ground Truth    Moment               Moment+AdaPTS         ±1, 3, 5 std
       to tackle these critical limitations by introducing
       adapters—feature-space transformations that fa-                                                   (a)
       cilitate the effective use of pre-trained univariate
       time series FMs for multivariate tasks. Adapters
       operate by projecting multivariate inputs into a
       suitable latent space and applying the FM inde-
       pendently to each dimension. Inspired by the
       literature on representation learning and partially                                               (b)
       stochastic Bayesian neural networks, we present
                                                                     Figure 1: (a) Augmenting Moment time series foundation
       a range of adapters and optimization/inference
                                                                     model with the AdaPTS framework provides probabilistic
       strategies. Experiments conducted on both syn-
                                                                     and more accurate predictions. (b) The AdaPTS frame-
       thetic and real-world datasets confirm the effi-
                                                                     work: The input time series is transformed through a feature
       cacy of adapters, demonstrating substantial en-
                                                                     space transformation φ that maps into a stochastic latent
       hancements in forecasting accuracy and uncer-
                                                                     space, where the FM now operates. The fire symbol indicate
       tainty quantification compared to baseline meth-
                                                                     trainable weights while the snowflake implicates that the
       ods. Our framework, AdaPTS, positions adapters
                                                                     parameters of the FM are kept frozen.
       as a modular, scalable, and effective solution for
       leveraging time series FMs in multivariate con-
       texts, thereby promoting their wider adoption in
       real-world applications. We release the code at               often multivariate, incorporating multiple descriptive fea-
       https://github.com/abenechehab/AdaPTS.                        tures (Wei, 2019), and (b) estimating the uncertainty of a
                                                                     forecast is equally important, requiring probabilistic model
                                                                     outputs (Gneiting & Katzfuss, 2014). These challenges are
1. Introduction                                                      particularly relevant in real-world applications where risk
                                                                     assessment depends on reliable forecasts, such as health-
Time series forecasting is a well-established machine learn-         care (Jones & Spiegelhalter, 2012), finance (Groen et al.,
ing task that involves analyzing sequential data to predict          2013), energy management (Zhang et al., 2014; Nowotarski
future trends based on historical patterns. Two key chal-            & Weron, 2018), and weather prediction (Palmer, 2012; Bi
lenges frequently arise in this context: (a) time series are         et al., 2023).
   1
    Huawei Noah’s Ark Lab, Paris 2 Department of Data Science,       Existing foundation models (FMs) for time series forecast-
EURECOM 3 Statistics Program, KAUST. Correspondence to: Ab-          ing, such as Chronos (Ansari et al., 2024), are typically
delhakim Benechehab <abdelhakim.benechehab@gmail.com>.               trained for univariate forecasting tasks due to tractability
Proceedings of the 42 nd International Conference on Machine         constraints, as a wide range of real-world time series prob-
Learning, Vancouver, Canada. PMLR 267, 2025. Copyright 2025          lems often involve different numbers of features. Neverthe-
by the author(s).                                                    less, handling multivariate time series directly within these

                                                                 1
            AdaPTS: Adapting Univariate Foundation Models to Probabilistic Multivariate Time Series Forecasting

models has been attempted (Liu et al., 2024), yet remains              2.1. Problem setup
computationally challenging due to the high-dimensional
                                                                       Consider a multivariate long-term time series forecasting
dependencies among features. This limitation raises a funda-
                                                                       task, represented by: a data matrix X ∈ RL×D where L is
mental question: how can we leverage existing pre-trained
                                                                       the context window size and D is the multivariate time series
univariate FMs to enable probabilistic forecasting for multi-
                                                                       dimensionality, and a target matrix Y ∈ RH×D , where
variate time series?
                                                                       H is the forecasting horizon. We denote by xd ∈ RL×1
To address this, we introduce AdaPTS, a novel framework                (respectively yd ∈ RH×1 ) the d-th component of the input
designed to augment FMs with probabilistic adapters. As                (respectively target) multivariate time series.
illustrated in Figure 1, AdaPTS applies a stochastic feature
                                                                       Our goal is to leverage a frozen pre-trained univariate time
transformation that maps the input time series into a latent
                                                                       series foundation model denoted by fFM : RL×1 → RH×1
space, where predictions are made using the frozen FM.
                                                                       (Fig. 1b). In the case of a multivariate input X, for the
Our framework sets itself apart from existing literature by
                                                                       sake of simplicity, we denote by fFM (X) the application of
fitting an inverse transformation as part of the adapter, al-
                                                                       fFM to each channel independently. We aim to achieve best
lowing predictions to be transformed back into the original
                                                                       forecasting quality by minimizing the mean squared error
feature space. Beyond enhancing forecasting accuracy, the
                                                                       (MSE) loss defined as follows:
integration of stochasticity into the adapter’s latent represen-
tation ensures that the model captures uncertainty, thereby                                                 D
                                                                                                       1 X
improving both calibration and robustness.                               L = ∥Y − fFM (X)∥2F =             ∥yd − fFM (xd )∥22 . (1)
                                                                                                       D
                                                                                                           d=1
Our approach leads to several novel insights and contribu-
tions, which we summarize as follows:
                                                                       We now formally define an adapter, a tool by means of
                                                                       which we aim to best use the foundation model fFM for
  1. Multivariate FM adaptation. We introduce a prin-                  multivariate forecasting:
     cipled methodology for adapting existing pre-trained
     univariate FMs to multivariate probabilistic forecasting,         Definition 2.1 (adapter). An adapter is a feature-space trans-
                                                                                                  ′

     resulting in the AdaPTS framework.                                formation φ : RD → RD that is applied to the data prior
                                                                                                 1
                                                                       to the foundation model . The forecast is then obtained
  2. Theoretical foundations of adapters. We provide a                 by transforming the predictions back to the original feature
     theoretical analysis to support the necessity of adapters,        space:
                                                                                     Ŷ(X; φ) = φ−1 fFM (φ(X)) .
                                                                                                                     
     starting with the analytically tractable case of linear
     adapters and linear FMs. We then build on the literature
     on partially stochastic Bayesian neural networks to               According to this definition, an adapter is valid only if the
                                                                                                           ′
     introduce probabilistic adapters.                                 inverse transformation φ−1 : RD → RD , such that ∀x ∈
                                                                                                                    ′
                                                                              −1
                                                                         D
                                                                       R , φ ◦ φ(x) = x, is well-defined on RD . In the rest of
  3. Empirical validation. We conduct experiments                      the paper, we relax this condition by implementing the direct
     on multivariate time series forecasting benchmarks,               transformation as encoder (φ ≜ enc), and respectively, the
     demonstrating that our approach improves forecasting              inverse transformation as decoder (φ−1 ≜ dec). In this
     accuracy over baseline methods. We then analyze the               case, the predictions obtained after the application of the
     interpretability of the learned latent representation and         adapter become: Ŷ(X; enc, dec) = dec fFM (enc(X)) .
     show that adapters enable cost-efficient adaptation by
                                                                       We note that in the literature, there exist alternatives to adapt
     reducing the dimensionality of the feature space.
                                                                       to the multivariate setting (Zhang & Yan, 2023; Tian et al.,
                                                                       2023), but we have chosen this family of adapters due to
The rest of this paper is organized as follows: Section 2              their high flexibility as: (a) any foundation model can be
states the problem setup and related work, Section 3 details           plugged-in, (b) no requirement of fine-tuning due to feature-
the theoretical analysis on linear adapters. Section 4 extends         level transformations (Feofanov et al., 2024), (c) adaptation
our framework to probabilistic adapters, while Section 5               to the computation budget by defining the number of en-
showcases experimental results. Finally, we conclude with              coded channels.
the accompanying Python package in Section 6, and future
directions in Section 7.                                               Optimality of an adapter. In order for an adapter to be
                                                                       useful, it has to achieve a forecasting error lower compared
                                                                       to an adapter that represents the identity matrix I of size
2. Background knowledge                                                D and does not perform any transformation of the feature
In this section, we first define rigorously the problem, and               1
                                                                             In practice, φ is applied on matrices X in RL×D . This denotes
then discuss the related work.                                         the application of φ on each row of X.

                                                                   2
            AdaPTS: Adapting Univariate Foundation Models to Probabilistic Multivariate Time Series Forecasting

space. Therefore, we define the optimality of the adapter                 3. Theoretical analysis
based on improving the forecasting error of the identity
baseline:                                                                 The purpose of this section is to study the optimization
                                                                          problem that the adapter φ is aiming to solve:
        L ≥ L(φ) = ∥Y − φ−1 fFM (φ(X)) ∥2F ,
                                            

where L is defined by Eq. (1).                                                    φ∗ = arg min ∥Y − φ−1 fFM (φ(X)) ∥2F .
                                                                                                                  
                                                                                                                                     (2)
                                                                                            φ

2.2. Related work
                                                                          Under mild assumptions on the adapter function class and
Time Series Foundational Models. Over the past two                        the backbone foundation model fFM , we aim at character-
years, a plethora of foundation models have been pro-                     izing the optimal solution φ∗ and prove that it realizes the
posed with a particular focus on time series forecasting.                 optimality condition: L(φ∗ ) ≤ L.
Some of these models like GPT4TS (Tian et al., 2023) and
                                                                          We first consider the linear case where we constrain
Time-LLM (Jin et al., 2024) “reprogram” a Large Lan-
                                                                          the adapter φ to the class of linear transformations,
guage Model to the forecasting setting by freezing most
                                                                          parametrized by a matrix Wφ ∈ RD×D : φ(X) = XWφ .
of its layers and fine-tuning additional time series-specific
modules to a new downstream task. The majority of time                    Assumption 3.1. Wφ has full rank: rank(Wφ ) = D, in-
series FMs including Lag-Llama (Rasul et al., 2024),                      suring its invertibility.
Chronos (Ansari et al., 2024), Moirai (Liu et al., 2024),                 Assumption 3.2. For ease of derivation, we consider a
TimesFM (Das et al., 2024) and Moment (Goswami et al.,                    similar linear parametrization for the foundation model:
                                                                                           ⊤
2024) are trained from scratch on a large volume of time se-              fFM (X) = WFM      X + bFM 1⊤ where WFM ∈ RL×H ,
ries data. Beyond the transformer architecture, Ekambaram                          H
                                                                          bFM ∈ R , and 1 a vector of ones of dimension D.
et al. (2024) present TTM, an all MLP foundation model.
                                                                          Proposition 3.3 (Optimal linear adapter). Under Assump-
Adapters. The multivariate setting presents a significant                 tion 3.1 and Assumption 3.2, the closed-form solution of the
challenge for time series FMs, as different tasks involve                 problem
varying numbers of channels2 . To the best of our knowledge,
                                                                                                  ⊤
                                                                                                     XWφ + bFM 1⊤ Wφ
                                                                                                                       −1 2
the only model that naturally accommodates any number of                     L(Wφ ) = ∥Y − WFM                                ∥F (3)
channels is Moirai (Liu et al., 2024), which, however, suf-
fers from high computational demand due to processing all                 writes as:
                                                                                             ∗
channels flattened in the transformer, leading to a quadratic                               Wφ = (B⊤ A)+ B⊤ B,                       (4)
memory complexity w.r.t. to the number of channels. Most
                                                                                    ∗
foundation models, instead, treat each one of these inde-                 where Wφ    = arg minWφ L(Wφ ), A = Y − WF⊤M X,
pendently, which, as noted by Feofanov et al. (2024; 2025),               B = bF M 1⊤ , and (B⊤ A)+ denoting the pseudo-inverse
remains computationally expensive when full fine-tuning                   operator.
is required. For classification tasks with hundreds or thou-
sands of features, they demonstrated that simple adapters                 Proof. The result follows by differentiating L(Wφ ) with
like the rotation matrix obtained through Principal Com-                  respect to Wφ , and solving the Euler equation: ∇Wφ L = 0.
ponents Analysis (PCA) mitigate this issue. At the same                   The detailed proof is deferred to Appendix A.
time, Benechehab et al. (2025) showed that PCA preserves
                                                                          Remark 3.4. In this case, the fact that the matrix B =
channel interactions by learning new disentangled compo-
                                                                          bF M 1⊤ have identical columns renders the matrix B⊤ A
nents. However, in both cases, PCA provided little improve-
                                                                          degenerate (with rank(B⊤ A) = 1). In practice, we add
ment over independent processing, leaving room for further
                                                                          a positive constant to the diagonal in order to numerically
enhancements. In the context of tabular regression, foun-                                                  ∗
                                                                          stabilize the matrix inversion: Wφ = (B⊤ A+λI)−1 B⊤ B,
dation models such as TabDPT (Ma et al., 2024) also use
                                                                          with λ > 0. In Section 3.1, we show that we are able to
PCA to adapt to a variable number of features.
                                                                          reach an optimal solution regardless of this added regular-
Less related to our work, Li & Marlin (2016) use a Gaus-
                                                                          ization.
sian process adapter in the context of irregular time series
classification. In other domains, adapters have been used for             Proposition 3.3 establishes the existence of a solution to the
multimodal (text-time series) representation learning (Zhang              optimal adapter problem defined in Eq. (2) and demonstrates
et al., 2024) and computer vision (Li et al., 2025; Yin et al.,           that this solution does not necessarily correspond to the
2023; Pan et al., 2022).                                                  identity matrix. This analysis in the linear case provides
   2
     Throughout the paper, the words features, channels, and com-         the foundational motivation for our gradient descent based
ponents are used interchangeably to refer to the number of variates       optimization approach to determine the optimal adapter
in a multivariate time series, represented as D in Section 2.1.           configuration.

                                                                      3
                    AdaPTS: Adapting Univariate Foundation Models to Probabilistic Multivariate Time Series Forecasting

3.1. Working example                                                    4. AdaPTS: Adapters for Probabilistic
Synthetic data. Our synthetic dataset comprises two mul-                   Multivariate Time Series Forecasting
tivariate time series, one with several independent compo-              In this section, we introduce families of adapters that verify
nents and the other with linearly correlated ones (Fig. 2),             the conditions stated in Definition 2.1. Furthermore, we
designed to evaluate a linear feature-space transformation.             extend this definition to include probabilistic variants of
The data generation process creates five uncorrelated base              adapters, useful for uncertainty quantification.
signals (sinusoids with distinct frequencies, amplitudes, and
iid noise) and derives eight additional channels through                4.1. Families of adapters
linear combinations of these bases with additive Gaussian
noise of different magnitude σ ∈ (0.1, 0.2, 0.5).                       Our framework accommodates various families of trans-
                                                                        formations that can serve as adapters. Initially, we define
This construction provides a controlled environment where               linear AutoEncoders and subsequently extend them to their
the ground truth relationship between channels is known:                deep non-linear counterparts. Ultimately, we introduce
the underlying data manifold is effectively five-dimensional,           the probabilistic adapter framework, encompassing Vari-
but in the correlated case the observed eight-dimensional               ational AutoEncoders (VAE) and Dropout-based families
multivariate time series includes varying levels of noise and           of adapters.
linear mixing.
                                                                        Linear AutoEncoders. In addition to the linear setup in-
Randomly generated linear FMs. The experimental setup                   troduced in Section 3, we extend Linear AutoEncoders
in Fig. 2 consists in randomly sampling the linear parame-              to provide a simple yet effective method for dimension-
ters of a toy foundation model: WFM and bFM . To simulate               ality reduction while preserving the temporal relationships
a realistic scenario, we use Glorot-uniform initialization dis-         within time series data. In this more general case, the en-
tribution as it would be the case in neural network-based ar-           coder compresses the multivariate time series X into a po-
                                                             ∗
chitectures. We then compute the closed-form solution Wφ                tentially lower-dimensional representation Z = XWenc ,
Eq. (4) on raw data X, and compare the resulting loss value                                    ′
                                                                        where Wenc ∈ RD×D is the linear transformation matrix,
with the baseline (using the identity matrix I as adapter) and                 ′
                                                                        and D ≤ D. The decoder reconstructs the forecast to the
the PCA-only adapter.                                                   original feature space as Ŷ = fFM (Z)Wdec . Finally, the
                                                                        parameters of the encoder Wenc and the decoder Wdec are
                                                                        jointly optimized to minimize the objective in Eq. (2).
                    Independent                  Correlated
                                                                        Deep non-linear AutoEncoders. Deep non-linear AutoEn-
                                                                        coders extend their linear counterparts by employing multi-
                                                                        ple layers of non-linear transformations. The encoder maps
                                                                        the input X to a latent space Z = enc(X; θenc ), where enc
                                                                        is parameterized by a deep neural network. Similarly, the de-
          1e1
                                                                        coder reconstructs the predictions of the foundation model
      4                                                                 in the latent space: Ŷ = dec(fFM (Z); θdec ).
MSE




      3                                                                 Besides AutoEncoders, Normalizing Flows (Kobyzev et al.,
      2                                                                 2021) such as RealNVP (Dinh et al., 2017) are a valid
                I       WPCA      W*         I      WPCA      W*        choice in the context of adapters, thanks to their inherently
                                                                        invertible nature. However, their training proved challeng-
                          ∗
Figure 2: Optimality of Wφ  . Comparing the MSE obtained                ing due to the transformation being tied to its inverse leading
        ∗
with Wφ against the baseline, for 1000 randomly generated               to poor performance in practice. We defer a discussion on
linear FM.                                                              Normalizing Flows as adapters to Appendix B.

                                                                        4.2. Probabilistic Adapters
Fig. 2 shows that in the case of uncorrelated data (left col-           We now discuss an alternative to the optimization of
umn) PCA is equivalent to the identity matrix, while the                adapters, which is based on a Bayesian treatment of their
             ∗
solution Wφ    to the problem L(Wφ ) reaches an order of                parameters. There are many options on how to carry out
magnitude better forecasting loss. In the correlated case,              inference over these parameters, and we can draw from
we observe that PCA has a similar performance to the op-                the literature on Bayesian inference for neural networks
timal solution. This example motivates the adapter idea                 (Papamarkou et al., 2024).
through the existence of better linear transformations than
the identity matrix in the case of linear foundation models.            Considering a FM which yields point predictions, the appeal

                                                                    4
            AdaPTS: Adapting Univariate Foundation Models to Probabilistic Multivariate Time Series Forecasting

of Bayesian adapters is that they enable probabilistic pre-               the training objective of the VAE, which brings together the
dictions, which can be used for uncertainty quantification.               forecasting loss and a regularization term, similarly to the
Note that this is the case for models such as Chronos and                 evidence lower bound (ELBO) (Kingma & Welling, 2013)
Moirai, which output a distribution over the time series                  objective, in the following proposition.
continuous values3 . For deterministic FMs such as Moment                 Proposition 4.1 (VAE adapter training objective). The train-
(Goswami et al., 2024), a Bayesian treatment of adapters                  ing objective for the VAE adapter is the maximization of an
yields an ensemble of such predictions, which is key for                  ELBO-like lower bound on the marginal likelihood of the
accounting for the predictive uncertainty.                                target Y:
Inference. Recalling that θ represents the set of parameters
                                                                            log pθ (Y|X, fFM ) ≥Eqϕ (Z|X) [log pθ (Y|X, fFM (Z))]
of encoder (encθ ) and decoder (decθ ), we can attempt to ob-
tain the posterior distribution over these parameters through                                     − KL (qϕ (Z|X) ∥ p(Z)) ,
Bayes theorem (Gelman et al., 2013):
                                                                          where KL denotes the Kullback-Leibler divergence.
                p(θ|Y, X) ∝ p(Y|X, θ)p(θ),                                The derivation of this lower bound and a discussion on the
                                                                          implications of each term of the loss are deferred to Ap-
where p(θ) is the prior distribution over the parameters and
                                                                          pendix A.2.
p(Y|X, θ) the likelihood, with Y, X representing a training
dataset in this context. Alternatively, we can treat the latent           Remark 4.2. In practice, we use the Gaussian likeli-
representation Z as stochastic, where the interest is now to              hood as our likelihood model: pθ (Y|X, fFM (Z)) =
characterize the following posterior:                                     N (Y; Ŷ, σ 2 I), with Ŷ = decθ (fFM (Z)). In this case,
                                                                          the forecasting loss term boils down to the MSE ob-
               p(Z|Y, X) ∝ p(Y|X, Z)p(Z).                                 jective in Eq. (2) up to a multiplicative and additive
                                                                          noise-related constants: log N (Y; Ŷ, σ 2 I) = − 2σ1 2 ∥Y −
In these two formulations, the posterior distribution over the            Ŷ∥2F − HD              2
                                                                                       2 log(2πσ ).     Notice that one can also
parameters is instrumental in obtaining predictive distribu-              learn a model of the noise where decθ (fFM (Z)) =
tions useful for uncertainty quantification. For instance, in             [µθ (Y|X, fFM (Z)), σθ (Y|X, fFM (Z))].
the case of inference over θ, for new test data Y∗ , X∗ we                Remark 4.3. The KL divergence regularization term can be
obtain:                                                                   multiplied by a scaling factor β to control the disentangle-
                          Z                                               ment – independence of the latent representation compo-
     p(Y∗ |X∗ , Y, X) = p(Y∗ |X∗ , θ)p(θ|Y, X)dθ.                         nents. This results in β-VAE (Higgins et al., 2017), that we
                                                                          refer to as the VAE adapter throughout the paper.

Characterizing the posterior analytically, however, is in-                Dropout as approximate VI. Dropout (Srivastava et al.,
tractable and we need to resort to approximations. The liter-             2014) can be interpreted as a form of variational inference,
ature on Bayesian inference offers various strategies, which              where a variational distribution is imposed over the weights
can be adapted to neural networks (Papamarkou et al., 2024),              of a neural network (Gal & Ghahramani, 2016). Specifically,
including variational inference (Graves, 2011), Laplace ap-               applying dropout during training corresponds to approxi-
proximations (Yang et al., 2024), and Markov Chain Monte                  mating a posterior over the weights using a Bernoulli dis-
Carlo (MCMC) (Chen et al., 2014; Tran et al., 2022).                      tribution. This perspective allows the deterministic models
                                                                          to be transformed into probabilistic models by introducing
Within the AdaPTS framework, we focus in particular on                    stochasticity through dropout.
variational inference (VI) for VAE adapters and on Monte
Carlo dropout (Gal & Ghahramani, 2016) as an approximate                  Adapters and partially stochastic Bayesian neural net-
form of VI for carrying out inference over θ.                             works. Treating adapters in a Bayesian manner while
                                                                          keeping the FM fixed aligns with the concept of partially
Variational AutoEncoders. Following the Bayesian per-                     stochastic Bayesian neural networks, which provides theo-
spective on adapters, VAE assume a prior distribution over                retical guarantees on universal conditional density estima-
the latent representation Z, typically N (0, I). The en-                  tion (Sharma et al., 2023). This framework ensures that the
coder then outputs parameters of the posterior distribution               model can approximate any conditional density, provided
qϕ (Z|X), and the decoder generates reconstructions of pre-               that stochasticity is introduced early enough in the archi-
dictions Ŷ ∼ pθ (Y|X, fFM (Z)) where θ parametrize a                     tecture and that the number of stochastic units matches or
likelihood model p. In the context of adapters, we define                 exceeds the output dimension. Using probabilistic adapters,
   3
     In the case of Chronos, this distribution is obtained through        we comply with these conditions by making the encoder
a categorical distribution (with softmax probabilities) over a tok-       stochastic, allowing the learned latent space to capture un-
enized space of the time series values.                                   certainty while leveraging the FM’s fixed parameters.

                                                                      5
           AdaPTS: Adapting Univariate Foundation Models to Probabilistic Multivariate Time Series Forecasting

                           No adapter                                          with adapter
     Dataset        H
                            Moment            PCA         LinearAE           dropoutLAE        LinearVAE             VAE
                   96     0.411±0.012     0.433±0.001     0.402±0.002         0.395±0.003       0.400±0.001     0.404±0.001
     ETTh1
                   192    0.431±0.001     0.440±0.000     0.452±0.002         0.446±0.001       0.448±0.002     0.431±0.001
                   24     2.902±0.023      2.98±0.001     2.624±0.035          2.76±0.061      2.542±0.036      2.461±0.008
     Illness
                   60     3.000±0.004     3.079±0.000     3.110±0.127         2.794±0.015      2.752±0.040      2.960±0.092
                   96     0.177±0.010     0.176±0.000    0.169±0.000          0.156±0.001       0.161±0.001      0.187±0.001
    Weather
                   192    0.202±0.000     0.208±0.001    0.198±0.001          0.200±0.001       0.204±0.000      0.226±0.000
                   96     0.130±0.011     0.147±0.000     0.167±0.013         0.130±0.011       0.243±0.039      0.455±0.010
 ExchangeRate
                   192    0.210±0.002     0.222±0.000     0.304±0.005         0.305±0.013       0.457±0.020      0.607±0.021

Table 1: Performance comparison between the baseline Moment model without adapters against different adapter archi-
tectures (PCA, LinearAE, dropoutLinearAE, LinearVAE, and VAE), for multivariate long-term forecasting with
different horizons H. We display the average test MSE ± standard error obtained on 3 runs with different seeds. Best results
are in bold, with lower values indicating better performance.


5. Experiments & Results                                           been used in the literature for model-based reinforcement
                                                                   learning (Benechehab et al., 2025) and time series classifi-
In this section, we empirically demonstrate quantitative and       cation (Feofanov et al., 2024; 2025).
qualitative superiority of AdaPTS for multivariate long-
term time series forecasting on common benchmarks. We              AdaPTS improves the performance of Moment. We
show that the proposed adapter approach yields an improve-         present the forecasting error measured by the Mean Squared
ment to Moment, a commonly used time series forecasting            Error (MSE) in Table 1 and the Mean Absolute Error (MAE)
foundation model, over different datasets and prediction           in Appendix D. On the ETTh1 dataset with a prediction
horizons. We then extend the analysis to other foundation          horizon H = 96, all adapter-based variants outperform
models such as TTM and TimesFM.                                    the baseline Moment model, with dropoutLinearAE
                                                                   achieving the best performance, showing an 8% improve-
5.1. Time series forecasting                                       ment. Similar results are observed for the Illness dataset,
                                                                   where all adapters improve over the baseline. Notably, the
Datasets. Our experiments are conducted on four publicly           VAE achieves a significant 15% improvement, reducing the
available real-world multivariate time series datasets, com-       MSE from 2.902 to 2.461 at H = 24. In the Weather
monly used for long-term forecasting (Ilbert et al., 2024;         dataset, the dropoutLinearAE adapter shows the best
Wu et al., 2021; Chen et al., 2023; Nie et al., 2023; Zeng         improvement across all adapter architectures for H = 96,
et al., 2023). These datasets include the Electricity Trans-       while its deterministic counterpart, LinearAE, takes the
former Temperature dataset (ETTh1) (Zhou et al., 2021),            lead at H = 192. The results on the ExchangeRate dataset
ExchangeRate (Lai et al., 2018), Weather (Max Planck In-           are mixed, with some adapters matching the baseline per-
stitute, 2021), and Influenza-like Illness (U.S. Centers for       formance (dropoutLinearAE at H = 96) while others
Disease Control and Prevention, 2024). All time series are         show degraded performance, particularly at a longer pre-
segmented with an input length of L = 512, prediction              diction horizon (H = 192), which is also observed for the
horizons H ∈ [96, 192] and H ∈ [24, 60] for the Illness            ETTh1 dataset. Overall, AdaPTS improves the forecasting
dataset, and a stride of 1, meaning each subsequent win-           accuracy of Moment in 5 out of the 8 considered tasks,
dow is shifted by one step. These datasets (detailed in Ap-        matches its performance in 2, and degrades performance in
pendix C.1) originate from various application domains, en-        1 task.
abling a comprehensive evaluation of our framework across
diverse real-world scenarios.
                                                                   Beyond Moment. To validate our approach at a broader
Baseline. We compare our method against the vanilla ap-
                                                                   scope, we tested AdaPTS against other TSFMs with distinct
plication of Moments (where s stands for small) from
                                                                   architectural characteristics: (1) TTM, an all-MLP architec-
the Moment family of models (Goswami et al., 2024).
                                                                   ture that contrasts with the transformer-based designs preva-
This means that for each dataset, we apply Moments in-
                                                                   lent in other foundation models, (2) TimesFM, a decoder-
dependently to each feature. Additionally, we compare our
                                                                   only transformer model (in contrast to Moment’s encoder-
learning-based adapters against PCA, an adapter that has
                                                                   only architecture). Table 3 summarizes the characteristics

                                                               6
                   AdaPTS: Adapting Univariate Foundation Models to Probabilistic Multivariate Time Series Forecasting

           PCA (Explained variance: 95.6%)                            dropoutLinearAE                                       LinearVAE                                                                    VAE
       4                                                     5                                             4                                                                   2
       2                                                                                                   2                                                                   1




                                             Latent dim 2




                                                                                            Latent dim 2




                                                                                                                                                                Latent dim 2
                                                             0
                                                                                                                                                                               0
PC 2




       0                                                     5                                             0
                                                                                                                                                                               1
       2                                                                                                   2                                                                   2
                                                            10
       4                                                                                                   4                                                                   3
                                                            15
               0      5          10   15                         10       5      0      5                       6     4        2         0        2         4                      4             2         0          2
                          PC 1                                         Latent dim 1                                        Latent dim 1                                                              Latent dim 1



                                                                 Training                                                      Test
Figure 3: Visualization of the latent representation obtained by different adapters (with number of components equal to 2)
on Illness(H = 24). Shaded colors indicate the time dimension, with lighter colors representing earlier timesteps.

                                                                                                                                                            ETTh1 (H=96)
of these models, all of which have been integrated into our                                                0.50
package (see Section 6). We evaluated these foundation
                                                                                                           0.45


                                                                                                   MSE
models on the Illness(H = 24) benchmark, measuring the
relative percentage improvement achieved through optimal                                                   0.40
adapter selection and corresponding hyperparameters.                                                                                                        Illness (H=24)
                                                                                                               4.0
Table 2: MSE relative improvement on the Illness(H = 24)                                                       3.5
                                                                                                      MSE



task (± the standard error).                                                                                   3.0
                                                                                                               2.5
                                                                                                                           2                  5                        7                     9                   14
   FM                        Optimal adapter                          MSE Imp (%)                                                                       Number of Components
                                                                                                                     pca           linearAE           dropoutLinearAE                  linearVAE           VAE            baseline
   TTM                           VAE (β = 2, σ = 1)                    12.35±2.51
   TimesFM                dropoutLAE (p = 0.1)                          3.64±2.81                    Figure 4: Impact of the number of components on the model
                                                                                                     performance. The horizontal dashed line indicates the per-
Table 2 reveals varying performance improvements across                                              formance of Moment without adapters. The shaded area
different foundation models, with TTM exhibiting substan-                                            represents its standard deviation, and the vertical line indi-
tial gains while TimesFM showing more modest enhance-                                                cates the number of original features.
ments. However, these findings should be interpreted as
preliminary as evaluation across additional datasets and
benchmarks is necessary to fully characterize the perfor-                                            only 2 components, underscoring the potential of our ap-
mance of different foundation models, a direction for ongo-                                          proach for cost-effective adaptation of time series founda-
ing research. This observation might also suggest that the                                           tion models. Ultimately, we find that expanding dimension-
effectiveness of the adapter-based approach depends on the                                           ality beyond the original feature count does not yield further
underlying foundation model.                                                                         improvements, as no adapter shows notable enhancements
                                                                                                     past this point.
5.2. Dimensionality Reduction
                                                                                                     5.3. Interpretability of the latent representations
Fig. 4 illustrates the impact of varying the adapter’s la-
tent space dimension D′ on the forecasting performance                                              Fig. 3 compares the representation learning capabilities of
across different adapters. For the ETTh1 dataset with a                                             different adapters on the Illness (H = 24) dataset, focusing
96-step horizon, all adapter architectures achieve optimal                                          on their ability to distinguish between training and test data.
performance at 7 components (matching the original fea-                                             To visualize the raw dataset, we employ PCA for dimension-
ture count), with MSE values consistently lower than the                                            ality reduction, retaining only two principal components,
baseline. Notably, at just 5 components, all adapters (ex-                                          which is justified by the 95.6% explained variance. When
cept the PCA baseline) match the baseline score, demon-                                             representing the training and test datasets in the space of the
strating the suitability of our framework for low-resource                                          first two principal components, we observe a clear distribu-
setups through dimensionality reduction. The Illness dataset                                        tion shift, potentially complicating the forecasting task for
(H = 24) presents more compelling results, as the VAE                                               the baseline foundational model. In contrast, using AdaPTS
adapter achieves significantly optimal performance with                                             results in well-overlapping Gaussian distributions for the

                                                                                            7
            AdaPTS: Adapting Univariate Foundation Models to Probabilistic Multivariate Time Series Forecasting

training and test data in the latent space. This demonstrates             forecasting accuracy, possibly due to the disentangling ef-
our framework’s ability to enforce a structured, isotropic rep-           fect of regularization towards a prior distribution with sta-
resentation that mitigates distribution shift. This effect is par-        tistically independent components. Conversely, the ECE
ticularly pronounced with the VAE adapter and, to a lesser                heatmap (right) shows that higher β and log σ 2 values result
extent, with LinearVAE and dropoutLinearAE.                               in lower calibration error, with optimal results at β = 4.0
                                                                          and log σ 2 = 3.0. This outcome is anticipated, as larger val-
The findings emphasize the advantages of VAE in managing
                                                                          ues of β and σ mitigate overfitting, where the model tends
distribution shift, a critical challenge in time series repre-
                                                                          to exhibit overconfidence in its predictions. Additionally,
sentation learning. By modeling uncertainty and enforc-
                                                                          it is observed that maintaining a fixed σ during training
ing a continuous latent space, VAE enhance generalization,
                                                                          generally outperforms including it in the optimization loop,
making them especially valuable for real-world applications
                                                                          a configuration denoted as auto in Fig. 6.
where test distributions differ from training data. This aligns
with the objective of utilizing adapters in foundational mod-                                 MSE                                        ECE
els to optimize zero-shot performance, ensuring robustness                                                                                                     0.28
                                                                                 2.46 2.43 2.43 2.45 2.43 2.58       2.64   0.28 0.28 0.28 0.28 0.27 0.28




                                                                           0.5
across various tasks without extensive fine-tuning.                                                                                                            0.28
                                                                                 2.45 2.42 2.44 2.41 2.40 2.59              0.28 0.28 0.28 0.27 0.27 0.28




                                                                           1.0
                                                                                                                     2.56
                                                                                 2.42 2.44 2.41 2.40 2.39 2.56              0.28 0.28 0.27 0.27 0.27 0.28      0.27
5.4. On the calibration of the probabilistic adapters




                                                                           2.0
                                                                                                                     2.48
                                                                                 2.44 2.39 2.42 2.43 2.41 2.68              0.27 0.27 0.27 0.27 0.26 0.28      0.26




                                                                           4.0
To evaluate the calibration of                                                                                       2.40
our adapter-based probabilis-                                                     0.5   1.0   1.5   2.0   3.0 auto          0.5   1.0   1.5   2.0   3.0 auto
                                     1.0                                                       log 2                                     log 2
tic forecasters, we use quan-
                                     0.8
tile calibration (Gneiting et al.,                                        Figure 6: β and log σ 2 VAE hyperparameters ablation on
                                      proportion




                                     0.6
2007) as depicted in the re-         0.4                                  the Illness(H = 24) dataset. For reference, the Moment
liability diagram in Fig. 5.         0.2                                  baseline score on this task is 2.902±0.023 .
In an ideal scenario, a well-        0.0
calibrated probabilistic fore-           0.0         0.5        1.0
                                                  quantile                LinearAE components. The ablation study presented
cast should align with the
                                         0     25 50 75                   in Fig. 7 examines the performance of different com-
red dashed diagonal, indicat-                Prediction Horizon           ponents of the linear autoencoder adapter (LinearAE)
ing that the empirical pro-
                                                                          across three datasets: ETTh1, Weather, and ExchangeR-
portion of observations falls
                                   Figure 5: Reliability                  ate. The figure compares the full linear autoencoder with
within the predicted quantiles
                                   diagram for the first                  its encoder-only (LinearEncoder) and decoder-only
at the expected rate. The over-
                                   feature of the ETTh1                   (LinearDecoder) variants. Overall, the results reveal
all conclusion is that we ob-
                                   (H = 96) dataset using                 that the decoder component of the linear autoencoder plays
serve a gradual deviation from
                                   LinearVAE.                             the most important role. The encoder-only variant’s contri-
ideal calibration as the predic-
                                                                          bution varies, being more impactful in the Weather dataset
tion horizon increases (darker
                                                                          compared to ETTh1 and ExchangeRate. These findings
shades). While early prediction horizons display reason-
                                                                          highlight the significance of the decoder in the LinearAE
ably well-calibrated predictions, longer-horizon forecasts
                                                                          adapter and suggest that, in the deterministic case, a decoder
systematically underestimate uncertainty, as shown by the
                                                                          might be sufficient to capture feature dependencies.
curve falling below the diagonal. This indicates that ob-
served values exceed predicted quantiles more frequently
than expected, suggesting that the predictive distribution                      0.5
                                                                          MSE




becomes too narrow, resulting in overconfident forecasts.
                                                                                0.0
5.5. Ablation studies                                                                          ETTh1                   Weather                ExchangeRate
                                                                                               linearEncoder             linearAE              linearDecoder
Influence of σ and β in the VAE Adapter. Fig. 6 illus-
trates an ablation study examining the β parameter in β-                                Figure 7: LinearAE components ablation.
VAE and the noise scale σ of the likelihood model applied
to the prediction Ŷ, assessing their effects on MSE and
                                                                          Nevertheless, as shown in our previous experiments, particu-
Expected Calibration Error (ECE) (Guo et al., 2017). The
                                                                          larly Table 1, probabilistic adapters generally outperformed
MSE heatmap (left) demonstrates that increasing β gener-
                                                                          the deterministic ones. This underscores the importance of
ally diminishes MSE, with the lowest values observed at
                                                                          the encoder as well, which is responsible for approximating
β = 2.0 and β = 4.0, particularly for higher log σ 2 . This
                                                                          the posterior distribution in the latent space—a mechanism
indicates that stronger regularization through β can enhance
                                                                          inherent to our probabilistic framework.

                                                                      8
            AdaPTS: Adapting Univariate Foundation Models to Probabilistic Multivariate Time Series Forecasting

6. The AdaPTS Python package
To facilitate reproducibility and promote widespread adop-
tion of our framework, we have developed AdaPTS as a
Python package that provides a unified interface for adapting
time series foundation models to multivariate probabilistic          Figure 8: Command-line interface for configuring and run-
forecasting tasks. The package is designed with modularity,          ning experiments within AdaPTS.
extensibility, and ease of use in mind, enabling researchers
and practitioners to seamlessly integrate our adapter-based
approach into their workflows.                                            a reconstruction loss, where the encoder-decoder pair
                                                                          learns to reconstruct the input time series. This ap-
6.1. Unified Foundation Model Interface                                   proach is useful for representation learning and can
                                                                          serve as a pretraining step before supervised fine-
A key feature of the AdaPTS package is the development of
                                                                          tuning.
a consistent interface across different time series foundation
models. The package currently supports the foundation                   • Fine-tuning support. This training mode permits to
model families listed in Table 3.                                         fine-tune the foundation model parameters alongside
                                                                          adapter training. This is particularly relevant for mod-
Table 3: Time Series Foundation Models supported in the                   els like Moment, where the linear forecasting head
adapts Python package. MV: Multivariate support; P:                       (denoted as LP for linear probing in (Goswami et al.,
Probabilistic forecasting.                                                2024)) is not pre-trained. Additionally, this can be
                                                                          implemented through a bi-level approach, where the
      Model       MV       P       Link (HF)
                                                                          foundation model undergoes secondary fine-tuning af-
      Moment      ✗        ✗       autonlab/moment                        ter completing adapter training.
      TTM         ✗        ✗       ibm-granite/ttm
      TimesFM ✗            ✗       google/timesfm                    Fig. 8 illustrates the command-line interface for running the
      Chronos ✗            ✓       amazon/chronos                    AdaPTS approach, where users can configure their experi-
                                                                     ments by specifying the foundation model, dataset, adapter
      Moirai      !        ✓       salesforce/moirai
                                                                     type, and training method through simple script parameters.
   ! Moirai uses flatten + attention bias approach to MV.
                                                                     7. Conclusion
The package abstracts the complexities inherent in working
with different foundation models through the ICLTrainer              In this paper, we investigate how pre-trained univariate time
class hierarchy. Each foundation model family is imple-              series foundation models can be adapted for probabilistic
mented as a specialized child class that handles model-              multivariate forecasting. Our method, AdaPTS, offers a
specific initialization, preprocessing, and inference proce-         novel approach to training feature space transformations that
dures while maintaining a unified API. This architectural            facilitate uncertainty quantification and enhance the perfor-
design enables users to effortlessly switch between differ-          mance of baseline foundation models. Through a series of
ent foundation models and implement custom ICLTrainer                experiments, we demonstrate that our framework improves
classes for newly-released or proprietary foundation models.         forecasting accuracy, provides reasonably well-calibrated
                                                                     uncertainty estimates, reduces inference cost through dimen-
6.2. Training modes                                                  sionality reduction, and offers interpretable feature space
                                                                     latent representations.
Our framework supports multiple adapter training
paradigms to handle different experimental scenarios:                Limitations & Future directions. While our primary anal-
                                                                     ysis focuses on Moment, our approach generalizes to other
                                                                     foundation models, several of which have been integrated
   • Supervised Training. This constitutes the primary
                                                                     into our publicly available package. Extensive experimen-
     training methodology analyzed throughout the paper
                                                                     tation across different foundation models and benchmark
     and showcased in Fig. 1b. The adapter components
                                                                     datasets remains necessary to fully characterize our ap-
     (encoder and decoder) are optimized to minimize the
                                                                     proach’s potential. Furthermore, while we use variational
     forecasting MSE loss (Eq. (2)) while the frozen foun-
                                                                     inference for computational efficiency, exploring alternative
     dation model generates predictions within the learned
                                                                     methods such as MCMC could enhance uncertainty esti-
     latent space.
                                                                     mation and calibration, albeit with increased computational
   • Unsupervised Training. Adapters are trained using               overhead.

                                                                 9
           AdaPTS: Adapting Univariate Foundation Models to Probabilistic Multivariate Time Series Forecasting

Impact statement                                                       Ekambaram, V., Jati, A., Dayama, P., Mukherjee, S.,
                                                                         Nguyen, N. H., Gifford, W. M., Reddy, C., and
This paper presents work whose goal is to advance the field              Kalagnanam, J. Tiny time mixers (ttms): Fast pre-trained
of Machine Learning. There are many potential societal                   models for enhanced zero/few-shot forecasting of multi-
consequences of our work, none which we feel must be                     variate time series, 2024.
specifically highlighted here.
                                                                       Feofanov, V., Ilbert, R., Tiomoko, M., Palpanas, T., and
Reproducibility Statement                                                Redko, I. User-friendly foundation model adapters for
                                                                         multivariate time series classification. arXiv preprint
In order to ensure reproducibility we release the code at                arXiv:2409.12264, 2024.
https://github.com/abenechehab/AdaPTS. The accompany-
ing Python package is detailed in Section 6 while more                 Feofanov, V., Wen, S., Alonso, M., Ilbert, R., Guo,
implementation details and hyperparameters are listed in                 H., Tiomoko, M., Pan, L., Zhang, J., and Redko, I.
Appendix C.2.                                                            Mantis: Lightweight calibrated foundation model for
                                                                         user-friendly time series classification. arXiv preprint
                                                                         arXiv:2502.15637, 2025.
References
                                                                       Gal, Y. and Ghahramani, Z. Dropout As a Bayesian Ap-
Ansari, A. F., Stella, L., Turkmen, C., Zhang, X., Mercado,              proximation: Representing Model Uncertainty in Deep
  P., Shen, H., Shchur, O., Rangapuram, S. S., Arango, S. P.,            Learning. In Proceedings of the 33rd International Con-
  Kapoor, S., et al. Chronos: Learning the language of time              ference on International Conference on Machine Learn-
  series. arXiv preprint arXiv:2403.07815, 2024.                         ing - Volume 48, ICML’16, pp. 1050–1059. JMLR.org,
Benechehab, A., Hili, Y. A. E., Odonnat, A., Zekri, O.,                  2016.
  Thomas, A., Paolo, G., Filippone, M., Redko, I., and Kégl,          Gelman, A., Carlin, J., Stern, H., Dunson, D., Vehtari, A.,
  B. Zero-shot model-based reinforcement learning using                  and Rubin, D. Bayesian Data Analysis. Chapman and
  large language models. In The Thirteenth International                 Hall/CRC, United States, 3rd ed edition, 2013. ISBN
  Conference on Learning Representations, 2025.                          9781439840955.
Bi, K., Xie, L., Zhang, H., Chen, X., Gu, X., and Tian, Q.             Gneiting, T. and Katzfuss, M. Probabilistic forecasting.
  Accurate medium-range global weather forecasting with                 Annual Review of Statistics and Its Application, 1(1):125–
  3d neural networks. Nature, 619(7970):533–538, 2023.                  151, 2014.
Chen, S.-A., Li, C.-L., Arik, S. O., Yoder, N. C., and Pfis-           Gneiting, T., Balabdaoui, F., and Raftery, A. E. Probabilis-
  ter, T. TSMixer: An all-MLP architecture for time se-                  tic forecasts, calibration and sharpness. Journal of the
  ries forecast-ing. Transactions on Machine Learning                   Royal Statistical Society: Series B (Statistical Methodol-
  Research, 2023. ISSN 2835-8856.                                        ogy), 69(2):243–268, 2007. doi: https://doi.org/10.1111/j.
                                                                        1467-9868.2007.00587.x.
Chen, T., Fox, E., and Guestrin, C. Stochastic Gradient
  Hamiltonian Monte Carlo. In Xing, E. P. and Jebara, T.               Goswami, M., Szafer, K., Choudhry, A., Cai, Y., Li, S.,
  (eds.), Proceedings of the 31st International Conference               and Dubrawski, A. Moment: A family of open time-
  on Machine Learning, volume 32 of Proceedings of Ma-                   series foundation models. In International Conference
  chine Learning Research, pp. 1683–1691, Bejing, China,                 on Machine Learning, 2024.
  22–24 Jun 2014. PMLR.
                                                                       Graves, A. Practical variational inference for neural net-
Cowen-Rivers, A., Lyu, W., Tutunov, R., Wang, Z., Grosnit,               works. In Shawe-Taylor, J., Zemel, R., Bartlett, P., Pereira,
  A., Griffiths, R.-R., Maravel, A., Hao, J., Wang, J., Peters,          F., and Weinberger, K. (eds.), Advances in Neural Infor-
  J., and Bou Ammar, H. Hebo: Pushing the limits of                      mation Processing Systems, volume 24. Curran Asso-
  sample-efficient hyperparameter optimisation. Journal of               ciates, Inc., 2011.
  Artificial Intelligence Research, 74, 07 2022.
                                                                       Groen, J. J., Paap, R., and Ravazzolo, F. Real-time inflation
Das, A., Kong, W., Sen, R., and Zhou, Y. A decoder-                      forecasting in a changing world. Journal of Business &
  only foundation model for time-series forecasting. In                  Economic Statistics, 31(1):29–44, 2013.
 Forty-first International Conference on Machine Learn-
  ing, 2024.                                                           Guo, C., Pleiss, G., Sun, Y., and Weinberger, K. Q. On
                                                                         calibration of modern neural networks. In Proceedings of
Dinh, L., Sohl-Dickstein, J., and Bengio, S. Density estima-             the 34th International Conference on Machine Learning -
  tion using real nvp, 2017.                                            Volume 70, ICML’17, pp. 1321–1330. JMLR.org, 2017.

                                                                  10
           AdaPTS: Adapting Univariate Foundation Models to Probabilistic Multivariate Time Series Forecasting

Higgins, I., Matthey, L., Pal, A., Burgess, C., Glorot, X.,           Liaw, R., Liang, E., Nishihara, R., Moritz, P., Gonzalez,
  Botvinick, M., Mohamed, S., and Lerchner, A. beta-                    J. E., and Stoica, I. Tune: A research platform for dis-
  VAE: Learning basic visual concepts with a constrained                tributed model selection and training. arXiv preprint
  variational framework. In International Conference on                 arXiv:1807.05118, 2018.
  Learning Representations, 2017.
                                                                      Liu, X., Liu, J., Woo, G., Aksu, T., Liang, Y., Zimmer-
Ilbert, R., Odonnat, A., Feofanov, V., Virmaux, A., Paolo,              mann, R., Liu, C., Savarese, S., Xiong, C., and Sahoo,
   G., Palpanas, T., and Redko, I. Samformer: Unlocking the             D. Moirai-moe: Empowering time series foundation
   potential of transformers in time series forecasting with            models with sparse mixture of experts. arXiv preprint
   sharpness-aware minimization and channel-wise atten-                 arXiv:2410.10469, 2024.
   tion. In Proceedings of the 41st International Conference
                                                                      Ma, J., Thomas, V., Hosseinzadeh, R., Kamkari, H., Labach,
   on Machine Learning, volume 235. PMLR, 2024.
                                                                       A., Cresswell, J. C., Golestan, K., Yu, G., Volkovs, M.,
Jin, M., Wang, S., Ma, L., Chu, Z., Zhang, J. Y., Shi, X.,             and Caterini, A. L. Tabdpt: Scaling tabular foundation
   Chen, P.-Y., Liang, Y., Li, Y.-F., Pan, S., and Wen, Q.             models, 2024.
   Time-LLM: Time series forecasting by reprogramming
                                                                      Max Planck Institute. Weather dataset, 2021.
   large language models. In International Conference on
   Learning Representations (ICLR), 2024.                             Nie, Y., Nguyen, N. H., Sinthong, P., and Kalagnanam, J. A
                                                                        time series is worth 64 words: Long-term forecasting with
Jones, H. E. and Spiegelhalter, D. J. Improved probabilistic
                                                                        transformers. In The Eleventh International Conference
  prediction of healthcare performance indicators using
                                                                        on Learning Representations, 2023.
  bidirectional smoothing models. Journal of the Royal
  Statistical Society Series A: Statistics in Society, 175(3):        Nowotarski, J. and Weron, R. Recent advances in electricity
  729–747, 2012.                                                        price forecasting: A review of probabilistic forecasting.
                                                                        Renewable and Sustainable Energy Reviews, 81:1548–
Kim, T., Kim, J., Tae, Y., Park, C., Choi, J.-H., and Choo, J.
                                                                       1568, 2018.
  Reversible instance normalization for accurate time-series
  forecasting against distribution shift. In International            Palmer, T. Towards the probabilistic earth-system simulator:
  Conference on Learning Representations, 2022.                         A vision for the future of climate and weather prediction.
                                                                        Quarterly Journal of the Royal Meteorological Society,
Kingma, D. P. and Ba, J. Adam: A method for stochastic                  138(665):841–861, 2012.
  optimization, 2017.
                                                                      Pan, J., Lin, Z., Zhu, X., Shao, J., and Li, H. St-adapter:
Kingma, D. P. and Welling, M. Auto-encoding variational                 Parameter-efficient image-to-video transfer learning. In
  bayes. CoRR, abs/1312.6114, 2013.                                     Koyejo, S., Mohamed, S., Agarwal, A., Belgrave, D.,
Kobyzev, I., Prince, S. J., and Brubaker, M. A. Normalizing             Cho, K., and Oh, A. (eds.), Advances in Neural Informa-
  flows: An introduction and review of current methods.                 tion Processing Systems, volume 35, pp. 26462–26477.
  IEEE Transactions on Pattern Analysis and Machine In-                 Curran Associates, Inc., 2022.
  telligence, 43(11):3964–3979, November 2021. ISSN                   Papamarkou, T., Skoularidou, M., Palla, K., Aitchison, L.,
  1939-3539. doi: 10.1109/tpami.2020.2992934.                           Arbel, J., Dunson, D., Filippone, M., Fortuin, V., Hennig,
Lai, G., Chang, W.-C., Yang, Y., and Liu, H. Modeling                   P., Hernández-Lobato, J. M., Hubin, A., Immer, A., Kar-
  long- and short-term temporal patterns with deep neural               aletsos, T., Khan, M. E., Kristiadi, A., Li, Y., Mandt, S.,
  networks, 2018.                                                       Nemeth, C., Osborne, M. A., Rudner, T. G. J., Rügamer,
                                                                        D., Teh, Y. W., Welling, M., Wilson, A. G., and Zhang, R.
Li, S. C.-X. and Marlin, B. M. A scalable end-to-end gaus-              Position: Bayesian deep learning is needed in the age of
  sian process adapter for irregularly sampled time series              large-scale ai. In Proceedings of the 41st International
  classification. In Lee, D., Sugiyama, M., Luxburg, U.,                Conference on Machine Learning, ICML’24. JMLR.org,
  Guyon, I., and Garnett, R. (eds.), Advances in Neural                 2024.
  Information Processing Systems, volume 29. Curran As-
  sociates, Inc., 2016.                                               Rasul, K., Ashok, A., Williams, A. R., Ghonia, H., Bhag-
                                                                        watkar, R., Khorasani, A., Bayazi, M. J. D., Adamopou-
Li, Y., Ye, J., Wen, X., Xu, G., Wang, J., and Liu, X.                  los, G., Riachi, R., Hassen, N., Biloš, M., Garg, S.,
  Padapter: Adapter combined with prompt for image                      Schneider, A., Chapados, N., Drouin, A., Zantedeschi, V.,
  and video classification. Image and Vision Comput-                    Nevmyvaka, Y., and Rish, I. Lag-llama: Towards foun-
  ing, 154:105395, 2025. ISSN 0262-8856. doi: https:                    dation models for probabilistic time series forecasting,
  //doi.org/10.1016/j.imavis.2024.105395.                               2024.

                                                                 11
           AdaPTS: Adapting Univariate Foundation Models to Probabilistic Multivariate Time Series Forecasting

Sharma, M., Farquhar, S., Nalisnick, E., and Rainforth, T.          Zhou, H., Zhang, S., Peng, J., Zhang, S., Li, J., Xiong, H.,
  Do Bayesian neural networks need to be fully stochas-               and Zhang, W. Informer: Beyond efficient transformer
  tic? In Ruiz, F., Dy, J., and van de Meent, J.-W. (eds.),           for long sequence time-series forecasting. In The Thirty-
  Proceedings of The 26th International Conference on                 Fifth AAAI Conference on Artificial Intelligence, AAAI
  Artificial Intelligence and Statistics, volume 206 of Pro-          2021, Virtual Conference, volume 35, pp. 11106–11115.
  ceedings of Machine Learning Research, pp. 7694–7722.               AAAI Press, 2021.
  PMLR, 25–27 Apr 2023.

Srivastava, N., Hinton, G., Krizhevsky, A., Sutskever, I.,
  and Salakhutdinov, R. Dropout: A simple way to prevent
  neural networks from overfitting. Journal of Machine
  Learning Research, 15(56):1929–1958, 2014.

Tian, Z., Peisong, N., Xue, W., Liang, S., and Rong, J. One
  Fits All: Power general time series analysis by pretrained
  lm. In NeurIPS, 2023.

Tran, B.-H., Rossi, S., Milios, D., and Filippone, M. All
  you need is a good functional prior for Bayesian deep
  learning. 23(1), 2022. ISSN 1532-4435.

U.S. Centers for Disease Control and Prevention. Fluview:
  Flu activity & surveillance, 2024.

Wei, W. W. Multivariate time series analysis and applica-
 tions. John Wiley & Sons, 2019.

Wu, H., Xu, J., Wang, J., and Long, M. Autoformer: De-
 composition transformers with auto-correlation for long-
 term series forecasting. In Beygelzimer, A., Dauphin, Y.,
 Liang, P., and Vaughan, J. W. (eds.), Advances in Neural
 Information Processing Systems, 2021.

Yang, A. X., Robeyns, M., Wang, X., and Aitchison, L.
  Bayesian low-rank adaptation for large language models.
  In The Twelfth International Conference on Learning
  Representations, 2024.

Yin, D., Hu, L., Li, B., and Zhang, Y. Adapter is all you
  need for tuning visual tasks, 2023.

Zeng, A., Chen, M., Zhang, L., and Xu, Q. Are transformers
  effective for time series forecasting? 2023.

Zhang, W., Ye, J., Li, Z., Li, J., and Tsung, F. Dualtime: A
  dual-adapter multimodal language model for time series
  representation, 2024.

Zhang, Y. and Yan, J. Crossformer: Transformer utilizing
  cross-dimension dependency for multivariate time series
  forecasting. In The eleventh international conference on
  learning representations, 2023.

Zhang, Y., Wang, J., and Wang, X. Review on probabilistic
  forecasting of wind power generation. Renewable and
  Sustainable Energy Reviews, 32:255–270, 2014.

                                                               12
          AdaPTS: Adapting Univariate Foundation Models to Probabilistic Multivariate Time Series Forecasting

Appendix
Outline. In Appendix A, we provide the proofs and a discussion on Proposition 3.3 and Proposition 4.1. We then provide a
perspective on Normalizing Flows as adapters in Appendix B. The experimental setup is presented in Appendix C, including
all the implementation details in Appendix C.2. Finally we showcase some additional results in Appendix D.


Table of Contents
A Theoretical analysis                                                                                                    14
   A.1 Proof of Proposition 3.3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   14
   A.2 Proof of Proposition 4.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   15

B Normalizing Flows                                                                                                       16

C Experimental setup                                                                                                      16
   C.1 Datasets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   16
   C.2 Implementation details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .     16

D Additional results                                                                                                      17
   D.1 Moment applied to synthetic data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .      17
   D.2 Mean Absolute Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .      18




                                                            13
             AdaPTS: Adapting Univariate Foundation Models to Probabilistic Multivariate Time Series Forecasting

A. Theoretical analysis
A.1. Proof of Proposition 3.3
We begin by restating the proposition, and its underlying assumptions:
Assumption A.1. Wφ has full rank: rank(Wφ ) = D, insuring its invertibility.
Assumption A.2. For ease of derivation, we consider a similar linear parametrization for the foundation model: fFM (X) =
  ⊤
WFM X + bFM 1⊤ where WFM ∈ RL×H , bFM ∈ RH , and 1 a vector of ones of dimension D.
Proposition A.3 (Optimal linear adapter). Under Assumption 3.1 and Assumption 3.2, the closed-form solution of the
problem:

                                                   ⊤
                                                      XWφ + bFM 1⊤ Wφ
                                                                   −1 2
                                    L(Wφ ) = ∥Y − WFM                 ∥F                                             (5)

writes as:

                                                    ∗
                                                   Wφ = (B⊤ A)+ B⊤ B                                                 (6)

          ∗
where Wφ    = arg minWφ ∈GLD (R) L(Wφ ), A = Y − WF⊤M X, B = bF M 1⊤ , and (B⊤ A)+ denoting the pseudo-inverse
operator.

Proof. We begin by expanding the loss function:
                                                     ⊤
                                     L(Wφ ) = ∥Y − (WFM                −1 2
                                                        XWφ + bFM 1⊤ )Wφ ∥F
                                                      −1 2
                                             = ∥A − BWφ ∥F

where A = Y − WF⊤M X and B = bF M 1⊤ . Expanding the Frobenius norm:
                                                         −1 ⊤       −1
                                                                                     
                                      L(Wφ ) = Tr (A − BWφ ) (A − BWφ  )

                                     −1
Taking the gradient with respect to Wφ  yields:

                                             ∂L        ⊤      ⊤  −1
                                               −1 = −2B A + 2B BWφ
                                            ∂Wφ
                                              ∂L      −⊤ ∂L   −⊤
Knowing that Wφ is invertible, We have that: ∂W φ
                                                  = −Wφ ∂W−1
                                                             Wφ
                                                                    φ

hence

                                       ∂L      −T             −1
                                                  B⊤ A − B⊤ BWφ
                                                                  −T
                                          = −2Wφ                  Wφ .
                                      ∂Wφ
         ∂L                                     ⊤
Setting ∂W φ
             = 0 and multiplying both sides by Wφ , we obtain:
                                                               −1
                                                   B⊤ A = B⊤ BWφ  .
Multiplying both sides by Wφ :
                                                    B⊤ AWφ = B⊤ B.
Finally applying the pseudo-inverse to solve for Wφ gives our final result:
                                                   ∗
                                                  Wφ = (B⊤ A)+ B⊤ B.

                                                                                              2
Given the convexity of L(Wφ ) (which follows from the convexity of the Frobenius norm ∥·∥F , the inverse operation, and
                                             ∗
an affine transformation), we conclude that Wφ is a global solution for Eq. (3).

                                                             14
           AdaPTS: Adapting Univariate Foundation Models to Probabilistic Multivariate Time Series Forecasting

Remark A.4. We make use of the pseudo-inverse due to the current construction of the matrix B (with identical rows) which
                                                                                                                ∗
implies that the product B⊤ A is degenerate. To bypass this limitation and further ensure the invertibility of Wφ , we can
revisit the definition of the foundation model in Assumption 3.2 to include channel dependent biases and ensure a full rank
matrix B.



A.2. Proof of Proposition 4.1
To derive the evidence lower bound (ELBO) used in the training objective of the VAE adapter, we start from the marginal
likelihood of the observed data Y given the inputs X and foundation model fFM . The marginal likelihood is expressed as:
                                                          Z
                                 log pθ (Y|X, fFM ) = log pθ (Y|X, fFM (Z))p(Z) dZ,                                 (7)

where Z is the latent variable, pθ (Y|X, fFM (Z)) is the likelihood model parameterized by θ, and p(Z) is the prior
distribution over the latent variable Z.
Direct optimization of this marginal likelihood is generally intractable due to the integration over Z. To make this
optimization feasible, we introduce a variational distribution qϕ (Z|X), parameterized by ϕ, as an approximation to the true
posterior pθ (Z|X, Y, fFM ). Using qϕ (Z|X), we can reformulate the log-marginal likelihood as follows:
                                                       Z
                                                                   pθ (Y|X, fFM (Z))p(Z)
                            log pθ (Y|X, fFM ) = log    qϕ (Z|X)                          dZ                             (8)
                                                                          qϕ (Z|X)
                                                                                       
                                                                  pθ (Y|X, fFM (Z))p(Z)
                                                = log Eqϕ (Z|X)                           .                              (9)
                                                                         qϕ (Z|X)

Using Jensen’s inequality, we can derive a lower bound on this log-marginal likelihood:
                                                                              
                                                        pθ (Y|X, fFM (Z))p(Z)
                  log pθ (Y|X, fFM ) ≥ Eqϕ (Z|X) log                                                                   (10)
                                                              qϕ (Z|X)
                                                                                                  
                                                                                          qϕ (Z|X)
                                      = Eqϕ (Z|X) [log pθ (Y|X, fFM (Z))] − Eqϕ (Z|X) log            .                 (11)
                                                                                            p(Z)

The second term can be rewritten as the Kullback-Leibler (KL) divergence between the variational posterior qϕ (Z|X) and
the prior p(Z):
                                                                                 
                                                                         qϕ (Z|X)
                                  KL (qϕ (Z|X) ∥ p(Z)) = Eqϕ (Z|X) log              .                              (12)
                                                                           p(Z)

Substituting this into the inequality, we obtain the evidence lower bound (ELBO):

                    log pθ (Y|X, fFM ) ≥ Eqϕ (Z|X) [log pθ (Y|X, fFM (Z))] − KL (qϕ (Z|X) ∥ p(Z)) .                    (13)

The ELBO consists of two terms:

  • The forecasting term, Eqϕ (Z|X) [log pθ (Y|X, fFM (Z))], which measures how well the model can reconstruct Y given
    the latent variable Z.

  • The regularization term, KL (qϕ (Z|X) ∥ p(Z)), which encourages the variational posterior to stay close to the prior
    distribution p(Z).

Thus, maximizing the ELBO provides a tractable way to train the parameters θ and ϕ by optimizing the balance between
forecasting accuracy and latent space regularization.

                                                            15
           AdaPTS: Adapting Univariate Foundation Models to Probabilistic Multivariate Time Series Forecasting

B. Normalizing Flows
Normalizing Flows make use of invertible transformations to map a simple base distribution (e.g. Gaussian) to a complex
data distribution. Each transformation T is designed to maintain invertibility and efficient Jacobian computation. The
transformation is applied iteratively: Z = Tk ◦ Tk−1 ◦ · · · ◦ T1 (X). Current Normalizing Flow instantiations (e.g. RealNVP)
make use of generic invertible transformations such as coupling flows; the latters can be parametrized using a neural network
leading to powerful non-linear generative models that are trained to maximize the data log-likelihood:
                                                                 k
                                                                 X               ∂Ti (·; θ)
                                        log p(X) = log p(Z) +          log det
                                                                 i=1
                                                                                  ∂Zi−1

where θ denote the parameters of the non-linear parametrization of the invertible transformations Ti , and Zi−1 is the output
of the transformation Ti−1 . In the context of time series adapters, we directly optimize the parameters of the transformations
based on their direct and inverse application on the time series forecasting problem:


                                    Lflow = ∥Y−T1−1 ◦ T2−1 ◦ · · · ◦ Tk−1 (
                                                   fFM Tk ◦ Tk−1 ◦ · · · ◦ T1 (X; θ) ; θ)∥2F
                                                                                    


where the encoder is represented by the series of direct transformations: enc(·) = Tk ◦ Tk−1 ◦ · · · ◦ T1 (·; θ), and respectively
the decoder by the series of inverse transformations dec(·) = T1−1 ◦ T2−1 ◦ · · · ◦ Tk−1 (·; θ).
As defined here, Normalizing Flows suffer from the constraint of keeping the same dimension in both original and learned
representation space. For this purpose, we investigate coupling a normalizing flow with a linear encoder-decoder type of
architecture to enable dimensionality reduction prior to applying the transformation Ti . The parameters of the additional
encoder and decoder are then jointly trained to optimize the learning objective Lflow .
Given that the parameters of the encoder and the decoder are shared in Normalizing Flows, the gradient-based optimization
within our framework receives conflicting directions due to gradient flow from both the direct and inverse transformations
simultaneously. We discovered that this adapter construction was challenging to optimize in practice, and we defer the
exploration of this direction to future research endeavors.

C. Experimental setup
C.1. Datasets

Table 4: Characteristics of the multivariate time series datasets used in our experiments with various sizes and dimensions.

            Dataset                     ETTh1              Illness        ExchangeRate               Weather
            # features                     7                  7                 8                       21
            # time steps                13603                169              6791                    51899
            Granularity                 1 hour             1 week             1 day                 10 minutes
            (Train, Val, Test)    (8033, 2785, 2785)     (69, 2, 98)    (4704, 665, 1422)      (36280, 5175, 10444)


C.2. Implementation details
In this section, we describe the full AdaPTS framework, starting from the data preprocessing, the training algorithm, and
the hyperparameters optimization.

Preprocessing. Given that the adapter as defined in Definition 2.1 is a feature space transformation, we start by rescaling
(StandardScaler and MinMaxScaler) the data where all the timesteps are regarded as data points. To account for the temporal
specificities in each batch, we use Reversible Instance Normalization (RevIn) (Kim et al., 2022) that has been proven to
mitigate time-related distribution shifts in time series problems. Finally, and following the observation that PCA when
composed with a linear adapter showed the best result in the case of correlated data (Fig. 2), we include the possibility of
applying full-component PCA as part of our data pre-processing pipeline.

                                                               16
                                   AdaPTS: Adapting Univariate Foundation Models to Probabilistic Multivariate Time Series Forecasting

                            1e 1                                                                                             1e 1




                                                                                                  Mean Squared Error
Mean Squared Error
                                                                                                                       5.8
                     7.25
                     7.00                                                                                              5.6
                     6.75
                                                                                                                       5.4
                     6.50
                                    I           Wpca                *            *   Wpca                                           I               Wpca              *   *   Wpca
                                                   Adapter Type                                                                                        Adapter Type
                                              (a) Independent                                                                                       (b) Correlated

                                                                 Figure 9: Moment on simulated independent data.


  Training parameters. After the pre-processing phase, we proceed to split the data into a train-validation-test sets, where
  the validation set serves as a tool to select the best hyperparameters for the adapter. The resulting adapter that is instantiated
  with the optimal hyperparameters is then tested against the unseen test dataset. For all of our experiments, we first train
  the linear forecasting head of Moment (referred to as Linear Probing in (Goswami et al., 2024)) with the Adam optimizer
  (Kingma & Ba, 2017), a batch size of 32, a one cycle scheduler starting with 0.001 as learning rate. Once the forecasting
  linear head is trained, we freeze its parameters and proceed to training the adapter. This is done using the Adam optimizer, a
  batch size of 32, a reduce on plateau scheduler starting with 0.001 as learning rate.

   Hyperparameter optimization. In order to select the best hyperparameters for the adapter architecture we use Ray
   tune (Liaw et al., 2018) with the Heteroscedastic and Evolutionary Bayesian Optimisation solver (HEBO) (Cowen-Rivers
   et al., 2022) engine, reporting the average mean squred error (MSE) from k-fold cross validation. Table 5 shows the default
   hyperparameters for each considered adapter.

                                                                          Table 5: Adapters hyperparameters.

                                                       adapter              LinearAE        DropoutLinearAE                             LinearVAE      VAE
                                                       p dropout            −               0.1                                         −              −
                                                       Number of layers     −               −                                           −              2
                                                       Hidden dimension     −               −                                           −              128
                                                       β                    −               −                                           0.5            0.5
                                                       σ                    −               −                                           1.0            1.0




   D. Additional results
   D.1. Moment applied to synthetic data.
  To validate the adapter optimality condition with large non-linear foundation models, we use Moment (Goswami et al.,
  2024). The optimal linear adapter in this case minimizes the following intractable objective:

                                                                                              −1 2
                                                                    L(Wφ ) = ∥Y − fMoment XWφ Wφ ∥F                                                                                  (14)

  To approximately solve this optimization problem, we instantiate Wφ as a single-linear-layer encoder denoted encθ , and
                                             −1
  respectively the inverse transformation Wφ    as a single-linear-layer decoder denoted decθ . We then use gradient-based
  optimization of the parameters θ using the Adam optimizer, aiming at solving the following optimization problem:


                                                                 θ∗ = arg min ∥Y − decθ fMoment (encθ (X)) ∥2F
                                                                                                          
                                                                                                                                                                                     (15)
                                                                            θ


   Fig. 9 shows the performance gain obtained by optimizing a linear adapter on Moment-small foundation model. Unlike the
   tractable case, we observe that in both data modalities (independent and correlated data), PCA has little to no improvement
   over the identity baseline, while φθ∗ reaches an order of magnitude better solution. This confirms our intuition about the
   existence of a better solution than the identity matrix, even in the case of real-world complex foundation models.

                                                                                              17
           AdaPTS: Adapting Univariate Foundation Models to Probabilistic Multivariate Time Series Forecasting

D.2. Mean Absolute Error

                           No adapter                                     with adapter
     Dataset        H
                          Momentsmall         pca            linear         dropout       linear VAE         VAE
                    96    0.422±0.006     0.440±0.000    0.423±0.003     0.415±0.002      0.420±0.001     0.426±0.001
     ETTh1
                   192    0.436±0.000     0.445±0.000    0.449±0.003     0.450±0.001      0.451±0.001     0.444±0.001
                    24    1.143±0.007     1.163±0.001    2.624±0.035      1.156±0.016     1.074±0.011    1.057±0.012
      Illness
                    60    1.149±0.001     1.161±0.001    1.227±0.030      1.173±0.015     1.112±0.021    1.105±0.021
                    96    0.232±0.010     0.235±0.000    0.226±0.000     0.212±0.001     0.218±0.001      0.243±0.001
     Weather
                   192    0.251±0.001     0.260±0.001    0.251±0.001     0.251±0.000     0.255±0.000      0.274±0.000
                    96    0.252±0.010     0.264±0.000    0.308±0.010      0.269±0.012     0.376±0.031     0.488±0.003
  ExchangeRate
                   192    0.329±0.001     0.335±0.000    0.415±0.002      0.419±0.010     0.513±0.010     0.585±0.008

Table 6: Performance comparison between the baseline Moment model without adapters against different adapter archi-
tectures (PCA, LinearAE, dropoutLAE, LinearVAE, and VAE), for multivariate long-term forecasting with different
horizons H. We display the average test MAE ± standard error obtained on 3 runs with different seeds. Best results are in
bold, with lower values indicating better performance.




                                                           18
