Abstract
We study online prediction of bounded stationary ergodic processes. To do so, we consider the setting of prediction of individual sequences and build a deterministic regression tree that performs asymptotically as well as the best L-Lipschitz constant predictors. Then, we show why the obtained regret bound entails the asymptotical optimality with respect to the class of bounded stationary ergodic processes.
Introduction
Predicting the next value in a time series is a fundamental challenge in machine learning and statistics. Traditional parametric models, such as linear regression, often fail when data is non-parametric—characterized by non-linearities and complex dependencies that do not fit simple formulas. This research addresses the problem of designing a "consistent" strategy: an algorithm where the average prediction loss converges to the theoretical minimum ($L^*$) for any bounded stationary ergodic process. While existing non-parametric methods like kernel regression offer solutions, they often lack deterministic finite-time guarantees or suffer from high computational costs. This paper introduces a deterministic regression tree that bridges individual sequence theory and stochastic processes to provide a practical, computationally efficient solution.
Methodology
The proposed approach centers on the Nested EG (Exponentially Weighted Average) strategy, which utilizes a hierarchical structure to partition the history of the time series.
The Binary Tree and Adaptive Splitting
The algorithm maintains a deterministic binary tree that partitions the "covariable space" (the history of observations). Each node represents a specific region of past data. To maintain precision, the tree grows deeper in regions where data is abundant. A node splits into two children once the number of observations in its region exceeds a threshold defined by the region's diameter. This allows for fine-grained local predictions where data density is high and broader, robust predictions where data is sparse.
Local Forecasters and Meta-Aggregation
Each leaf node operates a local "EG" forecaster. This forecaster competes against constant experts (predicting values like 0 or 1) using gradient-based updates. Given a convex loss function, this local competition effectively learns the optimal constant prediction for that specific historical region. To handle unknown memory lengths ($d$), a meta-algorithm runs multiple trees for different values of $d$ and aggregates their outputs using a secondary layer of exponentially weighted averaging.
Key Results
The primary contribution of this work is the derivation of finite-time regret bounds and the proof of asymptotic optimality.
Regret Bounds and Consistency
The authors prove a finite-time regret bound of $O(T^{(d+1)/(d+2)})$ against the class of $L$-Lipschitz functions. This ensures that the excess loss compared to the best possible Lipschitz predictor vanishes as the number of observations $T$ increases. Furthermore, the strategy is shown to be consistent for any stationary bounded ergodic process, meaning the average loss $\frac{1}{T} \sum \ell(\hat{Y}_t, Y_t)$ converges to the theoretical limit $L^*$.
Computational Efficiency
Unlike kernel-based methods, the tree structure enables a per-step time complexity of $O(\log T)$. The overall space complexity is sub-linear ($O(T^{d/(d+2)})$), making the algorithm scalable for long-term time-series prediction. Additionally, the framework is generalizable to any convex, Lipschitz loss function, such as absolute or pinball loss.
Discussion and Limitations
While the algorithm provides strong theoretical guarantees, several challenges remain. The current proofs assume the time series is bounded (e.g., within $[0, 1]$). Additionally, the "curse of dimensionality" is present in the regret bound, where the required data grows exponentially with the memory length $d$. Finally, the consistency results rely on the assumption of stationarity and ergodicity; extending these guarantees to non-stationary environments where the underlying data-generating process changes over time is a key area for future research.
Summary updated