Universal Rates of ERM for Agnostic Learning

Steve Hanneke, Mingyue Xu

Abstract

In statistical learning theory, the performance of Empirical Risk Minimization (ERM) is often analyzed through the lens of worst-case scenarios. However, these bounds frequently fail to capture the actual behavior of algorithms on specific distributions. This paper provides a complete theoretical characterization of the "universal" learning rates of ERM in the agnostic setting—where the hypothesis class may not contain the true labeling function. We demonstrate a fundamental trichotomy: for any given concept class, the learning rate is either exponentially fast, "super-root" ($o(1/\sqrt{n})$), or arbitrarily slow, determined by the combinatorial properties of the class.

Introduction

Classical Probably Approximately Correct (PAC) learning theory typically focuses on minimax rates—the best possible performance an algorithm can guarantee across all possible data distributions. While mathematically rigorous, this approach often yields pessimistic results that do not align with the rapid convergence observed in practical machine learning applications.

"Universal learning" offers an alternative perspective by asking: how fast does an algorithm learn for a fixed but unknown distribution? While previous research established a "tetrachotomy" of rates in the realizable setting (where the model can perfectly fit the data), the agnostic setting—where models are merely approximations—remained less understood. This paper fills this gap by analyzing the ubiquitous Empirical Risk Minimization (ERM) principle, determining how quickly the empirical error converges to the best possible error within a hypothesis class.

The Agnostic Trichotomy

The central contribution of this work is the discovery that agnostic universal learning rates for ERM fall into exactly three categories, depending on the complexity of the hypothesis class $\mathcal{H}$:

  1. Exponential Rates ($e^{-n}$): This occurs exclusively when the hypothesis class is finite ($|\mathcal{H}| < \infty$). In these cases, the risk converges at an exponential speed.
  2. Super-root Rates ($o(n^{-1/2})$): For infinite classes with a finite Vapnik-Chervonenkis (VC) dimension, the learning rate is strictly faster than the standard $1/\sqrt{n}$ rate often cited in introductory texts. This "super-root" convergence is a universal guarantee for such classes.
  3. Arbitrarily Slow Rates: If the hypothesis class has an infinite VC dimension, the learning rate can be as slow as any pre-specified decaying function, meaning no uniform rate of convergence can be guaranteed.
If the concept class $\mathcal{H}$ is... The Agnostic Universal Rate is...
Finite ($|\mathcal{H}| < \infty$) Exponential ($e^{-n}$)
Infinite but Finite VC Dimension Super-root ($o(n^{-1/2})$)
Infinite VC Dimension Arbitrarily Slow

Theoretical Methodology

The authors employ several advanced tools from statistical learning theory to establish these rates:

Refined Bernstein Inequalities

A key technical hurdle in proving the super-root upper bounds was the presence of a logarithmic factor in standard uniform Bernstein inequalities that had persisted since the 1970s. The authors provide a sharper version of this inequality, effectively removing the factor and allowing for tighter convergence analysis.

Localization and Combinatorial Sequences

The analysis utilizes "localization" arguments, focusing on the behavior of hypotheses that are already near-optimal. By restricting the analysis to this local neighborhood, the authors can derive much tighter bounds than global methods allow. To prove the lower bounds (the "slow" rates), the paper introduces "VC-eluder sequences," mathematical structures that quantify the difficulty of distinguishing between hypotheses as more data is observed.

Key Insights

Beyond the trichotomy, the paper reveals that the learning rate is deeply influenced by how the hypothesis class "surrounds" the Bayes-optimal classifier. If the class lacks complex "eluder" structures centered at the target, ERM can achieve significantly faster convergence. Furthermore, the authors demonstrate that for specific distributions, ERM can achieve exponential rates even for infinite classes, provided there is a sufficient "gap" between the optimal hypothesis and the rest of the class.

Limitations and Future Directions

While this work provides a comprehensive map of agnostic ERM rates, it is currently limited to binary classification. Extending these results to multiclass classification or regression presents significant challenges, particularly when the label space is infinite. In such cases, traditional complexity measures like the graph dimension may prove insufficient.

Additionally, the study focuses on the statistical properties of ERM rather than its computational feasibility. In practice, finding the exact ERM solution is often NP-hard for complex classes. Future work may explore whether "proper" learners (algorithms restricted to the hypothesis class) and "improper" learners (which can output hypotheses from outside the class) exhibit different universal rates in edge cases.

Conclusion

By providing a complete characterization of ERM's performance in the agnostic setting, this paper bridges a significant gap between theoretical learning bounds and empirical observations. The discovery of the agnostic trichotomy simplifies our understanding of learning complexity, showing that the speed of machine learning is fundamentally tied to the combinatorial structure of the models we employ.

Summary updated

BibTeX
@inproceedings{hanneke2025universal,
  author = {Steve Hanneke and Mingyue Xu},
  title = {{Universal Rates of ERM for Agnostic Learning}},
  booktitle = {Conference on Learning Theory},
  year = {2025},
}
Figure