Abstract
We study online learning under logarithmic loss with regular parametric models. Previous work by Hedayati and Bartlett (2012) established that a Bayesian prediction strategy using the Jeffreys prior and the sequential normalized maximum likelihood (SNML) strategy coincide for all data sequences if and only if the joint distribution is exchangeable. This paper identifies the specific cases where a strategy that only looks one step ahead is mathematically identical to a strategy that knows the entire future. We prove that for one-dimensional exponential families, this rare "horizon-independent" optimality only exists for three classes: Gaussian, Gamma, and Tweedie (order 3/2) distributions.
Introduction
In online learning, a forecaster aims to predict a sequence of outcomes sequentially, with the goal of minimizing "regret"—the difference between their accumulated loss and the loss of the best fixed model in hindsight. Under logarithmic loss, the minimax optimal strategy is the Normalized Maximum Likelihood (NML) strategy.
A significant practical limitation of NML is its "horizon-dependence." To compute the optimal prediction for the first data point, the total number of data points ($n$) must be known in advance. If the horizon changes, the optimal strategy changes. Sequential NML (SNML) was developed as a "short-sighted" alternative that predicts step-by-step without knowledge of the horizon. This research addresses a fundamental question: Under what conditions is the short-sighted SNML strategy identical to the globally optimal NML strategy?
Methodology
The study focuses on one-dimensional natural exponential families, which encompass a wide variety of common distributions such as Normal, Poisson, and Bernoulli. The authors investigate the conditions under which SNML is horizon-independent and optimal by exploring the intersection of three theoretical pillars:
- Exchangeability: The joint probability of a sequence is invariant under permutations of the data.
- Bayesian Optimality: A Bayesian strategy using the Jeffreys prior matches the minimax optimal strategy.
- Horizon Independence: The optimal strategy for a sequence of length $n$ is consistent with the strategy for a sequence of length $n+1$.
The mathematical derivation involves a high-order Taylor expansion (up to the 7th order) of the regret term within a geodesic parameterization. By requiring the regret to remain constant across different data observations, the authors derived differential equations that the distribution's variance function must satisfy.
Key Insights and Results
The Role of Exchangeability
A central finding is that for SNML to be both optimal and horizon-independent, the resulting joint distribution must be exchangeable. This insight transforms a problem of sequential optimization into one of probabilistic symmetry. The research confirms that when these strategies coincide, the specific prior that enables a Bayesian strategy to achieve optimality is always the Jeffreys prior.
Characterization of Optimal Families
The study reveals that horizon-independent optimality is a rare property. Most common distributions, such as Bernoulli or Poisson, do not satisfy this property. For 1D natural exponential families, horizon-independent optimal prediction is possible if and only if the family is one of the following (or a linear transformation thereof):
- Gaussian (Normal) location families: Where the variance is fixed.
- Gamma distributions: With a fixed shape parameter.
- Tweedie exponential families of order 3/2: A compound Poisson distribution.
For any other family, NML remains horizon-dependent, meaning perfect optimality cannot be achieved without prior knowledge of the sequence length.
Discussion and Future Work
While this work provides a complete characterization for one-dimensional families, several avenues for future research remain. The current proof is strictly 1D; while products of these three families are exchangeable in higher dimensions, a full multidimensional characterization is still needed. Additionally, the focus on "natural" exponential families suggests that for more general models, horizon-independent optimality might be even more restricted. Future work could explore multidimensional Gaussian cases where both mean and covariance are unknown, or extend these findings to arbitrary statistical models beyond the exponential family framework.
Summary updated