Beyond Worst-Case Online Classification: VC-Based Regret Bounds for Relaxed Benchmarks

Omar Montasser, Abhishek Shetty, Nikita Zhivotovskiy · DOI

Introduction

In the field of online binary classification, a learner faces an adversarial environment, receiving instances sequentially and making predictions. The standard metric for success is regret: the difference between the number of mistakes made by the learner and the number of mistakes made by the best fixed hypothesis in a class $\mathcal{H}$. While this framework is robust, it is often criticized for being overly pessimistic. Many simple and intuitive hypothesis classes are traditionally deemed "unlearnable" because their Littlestone dimension is infinite.

This paper provides a theoretical breakthrough by demonstrating that this "unlearnability" barrier can be bypassed. By slightly shifting the goalposts—competing against predictors that are robust to small perturbations or margins—the authors show that regret can be bounded by the much smaller VC dimension, with only a logarithmic dependence on the relaxation parameter.

The Littlestone Barrier

The fundamental characterization of online learnability rests on the Littlestone dimension. A hypothesis class $\mathcal{H}$ is learnable in the standard online setting if and only if its Littlestone dimension is finite. This poses a significant problem for practical applications: even the simplest classes, such as thresholds on a line ($x > \theta$), possess an infinite Littlestone dimension. In a purely adversarial setting, an adversary can force a learner to make an infinite number of mistakes when trying to learn a simple threshold.

To circumvent this, previous research often introduced a "margin" (e.g., the Perceptron algorithm). However, these margin-based bounds typically suffer from a polynomial dependence on the inverse margin ($1/\gamma^2$). This paper addresses a pivotal question: Is it possible to achieve regret bounds that scale with the VC dimension and depend only logarithmically on the margin?

Relaxed Benchmarks

The authors introduce three distinct "relaxed benchmarks" to replace the standard, rigid notion of optimality:

  1. Worst-Case Perturbations ($OPT_{pert}$): The learner competes against a model that remains correct even if the input $x$ is slightly perturbed within a radius $\gamma$.
  2. Gaussian Smoothing ($OPT_{gauss}$): The benchmark is a model that performs well on average when the input is jittered with Gaussian noise.
  3. Output Margin ($OPT_{margin}$): The learner competes against real-valued functions that maintain a clear gap (margin) from the decision boundary.

By shifting the target to these robust predictors, the authors transform the learning problem from one governed by the Littlestone dimension to one governed by the VC dimension.

Algorithmic Framework: Covering and Multiplicative Weights

The proposed solution utilizes a "Covering + Multiplicative Weights" strategy. The approach involves two primary steps:

  • Constructing a Finite Cover: The authors construct a finite set of "representative" predictors (a cover) that can approximate any model in the larger hypothesis class or instance space.
  • Expert Aggregation: The Multiplicative Weights algorithm—a standard method for aggregating expert advice—is then run over this finite cover.

The core technical innovation lies in proving that these covers are sufficiently small to yield regret bounds tied to the VC dimension. The authors utilize the language of partial concept classes—models allowed to be undefined on ambiguous points—to show that the Littlestone dimension of these relaxed classes is bounded by the VC dimension of the original class.

Key Results and Insights

The paper establishes several landmark results:

  • General Regret Bounds: For any metric space, the expected mistakes scale as $O(\sqrt{T \cdot VC(\mathcal{H}) \cdot \log(\text{Covering Number})})$.
  • Efficiency for Halfspaces: For linear classifiers (halfspaces) with a margin $\gamma$, the regret is $O(\sqrt{T \cdot d \cdot \log(B/\gamma)})$, where $d$ is the dimension and $B$ is the radius of the data. This achieves a $\sqrt{T}$ regret rate with only a logarithmic dependence on the margin, a significant improvement over the $1/\gamma^2$ scaling found in prior work.
  • Tightness: The authors provide matching lower bounds, demonstrating that their dependence on the VC dimension and the complexity of the space is nearly optimal.

Conclusion and Future Work

This work bridges the gap between batch learning (governed by VC dimension) and online learning (governed by Littlestone dimension) by introducing realistic relaxations. While the theoretical results are robust, the authors acknowledge a primary limitation: computational complexity. The algorithms rely on covers that can grow exponentially in high dimensions. Future research is needed to develop "oracle-efficient" versions of these algorithms that can be implemented efficiently in practice. Additionally, the authors suggest that the connections between these relaxed benchmarks, differential privacy, and adversarial robustness point toward a more unified theory of robust machine learning.

Summary updated

BibTeX
@inproceedings{montasser2025beyond,
  author = {Omar Montasser and Abhishek Shetty and Nikita Zhivotovskiy},
  title = {{Beyond Worst-Case Online Classification: VC-Based Regret Bounds for Relaxed Benchmarks}},
  booktitle = {Conference on Learning Theory},
  year = {2025},
}
Figure