Abstract
A classical result in learning theory shows the equivalence of PAC learnability of binary hypothesis classes and the finiteness of VC dimension. Extending this to the multiclass setting was an open problem, which was settled in a recent breakthrough result characterizing multiclass PAC learnability via the DS dimension introduced earlier by Daniely and Shalev-Shwartz. In this work we consider list PAC learning where the goal is to output a list of $k$ predictions. List learning algorithms have been developed in several settings before and indeed, list learning played an important role in the recent characterization of multiclass learnability. In this work we ask: when is it possible to $k$-list learn a hypothesis class? We completely characterize $k$-list learnability in terms of a generalization of DS dimension that we call the $k$-DS dimension. Generalizing the recent characterization of multiclass learnability, we show that a hypothesis class is $k$-list learnable if and only if the $k$-DS dimension is finite.
Introduction
In classical machine learning theory (PAC learning), the objective is typically to identify a single correct label for a given input. For binary classification, learnability is tied to the finiteness of the VC dimension. In the multiclass setting, where the number of possible labels exceeds two, learnability is governed by the DS (Daniely-Shalev-Shwartz) dimension.
However, some problems are too complex to yield a single correct answer reliably—especially when the number of possible labels is infinite or the data is noisy. In these cases, we might be satisfied if the correct label is contained within a small "shortlist" of $k$ predictions. This is common in recommendation systems (e.g., a "Top 10" list) or medical diagnosis. This paper addresses a fundamental theoretical gap: identifying the mathematical dimension that characterizes when a hypothesis class is $k$-list learnable.
The $k$-DS Dimension and Methodology
The authors introduce the $k$-DS dimension, a generalization of the standard DS dimension. While the standard DS dimension identifies "shattering" based on neighbors in a hypothesis graph that differ in one coordinate, the $k$-DS dimension requires a hypothesis to have at least $k$ such neighbors to be considered shattered. This captures the "density" of a hypothesis class relative to the list size $k$.
To establish their results, the authors generalized several core tools from combinatorial learning theory:
- One-Inclusion Graphs: They developed a list-prediction version of the one-inclusion algorithm, where vertices represent hypotheses and edges connect those differing on a single sample point.
- Sauer’s Lemma and Shifting: The authors generalized Sauer’s Lemma—which bounds the number of ways a class can label a set of points—to the list-learning context. They also adapted "shifting" techniques to simplify complex classes while preserving their combinatorial essence.
- Sample Compression: They proved that a finite $k$-DS dimension implies the existence of a "list sample compression scheme," allowing a large training set to be represented by a small subset from which the list-prediction rule is reconstructed.
Key Insights
A pivotal realization in this work is that list learning is strictly more powerful than standard learning. A hypothesis class can possess an infinite DS dimension (making it unlearnable with a single prediction) but a finite $k$-DS dimension. This demonstrates that for certain complex tasks, providing $k$ guesses makes the problem tractable where single-label prediction fails.
Furthermore, the paper shows that the list size $k$ does not need to scale with the number of samples or the desired accuracy. If a class is $k$-list learnable, it remains so with a fixed $k$.
Main Results
The primary contribution is the Equivalence Theorem: A hypothesis class $\mathcal{H}$ is $k$-list learnable if and only if its $k$-DS dimension, $d_{DS}^k(\mathcal{H})$, is finite.
In the "realizable" case (where a perfect list exists), the error rate scales as $\tilde{O}\left(\frac{k^6 (d_{DS}^k)^{1.5}}{m}\right)$, where $m$ is the sample size. In the "agnostic" setting (where no perfect hypothesis exists), the list-learning error is bounded by the best possible single-hypothesis error plus a vanishing term of $O(1/\sqrt{m})$.
Discussion and Future Work
While the paper provides a complete characterization of sample complexity, several avenues for future research remain. The current error bounds include a $k^6$ factor, which, though constant for fixed $k$, is large and could potentially be sharpened. Additionally, the focus was on sample complexity rather than computational efficiency; the one-inclusion algorithms used are theoretical benchmarks and may not be efficient for large-scale applications. Finally, extending these list-dimensions to online learning or adversarial settings remains an open challenge.
Summary updated