Agnostic Smoothed Online Learning

Moïse Blanchard

TL;DR

This paper introduces R-COVER, the first algorithm to achieve optimal regret in "smoothed" online learning without needing to know the underlying data distribution (the base measure). By using a novel recursive covering strategy, the authors bridge the gap between easy i.i.d. settings and hard adversarial ones, proving that we can learn effectively even when an adversary slightly perturbs the data.

What Problem Does This Paper Address?

In machine learning theory, we usually assume one of two extremes for how data is generated:

  1. i.i.d. (Independent and Identically Distributed): Data comes from a fixed, unknown distribution. This is "easy" to learn (characterized by VC dimension).
  2. Fully Adversarial: An opponent picks the worst possible data points to make you fail. This is "hard" (characterized by the much stricter Littlestone dimension).

Smoothed Online Learning is a middle ground. Here, an adversary chooses a distribution, but that distribution must be "smooth"—it can't concentrate all its mass on a single point to trick the learner. Specifically, its density is bounded by $\sigma^{-1}$ relative to some "base measure" $\mu$.

The catch? Almost all previous work assumed the learner knew the base measure $\mu$. In the real world, we rarely know the exact underlying distribution of our data. This paper tackles the agnostic setting: can we still get low regret if $\mu$ is unknown and the labels are arbitrary?

Methods

The authors propose R-COVER (Recursive Covering). The core idea is to build a hierarchy of "covers"—representative sets of functions from the hypothesis class $\mathcal{F}$.

  • Recursive Structure: The algorithm divides the time horizon into epochs. In each epoch, it uses an expert-advice algorithm (a variant called A-Exp) to choose between different sub-algorithms. These sub-algorithms are themselves R-COVER instances run on smaller time scales and specific subsets of the data.
  • Algorithmic Chaining: This approach is inspired by "chaining" in probability theory. Instead of using one fixed cover for the whole problem, R-COVER builds a sequence of increasingly refined covers that adapt to the data seen so far.
  • A-Exp (Adaptive Exponential Weights): To manage the "experts" (which are the sub-algorithms), the authors use a version of the Hedge algorithm that adapts its learning rate based on the observed difficulty of the problem, rather than a worst-case guess.
  • Proper Learning: Notably, R-COVER is a proper learner, meaning it always predicts using a function that actually belongs to the target class $\mathcal{F}$.

Datasets

This is a theoretical research paper focused on proving mathematical guarantees. Consequently, it does not use empirical datasets or benchmarks. The results are validated through rigorous mathematical proofs of regret bounds and lower bounds.

Key Insights and Ideas

  • The "Representativeness" Bound: The authors prove a crucial new property (Proposition 7): for a smooth adversary, the number of times that "past data is not representative of future data" is strictly limited. This allows the algorithm to rely on covers built from historical observations.
  • Optimal $\sigma$ Dependency: Previous agnostic attempts had a regret dependency of $1/\sigma$. This paper improves that to $1/\sqrt{\sigma}$, which they prove is the best possible (optimal) dependency.
  • Independence from Parameters: R-COVER does not need to know the smoothness parameter $\sigma$ or the base measure $\mu$ in advance. It adapts to the actual smoothness of the environment.
  • Localization: By using recursive covers, the algorithm "localizes" its search. It focuses on functions that performed well on previous queries, effectively shrinking the search space without losing the optimal hypothesis.

Key Results

  • Classification: For a function class with VC dimension $d$, R-COVER achieves an expected adaptive regret of: $$\tilde{O}\left(\sqrt{\frac{dT}{\sigma}}\right)$$ This matches the known lower bounds up to logarithmic factors, making it essentially optimal.

  • Regression: For real-valued functions, the paper establishes sublinear oblivious regret based on the fat-shattering dimension. This shows that the recursive covering approach generalizes beyond binary labels.

  • Lower Bound: The authors provide a matching lower bound (Theorem 3), proving that any algorithm in this setting must incur at least $\Omega(\sqrt{dT/\sigma})$ regret, confirming that their $1/\sqrt{\sigma}$ scaling is the "right" answer.

Limitations and Future Work

  • Adaptive Regret in Regression: While the paper achieves optimal adaptive regret for classification, it only provides oblivious regret bounds for regression (where the benchmark function is fixed before the game starts). Extending this to adaptive benchmarks in regression remains an open question.
  • Computational Complexity: Constructing minimal covers for complex function classes is often computationally hard (NP-hard in many cases). While the algorithm is statistically efficient, making it computationally efficient for all VC classes is a significant hurdle.
  • Knowledge of Horizon: The current analysis assumes the time horizon $T$ is known, though standard "doubling tricks" could likely alleviate this.

Summary updated

BibTeX
@inproceedings{blanchard2025agnostic,
  author = {Moïse Blanchard},
  title = {{Agnostic Smoothed Online Learning}},
  booktitle = {STOC},
  year = {2025},
  doi = {10.1145/3717823.3718111},
}
Figure