On the Performance of Empirical Risk Minimization with Smoothed Data

Adam Block, Alexander Rakhlin, Abhishek Shetty

Abstract

In sequential decision-making, smoothed online learning serves as a bridge between the often unrealistic iid assumption and the frequently intractable adversarial model. This work investigates the performance of Empirical Risk Minimization (ERM) in settings where the data distribution is "smoothed"—possessing a bounded likelihood ratio relative to an unknown base measure. We demonstrate that ERM achieves sublinear error, specifically $\tilde O( \sqrt{\mathrm{comp}(\mathcal F)\cdot T} )$, where $\mathrm{comp}(\mathcal F)$ represents the statistical complexity of the hypothesis class. Our analysis introduces a novel norm comparison bound for dependent data and establishes a fundamental performance gap: while iid data allows for logarithmic error rates, smoothed data necessitates a square-root rate for ERM.

Introduction

The theoretical foundations of machine learning typically bifurcate into two extremes: independent and identically distributed (iid) data, which allows for efficient learning and fast convergence, and adversarial data, where many simple concepts become unlearnable. Smoothed online learning offers a realistic middle ground, assuming that while data may be history-dependent, it is subject to a degree of environmental "noise" that prevents distributions from becoming overly concentrated.

Despite the promise of the smoothed setting, prior algorithmic solutions have faced significant hurdles. Most existing methods either require the learner to have prior knowledge of the underlying base measure or rely on computationally intensive procedures that are difficult to implement in practice. This paper addresses these gaps by analyzing the most fundamental learning strategy: Empirical Risk Minimization (ERM).

The Smoothed Learning Setting

In smoothed online learning, the distribution of data at each time step $t$ is conditioned on the history of previous observations. The "smoothness" is defined by a parameter $\sigma$; the distribution must have a bounded likelihood ratio with respect to some base measure. Crucially, this work assumes the base measure is unknown to the learner, making the results applicable to a much broader range of real-world scenarios.

Theoretical Framework and Methodology

The authors focus on ERM with square loss in a well-specified setting. To derive their guarantees, they develop several sophisticated theoretical tools:

1. Novel Norm Comparison (Theorem 2)

The core technical contribution is a sharp norm comparison bound. This relates the "population norm" (the expected error over the distribution) to the "empirical norm" (the error observed on the training sequence). While such comparisons were previously established for linear classes or iid data, this work extends them to arbitrary, nonlinear function classes under dependency.

2. Decoupling and Will’s Functional

To handle the temporal dependencies inherent in smoothed data, the authors utilize a decoupling inequality. This allows them to compare the error on the actual sequence to a "tangent" sequence of independent points. Furthermore, they employ "Will’s functional" to measure the complexity of the function class $\mathcal{F}$, providing tighter bounds than standard Rademacher complexity in this context.

3. The "Surprise" Lemma

A key intuition driving the results is a deterministic lemma regarding bounded sequences. It posits that in any sequence, there is a limit to the number of "surprises"—instances where a new value deviates significantly from the average of its predecessors. This ensures that the ERM learner eventually converges toward the true underlying function.

Key Results

The paper establishes two primary results that define the limits of ERM in smoothed environments.

Upper Bound: Sublinear Error

The authors prove that ERM achieves a cumulative error scaling as: $$\tilde{O}\left(\frac{1}{\sigma} \sqrt{\text{comp}(\mathcal{F}) \cdot T}\right)$$ This result is significant because it shows that ERM is "oracle-efficient." If an offline solver exists for a given class $\mathcal{F}$, it can be used directly for online learning with smoothed data without needing to know the smoothing distribution.

Lower Bound: The Fundamental Gap

Perhaps the most striking finding is the existence of a performance gap between iid and smoothed data. In iid settings, ERM can often achieve "fast rates" of $O(\log T)$. However, the authors prove a lower bound of $\Omega(\sqrt{T})$ for smoothed data (where $\sigma < 1$). By constructing a worst-case scenario using threshold functions on the unit interval, they demonstrate that the $O(\sqrt{T})$ rate is essentially tight for ERM.

Applications: Contextual Bandits

The theoretical guarantees for ERM translate directly into the realm of contextual bandits. The paper provides the first computationally efficient, no-regret algorithm for smoothed contexts where the base measure is unknown. This bridges a gap in the literature, offering a practical approach to a problem that previously required inefficient or distribution-aware algorithms.

Conclusion and Future Directions

This work confirms that ERM is a robust and efficient algorithm for smoothed online learning, even in the absence of distributional knowledge. However, the $\sqrt{T}$ barrier raises intriguing questions. While ERM is limited to this "slow rate," it remains unknown whether more complex, potentially improper learning algorithms could achieve $O(\log T)$ in the smoothed setting. Additionally, refining the dependence on the smoothness parameter $\sigma$ and exploring the limits of improper learning remain fertile ground for future research.

Summary updated

BibTeX
@inproceedings{block2024performance,
  author = {Adam Block and Alexander Rakhlin and Abhishek Shetty},
  title = {{On the Performance of Empirical Risk Minimization with Smoothed Data}},
  booktitle = {Conference on Learning Theory},
  year = {2024},
  url = {https://openreview.net/forum?id=IlnqZMvZ4B},
}

Loading related content...

Figure