The sample complexity of multi-distribution learning

Binghui Peng

Introduction

In classical Probably Approximately Correct (PAC) learning, the fundamental assumption is that training and testing data are drawn from the same underlying distribution. However, modern machine learning often encounters heterogeneous data sources, such as different demographic groups in fairness-aware learning or diverse edge devices in federated learning. Multi-distribution learning (MDL) generalizes the PAC framework to $k$ distinct distributions. The objective is to find a single hypothesis $f$ that minimizes the maximum loss across all $k$ distributions, ensuring robustness and group fairness: $$\min_{f \in \mathcal{H}} \max_{i \in [k]} L_{\mathcal{D}_i}(f)$$

While the VC dimension $d$ determines learnability in this setting, the exact sample complexity has remained a subject of debate. Previous bounds exhibited significant gaps, with upper bounds often scaling as $O(1/\epsilon^4)$ or $O(kd/\epsilon)$, while lower bounds suggested a tighter rate of $\Omega((d+k)/\epsilon^2)$. This paper, presented at COLT 2024, resolves a 2023 open problem by proving that the sample complexity of MDL is nearly optimal at $\tilde{O}((d+k)/\epsilon^2)$.

The BoostLearner Framework

The core technical contribution is the BoostLearner algorithm, which utilizes the Multiplicative Weight Update (MWU) framework with a novel twist: Recursive Width Reduction.

Standard MWU approaches treat the $k$ distributions as "experts." In each round, the algorithm maintains a mixture of distributions, finds a hypothesis that performs well on this mixture, and updates weights based on individual distribution performance. However, the iteration complexity of MWU depends on the "width"—the range of possible losses. A width of 1 leads to $O(1/\epsilon^2)$ iterations, and since each iteration requires fresh samples, the total complexity becomes suboptimal.

Algorithm 2: BoostLearner, implementing the recursive width reduction strategy.

To overcome this, the author introduces a "Filter" procedure. This procedure constructs a refined hypothesis class $\mathcal{H}'$ that is both sound (contains the optimal hypothesis) and complete (hypotheses in $\mathcal{H}'$ are robust across sub-populations). By recursively applying this filtering, the algorithm "truncates" loss values, effectively shrinking the width and squeezing the sample complexity down to the near-optimal rate.

Key Results

The paper establishes a new upper bound for the sample complexity of multi-distribution learning: $$O\left(\frac{(d+k)\log(d/\delta)}{\epsilon^2} \cdot (k/\epsilon)^{o(1)}\right)$$

This result is significant for several reasons:

  1. Near-Optimality: It matches the known lower bound of $\Omega((d+k)/\epsilon^2)$ up to a sub-polynomial factor $(k/\epsilon)^{o(1)}$.
  2. Resolution of Open Problems: It formally settles the "COLT 2023 open problem" posed by Awasthi, Haghtalab, and Zhao, removing the previous $O(kd/\epsilon)$ or $O(1/\epsilon^4)$ dependencies.
  3. Theoretical Foundation: It demonstrates that learning across multiple distributions is nearly as sample-efficient as standard PAC learning, provided the right algorithmic framework is used.

Discussion and Future Work

While this work represents a major milestone, a few areas remain for exploration. First, there is a tiny mathematical gap represented by the $(k/\epsilon)^{o(1)}$ factor; future research may aim to achieve the exact optimal bound. Second, while the paper focuses on sample complexity, the computational overhead of recursive filtering could be significant. Concurrent work has explored "oracle-efficient" versions of similar bounds, suggesting a path toward practical implementation. Finally, the current algorithm assumes the optimal minimax loss (OPT) is known, though a grid-search strategy is provided as a workaround. A more direct approach without prior knowledge of the error rate would be a valuable extension.

Summary updated

BibTeX
@inproceedings{peng2024sample,
  author = {Binghui Peng},
  title = {{The sample complexity of multi-distribution learning}},
  booktitle = {Conference on Learning Theory},
  year = {2024},
}
Figure