The Optimal Sample Complexity of Multiclass and List Learning
summary
In short
Chirag Pabbaraju's paper resolves a 2014 conjecture by proving the optimal sample complexity for multiclass and list learning. It closes the gap between upper and lower bounds, showing complexity scales linearly with the DS dimension. This result makes learning in data-scarce fields, like medical diagnosis, more theoretically and practically feasible.
Key concepts
- DS Dimension
- The DS dimension, named after Daniely and Shalev-Shwartz, measures the complexity of multiclass problems. It indicates how intricate a hypothesis class is. The paper proves that sample complexity scales linearly with this dimension, resolving a decade-old conjecture that previously suggested a much larger gap between bounds.
- List Learning
- In list learning, an algorithm outputs a short list of potential labels instead of a single prediction. The algorithm is correct if the true label is included in the list. This is useful for practical applications like medical diagnosis, where providing several possible conditions is more helpful.
- Sample Complexity
- Sample complexity is the amount of labeled data required to guarantee a machine learning algorithm learns a task effectively. This paper establishes the optimal bounds for multiclass and list learning, proving that the required number of samples scales linearly with the DS dimension.
Terminology used across episodes
This episode discusses
- The Optimal Sample Complexity of Multiclass and List Learning · Paper Radio
- Sample Complexity of Agnostic Multiclass Classification: Natarajan Dimension Strikes Back
- An Optimal Sauer Lemma Over k-ary Alphabets
The paper
The Optimal Sample Complexity of Multiclass and List Learning · Read on arXiv
Chirag Pabbaraju
Stanford University
While the optimal sample complexity of binary classification in terms of the VC dimension is well-established, determining the optimal sample complexity of multiclass classification has remained open. The appropriate complexity parameter for multiclass classification is the DS dimension, and despite significant efforts, a gap of sqrt DS has persisted between the upper and lower bounds on sample complexity. Recent work by Hanneke et al. (2026) shows a novel algebraic characterization of multiclass hypothesis classes in terms of their DS dimension. Building up on this, we show that the maximum hypergraph density of any multiclass hypothesis class is upper-bounded by its DS dimension. This proves a longstanding conjecture of Daniely and Shalev-Shwartz (2014). As a consequence, we determine the optimal dependence of the sample complexity on the DS dimension for multiclass as well as list learning.
Transcript
Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.
Tom: Next we'll be talking about the paper "The Optimal Sample Complexity of Multiclass and List Learning".
Jane: The paper was written by Chirag Pabbaraju from Stanford University.
Tom: Stay tuned as we take you through the paper and discuss its implications.
Jane: We also have Lu with us today — senior AI researcher at Tsinghua.
Tom: We also have Meng with us today — lead engineer at a mysterious AI startup.
Jane: We also have Lalam with us today — the in-house Large Language Model.
Tom: Alright, let's get started.
Title: Tom: Welcome back to the channel, everyone. Today we're digging into a paper that just hit arXiv with a title that sounds like it could end a decade-long argument: "The Optimal Sample Complexity of Multiclass and List Learning."
Jane: And Tom, I have to say, this one genuinely feels like a closing chapter. For years, researchers knew the right answer for binary classification—two labels, yes or no—but the moment you go to multiclass, where you've got many labels, the picture got fuzzy. This paper claims to nail it down.
Tom: Right, and the authors are Chirag Pabbaraju from Stanford. Single author, which is wild for a result this big. The paper is built on a recent breakthrough by Hanneke, Meng, Moran, and Shaeiri, and it resolves a conjecture that's been sitting open since two thousand fourteen.
Jane: Let me put the stakes in plain terms. Imagine you're teaching a machine to sort photos into a hundred categories. How many labeled photos do you need to guarantee it learns well? For two categories, we've known the exact answer for decades. For a hundred categories, we had upper and lower bounds that didn't match. There was this annoying gap.
Tom: And the gap wasn't tiny. The best known upper bound scaled like the DS dimension to the power of one point five, while the lower bound was just the DS dimension. That square root gap—the difference between d and d to the one point five—was the obstacle.
Jane: Exactly. And the DS dimension, named after Daniely and Shalev-Shwartz, is the right measure of complexity for multiclass problems. It tells you how intricate your hypothesis class is. The conjecture was that the sample complexity should scale linearly with it, not with its square root.
Tom: So this paper proves that conjecture. It shows the upper bound matches the lower bound, up to constants. That's the kind of result that makes textbooks get rewritten.
Jane: And it's not just about multiclass. The paper also handles something called list learning, where instead of predicting one label, the algorithm can output a short list of labels and is correct if the true label is on that list. That's useful in medical diagnosis, for example, where you want to say "here are three possible conditions."
Tom: Right, and the list version has its own dimension, the l-DS dimension, and the paper proves the optimal bound there too. So it's a two-for-one deal.
Jane: The core insight is algebraic. The authors show that the density of a certain graph—the one-inclusion graph—is always bounded by the DS dimension. That graph density was the missing link.
Tom: And once you have that, the sample complexity results just fall out from prior machinery. It's elegant in the way the best math is—one clean structural result, and then a cascade of consequences.
Jane: I love that about this paper. It doesn't invent a dozen new tools. It finds the right way to look at the problem, and everything else follows.
Tom: So we've got the big picture. Next, let's actually walk through how the proof works, because the algebra here is genuinely clever.
Summary: Tom: So we've established the headline: this paper, "The Optimal Sample Complexity of Multiclass and List Learning," closes the gap between upper and lower bounds. But let's get into the actual machinery, because the proof is the interesting part.
Jane: Yes, and I want to bring in Lu, who's been staring at the algebra all morning. Lu, what's the key move?
Lu: The key move is to think of a hypothesis class as a vector space. Each hypothesis is a vector, and you ask: what functions on this vector space can be represented as polynomials? The recent breakthrough by Hanneke and colleagues showed that a certain set of monomials—polynomials with bounded degree and bounded support—spans the entire space.
Tom: And "bounded support" means what, exactly?
Lu: It means each monomial only depends on a limited number of coordinates. Specifically, at most the DS dimension of the class. That's the crucial constraint. If the DS dimension is d, then every function can be written as a combination of monomials that each touch at most d coordinates.
Jane: And that's where the density bound comes from. Tom and I talked about the one-inclusion graph earlier. The density of that graph is what you need to control.
Lu: Right. So here's the trick. For each coordinate, you define a subspace of functions that are "simple" along that coordinate—constant, or linear, or degree at most l−one. The dimension of that subspace is exactly the number of edges in the one-inclusion graph along that direction, capped at l.
Meng: Hold on, let me make sure I'm following. You're counting how many distinct behaviors you see when you fix all coordinates except one?
Lu: Exactly. And then you count how many basis monomials live in that subspace. Those monomials have small degree along that coordinate. The rest have degree at least l. And here's the punchline: each monomial can have large degree in at most d coordinates, because of the spanning lemma.
Tom: So you sum over all coordinates, and the total number of "large degree" incidences is bounded by d times the number of monomials, which is the number of hypotheses.
Lu: Precisely. And that gives you exactly the density bound. The density—the average excess edge size—is at most the DS dimension. No logs, no extra factors, just the clean bound.
Meng: And that's the conjecture from two thousand fourteen?
Lu: That's the conjecture. Daniely and Shalev-Shwartz conjectured exactly this, and it's been open for over a decade. The proof is remarkably short once you have the spanning lemma. It's maybe two pages of algebra.
Jane: And the beauty is that the bound is tight. The paper even gives an example showing the constant is optimal—you can't do better than exactly the DS dimension.
Tom: So the algebra is clean, the bound is tight, and the consequences are immediate. But what does this mean for actually building learning algorithms? That's where I want to push next.
Improvements: Tom: We've got the structural result. Now let's talk about what this paper actually improves in practice. And for that, I want to bring in Meng, because you're the one who has to ship these algorithms.
Meng: Yeah, and honestly, the practical improvement is huge. Before this paper, if you wanted to learn a multiclass problem with DS dimension d, the best known algorithm needed on the order of d to the one point five samples. Now it's just d samples. That's not a log factor, that's a square root.
Jane: And for list learning, the improvement is even more dramatic. The old bounds had these horrible dependencies on the list size l—like l to the sixth power times d to the one point five. This paper gets it down to just d plus log of one over delta, all divided by epsilon. The list size essentially disappears from the sample complexity.
Meng: That's the part that gets me excited. In medical diagnosis, you might want a list of five possible conditions. The old theory said you'd need a huge amount of data just because of that list size. This paper says no—the list size doesn't really hurt you.
Lu: And it's worth emphasizing that the algorithm achieving these bounds is not some impractical oracle. For the multiclass case, it's a majority vote over one-inclusion graph predictors. That's a concrete, implementable procedure.
Meng: Right, and for the list case, they use randomization and a holdout validation set. It's a bit more involved, but still very practical. You train several predictors on prefixes of your data, validate them on a separate set, and pick the best one.
Jane: And the agnostic setting—where the data isn't perfectly labeled by any hypothesis—also gets improved. The paper gets a bound that's optimal up to log factors, with the DS dimension term scaling as one over epsilon and the Natarajan dimension term scaling as one over epsilon squared.
Meng: That matches the lower bound, so it's tight. And the Natarajan dimension is always at most the DS dimension, so the bound is never worse than what you'd get from the old analysis.
Lu: One subtlety I want to flag: the agnostic list learning bound still has that Natarajan dimension term divided by epsilon squared. The paper notes it's not clear whether that term is necessary for list learning when l is greater than one. The lower bound techniques from the single-label case don't directly apply.
Tom: So there's still a small open question there?
Lu: A small one, yes. But the main event—the realizable case—is completely settled. And the agnostic bound is optimal up to log factors, which is a massive improvement over what existed.
Meng: And I appreciate that the paper is honest about that gap. They don't claim more than they prove.
Jane: That's the mark of a good theory paper. It settles the big question and clearly marks what's left.
Tom: So we've got the theory, we've got the algorithms. What does this mean for the field, and for the world? Let's bring in Lalam for the big-picture take.
Conclusion: Tom: We've covered the theorem, the proof, and the algorithmic consequences. Let's wrap up "The Optimal Sample Complexity of Multiclass and List Learning" with the big question: what does this actually change?
Jane: For me, the biggest change is psychological. For over a decade, researchers knew the answer should be linear in the DS dimension, but they couldn't prove it. Now they can. That unlocks a whole line of follow-up work that was blocked.
Lu: Absolutely. Every time a conjecture like this falls, it's like a dam breaking. People will now use this density bound as a tool in other problems. I'm already thinking about how it applies to regression, to active learning, to online learning.
Meng: And on the practical side, the improvement is real. If you're building a system with limited labeled data—say, a medical imaging classifier with rare conditions—the difference between d and d to the one point five samples can be the difference between feasible and infeasible.
Lalam: And I want to push on that. This paper isn't just about making existing systems slightly more efficient. It's about making multiclass learning viable in domains where data is genuinely scarce. Think about endangered species monitoring, where you have a handful of photos per species. Or rare disease diagnosis, where each case is precious. The old bounds said you'd need an impractical amount of data. This paper says the complexity is exactly what you'd hope.
Jane: That's the cultural impact, isn't it? When theory says a problem is hard, it discourages people from even trying. When theory says it's feasible, it invites innovation.
Lalam: Exactly. And there's a deeper point. The paper shows that the right complexity measure—the DS dimension—is not just an abstract curiosity. It's the exact quantity that determines how much data you need. That's a beautiful example of theory guiding practice.
Tom: And it's worth remembering that this all came from a single structural insight. The spanning lemma, the algebraic characterization. One clean idea, and then everything else follows.
Meng: I also want to give credit where it's due. The paper builds directly on the work of Hanneke, Meng, Moran, and Shaeiri. That's how science should work—standing on shoulders.
Jane: And the author, Chirag Pabbaraju, deserves a lot of credit for seeing how to finish the job. The conjecture had resisted a decade of attempts.
Lu: I think the most exciting thing is that this won't be the end. The algebraic approach that worked here is likely to have more mileage. I'd bet we'll see it applied to other open problems in learning theory within the next year.
Tom: So to sum up: this paper proves the optimal sample complexity for multiclass and list learning, resolves a two thousand fourteen conjecture, and gives practical algorithms that match the theory. That's a complete package.
Jane: And with that, we'll say goodbye to "The Optimal Sample Complexity of Multiclass and List Learning." A truly satisfying result.
Tom: Thanks for listening, everyone. Next up on the channel, we've got a paper on efficient transformers that I think you'll all enjoy. See you then.
More episodes
- 2610.10768-Strategic Investment Decision Making for Value Creation in Energy Transition: A Reinforcement Learning Approach
- 2610.10858-RFChipAgent: Multi-Agentic AI Flow for Analog/RF Chip Design
- 2610.10613-Temporal transformer CAN encoder with federated lightweight heads for anomaly detection
- 2610.10616-When Routing Reveals Membership: Privacy Leakage from MoE Router Telemetry
- 2610.10655-Nullify: Null-Space Activation Steering for Training-Free LLM Unlearning
- 2610.11031-Language Modeling is Monotone Compression
- 2610.01253-Context-Aware Error Mitigation Orchestration for Hybrid Quantum Reinforcement Learning on NISQ Systems
- 2604.24201-CMGL: Confidence-guided Multi-omics Graph Learning for Cancer Subtype Classification
- 2609.34069-Towards Certificate-Driven Software Porting: A Self-Improving Agentic Harness for Scientific Program Optimization
- 2312.01221-Enabling Quantum Natural Language Processing for Hindi Language