Revisiting Agnostic Boosting

Arthur da Cunha, Mikael Møller Høgsgaard, Andrea Paudice, Yuxin Sun

Abstract

Boosting is a cornerstone of machine learning, yet its statistical limits in the "agnostic" setting—where data is noisy and no perfect classifier exists—have remained unresolved for over two decades. This paper settles the long-standing question of sample complexity for agnostic boosting. By introducing a novel three-stage algorithm and proving a matching lower bound, the authors provide a near-optimal characterization of the data required to boost a weak learner into a strong one under agnostic conditions.

Introduction

Boosting is one of the most influential paradigms in machine learning theory and practice. Algorithms like AdaBoost and XGBoost demonstrate the power of the "weak learning" principle: the ability to combine multiple mediocre classifiers (weak learners) into a single, highly accurate ensemble (a strong learner).

In the classic realizable setting, we assume the existence of a perfect classifier within our hypothesis class. However, real-world data is rarely so clean. The agnostic setting acknowledges that data is noisy, labels may be inconsistent, and our model class might only be an approximation of the truth. While boosting is well-understood in the realizable case, the agnostic setting has proven significantly more difficult to analyze. Previous research either relied on restrictive assumptions or resulted in sample complexities—the amount of data needed to reach a target accuracy—that were far higher than theoretical lower bounds suggested was possible.

The Agnostic Boosting Challenge

The goal of agnostic boosting is to find a hypothesis that performs nearly as well as the best possible classifier in a given class, even when that best classifier still makes errors. The difficulty lies in the "weakness" of the learner. A weak learner is only guaranteed to be slightly better than a random coin flip (represented by an advantage $\gamma$). In the agnostic setting, this advantage must be maintained relative to the best possible fit, which is a moving target when the data is noisy.

This paper addresses the fundamental statistical limit: exactly how many samples are required to achieve a target error $\epsilon$ using a weak learner with advantage $\gamma$?

Methodology: A Three-Stage Statistical Framework

The authors propose a new theoretical algorithm that achieves near-optimal sample complexity through a three-stage process:

1. Reduction to the Realizable Case

Since the "true" labels of the best possible model are unknown, the algorithm considers all possible re-labelings of the training data. For every potential labeling, it runs a modified version of AdaBoost. This process generates an exponentially large "bag" of candidate hypotheses. While computationally expensive, this ensures that if a good classifier exists, it is represented within the candidate pool.

2. Margin-Based Filtering

The core innovation of the paper is the filtering mechanism used to manage this exponential pool. Standard validation techniques would lead to massive overfitting when choosing from so many candidates. To solve this, the authors introduce a filtering step based on margins—the degree of confidence a model has in its predictions. By selecting only those hypotheses that minimize a specific margin-based loss, they prove it is possible to prune the exponential bag down to a logarithmic-sized set without losing the optimal candidate.

3. Validation

With the candidate pool reduced to a manageable size, the algorithm uses a small, independent validation set to select the final performer. To handle weak learners that output real-valued confidence scores rather than binary labels, the authors utilize the fat-shattering dimension, a sophisticated generalization of the VC dimension.

Key Results and Theoretical Bounds

The paper provides a comprehensive answer to the sample complexity of agnostic boosting by establishing both an upper and a lower bound.

  • Improved Upper Bound: The proposed algorithm significantly reduces the sample complexity compared to previous state-of-the-art methods (e.g., Ghai and Singh, 2024). It improves the dependency on the error parameter $\epsilon$ and the advantage $\gamma$ by polynomial factors, bringing the field closer to the theoretical limit.
  • The Lower Bound: The authors prove a matching lower bound, demonstrating that any agnostic boosting algorithm must use at least $\Omega\left(\frac{d}{\gamma^2 \epsilon^2}\right)$ samples. Their algorithm nearly matches this bound, effectively "solving" the statistical complexity of the problem up to small logarithmic factors.
  • Generality: Unlike earlier attempts, this framework does not require the weak learner's advantage $\gamma$ to be coupled with the target accuracy $\epsilon$. It holds for any non-trivial weak learner, making it a truly general result.

Discussion and Future Work

While this work represents a major theoretical breakthrough, it is primarily a "statistical existence proof." Because the algorithm iterates through all possible re-labelings, its running time is exponential, making it impractical for direct implementation on modern hardware.

The paper identifies two primary avenues for future research. First, there remains a tiny gap—specifically logarithmic factors—between the upper and lower bounds that the authors believe can be eliminated. Second, and more importantly, the quest for a computationally efficient (polynomial time) algorithm that achieves this same optimal sample complexity remains open. This paper provides the statistical roadmap for what such an efficient algorithm must eventually achieve.

Summary updated

BibTeX
@inproceedings{cunha2025revisiting,
  author = {Arthur da Cunha and Mikael Møller Høgsgaard and Andrea Paudice and Yuxin Sun},
  title = {{Revisiting Agnostic Boosting}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=aFf30XJpl4},
}
Figure