Sequential Probability Assignment against Smoothed Adversaries with Unknown Base Measure

Ziyi Liu, Daniel M. Roy

TL;DR

This paper explores "smoothed" online learning—a middle ground between i.i.d. statistics and worst-case adversarial settings—specifically for probability assignment (log loss). The authors prove that sublinear regret is achievable even when the underlying "base measure" of the data is unknown to the learner, establishing new upper and lower bounds that characterize the fundamental difficulty of this setting.

What Problem Does This Paper Address?

In machine learning theory, we often oscillate between two extremes:

  1. The I.I.D. Setting: Data is sampled independently from a fixed, unknown distribution. This is often too optimistic for real-world sequential data.
  2. The Adversarial Setting: Data is chosen by a malicious opponent to make the learner fail. This is often too pessimistic; even simple tasks like learning a 1D threshold become impossible.

Smoothed Online Learning offers a compromise. Here, an adversary chooses a distribution at each step, but that distribution must be "smooth" (have a bounded density) relative to some fixed base measure $\mu$.

The "catch" in most existing literature is the assumption that the learner knows this base measure $\mu$. In practice, we rarely know the true underlying distribution of our context data. Furthermore, this paper tackles logarithmic loss (sequential probability assignment), which is notoriously difficult because the loss is unbounded and lacks the "Lipschitz" smoothness properties that make classification or regression easier to analyze.

Methods

The authors introduce two main algorithmic frameworks based on truncated empirical Hellinger covers:

  • Truncation: To handle the unbounded nature of log loss, the algorithms "truncate" predicted probabilities. This prevents the learner from ever being "infinitely wrong" by assigning a zero probability to an event that actually occurs.
  • Algorithm 1 (For Adaptive Adversaries): This algorithm uses a "Hedge" approach (a weighted average of experts) over a truncated $\ell_\infty$ Hellinger cover. The cover is essentially a representative "net" of the hypothesis class, which is updated periodically in epochs as more data is observed.
  • Algorithm 2 (For Oblivious Adversaries): For adversaries who don't react to the learner's specific past predictions, the authors use a "Sieved Maximum Likelihood Estimator (MLE)." This algorithm picks the best-performing hypothesis from a truncated $\ell_2$ Hellinger cover at every round.

Technically, the authors employ the Will’s functional—a tool from high-dimensional probability—to manage the "distribution shift" that occurs when an adversary changes the context distribution between rounds.

Datasets

Not discussed in the paper. This is a theoretical work focused on proving mathematical guarantees and algorithmic frameworks rather than empirical benchmarking on specific datasets.

Key Insights and Ideas

  • Restoring Learnability: The core "aha!" moment is that even without knowing the base measure $\mu$, the "anti-concentration" property of smoothed adversaries is enough to restore the statistical behavior of i.i.d. learning. Problems that are impossible in fully adversarial settings become solvable here.
  • The Right Metric: While the goal is to minimize KL divergence (regret), the authors show that the Hellinger distance is the natural metric for discretizing the hypothesis space.
  • The Price of Ignorance: The paper reveals a fundamental "separation." If you know $\mu$, you can achieve faster learning rates. If $\mu$ is unknown, you pay a quantifiable penalty—specifically, the regret scales with $\sqrt{T/\sigma}$ (where $\sigma$ is the smoothness parameter).
  • Complexity Characterization: For oblivious adversaries, the complexity is governed by the empirical $\ell_2$ Hellinger entropy, which is the same notion that characterizes the difficulty of standard i.i.d. density estimation.

Key Results

  • Upper Bounds: The authors provide regret bounds for both adaptive and oblivious adversaries. For a finite class $Q$, the regret is roughly $\tilde{O}(\sqrt{T \log |Q| / \sigma})$.
  • Fat-Shattering Dimension: For more complex classes, they relate the regret to the "fat-shattering dimension" $d$, showing a rate of $\tilde{O}(\sqrt{dT/\sigma})$.
  • Tightness: They complement their algorithms with a lower bound, proving that the $\sqrt{T/\sigma}$ dependence is unavoidable when the base measure is unknown. This confirms that their proposed algorithms are essentially optimal for this setting.

Limitations and Future Work

  • Well-Specified Assumption: The current work assumes the "realizability" setting, where the true data-generating process is actually contained within the learner's hypothesis class. Extending this to the agnostic setting (where the model might be misspecified) is a major open challenge for log loss.
  • The Adaptive-Oblivious Gap: There remains a small technical gap between the complexity measures used for adaptive vs. oblivious adversaries ($\ell_\infty$ vs $\ell_2$ entropy). Future work could aim to close this gap.
  • Computational Complexity: While the algorithms are mathematically sound, constructing empirical Hellinger covers can be computationally expensive for very large or complex hypothesis classes. Finding more efficient implementations is a practical next step.

Summary updated

Abstract

Smoothed online learning has recently been studied as a way to bypass hardness results for the fully adversarial setting, which can be overly pessimistic. In this framework, the adversary is constrained to generate contexts from distributions having a bounded density with respect to some fixed base measure $μ$. Prior work makes the strong assumption that $μ$ is known to the learner, with notable exceptions including Block et al. (2024) and Blanchard (2025). In this paper, we study sequential probability assignment (a.k.a., online learning with log loss) with smooth, well-specified data in the more general setting where $μ$ is \emph{unknown}, without the Lipschitz condition imposed in the work of Block et al. (2024) and Blanchard (2025). We prove regret upper bounds against both adaptive and oblivious smoothed adversaries: the adaptive bound is controlled by empirical $\ell_\infty$ Hellinger entropy, while the oblivious bound improves this dependence to empirical $\ell_2$ Hellinger entropy, the notion that has been shown to characterize the complexity of learning with i.i.d. data (Bilodeau et al., 2023). Both bounds are obtained through algorithms based on truncated empirical Hellinger covers. We complement these results with a general lower bound, showing that our upper bounds are essentially tight for some natural classes, which implies a separation in the difficulty of smoothed online learning between regimes where $μ$ is known and where it is unknown.
BibTeX
@inproceedings{liu2026sequential,
  author = {Ziyi Liu and Daniel M. Roy},
  title = {{Sequential Probability Assignment against Smoothed Adversaries with Unknown Base Measure}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=76QBYIOFgI},
}
Figure