On the Minimal Error of Empirical Risk Minimization

Gil Kur, Alexander Rakhlin

Empirical Risk Minimization (ERM) is the standard paradigm for training machine learning models. While statistical learning theory often focuses on "worst-case" error—the maximum error a model might incur on the most difficult function within a class—this research investigates the "minimal error." Specifically, the authors ask: what is the smallest error an ERM-based model will always incur, even when the underlying ground truth is remarkably simple?

The study reveals a fundamental limitation of ERM: in many common settings, the procedure is "blind" to the simplicity of the target function. Instead of adapting to an easy problem, ERM's performance is often tethered to the global complexity of the entire function class.

The Fixed Design Setting: A Global Complexity Floor

In a fixed-design regression setting, where data points $X_i$ are chosen deterministically, the authors prove that ERM (specifically constrained least squares) suffers from a fundamental lack of adaptivity.

The primary tool used to measure the richness of the function class $\mathcal{F}$ is the Gaussian Complexity, denoted as $W_x(\mathcal{F})$. The paper demonstrates that for any function $f^*$ within a convex class $\mathcal{F}$, the expected error is lower-bounded by a value proportional to the global squared Gaussian complexity:

$$\text{Error} \gtrsim (W_x(\mathcal{F}) - C_1n^{-1})^2$$

This result implies that if a researcher chooses a complex, high-dimensional model space, they pay a "complexity tax" regardless of the true function's nature. Even if the ground truth is a simple constant or a linear trend, the ERM procedure's search through a rich "haystack" of functions forces a minimum level of error. In this sense, ERM fails to find the "needle" faster just because it is placed in an obvious location; the sheer size of the haystack dictates the search difficulty.

Random Design and the Critical Radius

The dynamics shift when moving to a random design setting, where data points are sampled from a distribution. Here, ERM exhibits a more nuanced behavior. The authors find that ERM can potentially adapt to simpler functions, but this adaptation is governed by a "critical radius" ($t_{n, \mathbb{P}}$) that determines the transition point where the model's local behavior starts to dominate its global performance.

In this setting, the error is approximately the minimum of the global complexity and a local complexity measure:

$$\text{Error} \approx \min\{\text{Global Complexity}^2, \text{Local Complexity}^2\}$$

Interestingly, the authors find a counter-intuitive condition: this adaptation only happens if the "local neighborhood" around the true function is nearly as complex as the whole class. This suggests that the transition between local and global behavior is a key determinant of ERM's efficiency.

Implications for Model Selection

The research provides a rigorous framework for distinguishing between how ERM performs on standard "well-behaved" classes versus much larger, more complex classes:

  • Donsker Classes: These standard classes typically exhibit predictable error rates where local and global complexities align in specific ways.
  • Non-Donsker Classes: Often found in high-dimensional or overparameterized regimes, these classes highlight the "price of complexity" where ERM's inability to adapt becomes a significant bottleneck.

Conclusion and Limitations

This theoretical analysis challenges the assumption that ERM will naturally perform better on "easier" problems within a large hypothesis space. It proves that for rich function classes, ERM is non-adaptive in fixed designs, meaning simplicity in the target function does not translate to a "discount" on error.

While the findings are robust for convex function classes and squared loss functions, several questions remain for future work. It is currently unclear if these "minimal error floors" persist in highly non-convex spaces, such as deep neural networks, or when using alternative loss functions like cross-entropy or absolute loss. The authors point to further applications of this framework in the study of overparameterized models and interpolation regimes.

Summary updated

BibTeX
@inproceedings{kur2021minimal,
  author = {Gil Kur and Alexander Rakhlin},
  title = {{On the Minimal Error of Empirical Risk Minimization}},
  booktitle = {Conference on Learning Theory},
  year = {2021},
  url = {https://openreview.net/forum?id=zGVZ9LA3g3},
}
Figure