Sequential prediction under log-loss and misspecification

Meir Feder, Yury Polyanskiy

Introduction

In the field of sequential prediction, a learner aims to predict the next value in a sequence while minimizing cumulative loss. When using log-loss, this task is intrinsically linked to information theory, universal coding, and density estimation. Performance is typically measured by regret: the difference between the learner's total loss and the loss incurred by the best fixed predictor within a specific hypothesis class $\Theta$.

Historically, research has focused on two extremes of data generation:

  1. Well-specified: The data is generated by a distribution already contained within the model class $\Theta$.
  2. Individual-sequence (Adversarial): The data can be any arbitrary sequence, potentially chosen by an adversary to maximize the learner's loss.

This paper explores the critical middle ground: the Agnostic or PAC learning setting. Here, data is assumed to be independent and identically distributed (i.i.d.), but the underlying distribution may lie outside the model class $\Theta$ (misspecification). For a $d$-dimensional Gaussian model, the adversarial regret is known to be significantly higher than the well-specified regret—specifically by a factor of $d/2$. This research investigates whether the PAC setting behaves like the "easy" well-specified case or the "hard" adversarial case.

The Challenge of Misspecification

The authors demonstrate that standard tools for sequential prediction are surprisingly brittle. In the well-specified case, Bayesian estimators (using the Jeffreys prior) and the Shtarkov Normalized Maximum Likelihood (NML) estimator are often optimal. However, these methods can fail catastrophically in the PAC setting, particularly when faced with heavy-tailed data that the model class (such as a Gaussian) cannot explain.

Neither the traditional Bayesian approach nor the standard NML estimator achieves optimal PAC regret because they do not account for the possibility that the data-generating process is fundamentally different from the model's assumptions.

Methodology: The Robustified Estimator

To address this, the authors develop a novel "robustified" estimator. This theoretical construction is a mixture of two distinct components:

  • A Modified Shtarkov Distribution: A variation of the NML estimator, which provides a baseline for performance in adversarial-like scenarios.
  • A Heavy-Tailed "Protection" Distribution: A distribution (utilizing Laplacian-type tails) designed to prevent infinite loss. This component ensures that if the true data-generating process produces extreme outliers, the learner's regret remains bounded.

By balancing these components, the authors prove that a learner can exploit the i.i.d. nature of the data to match the lower regret bounds of the well-specified setting, even when the model is misspecified.

Key Theoretical Results

The paper provides several landmark characterizations of regret under misspecification:

1. The PAC Regret is "Cheap"

Theorem 2 establishes that for the $d$-dimensional Gaussian Location Model (GLM)—where the variance is fixed but the mean is unknown—the PAC regret ($F_n^{(PAC)}$) is asymptotically equivalent to the well-specified regret ($C_n$). Specifically: $$F_n^{(PAC)} = C_n + o(1)$$ This is a major finding: it shows that for Gaussian models, the cost of misspecification in an i.i.d. environment is negligible. The $d/2$ penalty incurred in adversarial settings is entirely avoided.

2. Existence and Uniqueness

Theorem 3 proves the existence and uniqueness of an optimal estimator for the misspecified regret problem under general conditions, providing a theoretical foundation for future algorithm design.

3. The Sandwich Bound

Theorem 4 provides a "sandwich" bound, demonstrating that misspecified regret can be constrained between the well-specified regrets of the original class and a slightly enlarged class. This provides a tool for bounding regret in more complex, non-Gaussian models.

Insights on the Oracle Gap

A profound insight of this work concerns the nature of the $d/2$ gap between PAC and adversarial regret. The authors argue that the increased regret in the adversarial setting is not necessarily because the learner's task is harder, but because the baseline (the oracle) is more powerful. In an adversarial setting, the best constant predictor is chosen after seeing the entire sequence, allowing it to adapt to the specific realization of the noise. In the i.i.d. PAC setting, the best constant predictor only adapts to the underlying distribution, making it a "weaker" opponent and thus easier to match in performance.

Conclusion and Future Directions

This research bridges a significant gap in learning theory by showing that for certain fundamental models, i.i.d. misspecification does not carry the heavy performance penalty of adversarial settings. However, the work opens several new avenues:

  • Generalization: While the $o(1)$ result is proven for the Gaussian Location Model, extending this to general exponential families and smooth parametric families remains a priority.
  • Convergence Rates: While the difference is shown to be $o(1)$, the exact rate at which this difference vanishes is currently unknown.
  • Bayesian Sufficiency: A lingering question is whether a specific Bayesian mixture (with the right prior) could achieve these results without the explicit "robustification" mixture proposed by the authors.

Summary updated

BibTeX
@inproceedings{feder2021sequential,
  author = {Meir Feder and Yury Polyanskiy},
  title = {{Sequential prediction under log-loss and misspecification}},
  booktitle = {Conference on Learning Theory},
  year = {2021},
  url = {https://openreview.net/forum?id=Ud1Ze6Yvq2T},
}
Figure