Hierarchical time series forecasting requires generating accurate predictions that are coherent across multiple levels of aggregation. Existing methods either rely on two-stage pipelines with post-hoc reconciliation or on end-to-end models that often lack statistical guarantees. We introduce a unified framework that formulates hierarchical forecasting as a multivariate regression problem in a vector-valued reproducing kernel Hilbert space. By designing structured operator-valued kernels, our approach enforces coherence directly within the hypothesis space, ensuring that all predictions satisfy hierarchical constraints by construction. We further propose tailored kernel constructions for hierarchical data and derive excess risk bounds that characterize generalization performance. Empirical results on synthetic and real-world datasets demonstrate the relevance of the proposed method.
1. Introduction
A hierarchical time series (HTS) is a collection of univariate time series organized across multiple levels of aggregation, where higher-level series are obtained by summing lower-level series according to a predefined structure (Hyndman and Athanasopoulos, 2018). A typical example arises in retail: daily demand can be recorded at the individual product level, aggregated into product categories, and further combined to form a total demand series. The problem of hierarchical time series forecasting, first introduced by Athanasopoulos et al. (2009) in the context of Australian domestic tourism, has recently attracted significant attention due to its relevance in a wide range of real-world applications. These include retail sales forecasting (Mancuso et al., 2021; Makridakis et al., 2022), energy consumption forecasting (Nespoli et al., 2020), and road traffic forecasting (Ben Taieb and Koo, 2019), among others.
A key challenge in hierarchical time series forecasting is that one must not only produce accurate forecasts for each individual series, but also ensure that these forecasts are coherent, i.e., they satisfy the aggregation constraints imposed by the hierarchy. Early approaches to this problem predominantly adopt a two-stage framework (e.g., Athanasopoulos et al., 2009; Hyndman et al., 2011; Ben Taieb and Koo, 2019; Wickramasuriya et al., 2019; Zhou et al., 2023). In the first stage, base forecasts are generated independently for each series using standard univariate time series models, such as ETS (Brown, 1959) or ARIMA (Box et al., 2015). In the second stage, these forecasts are adjusted to enforce coherence through a procedure known as reconciliation. More recently, several works (e.g., Rangapuram et al., 2021; Tsiourvas et al., 2024; Cini et al., 2024; Doumèche et al., 2025) have proposed to integrate base forecasting and reconciliation within a single end-to-end framework. In these approaches, model parameters are jointly learned across all series, enabling the direct generation of coherent forecasts without requiring a separate post-processing step. However, most of these methods rely on deep neural network architectures, e.g., DeepVAR (Salinas et al., 2019) or Autoformer (Wu et al., 2021), which can be difficult to train effectively in time series settings where data availability is limited. Furthermore, generalization guarantees remain limited for these end-to-end methods.
In this work, we recast the HTS forecasting problem as a (potentially non-linear) multivariate regression problem and introduce a unified kernel framework in which predictors are learned in a vector-valued reproducing ker-
nel Hilbert space (vv-RKHS, Pedrick, 1957; Schwartz, 1964). This approach is motivated by several key advantages. First, by constructing operator-valued kernels (OVKs, Carmeli et al., 2006) whose associated vv-RKHSs consist only of functions taking values in the coherent subspace, we enforce coherence by construction. Second, the regularized least-squares problem has a unique global minimizer (see, e.g., Micchelli and Pontil, 2005). Finally, the well-established statistical learning theory for RKHSs (see, e.g., Smale and Zhou, 2007; Caponnetto and De Vito, 2007) allows us to derive generalization guarantees for our proposed predictor.
Our paper is organized as follows. In Section 2, we introduce the necessary background on hierarchical time series forecasting and operator-valued kernels. In Section 3, we introduce our predictor RVVKRR, based on vector-valued kernel ridge regression (Micchelli and Pontil, 2005), and provide efficient computational methods for both separable and finite-feature non-separable OVKs. In particular, we characterize the OVKs whose associated vv-RKHS, used as the hypothesis space, contains only functions that produce coherent forecasts. In Section 4, using integral operator theory in vv-RKHSs, we derive an excess risk bound for the proposed predictor under an i.i.d. regression model, explicitly highlighting the roles of both the hierarchical structure and the OVKs. In Section 5, we analyze the behavior of the proposed predictor on a synthetic dataset, and demonstrate its performance on two real-world datasets: TourismLarge and Traffic.
2. Preliminaries
2.1. Hierarchical Time Series Forecasting
A hierarchical time series is a multivariate time series (yt)t=1T∈(Rd)T that satisfies linear aggregation constraints, which can be typically encoded into a tree hierarchy (Hyndman et al., 2011). Here, d∈N∗ represents the number of univariate time series. It can be divided into a bottom-level series (ytb)t=1T with ytb∈Rdb (i.e., the time series at the leaf nodes of the hierarchy), and an aggregated series (yta)t=1T with yta∈Rda (i.e., those of the remaining nodes). Here, we have clearly d=da+db. Formally, at each timestamp t, the vector representing the whole time series yt can be split into two such that yt=[(yta)⊤(ytb)⊤]⊤ and the whole time series can be obtained by the following transformation of the bottom-level series ytb:
yt=SytbwithS=[SsumIdb]∈{0,1}d×db,(1)
where S is called the aggregation matrix and Ssum∈{0,1}da×db is called the summation matrix. It should be noted that the summation matrix describes exactly the hierarchical structure of the time series. A time series that satisfies those constraints is said to be coherent, i.e., yt∈Im(S) for all t∈{1,…,T}. An example of such a hierarchical time series is provided in Section A.1.
Hierarchical Forecasting Methods. In the literature on hierarchical forecasting, to generate the coherent forecast y^t∈Im(S), a two-stage approach is typically followed. In the first stage, the multivariate and hierarchical structure of the data is completely ignored. A separate predictor is trained for each of the d univariate time series, with all predictors learned independently. Any classical time series forecasting method can be used at this stage, such as exponential smoothing (ETS, Brown, 1959), or kernel ridge regression (KRR, Saunders et al., 1998), to name a few. The resulting forecast of the multivariate time series at time step t, referred to as the base forecast, is denoted by y~t∈Rd, which is not necessarily coherent. The second stage, called reconciliation, transforms the base forecast y~t∈Rd into a coherent forecast y^t∈Im(S)⊂Rd. Most reconciliation methods in the literature adopt a linear transformation y^t=SGy~t where G∈Rdb×d is a bottom-extractor matrix or a reconciliation matrix that forms only the bottom-level time series from the full set of forecasts across all hierarchy levels. Different choices of G correspond to different reconciliation strategies, detailed in Section A.2.
End-to-end approaches (e.g., Rangapuram et al., 2021; Tsiourvas et al., 2024; Doumèche et al., 2025) integrate reconciliation directly into the learning procedure. Typically, one chooses a hypothesis space H⊂(Rd)X where X denotes the feature space, and parameterizes the predictor as f(⋅)=SGh(⋅) with h∈H. Learning is performed by solving an empirical risk minimization problem. For example, Rangapuram et al. (2021); Tsiourvas et al. (2024) parameterize H by neural network architectures, such as DeepVAR (Salinas et al., 2019) or Autoformer (Wu et al., 2021).
2.2. Operator-Valued Kernels
Let X be a nonempty set, Y be a real separable Hilbert space with inner space ⟨⋅,⋅⟩Y, and L(Y) be the space of bounded linear operators from Y to Y. Operator-valued kernels (OVKs), defined as follows (see, e.g., Carmeli et al., 2006), can be seen as the generalization of scalar-valued kernels.
Definition 2.1 (Operator-Valued Kernels) A function K:X×X→L(Y) is said to be an operator-valued kernel if it is self-adjoint: for all (xi,xj)∈X2, K(xi,xj)=K(xj,xi)∗ where the superscript ∗ denotes the adjoint of a bounded linear operator; and positive: for all N∈N∗ and y∈Y,
i=1∑Nj=1∑Naiaj⟨K(xi,xj)y,y⟩Y≥0
for all (x1,…,xN)∈XN and (a1,…,aN)∈RN.
The relevance of operator-valued kernels arises from their connection to function spaces known as vector-valued reproducing kernel Hilbert spaces (vv-RKHS, Pedrick, 1957; Schwartz, 1964), defined as follows.
Definition 2.2 (Vector-valued RKHSs) A Hilbert space of functions H⊂YX is called a Y-valued reproducing kernel Hilbert space on X if for all x∈X there exists a positive constant Mx such that ∥f(x)∥Y≤Mx∥f∥H for all f∈H.
Given an operator-valued kernel K, one can show (see, e.g., Carmeli et al., 2006, Proposition 2.1) that there is a unique Y-valued reproducing kernel Hilbert space (RKHS) HK⊂YX such that for all x∈X and for all f∈HK,
f(x)=Kx∗f(reproducingproperty),(2)
where the linear operator Kx:Y→HK is defined by Kxy(x′)=K(x′,x)y, for all x′∈X and for all y∈Y. The converse is true by using the Riesz representation theorem (Carmeli et al., 2006).
A special class of OVKs, called the separable OVKs (see e.g., Caponnetto et al., 2008, Example 1), are often employed in real-world applications:
K(x,x′)=k(x,x′)A,(3)
where k:X×X→R is a scalar-valued kernel defined on the input space X and the operator A∈L(Y), referred to in some literature as the task kernel, is self-adjoint and positive, i.e., A=A∗ and ⟨Ay,y⟩Y≥0 for all y∈Y. More details on the properties of separable OVKs are provided in Section A.3.
OVKs and vv-RKHSs have been employed to address a variety of supervised learning problems in which the output space can be modeled as a real separable Hilbert space. See Section A.4 for a detailed discussion. In this paper, the predictor we introduce for hierarchical time series forecasting is a function of a Im(S)-valued RKHS.
3. Reconciled Forecasting with VVKRR
In this section, we first propose to construct a reconciled hierarchical time series predictor, f^:X→Im(S), using vector-valued kernel ridge regression (VVKRR). This approach, originally introduced by Micchelli and Pontil (2005), leverages OVKs to address regression problems with multidimensional outputs. We then present several strategies for designing appropriate OVKs tailored to the hierarchical time series setting.
Assume that we have observed a hierarchical time series along with its features, denoted as ((x1,y1),…,(xT,yT))∈(X×Im(S))T. For instance, the feature vector xt∈Rdbp+q with (p,q)∈(N∗)2 could include p lagged observations of each of the db bottom-level series, along with q additional covariates capturing temporal effects such as seasonality or calendar-based features. Im(S) is a finite-dimensional subspace of Rd, thus a real Hilbert space with the inner product inherited from Rd. Moreover, one can show that dim(Im(S))=db where db is the number of bottom-level series (see Lemma B.1).
As a result, it is natural to design an OVK of the type K:X×X→L(Im(S)) and consider the vv-RKHS HK⊂Im(S)X associated to it as the hypothesis space of our predictor. We choose to find such a function f^ by solving the following optimization problem:
where λ>0 is a regularization parameter. In the rest of the paper, we refer to such a predictor as the reconciled vector-valued kernel ridge regression (RVVKRR).
By the representer theorem (Micchelli and Pontil, 2005, Theorem 4.1), we know that f^ takes the form f^=∑t=1TKxtct with (ct)t=1T∈(Im(S))T⊂(Rd)T satisfying the following linear system:
Tλct+j=1∑TK(xt,xj)cj=yt.(5)
For separable OVKs, Equation (5) can be reduced to a discrete-time Sylvester equation that can be solved by the Hessenberg-Schur method (Golub et al., 1979; Sima, 1996). When a non-separable OVK admitting an explicit finite-dimensional feature map is employed, we solve the equivalent primal problem using matrix-free preconditioned conjugate gradient method (Hestenes and Stiefel, 1952; Cutajar et al., 2016). More details on the computational methods are provided in Section B.9. It can be shown that f^ can also be written as f^=(Σ^K+λI)−1T1∑t=1TKxtyt with Σ^K:=T1∑t=1TKxtKxt∗ (see e.g., Caponnetto and De Vito, 2007, Proposition 1). While the first expression of the predictor is more suitable from a computational point of view, the latter is more commonly used in the statistical analysis of the predictor, as will be discussed further in Section 4.
3.2. Coherent Operator-Valued Kernels for Hierarchical Time Series
In this section, we introduce two complementary constructions of operator-valued kernels tailored to hierarchical time series. First, we characterize separable coherent OVKs and show how to derive their task kernels from similarity matrices that need not be positive semi-definite. Second, we start from an arbitrary, possibly non-separable, L(Rd)-valued kernel and map it into the coherent output space through a reconciliation operator.
3.2.1. INTRINSIC CONSTRUCTION OF SEPARABLE COHERENT OVKs
As we have shown in Section 2.2, the task kernel A of a separable OVK K(x,x′)=k(x,x′)A must be a self-adjoint and positive operator in L(Im(S)). In this section, we propose a method to construct such a task kernel A from a symmetric similarity matrix M∈Sd that encodes the pairwise similarities between the time series. First, we will characterize all coherent task kernels A by the following lemma, whose proof can be found in Section B.2.
Lemma 3.1 Let (u1,…,udb) be an orthonormal basis for Im(S) with ui∈Rd for all i∈{1,…,db} (for example, obtained by the singular value decomposition of the matrix S). Let US=[u1u2⋯udb]∈Rd×db. Then any self-adjoint and positive operator A∈L(Im(S)) admits a matrix representation USA′US⊤ where A′∈Rdb×db is a symmetric and positive semi-definite matrix.
As a result, designing a coherent separable OVK is equivalent to designing a positive semi-definite task kernel A′∈S+db in the db-dimensional coherent coordinate system. One can simply choose A′=Idb to obtain a coherent task kernel A=USUS⊤, which is the identity operator on Im(S). Another simple choice for A′ is a diagonal matrix A′=diag(λ1,…,λdb) where where λi>0 for all i∈{1,…,db}. However, those choices do not explicitly encode any prior knowledge about the relationships between time series, beyond the aggregation structure. In fact, it can be shown that this choice corresponds to a learning algorithm based on db independent kernel ridge regression predictors (KRR, Saunders et al., 1998; Evgeniou et al., 2000). See Section B.3 for more details.
Instead, we propose to construct the task kernel A∈L(Im(S)) from a similarity matrix M∈Sd, assumed to be available a priori, that encodes the pairwise similarities between the time series. Since such a matrix may not lie in L(Im(S)) or may not be positive semi-definite, we seek a valid task kernel A by finding A′∈S+db that minimizes ∥M−USA′US⊤∥F2. The solution is given by the following lemma, whose proof can be found in Section B.4.
Lemma 3.2 The solution of the optimization problem minA′∈S+db∥M−USA′US⊤∥F2 is given by Aopt′=Qdiag(max(σi,0))Q⊤, where Q∈Rdb×db and (σi)i=1db are from the eigendecomposition of US⊤MUS, i.e., US⊤MUS=Qdiag(σi)Q⊤.
In the case where M∈S+d, the task kernel obtained via the above construction admits a simpler form. This result is summarized in the following corollary, whose proof is provided in Section B.5.
Corollary 3.3 When M∈S+d, the minimizer of the optimization problem minA∥M−A∥F2 with A∈{USA′US⊤∣A′∈S+db} is written as Aopt=PMP where P∈Rd×d is the orthogonal projection matrix onto Im(S).
Following Corollary 3.3, we give an example of a coherent separable OVK constructed from the graph relationship between the time series, which will be used in the synthetic experiment of Section 5.1.
Example 1 (Graph-based separable OVK) Let L be the Laplacian matrix of a graph encoding known relationships between the time series. Since L is positive semi-definite, we may take M=L† in Corollary 3.3, where † denotes the Moore–Penrose inverse. This gives the coherent task kernel ALap=PL†P and the corresponding separable OVK KLap(x,x′)=k(x,x′)PL†P. For comparison, taking M=Id gives KId(x,x′)=k(x,x′)P.
Remark 3.4 Constructing a task kernel A based on the relationships between tasks modeled by a given structure is common in the multi-task learning literature. In the context where the structure is a general graph, Micchelli and Pontil (2004) propose considering the Moore–Penrose inverse of the graph Laplacian L. A non-singular variant, A=(μL+λI)−1, also appeared in Sheldon (2008). When the tasks are organized in a hierarchical fashion, which is closely related to our setting, Widmer et al. (2010) propose defining the similarity matrix between the organisms (leaf nodes) based on their distance in a taxonomic tree.
3.2.2. GENERAL COHERENT OVKs BY LINEAR COMPOSITION
We now consider the case where a L(Rd)-valued kernel is available and propose a method to build a L(Im(S))-valued kernel on top of it. In this case, we can leverage the reconciliation matrix G. Specifically, given a L(Rd)-valued kernel K, define
KSG(x,x′):=SGK(x,x′)GTST
(6) for all (x,x′)∈X2, where S∈{0,1}d×db is the aggregation matrix defined in Equation (1) and G∈Rdb×d is a fixed reconciliation matrix (see Section 2.1). One can verify that KSG is a valid L(Im(S))-valued kernel. The base kernel K determines how inputs and tasks interact before imposing coherence, whereas SG determines the geometry through which these relationships are transferred into the coherent output space. It should be noted that the base kernel K will not be required to be separable. We give first an example of a non-separable base kernel for multivariate time series.
Example 2 (Non-separable Base OVK) Suppose that the input space can be decomposed as X=(X0)d. Let x=(x1,…,xd)∈X, where xr∈X0 contains the covariates of series r∈{1,…,d}. Let B∈Rd×q be an arbitrary task embedding with nonzero rows normalized to unit Euclidean norm. For example, Br,: could be the one-hot encoding that represents the hierarchical level of the series r or other non-hierarchical labels on the series (see, e.g., Section 5.2). Then we define
Aρ=(1−ρ)Id+ρBBT,withρ∈[0,1].(7)
Let λ1,…,λd>0. Given two inputs x=(x1,…,xd) and x′=(x1′,…,xd′), we define a non-separable base kernel Kρ:X×X→L(Rd) as follows: for any r,s∈{1,…,d},
[Kρ(x,x′)]rs=λrλs(Aρ)rsk(xr,xs′),(8)
where k:X0×X0→R is a scalar-valued kernel admitting an explicit finite-dimensional feature map ϕ:X0→Rpϕ, i.e., k(xr,xs′)=⟨ϕ(xr),ϕ(xs′)⟩Rpϕ. Such a kernel allows for task-specific covariates to influence the cross-task relationships. Moreover, Kρ is a valid OVK, as it admits a feature operator Γρ that can be explicitly characterized. More details can be found in Section B.6.
Now we give one example of such general coherent OVKs with the MinT reconciliation matrices.
Example 3 (MinT) Let W∈S++d be an estimate of the covariance matrix of the base-forecast errors used in the MinT reconciliation (Wickramasuriya et al., 2019). The common MinT variants, e.g., OLS, WLS-variance and shrinkage, correspond to
where W is the empirical covariance matrix of the base-forecast residuals and α∈(0,1] is the shrinkage intensity (see Section A.2 for more details). Then the MinT reconciliation matrix (Wickramasuriya et al., 2019) and the corresponding coherent projection are GW=(S⊤W−1S)−1S⊤W−1 and PW=SGW.
For any base OVK K, we define the associated MinT-composed OVK as
KW(x,x′)=PWK(x,x′)PWT.(11)
For W=Id, PW is the orthogonal projector P=S(S⊤S)−1S⊤. Thus, if K(x,x′)=k(x,x′)A is separable, Equation (11) reduces to k(x,x′)PAP and coincides with Corollary 3.3.
Interestingly, the predictor obtained by choosing an OVK of this form coincides with that produced by an alternative learning algorithm previously studied in the kernel literature for other types of outputs (see Section A.4 for further details). Specifically, for any λ>0, if h^ is the minimizer of the optimization problem:
where HK,SG is the RKHS associated to KSG as defined in Equation (6). The proof of the observation is provided in Section B.7. It also allows us to reinterpret the WeaKL estimators introduced by Doumèche et al. (2025) into our framework, by viewing them as instances where the OVKs are special cases of the construction in Equation (6). Additional discussion on this connection is provided in Section B.8.
4. Statistical Analysis
4.1. Statistical Setting
In this section, from now on, we consider hierarchical time series forecasting as a possibly nonlinear regression problem. Let (X,Yb,Y) be three random variables, valued in X, Yb and Y respectively. In the hierarchical forecasting setting, Yb denotes the db bottom-level time-series observations, Y denotes the d time-series observations across all levels, and X denotes the associated covariates. We assume that X is a Polish space, Yb and Y are two real separable Hilbert spaces. We consider that the following relationships exist between the variables:
Yb=g⋆(X)+ξ,Y=SYb,
(14) where g∗:X→Yb is an unknown target function and S∈L(Yb,Y) is a known bounded linear operator. Here, ξ is a Yb-valued random variable modeling the noise. We assume that Im(S) is closed, so that it is a valid Hilbert space with the inner product inherited from Y.
Let P be the joint probability distribution of (X,Y), and ρ be its marginal distribution on X. Given T observed data points ((x1,y1),…,(xT,yT))∈(X×Y)T independently distributed by P, the goal is to obtain an estimator f^:X→Im(S) of S∘g∗ whose excess risk can be controlled, defined as follows:
It should be noted that the statistical analysis in this section assumes i.i.d. input–output pairs. Extending the excess-risk bound to temporally dependent observations is left for future work.
Let L2(X,ρ,Y) be the Hilbert space of measurable function f:X→Y that are square-integrable with respect to the probability measure ρ, i.e., ∫X∥f(x)∥Y2dρ(x)<∞. Such a space is endowed with the inner product defined by ⟨f1,f2⟩ρ=∫X⟨f1(x),f2(x)⟩Ydρ(x) and the associated norm ∥⋅∥ρ induced by the inner product.
We make the following assumptions.
Assumption 1 ∥g⋆(X)∥Yb2≤C1<∞ almost surely and ∥ξ∥Yb2≤C2<∞ almost surely.
Assumption 2 ∥Kx∥22=tr(Kx∗Kx)≤κ<∞ for all x∈X.
Assumption 3 The random variables X and ξ are independent and E[ξ]=0.
Assumption 4 There exists an h⋆∈L2(X,ρ,Y) such that, for some 0<r≤1, S∘g⋆=LKrh⋆ where the integral operator LK:L2(X,ρ,Y)→L2(X,ρ,Y) is defined by LKh:=∫XKxh(x)dρ(x) for any h∈L2(X,ρ,Y).
The source condition in the last assumption is standard in the kernel literature and controls the smoothness of the target function S∘g⋆ relative to the kernel integral operator LK.
4.2. Main Results
We now present a compact excess-risk bound for the RVVKRR estimator, whose proof is deferred to Section C. The proof is obtained using the technique of integral operators in RKHS, particularly introduced by Smale and Zhou (2007); Caponnetto and De Vito (2007). To state the result, define the covariance operator and its effective dimension by ΣK:=∫XKxKx∗dρ(x) and N(λ):=tr((ΣK+λI)−1ΣK).
Proposition 4.1 (Excess-risk Bound) Under Assumptions 1 to 4, let δ∈(0,1) and suppose that λ≥8log(δ4)Tκ. Then, with probability at least 1−δ,
with σS2:=E[∥Sξ∥Y2],BS2:=∥S∥op2C1,MS2:=∥S∥op2C2 and Rr:=LK−r(S∘g⋆)ρ.
The first term in Proposition 4.1 is the estimation error, controlled by the effective dimension and the transformed noise level. The second term is the approximation error induced by regularization and the source condition.
Remark 4.2 In the HTS setting, we have Y=Im(S)⊂Rd. Denote Σξ=E[ξξ⊤]∈Rdb×db. Then by the definition of σS2, we have
Thus, the estimation error in Proposition 4.1 depends on both the total bottom-level noise level tr(Σξ) and the aggregation structure. For a binary summing matrix, ∥S∥F2 counts the total number of bottom-series memberships across the hierarchy. Indeed, ∥S∥F2=∑i=1d∑j=1dbSij2=∑i=1d∑j=1dbSij, and Sij=1 exactly when the bottom-level series j contributes to series i. Consequently, a deeper or more densely aggregated hierarchy can increase this upper bound on the propagated noise.
5. Numerical Experiments
In this section, we present an empirical study of the proposed predictors on both synthetic and real-world datasets. For the two-stage baseline models, the reconciliation methods are implemented using the HierarchicalForecast library 1 (Olivares et al., 2022). For evaluation, we report the mean squared error (MSE) computed at each hierarchical level as well as across all levels.
5.1. Synthetic Dataset
Generation Process. We generate a three-level hierarchy with d=8 series: one top-level, two middle-level, and
db=5 bottom-level series. Each bottom-level series follows an additive trend–seasonality model with correlated Gaussian noise; series sharing a parent have the same trend and seasonal components. The remaining series are obtained by aggregation with S, ensuring coherence by construction. A scalar α≥0 controls the noise level. Exact parameter values, the covariance construction, and an example realization are provided in Section D.1.
Experimental Setting. We investigate how model performance depends on the training length T, with the covariance scaling parameter fixed at α=0.6. We take T∈{40,80,160,320} and run 32 Monte Carlo simulations for each value. In each simulation, we generate hierarchical time series of length T+200: the first T timestamps are used for training, the next 100 for validation and hyperparameter selection, and the last 100 for testing. For the input covariates, we use xt=(t,sin(2πt/7),sin(2πt/30))∈R3 for all series in the hierarchy. We compare KRR followed by reconciliation with our RVVKRR predictor. For KRR, the ridge parameter λ is cross-validated separately for each series, and we consider some reconciliation strategies described in Section A.2. For RVVKRR, we use the two separable OVKs introduced in Example 1: the identity kernel (RVVKRR-I) and the graph-based kernel (RVVKRR-Lap). The graph connects bottom-level series sharing the same parent, and the corresponding edge weights are selected by validation. The node-wise diagonal weights are set to the KRR ridge parameters.
Figure 1. All-level MSE on the synthetic dataset as a function of the training length T, with α=0.6.
Experimental Results. Figure 1 illustrates the impact of the training length T on the MSE across all levels. Employing a Laplacian OVK yields better results than using an identity kernel. Moreover, RVVKRR consistently outperforms the two-stage methods, particularly in low-data regimes (T=40 or T=80). Additional results on the effect of the covariance scaling parameter α are reported in Section D.1.
5.2. TourismLarge Dataset
Dataset. We next consider the Australian domestic TourismLarge dataset (Wickramasuriya et al., 2019), which contains 228 monthly observations from January 1998 to December 2016. The hierarchy comprises d=415 series: one country, 7 states, 27 zones, 76 regions, and 304 bottom-level region-purpose series. The four bottom-level purposes are holiday, visiting friends and relatives (VFR), business, and other.
Experimental Setting. We use the preceding 24 observations of each series as its covariates. After constructing these lags, 204 observations remain; the last 24 form the test set and the first 180 form the training set. Hyperparameters are selected by three-fold expanding-window cross-validation. Independent OLS and KRR each use only the 24 lags of the series being predicted. KRR uses a linear input kernel. For both independent estimators, we report unreconciled forecasts and forecasts reconciled using the reconciliation methods described in Section A.2. RVVKRR receives the concatenation of all series-specific lag blocks, hence xt∈R24d. The OVK used by RVVKRR combines the non-separable base kernel of Example 2 with the MinT (shrinkage) projection of Example 3. The scalar-valued kernel in Equation (8) is the linear kernel. We take B=Bpur∈Rd×5, whose r-th row is the one-hot encoding of the membership of series r in either the aggregate category or one of the four travel-purpose categories. These relationships are not explicitly encoded by the aggregation matrix. The parameters λr are inherited from the independent KRR. Cross-validation selects ρ=0.1.
Table 1. Test MSE for KRR and RVVKRR at each aggregation level of TourismLarge, reported in millions ( 106 ). All sums the level-wise MSEs. † denotes unreconciled forecasts. Lower is better.
Method
Ctry.
State
Zone
Reg.
Purp.
All
KRR base forecasts
Unreconciled †
2.71
1.69
1.30
1.19
1.13
8.02
Bottom-Up
8.06
2.53
1.53
1.21
1.13
14.46
Top-Down (AHP)
2.71
3.94
2.38
2.05
1.92
13.00
Top-Down (PHA)
2.71
3.89
2.37
2.04
1.92
12.94
MinT (OLS)
2.72
1.58
1.25
1.12
1.11
7.78
MinT (shrinkage)
3.05
1.60
1.21
1.08
1.06
7.99
MinT (WLS-var)
4.56
1.83
1.29
1.11
1.09
9.89
ERM (closed form)
5.36
2.50
2.61
2.57
2.52
15.57
RVVKRR
2.02
1.52
1.30
1.24
1.57
7.64
Experimental Results. Table 1 reports the test MSE at each aggregation level; the full comparison, including OLS base forecasts and alternative RVVKRR projections, is given in Section D.2. Relative to the matched two-stage KRR with MinT (shrinkage) baseline, the RVVKRR predictor with the CV-selected purpose prior ( ρ=0.1 ) reduces the all-level MSE from 7.99×106 to 7.64×106. The gains are concentrated at the country and state levels, with larger errors at the lower levels.
5.3. Traffic Dataset
Dataset. We finally consider the SF Bay Area daily Traffic dataset, originally preprocessed by Ben Taieb and Koo (2019) and distributed with the HierarchicalForecast benchmark (Olivares et al., 2022). It contains 366 daily observations from January 1 to December 31, 2008, for d=207 series arranged in four levels: one total series, two Level 2 aggregates, four Level 3 aggregates, and db=200 bottom-level series.
Experimental Setting. For each series r, the covariate vector xt,r∈R23 contains 16 raw lag values at lags 1,…,14, 21, and 28, six Fourier features corresponding to harmonics 1, 2, and 3 of the weekly period P=7, and a linear trend. As for TourismLarge, independent KRR uses only xt,r to predict series r, whereas RVVKRR receives the concatenation xt=(xt,1,…,xt,d)∈R23d. No feature standardization is applied. Independent KRR uses a linear kernel, with a separate ridge parameter λr selected for each series by time-series cross-validation. For RVVKRR, we set ρ=0 in the base OVK of Example 2 and compose this kernel with a MinT projection as in Example 3. The parameters λr are inherited from the fitted independent KRR and set the relative regularization scales. We consider three projections inside the kernel: MinT (OLS), MinT (shrinkage), and MinT (WLS-var). Within each training window, the covariance proxies for the latter two are estimated from in-sample residuals of auxiliary independent KRR predictors. For each RVVKRR variant, the global regularization parameter λ is selected by cross-validation. The corresponding KRR+MinT baselines apply the same OLS, shrinkage, or variance-weighted projection to independently fitted KRR forecasts post hoc. The full comparison with additional models and further experimental details are provided in Section D.3.
Experimental Results. Table 2 shows that post-hoc MinT reconciliation does not necessarily improve independent KRR: OLS and shrinkage yield only marginal changes, while WLS-var degrades performance. In contrast, placing the shrinkage or WLS-var projection inside the joint RVVKRR fit substantially reduces the all-level MSE. This benefit is not due to coherence alone, since RVVKRR-MinT (OLS) remains close to independent KRR. Unlike post-hoc reconciliation, which only transforms already fitted forecasts, an internal projection changes the RKHS geometry and allows the series-specific feature blocks to be estimated jointly. The resulting gains occur mainly at the aggregate levels, at the cost of some bottom-level accuracy under the stated all-level MSE objective.
Table 2. Test MSE at each aggregation level of Traffic, reported in thousands (103). All sums the level-wise MSEs. † denotes incoherent forecasts. Lower is better.
Method
L1
L2
L3
Bottom
All
KRR base forecasts
Unreconciled †
8.95
5.05
2.84
0.63
17.47
MinT (OLS)
9.01
4.95
2.85
0.61
17.42
MinT (shrinkage)
9.16
4.83
2.69
0.60
17.28
MinT (WLS-var)
11.68
6.11
3.34
0.62
21.76
RVVKRR forecasts
MinT (OLS)
8.99
4.93
2.79
0.61
17.32
MinT (shrinkage)
3.84
2.14
2.20
3.39
11.57
MinT (WLS-var)
0.32
0.24
0.44
3.02
4.03
6. Conclusion
We introduced RVVKRR, an end-to-end kernel framework for hierarchical time series forecasting that enforces coherence directly in the hypothesis space. Experiments on synthetic and real datasets show that embedding an appropriate hierarchical geometry within joint estimation can outperform post-hoc reconciliation, while coherence alone does not guarantee an improvement. Future work should learn the coherent kernel geometry from data, accommodate level-specific forecasting priorities, scale to larger hierarchies, and extend the analysis to dependent time-series observations.
References
Athanasopoulos, G., Ahmed, R. A., and Hyndman, R. J. (2009). Hierarchical Forecasts for Australian Domestic Tourism. International Journal of Forecasting, 25(1):146–166.
Ben Taieb, S. and Koo, B. (2019). Regularized Regression for Hierarchical Forecasting Without Unbiasedness Conditions. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, KDD '19, pages 1337–1347, New York, NY, USA. Association for Computing Machinery.
Bonilla, E. V., Chai, K., and Williams, C. (2007). Multitask Gaussian Process Prediction. In Platt, J., Koller, D., Singer, Y., and Roweis, S., editors, Advances in Neural Information Processing Systems, volume 20, pages 153–160. Curran Associates, Inc.
Bouche, D. (2023). Function-valued regression with kernels: Improving speed, flexibility and robustness. Theses, Institut Polytechnique de Paris.
Bouche, D., Clausel, M., Roueff, F., and d'Alché Buc, F. (2021). Nonlinear Functional Output Regression: A Dictionary Approach. In Banerjee, A. and Fukumizu, K., editors, Proceedings of The 24th International Conference on Artificial Intelligence and Statistics, volume 130 of Proceedings of Machine Learning Research, pages 235–243. PMLR.
Box, G. E., Jenkins, G. M., Reinsel, G. C., and Ljung, G. M. (2015). Time Series Analysis: Forecasting and Control. John Wiley & Sons.
Brouard, C., d'Alché Buc, F., and Szafranski, M. (2011). Semi-supervised Penalized Output Kernel Regression for Link Prediction. In Getoor, L. and Scheffer, T., editors, Proceedings of the 28th International Conference on Machine Learning, pages 593–600, Bellevue, Washington, USA. Omnipress.
Brouard, C., Shen, H., Dührkop, K., d'Alché Buc, F., Böcker, S., and Rousu, J. (2016). Fast Metabolite Identification with Input Output Kernel Regression. Bioinformatics (Oxford, England), 32(12):i28–i36.
Brown, R. G. (1959). Statistical Forecasting for Inventory Control. McGraw-Hill.
Caponnetto, A. and De Vito, E. (2007). Optimal Rates for the Regularized Least-Squares Algorithm. Foundations of Computational Mathematics, 7(3):331–368.
Caponnetto, A., Micchelli, C. A., Pontil, M., and Ying, Y. (2008). Universal Multi-Task Kernels. Journal of Machine Learning Research, 9(52):1615–1646.
Carmeli, C., De Vito, E., and Toigo, A. (2006). Vector Valued Reproducing Kernel Hilbert Spaces of Integrable Functions and Mercer Theorem. Analysis and Applications, 4(04):377–408.
Carmeli, C., De Vito, E., Toigo, A., and Umanità, V. (2010). Vector Valued Reproducing Kernel Hilbert Spaces and Universality. Analysis and Applications, 8(01):19–61.
Cini, A., Mandic, D., and Alippi, C. (2024). Graph-based Time Series Clustering for End-to-End Hierarchical Forecasting. In Salakhutdinov, R., Kolter, Z., Heller, K., Weller, A., Oliver, N., Scarlett, J., and Berkenkamp, F., editors, Proceedings of the 41st International Conference on Machine Learning, pages 8985–8999. PMLR.
Cutajar, K., Osborne, M., Cunningham, J., and Filippone, M. (2016). Preconditioning Kernel Matrices. In Proceedings of the 33rd International Conference on Machine Learning, pages 2529–2538, New York, New York, USA. PMLR.
Doumèche, N., Bach, F. R., Bedek, E., Biau, G., Boyer, C., and Goude, Y. (2025). Forecasting Time Series with Constraints. CoRR, abs/2502.10485.
Evgeniou, T., Micchelli, C. A., and Pontil, M. (2005). Learning Multiple Tasks with Kernel Methods. Journal of Machine Learning Research, 6(21):615–637.
Evgeniou, T., Pontil, M., and Poggio, T. (2000). Regularization Networks and Support Vector Machines. Advances in Computational Mathematics, 13(1):1–50.
Golub, G., Nash, S., and Van Loan, C. (1979). A Hessenberg-Schur method for the problem AX + XB = C. IEEE Transactions on Automatic Control, 24(6):909–913.
Gross, C. W. and Sohl, J. E. (1990). Disaggregation Methods to Expedite Product Line Forecasting. Journal of Forecasting, 9(3):233–254.
Hestenes, M. R. and Stiefel, E. (1952). Methods of Conjugate Gradients for Solving Linear Systems. Journal of Research of the National Bureau of Standards, 49(6):409–436.
Higham, N. J. (1988). Computing a Nearest Symmetric Positive Semidefinite Matrix. Linear Algebra and its Applications, 103:103–118.
Hyndman, R. J., Ahmed, R. A., Athanasopoulos, G., and Shang, H. L. (2011). Optimal Combination Forecasts for Hierarchical Time Series. Computational Statistics & Data Analysis, 55(9):2579–2589.
Hyndman, R. J. and Athanasopoulos, G. (2018). Forecasting: Principles and Practice. OTexts.
Kadri, H., Duflos, E., Preux, P., Canu, S., Rakotomamonjy, A., and Audiffren, J. (2016). Operator-valued Kernels for Learning from Functional Response Data. Journal of Machine Learning Research, 17(20):1–54.
Kadri, H., Ghavamzadeh, M., and Preux, P. (2013). A Generalized Kernel Approach to Structured Output Learning. In Dasgupta, S. and McAllester, D., editors, Proceedings of the 30th International Conference on Machine Learning, volume 28 of Proceedings of Machine Learning Research, pages 471–479, Atlanta, Georgia, USA. PMLR. Issue: 1.
Makridakis, S., Spiliotis, E., and Assimakopoulos, V. (2022). The M5 Competition: Background, Organization, and Implementation. International Journal of Forecasting, 38(4):1325–1336.
Mancuso, P., Piccialli, V., and Sudoso, A. M. (2021). A Machine Learning Approach for Forecasting Hierarchical Time Series. Expert Systems with Applications, 182:115102.
Micchelli, C. and Pontil, M. (2004). Kernels for Multi-task Learning. In Saul, L., Weiss, Y., and Bottou, L., editors, Advances in Neural Information Processing Systems, volume 17. MIT Press.
Micchelli, C. A. and Pontil, M. (2005). On Learning Vector-Valued Functions. Neural Computation, 17(1):177–204.
Minh, H. Q., Bazzani, L., and Murino, V. (2016). A Unifying Framework in Vector-valued Reproducing Kernel Hilbert Spaces for Manifold Regularization and Co-Regularized Multi-view Learning. Journal of Machine Learning Research, 17(25):1–72.
Nespoli, L., Medici, V., Lopatichki, K., and Sossan, F. (2020). Hierarchical Demand Forecasting Benchmark for the Distribution Grid. Electric Power Systems Research, 189:106755.
Olivares, K. G., Garza, F., Luo, D., Challu, C., Mergenthaler, M., and Dubrawski, A. (2022). Hierarchical Forecast: A Reference Framework for Hierarchical Forecasting in Python. CoRR, abs/2207.03517.
Pedrick, G. (1957). Theory of Reproducing Kernels for Hilbert Spaces of Vector Valued Functions. PhD Thesis, University of Kansas.
Pepyouquet, J. (2015). Convex Optimization in Normed Spaces: Theory, Methods and Examples. Springer Cham.
Pinelis, I. (1994). Optimum Bounds for the Distributions of Martingales in Banach Spaces. The Annals of Probability, 22(4).
Rangapuram, S. S., Werner, L. D., Benidis, K., Mercado, P., Gasthaus, J., and Januschowski, T. (2021). End-to-End Learning of Coherent Probabilistic Forecasts for Hierarchical Time Series. In Meila, M. and Zhang, T., editors, Proceedings of the 38th International Conference on Machine Learning, volume 139 of Proceedings of Machine Learning Research, pages 8832–8843. PMLR.
Rudi, A., Carratino, L., and Rosasco, L. (2017). FALKON: An Optimal Large Scale Kernel Method. In Guyon, I., Luxburg, U. V., Bengio, S., Wallach, H., Fergus, R., Vishwanathan, S., and Garnett, R., editors, Advances in Neural Information Processing Systems, pages 3888–3898. Curran Associates, Inc.
Salinas, D., Bohlke-Schneider, M., Callot, L., Medico, R., and Gasthaus, J. (2019). High-Dimensional Multivariate Forecasting with Low-Rank Gaussian Copula Processes. In Wallach, H., Larochelle, H., Beygelzimer, A., dAlché Buc, F., Fox, E., and Garnett, R., editors, Advances in Neural Information Processing Systems, volume 32, pages 6827–6837. Curran Associates, Inc.
Saunders, C., Gammerman, A., and Vovk, V. (1998). Ridge Regression Learning Algorithm in Dual Variables. In Proceedings of the Fifteenth International Conference on Machine Learning, ICML '98, pages 515–521, San Francisco, CA, USA. Morgan Kaufmann Publishers Inc.
Schwartz, L. (1964). Sous-espaces hilbertiens d'espaces vectoriels topologiques et noyaux associés (Noyaux reproduisants). Journal d'Analyse Mathématique, 13(1):115–256.
Sheldon, D. (2008). Graphical Multi-Task Learning. In NeurIPS Workshop on Structured Input and Structured Output.
Sima, V. (1996). Algorithms for Linear-Quadratic Optimization. CRC Press LLC, Milton.
Simoncini, V. (2016). Computational Methods for Linear Matrix Equations. SIAM Review, 58(3):377–441.
Sindhwani, V., Minh, H. Q., and Lozano, A. C. (2013). Scalable Matrix-Valued Kernel Learning for High-Dimensional Nonlinear Multivariate Regression and Granger Causality. In Proceedings of the 29th Conference on Uncertainty in Artificial Intelligence, pages 586–595, Bellevue, WA. AUAI Press.
Smale, S. and Zhou, D.-X. (2005). Shannon Sampling II: Connections to Learning Theory. Computational Harmonic Analysis - Part 1, 19(3):285–302.
Smale, S. and Zhou, D.-X. (2007). Learning Theory Estimates via Integral Operators and Their Approximations. Constructive Approximation, 26(2):153–172.
Tsiourvas, A., Sun, W., Perakis, G., Chen, P.-Y., and Zhu, Y. (2024). Learning Optimal Projection for Forecast Reconciliation of Hierarchical Time Series. In Salakhutdinov, R., Kolter, Z., Heller, K., Weller, A., Oliver, N., Scarlett, J., and Berkenkamp, F., editors, Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pages 48713–48727. PMLR.
Wickramasuriya, S. L., Athanasopoulos, G., and Hyndman, R. J. (2019). Optimal Forecast Reconciliation for Hierarchical and Grouped Time Series Through Trace Minimization. Journal of the American Statistical Association, 114(526):804–819.
Widmer, C., Leiva, J., Altun, Y., and Rätsch, G. (2010). Leveraging Sequence Classification by Taxonomy-Based Multitask Learning. In Research in Computational Molecular Biology, pages 522–534, Berlin, Heidelberg.
Wu, H., Xu, J., Wang, J., and Long, M. (2021). Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting. In Ranzato, M., Beygelzimer, A., Dauphin, Y., Liang, P., and Vaughan, J. W., editors, Advances in Neural Information Processing Systems, volume 34, pages 22419–22430. Curran Associates, Inc.
Zhou, F., Pan, C., Ma, L., Liu, Y., Wang, S., Zhang, J., Zhu, X., Hu, X., Hu, Y., Zheng, Y., Lei, L., and Yun, H. (2023). SLOTH: Structured Learning and Task-Based Optimization for Time Series Forecasting on Hierarchies. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 37, pages 11417–11425.
Álvarez, M. A., Rosasco, L., and Lawrence, N. D. (2012). Kernels for Vector-Valued Functions: A Review. Foundations and Trends® in Machine Learning, 4(3):195–266.
A. Additional Preliminaries
A.1. Hierarchical Time Series Example
Example 4 gives an illustration of such a hierarchical time series.
Figure 2. A three level hierarchical time series example for the daily raw material demand of a crêperie.
Example 4 Imagine that we have 5 univariate time series representing the daily raw material demand of a crêperie, for example: eggs, butter, cheese, sausage, and ham. The demand for these products can be aggregated to form two new univariate time series representing, respectively, the charcuterie and creamery categories. These two time series can be further aggregated to obtain the total demand. The hierarchical structure is shown in Figure 2. In this example, the summation matrix is defined as follows:
Ssum=110110110101101.(16)
A.2. Reconciliation Strategies
As explained in Section 2.1, a linear reconciliation method transforms a base forecast y~t∈Rd into the coherent forecast
y^t=SGy~t∈Im(S),
where G∈Rdb×d maps forecasts from all levels of the hierarchy to the bottom level. The main classical strategies differ in how they choose G.
Bottom-up reconciliation. The bottom-up approach retains the bottom-level base forecasts and discards the forecasts at the aggregate levels. Its reconciliation matrix is
GBU=[0db×daIdb].
Thus, GBUy~t selects the bottom-level forecasts, which are then aggregated by S to recover forecasts at every level of the hierarchy.
Top-down reconciliation. The top-down approach starts from the base forecast of the top-level series and disaggregates it across the bottom-level series (Gross and Sohl, 1990). It uses
GTD=[p0db×(d−1)],p∈Rdb,
where p contains the disaggregation proportions. Let yttop∈R denote the observed top-level series and let yt,ib denote the i-th bottom-level series, for t∈{1,…,T} and i∈{1,…,db}. The average historical proportions (AHP) method averages the share of each bottom-level series at every training time:
piAHP=T1t=1∑Tyttopyt,ib,i∈{1,…,db}.
By contrast, the proportions of the historical averages (PHA) method computes the share from the historical mean of each series:
For coherent training data, both choices satisfy ∑i=1dbpi=1. The vector p=(p1,…,pdb)⊤ obtained with either method is then used in GTD above.
MinT reconciliation. Let W∈S++d be a positive-definite covariance proxy for the base-forecast errors. The minimum trace (MinT) reconciliation matrix and its associated coherent projection are (Wickramasuriya et al., 2019)
GW=(STW−1S)−1STW−1,PW=SGW.
Ideally, W is the covariance matrix cov(yt−y~t), but this quantity is unknown and must be estimated. Let
W=T1t=1∑T(yt−y~t)(yt−y~t)T
denote the empirical covariance of the base-forecast errors over the T training observations. The variants used in our experiments correspond to the following choices of the covariance proxy.
OLS. The OLS reconciliation of Hyndman et al. (2011) is the special case of MinT obtained with
WOLS=Id.
Indeed,
GWOLS=(STS)−1ST,PWOLS=S(STS)−1ST,
so PWOLS is the orthogonal projector onto Im(S).
WLS-variance. The weighted least squares variance variant retains only the marginal base-forecast error variances:
WWLS=diag(W)=diag(σ12,…,σd2),
where σr2 is the empirical error variance of series r. This diagonal proxy ignores cross-series error correlations.
Shrinkage. The shrinkage variant combines the full empirical covariance matrix with its diagonal counterpart:
Wshr=(1−α)W+αdiag(W),α∈(0,1].
It therefore preserves estimated cross-series error correlations while shrinking them toward zero. For a comprehensive review of classical reconciliation strategies, see Hyndman and Athanasopoulos (2018) and the references therein.
A.3. Separable Operator-Valued Kernels
Separable OVKs provides a clear decoupling between the contribution of input and output, where k measures input similarity and A encodes the relationships between output components, which makes them highly interpretable compared to general OVKs. Moreover, they simplify massively the computation burden for some kernel-based learning algorithms such as multi-task kernel regression (Micchelli and Pontil, 2004) or multi-task Gaussian processes (Bonilla et al., 2007). See, e.g., Álvarez et al. (2012, Section 6) for the discussion on the computation consideration.
A.4. Operator-Valued Kernels in Supervised Learning
In multi-task learning, for instance, it is natural to take the output space to be Rd where d denotes the number of related tasks whose joint learning may yield mutual benefits (Micchelli and Pontil, 2004; Evgeniou et al., 2005). More recently, several works have focused on predicting functional data by setting Y=L2(Ω), the set of square integrable functions on a given compact set Ω⊂Rd (Kadri et al., 2016; Bouche et al., 2021; Bouche, 2023). In the context of structured prediction, complex output objects can be embedded into an RKHS Hk using a scalar-valued kernel k:Y×Y→R, so that the learning problem can be performed by finding a function in an Hk-valued RKHS (Brouard et al., 2011; Kadri et al., 2013; Brouard et al., 2016).
Moreover, learning functions of the form f=P∘h where P:W→Y is a bounded linear operator and h:X→W is a function from a W-valued RKHS, is not totally new in the kernel literature. In vector-valued multi-view learning, Minh et al. (2016) consider P as the combination operator that transforms the output from the m view in W=Ym into a single output in Y. In Bouche et al. (2021), the operator P is a projection operator that transforms the expansion coefficient u∈W=Rd to a function ∑l=1dulϕl∈Y=L2(Ω) where (ϕl)l=1d∈L2(Ω)d is a dictionary of functions.
B. Additional Details for Section 3
B.1. Dimension of the Coherent Forecast Space
Lemma B.1 Let S be the aggregation matrix defined in Equation 1. Then dim(Im(S))=db, where db is the number of bottom-level series.
Proof Suppose that we have Sv=0 for some v∈Rdb. By definition of the matrix S, we have
[SsumIdb]v=[Ssumvv]=0.
The lower block gives v=0. So the only solution of Sv=0 is v=0. Thus, we have Ker(S)={0} and dim(Ker(S))=0. By the rank-nullity theorem, we can conclude that dim(Im(S))=dim(Rdb)−dim(Ker(S))=db.
B.2. Proof of Lemma 3.1
Proof Let A∈L(Im(S)) be self-adjoint and positive, and set P:=USUS⊤, the orthogonal projection onto Im(S). Define
A′:=US⊤AUS∈Rdb×db.
This composition is well-defined since US maps Rdb into Im(S). For every y∈Im(S), Ay belongs to Im(S), so Py=y and PAy=Ay. Consequently,
Hence A′ is symmetric. Positivity of A also yields
⟨A′v,v⟩Rdb=⟨AUSv,USv⟩Rd≥0,∀v∈Rdb,
so A′ is positive semi-definite.
B.3. Diagonal-based Separable OVKs
A specific choice of the separable OVK is to consider a diagonal matrix as A′,i.e.,K(x,x′)=k(x,x′)USA′US⊤ with
A′=diag(λ1,…,λdb)(17)
where λi>0 for all i∈{1,…,db}. We will show here actually this predictor corresponds to the one of a learning algorithm based on db independent predictors of kernel ridge regression (KRR, Saunders et al., 1998; Evgeniou et al., 2000).
When A′ is defined as in Equation (17), solving Equation (52) equals to solving the following linear system
λiTλei+Kei=(YTUS):,iwithei∈RT(18)
for all i∈{1,…,db}, and then defining E such that Ei,:=λiei⊤. We observe that Equation (18) actually corresponds to the linear system arising in KRR (see, e.g., Evgeniou et al., 2000, Equation (4.3)), where the regularization parameter is λiλ and the training label corresponds to the i-th component of the transformed output y′=US⊤y∈Rdb.
For a new input x∈X, let kx=(k(x,x1),…,k(x,xT))⊤ and denote the corresponding scalar KRR predictions by g^i(x)=ei⊤kx. Since the i-th row of A′E is ei⊤, the RVVKRR prediction is
f^(x)=USA′Ekx=USg^1(x)⋮g^db(x).(19)
Thus, the predictor is obtained by fitting db independent KRR predictors to the transformed output coordinates and mapping their predictions back to Im(S) through US.
B.4. Proof of Lemma 3.2
Proof We denote the objective function by J(A′)=M−USA′US⊤F2. Since the objective function is continuous and coercive, and the PSD cone S+db is closed, there exists a minimizer. Moreover, since J is strictly convex, the minimizer is unique. Actually, the minimization problem is a so-called convex quadratic SDP problem. Due to the fact that
whose solution is the nearest PSD matrix of US⊤MUS in Frobenius norm. Higham (1988) shows that the solution is obtained by eigenvalue decomposition of US⊤MUS and zeroing out negative eigenvalues, thus concluding the proof of the lemma.
B.5. Proof of Corollary 3.3
Proof By Lemma 3.2, we have argminA′∈S+dbM−USA′US⊤F2=argminA′∈S+dbA′−US⊤MUSF2. Since M∈S+d, it follows that US⊤MUS∈S+db. Consequently, Aopt′=US⊤MUS∈S+db. It then follows that
Aopt=USAopt′UST=USUSTMUSUST=PMP(24)
where P:=USUS⊤ is actually the orthogonal projection onto Im(S).
B.6. Existence of Feature Map for the Non-separable OVK Defined in Example 2
Proposition B.2 Kρ defined in Example 2 is a valid OVK since it admits a feature operator Γρ such that for all x,x′∈X,
Kρ(x,x′)=Γρ(x)Γρ(x′)∗,
(25) where the feature operator Γρ(x):Rqρ×pϕ→Rd is defined, for all r∈{1,…,d}, by
Since this identity holds for every v∈Rd, it follows that
Kρ(x,x′)=Γρ(x)Γρ(x′)∗.(36)
Thus Kρ is a valid operator-valued kernel, and Γρ is one of its feature operators.
B.7. Proof of the Equivalence of the Two Learning Formulations
The following lemma summarizes the relationship between the RKHS associated to KSG and the one associated to K.
Lemma B.3 Let K be a L(Rd)-valued kernel, and let HK be its associated RKHS. Let SG:Rd→Rd be a bounded operator. Define
HK,SG:={SG∘h∣h∈HK}⊂(Im(S))X,(37)
then HK,SG is the RKHS associated to the operator-valued kernel KSG defined in Equation (6). Moreover,
∥f∥HK,SG=min{∥h∥HK∣h∈HK,SG∘h=f}.(38)
Proof Define the operator W:HK→HK,SG such that W(h)=SG∘h. Let w=SG, then the first part of the lemma can be proved by directly applying Proposition 6 of Carmeli et al. (2010). Moreover, by Proposition 1 of Carmeli et al. (2010), we know that W is a partial isometry from HK onto HK,SG, which proves the second part of the lemma.
The following lemma establishes the existence and uniqueness of the minimizer h^ of Problem (12) and shows that it admits a finite kernel expansion.
Lemma B.4 (Representation Theorem) Problem (12) admits a unique minimizer h^, which is of the form h^=∑t=1TKxtct where ct∈Rd for all t∈{1,…,T}.
Proof Let U={h∣h=∑t=1TKxtct,(ct)t=1T∈(Rd)T} be a subspace of HK. Since U is finite-dimensional and hence closed, we can write HK=U⊕U⊥ where U⊥ denotes the orthogonal complement of U. Any h∈HK can be decomposed as h=hU+hU⊥ with hU∈U and hU⊥∈U⊥. Then by the reproducing property, we have for all t∈{1,…,T},
Hence, if there exists a minimizer h^∈HK, we know that h^∈U.
Recall that our objective function is L(h)=T1∑t=1TSGKxt∗h−ytRd2+λ∥h∥HK2. Since HK is a reflexive Banach space, and L:HK→R is continuous, coercive, and strictly convex, we conclude that the minimum can be reached, and it admits a unique minimizer (see, e.g., Theorem 2.19 of Peypouquet, 2015).
Proof Denoting L(f):=T1∑t=1T∥f(xt)−yt∥Rd2+λ∥f∥HK,SG2, we want to prove that for all f∈HK,SG, L(f^)≤L(f). By Lemma B.3 and the fact that f^=SG∘h^, we have
The general estimator proposed in Doumèche et al. (2025, Section 2) tries to solve the following optimization problem:
θ∈Rd1minT1t=1∑Tℓ(Φ(xt)θ,yt)+∥Mθ∥Rd22(43)
where, for each i∈{1,…,d}, ϕi:X→Rpi is a feature map with pi∈N∗, and d1=∑i=1dpi. Since in Doumèche et al. (2025, Proposition 2.1), M is assumed to be injective, hence the inverse of M⊤M is well-defined. For any x∈X, the feature matrix is defined as
Φ(x):=ϕ1(x)⊤000⋱000ϕd(x)⊤∈Rd×d1(44)
Here, M∈Rd2×d1 is a regularization penalty matrix, and ℓ:Rd×Rd→R+ is a loss function defined as ℓ(y,y′)=∥Λ(y−y′)∥Rd32 with Λ∈Rd3×d. Since ∥Mθ∥Rd22=⟨M⊤Mθ,θ⟩Rd1=(M⊤M)1/2θRd12, denoting w:=(M⊤M)1/2θ∈Rd1, then the above optimization problem can be rewritten as
This problem is equivalent to the following vector-valued regression problem:
f∈HKminT1t=1∑Tℓ(f(xt),yt)+∥f∥HK2.(46)
with the operator-valued kernel defined as, for all (x,x′)∈X2,
K(x,x′)=Φ(x)(M⊤M)−1Φ(x′)⊤∈Rd×d.(47)
To justify this equivalence, set Ψ(x)=Φ(x)(M⊤M)−1/2, so that K(x,x′)=Ψ(x)Ψ(x′)⊤. By Proposition 1 of Carmeli et al. (2010), the associated RKHS consists of the functions fw=Ψ(⋅)w, with norm
∥f∥HK2=min{∥w∥Rd12∣w∈Rd1,Ψ(x)w=f(x) for all x∈X}.(48)
Since the empirical loss depends on w only through fw, minimizing the parameter objective first over all representations of each function yields exactly Equation (46).
The WeaKL-BU estimator proposed in Doumèche et al. (2025, Section 4.1) learns parameters only for the bottom-level series. Let θb∈Rpb collect these parameters, let Φb(x)∈Rdb×pb be their block-diagonal feature matrix, and let Mb∈Rqb×pb be an injective penalty matrix. The predictor for all hierarchy levels is fθb(x)=SΦb(x)θb, with penalty ∥Mbθb∥Rqb2. Applying the preceding construction to this parameterization shows that the resulting predictor is the minimizer of Equation (46) with the OVK
KBU(x,x′)=SΦb(x)(MbTMb)−1Φb(x′)TST∈Rd×d.(49)
Similarly, the WeaKL-T estimator adds transfer learning constraints to the same bottom-level parameterization. We use the notation J, D, ΠJ, and PJ from Doumèche et al. (2025, Section 4.1), to which we refer for their definitions. In particular, PJ is the orthogonal projector onto the parameter-sharing subspace, so (ID∣J∣−PJ)⊤(ID∣J∣−PJ)=ID∣J∣−PJ. The estimator corresponds to the minimizer with the OVK
with μ≥0 since μ(ID∣J∣−PJ)ΠJθb2+∥Mbθb∥2=(μΠJT(ID∣J∣−PJ)ΠJ+MbTMb)1/2θbRpb2.
To express both kernels in the form of Equation (6), let GBU=[0db×daIdb] and embed the bottom-level feature matrix into the full output space as Φ(x)=GBUTΦb(x)∈Rd×pb. For either penalty matrix Q=MbTMb or Q=μΠJT(ID∣J∣−PJ)ΠJ+MbTMb, define the base OVK K(x,x′)=Φ(x)Q−1Φ(x′)T. Since GBUGBUT=Idb, composing this base kernel with SGBU yields the corresponding kernel above. Thus, both are special cases of Equation (6).
However, it should be noted that the WeaKL estimators use a weighted loss function and allow complex-valued features, which can be easily extended into our RVVKRR framework.
B.9. Computation Methods for Solving the Linear System in Equation (5)
Now we describe the computational methods for solving the linear system in Equation (5). We will first consider the case of separable OVKs, which is more common in practice, and then discuss the non-separable case.
B.9.1. SEPARABLE OVK CASE
In the case of a separable operator-valued kernel, i.e., K(x,x′)=k(x,x′)A where k:X×X→R is a scalar-valued kernel defined on the input space and the task kernel A∈L(Im(S))⊂Rd×d is self-adjoint and positive, Equation (5) can be expressed in the following matrix form:
TλC+ACK=Y,(51)
with Y=[y1y2⋯yT]∈Rd×T, C=[c1c2⋯cT]∈Im(S)T and K=(k(xi,xj))∈RT×T. As a result of Lemma 3.1, Equation (51) becomes
TλE+A′EK=USTY.(52)
with E=USTC∈Rdb×T, which is a discrete-time Sylvester equation and can therefore be solved with the Hessenberg-Schur method (Golub et al., 1979; Sima, 1996), with a time complexity O(T3+db3) and a space complexity O(T2+db2)2. For a discrete-time Sylvester equation, the solution is unique if and only if σiμj=−1 for all the eigenvalues σi of A′ and all the eigenvalues μj of K (Simoncini, 2016, Section 6), which is satisfied here since A′ and K are both positive semi-definite. Then, the prediction for a given input x∈X is given by: f^(x)=∑t=1TUSA′USTk(x,xt)ct=USA′Ekx with kx=[k(x,x1)⋯k(x,xT)]T∈RT.
Remark B.5 Equation (52) provides another interpretation of our method. We first represent the training outputs as y′=USy∈Rdb in the new orthonormal basis (u1,…,udb) of Im(S). Using this transformed dataset, we then perform the VVKRR with a separable OVK, where A∈S+db.
In the case of a non-separable OVK, the Sylvester formulation in Equation (5) is no longer applicable. A different computational route is available whenever the OVK admits an explicit finite-dimensional feature factorization. Suppose that, for some m∈N∗, there exists a feature operator Γ(x):Rm⟶Im(S) such that K(x,x′)=Γ(x)Γ(x′)∗. By Proposition 2.2 of Carmeli et al. (2006), the RKHS HK is then the set of all functions fθ(x)=Γ(x)θ with θ∈Rm, and the RKHS norm is defined as ∥fθ∥HK=min{∥θ′∥Rm∣fθ′=fθ}. It follows that the RVVKRR defined in Equation (4) can be obtained by solving the following finite-dimensional optimization problem:
Although this system could be solved by explicitly forming and factorizing its m×m coefficient matrix, doing so can be prohibitive. We instead apply the preconditioned conjugate gradient method (Hestenes and Stiefel, 1952; Cutajar et al., 2016) in matrix-free form. Each iteration only requires evaluations of Γ(xt) and its adjoint; the matrix ∑t=1TΓ(xt)∗Γ(xt)+TλIm need not be materialized. In the OVK literature, this strategy has previously been used to solve large-scale discrete-time Sylvester equations induced by the separable matrix-valued kernel regression (Sindhwani et al., 2013). For example, consider the coherent OVK in Section 3.2.2 with the base kernel of Example 2. For a generic input x=(x1,…,xd), write ϕr=ϕ(xr)∈Rpϕ, ℓr=(Lρ)r,:⊤∈Rqρ, θ=vecr(Θ)=vec(Θ⊤) with Θ∈Rqρ×pϕ, and R=SG. Since Γ(x)=RΓρ(x), its forward evaluation is
Let p=pϕ,q=qρ. In the real implementation, it is more practical to define the batched forward operator F:Rq×p→Rdb×T and its adjoint F∗:Rdb×T→Rq×p as follows:
One can check that F∗ is indeed the adjoint of F with respect to the Frobenius inner product, i.e., for all Θ∈Rq×p and C∈Rdb×T, we have ⟨F(Θ),C⟩Rdb×T=⟨Θ,F∗(C)⟩Rq×p. As a result, Equation (60) can be rewritten as
(F∗F+TλIRq×p)Θ=F∗(Y),(63)
where Y=[y1⋯yT]∈Rd×T and Y=USTY∈Rdb×T.
We propose solving Equation (63) using the matrix-free preconditioned conjugate gradient method (Hestenes and Stiefel, 1952; Cutajar et al., 2016), with the preconditioner and custom initialization3, where only the forward operator F and its adjoint F∗ are needed. The following paragraphs describe how to compute F and F∗ efficiently using tensor contractions.
Tensor Computation of F and F∗ Let X∈RT×d×p be the feature tensor defined by Xt,r,:=ϕ(xt,r)T. Define the intermediate matrix AΘ∈Rd×T by
AΘ=[Γρ(x1)Θ⋯Γρ(xT)Θ]∈Rd×T.(64)
Then
F(Θ)=USTRAΘ∈Rdb×T.(65)
The entries of AΘ can be computed by the tensor contraction
Then F∗(C)=LρTGC. Moreover, to apply conjugate gradients, we identify Θ∈Rq×p with θ∈Rqp using row-wise vectorization.
Preconditioner We denote by vecr the row-wise vectorization of a matrix, i.e., for Θ∈Rq×p, we have
ϑk=Θk,:T∈Rp,θ=vecr(Θ)=[ϑ1T⋯ϑqT]T.(68)
Let matr denote the inverse of the row-wise vectorization introduced above. We denote by H∈Rqp×qp the matrix representation of the operator F∗F+TλIRq×p and set
and Φr∈RT×p the feature matrix of series r, whose t-th row is ϕ(xt,r)⊤.
To increase the convergence speed of conjugate gradients, we use a preconditioner Mρ≈H−1, which maps the residual rj to zj=Mρrj. Following the general principle of approximate-inverse preconditioning for kernel systems (Cutajar et al., 2016; Rudi et al., 2017), we use one of two approximations depending on whether the kernel contains task coupling. When ρ>0, we use the following Kronecker approximation of H:
where (CX)rs=p1tr(Φr⊤Φs). Thus the task-only preconditioner is
Mtask=Htask−1=Atask−1⊗Ip.(76)
It retains all interactions between the q task factors and treats the feature directions as isotropic. When ρ=0, there is no task-factor mixing: q=d, L0=Id, and J=Dλ−1/2. We instead use a feature-only block-Jacobi approximation that discards the off-diagonal blocks of H, i.e.,
Hfeature:=blockdiag(H11,…,Hqq)≈H.(77)
In this case, Equation (71) shows that its diagonal blocks are exactly
Ak:=Hkk=λkΩkkΦkTΦk+TλIp.(78)
The feature-only preconditioner is therefore
Mfeature=blockdiag(A1−1,…,Aq−1).(79)
Indeed, Ω⪰0 and CX⪰0, so the Schur product theorem and Tλ>0 imply Atask≻0 and Ak≻0 for every k; consequently, both Mtask and Mfeature are symmetric positive-definite and are valid PCG preconditioners.
Initialization Instead of starting the conjugate gradient method from the zero vector, we propose to use a warm start based on the independently fitted KRR coefficients, which are denoted by
βr=(ΦrTΦr+TλλrIp)−1ΦrTyr.(80)
where yr=(y1,r,…,yT,r)⊤∈RT and Φr∈RT×p has rows ϕ(xt,r)⊤ as we defined before. Specifically, we begin from θ0=vecr(Θ0) where Θ0 is constructed as follows:
Θ0:=Lρ†λ1β1T⋮λdβdT,
(81) where Lρ† is the Moore–Penrose inverse. As a result, for ρ=0, L0=Id, it can be shown that Θ0 reproduces the d independent-KRR predictors before the coherent transformation US⊤R is applied since
For ρ>0, Θ0 minimizes ∥LρΘ−W∥Rd×p2 where W=[λ1β1⋯λdβd]⊤.
Once PCG returns θ, we reshape it as Θ=matr(θ)∈Rqρ×pϕ and predict, for any x∈X,
f(x)=RΓρ(x)Θ=USΓR,ρ(x)Θ∈Im(S),(83)
so coherence holds by construction.
C. Excess-Risk Bounds and Proofs
Notation for linear operators. Let H and H' be two Hilbert spaces. Let (ek)k∈I be any orthonormal basis of H.
Let B(H,H′) be the space of bounded linear operators from H to H′. It's a normed space endowed with the operator norm ∥⋅∥op defined by ∥A∥op:=suph∈H,∥h∥H≤1∥Ah∥H′. Moreover, for any bounded operators A,B, when the output space of B is the input space of A, we have
∥AB∥op≤∥A∥op∥B∥op.(84)
We define also ∣A∣:=(A∗A)21.
Let B0(H,H′) be the space of compact bounded linear operators from H to H′.
Let B1(H,H′) be the space of Schatten 1-class or trace class operators from H to H′, i.e.,
It is a Banach space endowed with the so-called trace class norm ∥⋅∥1 defined by ∥A∥1:=∑k∈I⟨∣A∣ek,ek⟩H=∑k∈Iσk(A), where (σk(A))k∈I are the singular values of A. For a trace class operator A∈B1(H), its trace is well-defined: tr(A):=∑l∈I⟨Ael,el⟩H≤∥A∥1<∞.
Let B2(H,H′) be the space of Schatten 2-class or Hilbert-Schmidt operators from H to H′, i.e.,
Then we can define a so-called Hilbert-Schmidt norm on B2(H,H′) as follows: ∥A∥HS:=(∑k∈I⟨∣A∣2ek,ek⟩H)1/2=(∑k∈I∥Aek∥H′2)1/2=(∑k∈Iσk2(A))1/2. For any (A,B)∈B2(H,H′), A∗B is in B1(H). As a result, tr(A∗B) is well-defined. We can therefore endow B2(H,H′) with an inner product defined by ⟨A,B⟩2:=tr(A∗B), and show that it is a Hilbert space. The corresponding Hilbert-Schmidt norm is denoted by ∥⋅∥2 and we have ∥A∥2=tr(A∗A)=∥A∥HS. One can show that a trace-class operator is automatically Hilbert-Schmidt, so we have
B1(H,H′)⊂B2(H,H′)⊂B0(H,H′).(87)
Moreover, for all A∈B1(H,H′), one has
∥A∥op≤∥A∥2≤∥A∥1.(88)
And for all A∈B(H), B∈Bp(H) with p∈{1,2}, we have
∥AB∥p≤∥A∥op∥B∥p.(89)
Before presenting the main results of this section, we recall that it can be shown that the estimator of the RVVKRR can also be written in the following form:
f^=(Σ^K+λI)−1T1t=1∑TKxtyt(90)
with
Σ^K:=T1t=1∑TKxtKxt∗.(91)
We introduce fλ which is a solution of the following optimization problem:
fλ∈argf∈HKmin{∥f−S∘g⋆∥ρ2+λ∥f∥HK2}.(92)
Since λ>0, a unique minimizer fλ exists, and is given by (see Proposition 1 of Caponnetto and De Vito (2007) for example):
fλ=(ΣK+λI)−1∫XKxS∘g⋆(x)dρ(x)(93)
where
ΣK:=∫XKxKx∗dρ(x).(94)
To ensure that the Bochner integral in Equation (93) is well-defined, we assume additionally that HK is separable, and (x,x′)↦⟨Kxy,Kx′y′⟩HK is measurable for all y,y′∈Y (see, e.g., Caponnetto and De Vito, 2007, Hypothesis 1).
C.1. Auxiliary Results
First, we show some useful lemmas that are the direct consequences of the assumptions we made in Section 4.1.
Proof By definition of fλ (Equation (92)), we have
∥fλ−S∘g⋆∥ρ2+λ∥fλ∥HK2≤∥S∘g⋆∥ρ2.(98)
The fact that
∥S∘g⋆∥ρ2=∫X∥S∘g⋆(x)∥Y2dρ(x)≤∥S∥op2C1(99)
concludes the proof.
Lemma C.2 Under Assumption 2, Kx∗Kx is a trace-class operator, and we have
∥Kx∗Kx∥op≤∥Kx∗Kx∥2≤∥Kx∗Kx∥1≤κ(100)
Proof Since Kx∗Kx is a self-adjoint, positive operator, we have ∣Kx∗Kx∣=Kx∗Kx. Then by definition of the trace norm and the trace, ∥Kx∗Kx∥1=tr(Kx∗Kx)≤κ. The other inequalities are due to the properties of the trace-class operator.
Lemma C.3 Under Assumption 3, it can be shown that
The source condition in Assumption 4 is standard in the kernel literature and controls the smoothness of the target function. It is convenient for bounding the approximation error through the following lemma, which is similar to Proposition 3 in Caponnetto and De Vito (2007). The scalar-valued kernel version and its proof can be found in Theorem 4 of Smale and Zhou (2005); we omit the proof here.
Lemma C.4 Under Assumption 4, we have
∥fλ−S∘g⋆∥ρ≤λrLK−r(S∘g⋆)ρ.(102)
Before giving the explicit excess-risk bound and its proof, we present several useful auxiliary results. We first restate Bennett's inequality for Hilbert-space-valued random variables. This is a restatement of Lemma 2 in Smale and Zhou (2007), derived from Theorem 3.4 of Pinelis (1994).
Proposition C.5 (Bennett Inequality in Hilbert Space) Let H be a separable Hilbert space and let Z be a random variable on a probability space (Ω,F,ρ) with values in H. Assume that ∥Z∥H≤M<∞ almost surely. Denote σ2=E[∥Z∥H2]. Let {ωi}i=1n be independent draws from ρ. For any 0<δ<1, with a probability greater than 1−δ,
The second inequality is due to the fact that 2log(2/δ)<2log(2/δ).
Using Proposition C.5, the following two lemmas give some concentration results that are useful to prove the main proposition.
Lemma C.6 Let 0<δ<1. Under Assumption 2, with a probability greater than 1−δ, we have
Σ^K−ΣK2≤4log(δ2)Tκ.(104)
Moreover, we have
(ΣK+λI)−1(Σ^K−ΣK)2≤21(105)
when λ≥8log(δ2)Tκ.
Remark C.7 The above lemma can be seen as the generalization of Lemma 4 in Smale and Zhou (2007) in the case of OVK, and we give here a more concise proof.
Proof We consider the random variable Z:=KXKX∗ valued in B2(HK). Then by Lemma C.2, ∥Z∥2=∥KXKX∗∥2=∥KX∗KX∥2≤κ and E[∥Z∥22]≤κ2. Since B2(HK) is a Hilbert space, applying Proposition C.5 to Z, we obtain:
with N(λ):=tr((ΣK+λI)−1ΣK). N(λ) is often referred to as the effective dimension in the literature. Here, we write yt=S(g⋆(xt)+ξt) where (xt,ξt) are i.i.d. samples of (X,ξ).
Proof To apply Proposition C.5, we define Z:=(ΣK+λI)−21KX(Sξ+S∘g⋆(X)−KX∗fλ) valued in HK. First, we try to bound the HK-norm of the random variable Z:
since (ΣK+λI)fλ=∫XKxS∘g⋆(x)dρ(x) from Equation (93). Denoting u=T1∑t=1TKxtS(g⋆(xt)+ξt)−Σ^Kfλ−(∫XKxS∘g⋆(x)dρ(x)−ΣKfλ), f^−fλρ can be bounded as follows
To bound ΣK21(Σ^K+λI)−1(ΣK+λI)21op, Step 3.1 in the proof of Theorem 4 of Caponnetto and De Vito (2007) shows
ΣK21(Σ^K+λI)−1(ΣK+λI)21op≤2
provided that (ΣK+λI)−1(Σ^K−ΣK)2≤21. Lemma C.6 implies that it holds, with a probability greater than 1−δ/2, when λ≥8log(δ4)Tκ. To bound (ΣK+λI)−21uHK, we apply Lemma C.8, which indicates, with a probability greater than 1−δ/2,
All experiments were conducted on a Linux-based personal computer equipped with an Intel Core Ultra 7 165U processor (12 cores, 14 threads, up to 4.9 GHz). No GPU was used.
Evaluation Metrics. To evaluate methods in the numerical experiments, we report the mean squared error (MSE) computed at each hierarchical level as well as across all levels. Specifically, given an observed time series (yt)t=1T with yt∈Rr where r denotes either the number of series at a given hierarchical level or the total number of series across all levels, and corresponding predictions (y^t)t=1T, the MSE is defined as T1∑t=1T∥yt−y^t∥Rr2.
D.1. Synthetic dataset
Time Series (3)
Time Series (4)
Time Series (5)
Time Series (6)
Time Series (7)
Time Series (8)
Figure 3. A simulation of the synthetic hierarchical time series with α=1 and a length of 300. Time series belonging to the same hierarchical level are represented using the same color.
Generation Process. The hierarchy contains d=8 series distributed over three levels: one top-level series, two middle-level series, and db=5 bottom-level series, with the structure shown in Figure 2. Each bottom-level series i is generated using the additive decomposition model (Hyndman and Athanasopoulos, 2018)
yt(i)=a(i)t+b(i)sin(p(i)2πt)+ϵt(i).
Series sharing a parent have identical trend and seasonal parameters. Specifically, (a(i),b(i),p(i))=(0.02,1,7) for i∈{4,5,6} and (a(i),b(i),p(i))=(0.04,5,30) for i∈{7,8}. Let ξt=[ϵt(4),…,ϵt(8)]⊤∈R5. We draw
where Q is orthogonal and α≥0 controls the noise scale. In particular,
E[∥Sξt∥Y2]=αtr(SQΛQTST).
Writing ytb=[yt(4),…,yt(8)]⊤, the aggregate series are generated as yt(i)=Si,:ytb for i∈{1,2,3}.
Figure 3 shows one realization of the synthetic dataset.
(a)T=80.
(b)T=40.
Figure 4. All-level MSE on the synthetic dataset as a function of the covariance scaling parameter α.
Sensitivity to the covariance scale. We additionally study the effect of the covariance scaling parameter α, varying it over [0,1] for training lengths T=80 and T=40. We run 32 Monte Carlo simulations for each configuration, using the same validation and test lengths as in the main experiment.
Figure 4 shows a quasi-linear relationship between α and the MSE. RVVKRR-Lap consistently outperforms the other methods for all values of α when T=80; when T=40, this holds only for α<0.8.
D.2. TourismLarge dataset
Experimental Setting. Hyperparameters are selected using three-fold expanding-window cross-validation, with training/validation window lengths of 108/24, 132/24, and 156/24. Independent KRR selects a separate ridge parameter λr for each series from 64 logarithmically spaced values between 10−5 and 108. For each RVVKRR projection, ρ is selected from {10−3,3×10−3,10−2,3×10−2,10−1} by minimizing the mean Overall MSE across the three validation folds. This selects ρ=0.03 for MinT (OLS) and ρ=0.1 for both MinT (shrinkage) and MinT (WLS-var). The covariance proxies for the latter two are estimated from in-sample residuals of auxiliary independent KRR predictors within each training window. No feature standardization is applied.
D.3. Traffic Dataset
Experimental Setting. The largest lag used as the feature is 28, leaving 338 observations from the original 366-day sample. We reserve the last 28 observations for testing and use the preceding 310 for model selection and fitting. Hyperparameters are selected using three-fold expanding-window cross-validation by minimizing the MSE. Each validation window contains 28 observations, giving training/validation window lengths of 226/28, 254/28, and 282/28. After selection, every model is refitted on all 310 pre-test observations.
Independent KRR selects a separate ridge parameter λr for each series r from 64 logarithmically spaced values between
Table 3. Full comparison of test MSE at each aggregation level of TourismLarge, reported in millions (106). All sums the level-wise MSEs. † denotes unreconciled forecasts. Lower is better; column-wise minima are bold.
Method
Ctry.
State
Zone
Reg.
Purp.
All
OLS base forecasts
Unreconciled †
3.33
1.98
1.55
1.48
1.32
9.66
Bottom-Up
8.97
2.79
1.88
1.52
1.32
16.48
Top-Down (AHP)
3.33
4.00
2.39
2.06
1.91
13.69
Top-Down (PHA)
3.33
3.95
2.38
2.05
1.91
13.61
MinT (OLS)
3.48
1.77
1.47
1.32
1.28
9.32
MinT (shrinkage)
5.33
1.97
1.49
1.30
1.24
11.33
MinT (WLS-var)
6.59
2.19
1.56
1.33
1.25
12.92
ERM (closed form)
4.03
2.16
2.10
1.98
2.04
12.32
KRR base forecasts
Unreconciled †
2.71
1.69
1.30
1.19
1.13
8.02
Bottom-Up
8.06
2.53
1.53
1.21
1.13
14.46
Top-Down (AHP)
2.71
3.94
2.38
2.05
1.92
13.00
Top-Down (PHA)
2.71
3.89
2.37
2.04
1.92
12.94
MinT (OLS)
2.72
1.58
1.25
1.12
1.11
7.78
MinT (shrinkage)
3.05
1.60
1.21
1.08
1.06
7.99
MinT (WLS-var)
4.56
1.83
1.29
1.11
1.09
9.89
ERM (closed form)
5.36
2.50
2.61
2.57
2.52
15.57
RVVKRR forecasts
MinT (OLS), ρ=0
2.75
1.55
1.23
1.10
1.10
7.73
MinT (OLS), ρ=0.03
2.74
1.54
1.24
1.11
1.10
7.72
MinT (shrinkage), ρ=0
2.01
1.51
1.28
1.23
1.58
7.61
MinT (shrinkage), ρ=0.1
2.02
1.52
1.30
1.24
1.57
7.64
MinT (WLS-var), ρ=0
2.52
1.81
1.45
1.40
1.75
8.93
MinT (WLS-var), ρ=0.1
2.39
1.83
1.49
1.44
1.71
8.85
10−5 and 108. The same selected parameters are used by the auxiliary independent KRR fits that estimate the residual-based MinT projections. Independent OLS uses the same features and has no hyperparameter; the cross-validation results are used only for diagnostic purposes.
For each RVVKRR variant, the global regularization parameter λ is selected by the cross-validation over {10−4,10−3,10−2,10−1,1,10,102,103}. All three variants select λ=1. Covariance-based projections are estimated from in-sample residuals using only the current fold's training window. They are re-estimated using all 310 pre-test observations for the final fit.
Table 4. Full comparison of test MSE at each aggregation level of Traffic dataset, reported in thousands (103). All sums the level-wise MSEs. † denotes unreconciled forecasts. Lower is better; column-wise minima are bold.