Forecasting models get worse the further ahead they predict. For neural autoregressive forecasters, models that predict one step and then feed their own output back in, part of this decay is an optimization failure rather than a modeling one. Temporal horizons in forecasting shows why. When the training loss covers a longer stretch of the future, a horizon $T$, on a chaotic system, gradients grow like $e^{\lambda T}$, where $\lambda$ is the Lyapunov exponent, the rate at which nearby trajectories separate. The number of local minima along lines through parameter space also grows exponentially. Validation error therefore traces a U-shape in $T$. Kernel methods seem to escape this: the representer theorem, the result that a regularized fit over an infinite-dimensional function space has an exact solution spanned by kernel functions centered at the data (Pontil), turns fitting into a convex linear solve with no local minima at all.
But convexity only moves the difficulty. A kernel forecaster still has hyperparameters: bandwidth, regularization strength, how many future steps to train on, and how much to trust far-future targets. Those are tuned on a validation surface that nobody has examined for horizon-driven roughness. This note proposes a multi-horizon kernel forecaster whose training remains an exact finite-dimensional convex problem. It then asks two empirical questions. Does the exponential roughness Aceituno et al. found in neural parameter space reappear in the kernel model's hyperparameter space? And if so, can one physically meaningful hyperparameter, a noise level that grows with lead time, absorb it so that the U-shaped horizon curve flattens?
Core Claim
We claim that roughness can be moved out of the hyperparameter surface, not just out of parameter space. Train a single kernel model $f(x,h)$ that takes both the current state $x$ and the lead time $h$, fitting all horizons up to $T$ at once. Down-weight long-horizon targets with a learned exponential noise schedule. Under this setup, the validation surface over hyperparameters should stay smooth as $T$ grows, validation error should stop rising with $T$, and the fitted noise growth rate should track the system's Lyapunov exponent.
If instead the hyperparameter surface fractures exponentially in $T$, the way the neural parameter landscape does, that is also a clean finding. It would mean horizon-driven roughness is a property of the forecasting problem, not of non-convex models. It would also tell the hyperparameter-optimization community that long-horizon forecasting needs global, multimodal search rather than local tuning.
Model
Each training pair consists of a state $x_i$ and its observed future at lead time $h \in \{1,\dots,T\}$. We fit a function over the joint input space using a product kernel $k((x,h),(x',h')) = k_x(x,x')\,k_h(h,h')$, where $k_x$ compares states and $k_h$ compares lead times. The length scale $\ell_h$ of $k_h$ controls how much the model borrows strength across horizons. We minimize
$$ \sum_{i=1}^{n}\sum_{h=1}^{T} \frac{\big(y_{i,h} - f(x_i,h)\big)^2}{\sigma_0^2\, e^{2\gamma h}} \;+\; \mu \,\|f\|_{\mathcal H}^2 , $$
where $y_{i,h}$ is the observed value $h$ steps after $x_i$, $\sigma_0^2$ is the base noise level, $\gamma$ is a learned growth rate of target unpredictability, and $\mu$ is the ridge penalty. The exponential form follows the $e^{\lambda T}$ sensitivity result: if small state errors grow at rate $\lambda$, the unexplainable part of a far-future target should grow at roughly that rate.
Because each loss term is a bounded evaluation functional, the extended representer theorem of Zhang et al. applies. The minimizer is $f(x,h) = \sum_{i,j}\alpha_{ij}k_x(x,x_i)k_h(h,j)$ with $nT$ coefficients. The noise term is diagonal in $h$ only, so rescaling the horizon Gram matrix by the noise preserves Kronecker structure. Eigendecomposing the $n\times n$ state matrix and the $T\times T$ horizon matrix separately gives the exact solution in $O(n^3+T^3)$ rather than $O(n^3T^3)$. The same eigendecompositions give exact leave-one-out error and its gradient with respect to $(\mu, \ell_x, \ell_h, \gamma)$ in closed form.
For WEATHER-5K-scale data we replace the state kernel with a Nyström projection onto $M$ centers, costing $O(nM^2+M^3)$ as described by Rosasco. This keeps the horizon side exact.
Research Program
The model supplies the method: representer reduction via bounded functionals, Kronecker solves, and Nyström. The chaotic-horizon analysis of Temporal horizons in forecasting supplies both the motivation and the measurement protocol. We reuse its roughness measure, the count of local extrema of validation error along random line segments, but apply it to hyperparameter space instead of parameter space.
We add the sensitivity metrics of Wiemerslage et al.: the number of local maxima across sorted configurations, the mean change between adjacent configurations, and the rank correlation between configuration distance and loss. These make "smoothness of the tuning surface" something we can report as a number.
The program has three parts. First, map the hyperparameter surface densely on synthetic systems as $T$ grows, with and without the noise schedule. Second, compare tuned kernel forecasters against tuned neural and Koopman-kernel forecasters at matched tuning budgets. Third, test whether the learned $\gamma$ carries physical meaning by comparing it with Lyapunov exponents estimated independently from the trajectories.
The Koopman-kernel line constrains the design. Koopman Kernel Regression builds a kernel in which every basis function evolves linearly, so rollouts are cheap and drift-free, but its guarantees cover only transient, non-recurrent dynamics. Error analysis of kernel EDMD bounds one-step sampling and discretization error but gives no uniform bound for long rollouts. Both tune kernel parameters statically or by heuristic cross-validation. Our model gives up linear rollout structure in exchange for applying to chaotic and periodic attractors, and it tunes hyperparameters jointly with horizon.
Regularized Fitted Q-Iteration shows a sharp U-shape in validation error against the RKHS penalty at a fixed planning horizon. That is our reason to expect the penalty's optimum to shift with $T$ unless the noise schedule absorbs the shift.
Baselines
The naive reference point is persistence, which predicts that the future equals the present. Alongside it we run one-step kernel ridge regression rolled out autoregressively with $\mu$ and bandwidth tuned by leave-one-out. This is the direct kernel analogue of the neural model that Aceituno et al. show fails at long horizons, and it shows how much of our gain comes from multi-horizon training at all.
The strongest kernel competitor is independent direct kernel ridge regression: one separate model per lead time, each with its own $\mu$ and bandwidth chosen by closed-form leave-one-out. This is the classical direct forecasting strategy, and it is convex too. It is exactly our model in the limit $\ell_h \to 0$ with $\gamma$ irrelevant, so the comparison isolates the two new ingredients, cross-horizon sharing and the lead-time noise schedule. To beat it, our model must achieve lower long-horizon validation error at equal $n$ and equal tuning evaluations. The gain should be concentrated in the far horizons and the small-$n$ regime, where borrowing strength should matter. The ablation keeps sharing but fixes $\gamma=0$, which tests whether the schedule is what smooths the surface.
The strongest neural competitor is the autoregressive neural forecaster of Temporal horizons in forecasting trained with its iterative horizon schedule. On the Lorenz, double pendulum, limit cycle, and food-web systems we give it the same data and the same number of hyperparameter evaluations, drawn by random search over learning rate, width, and schedule. No reported number was found on Lacuna for its error on these systems, only the U-shape and scaling laws, so we reproduce it.
On WEATHER-5K the strongest reported model is PhysicsFormer. Benchmarking physics-informed models reports a temperature MAE of 2.34, against 2.49 for Pyraformer. The file does not state the lead time behind these averages, so we will reproduce PhysicsFormer on the released splits and compare per lead time. Our station-level kernel forecaster counts as competitive if it matches PhysicsFormer's MAE within 72 hours. It counts as a win if its error beyond 72 hours degrades more slowly, since that window is where the benchmark documents sharp neural decay.
For hyperparameter optimization we also compare our closed-form leave-one-out hypergradient against random search and against a covariance-adapting evolution strategy, in the spirit of ACM-ES, at equal evaluation counts.
Why not just…?
Why not just fit a separate kernel model per horizon, as in classical direct forecasting? This is the real threat. With a few hyperparameters per horizon and cheap closed-form leave-one-out, it may do as well as sharing when data are plentiful. The $\ell_h\to 0$ comparison settles it directly. If independent models match ours at all $n$, we will report that sharing is unnecessary. The project's remaining claim is then the roughness measurement: whether per-horizon tuning surfaces themselves fracture as $h$ grows, which the independent models let us test horizon by horizon.
Why not just train the neural forecaster with a longer or scheduled horizon? Aceituno et al. show that fixed long horizons produce exponentially rough parameter landscapes. On WEATHER-5K, even a 666M-parameter model does not stop accumulating error after 72 hours (Benchmarking physics-informed models). The iterative schedule helps, but it is hand-crafted. We include it as a tuned baseline rather than dismissing it, and matched-budget comparisons on the same synthetic systems will show whether convexity buys anything beyond scheduling.
Why not just grid-search three kernel hyperparameters? For the base model with $\mu$, $\ell_x$, and $\ell_h$, a grid is feasible and we will run one as a reference. However, YAHPO Gym shows that discretized grids can change the apparent optimization landscape. A grid also cannot scale to a free per-horizon noise vector, the unconstrained alternative to our single $\gamma$. We fit that free vector with hypergradients as a check: if it recovers an exponential shape, the one-parameter schedule is justified. If it does not, the schedule's functional form is wrong.
Why not just normalize away distribution shift? Dish-TS shows that the gap between the lookback window and the future horizon is not fixed by instance normalization, reporting over 10% average improvement over RevIN on long-term forecasting. Its authors also note that horizon-distribution estimation itself degrades at long horizons. Shift correction is orthogonal to our question, so we apply the same simple normalization to all models on real data.
Proposed Experiments
On the Lorenz system, double pendulum, limit cycle, and 7-species food web from Temporal horizons in forecasting, we sweep $T$ over roughly a decade. At each $T$ we map validation error on dense two-dimensional slices and random line segments through $(\mu,\ell_x,\ell_h,\gamma)$. We also compute the extrema-count roughness of the neural baseline's parameter landscape, so both measurements share one scale.
The decisive checks are four. First, the growth of hyperparameter-surface roughness with $T$ under $\gamma$ learned versus $\gamma=0$. We predict roughly linear growth with the schedule and faster growth without it on chaotic systems, and linear growth on the limit cycle in both cases. Second, whether tuned validation error is flat or U-shaped in $T$. Third, whether the learned $\gamma$ correlates with independently estimated Lyapunov exponents across systems. The food web is especially useful here, because its transition from short-term periodic to long-term chaotic behavior should appear as a bend in the free per-horizon noise profile. Fourth, error against evaluation count for hypergradient tuning versus random search and the evolution strategy.
On real data, we evaluate MAE per lead time on a stratified subset of WEATHER-5K stations using the released splits, against reproduced PhysicsFormer and Pyraformer. We add ETT and Electricity to test transfer to the benchmarks used by Dish-TS. A negative outcome on the first check, with roughness in hyperparameters growing exponentially despite the schedule, would be reported as the main result and would redirect the method toward global search over the tuning surface.
References
- Temporal horizons in forecasting: a performance-learnability trade-off
- Reproducing kernels and regularization methods in machine learning
- Learning with Invariance via Linear Functionals on Reproducing Kernel Hilbert Space
- Learning functions, operators and dynamical systems with kernels
- Quantifying the Hyperparameter Sensitivity of Neural Networks for Character-level Sequence-to-Sequence Tasks
- Koopman Kernel Regression
- Error Analysis of Kernel EDMD for Prediction and Control in the Koopman Framework
- Regularized Fitted Q-Iteration: Application to Planning
- Benchmarking Physics-Informed Time-Series Models for Operational Global Station Weather Forecasting
- Comparison-Based Optimizers Need Comparison-Based Surrogates
- YAHPO Gym - An Efficient Multi-Objective Multi-Fidelity Benchmark for Hyperparameter Optimization
- Dish-TS: A General Paradigm for Alleviating Distribution Shift in Time Series Forecasting