cs.LGApr 27, 2026

The Optimal Sample Complexity of Multiclass and List Learning

Authors: Chirag Pabbaraju

Organizations: Stanford University

Abstract

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 DS\sqrt{\text{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.

Explore similar work

May 25, 2026stat.ML

PAC Learning with Bandit Feedback: Sharp Sample Complexity in the Realizable Setting

We study the problem of multiclass PAC learning with bandit feedback in the realizable setting. In this framework, there is an unknown data distribution over an instance space X\mathcal{X} and a label space Y\mathcal{Y}, as in classical multiclass PAC learning, but the learner does not observe the labels of the i.i.d. training examples. Instead, in each round, it receives an unlabeled instance, predicts its label, and receives bandit feedback indicating only whether the prediction is correct. Despite this restriction, the goal remains the same as in classical PAC learning. We provide a general characterization of the optimal sample complexity of this problem, sharp for every concept class up to logarithmic factors. Our characterization is based on a new combinatorial dimension, termed the bandit DS\mathrm{DS} dimension, defined via generalized combinatorial structures we call pseudo-boxes. These extend the pseudo-cubes underlying the DS\mathrm{DS} dimension by allowing a different number of neighbors in each coordinate. In contrast to the DS\mathrm{DS} dimension, which governs the full-information setting by counting the number of coordinates in the pseudo-cube, the bandit DS\mathrm{DS} dimension aggregates the number of neighbors across coordinates, leading to a characterization in which the sample complexity scales with the total number of neighbors. We also propose a general learning algorithm achieving the upper bound, based on an algorithmic principle called ListCascade, which connects bandit learning to list learning and may be of independent interest.
Steve Hanneke, Qinglin Meng, Shay Moran +1
Aug 11, 2026cs.LG

Optimistic Rates for Multiclass PAC Learning

Worst-case multiclass bounds do not become smaller when the best classifier is already nearly correct: what is missing is an optimistic rate, a guarantee whose fluctuation scales with the oracle risk itself. For a class of Natarajan dimension dNd_N and Daniely-Shalev-Shwartz dimension dDSd_{DS}, the optimal excess risk is known at the two endpoints (dDS/nd_{DS}/n realizable, dN/n+dDS/n\sqrt{d_N/n}+d_{DS}/n agnostic [HMZ24, CEH+26, Pab26]) and open in between. We close the gap: at every fixed oracle risk LL^\star, the optimal excess risk is Θ~(LdN/n+dDS/n)\widetildeΘ(\sqrt{L^\star d_N/n}+d_{DS}/n), uniformly in the alphabet size, attained by a learner that knows neither LL^\star nor the confidence level. The upper bound composes the cover-menu-compression architecture of [CEH+26], at the realizable rate of [Pab26], with a new comparator-facing relative compression theorem: a size-kk compression rule that empirically dominates a comparator hh has population risk at most L(h)+O(L(h)Γ+Γ)L(h)+O(\sqrt{L(h)Γ}+Γ) with Γ=(klogn+log(1/δ))/nΓ=(k\log n+\log(1/δ))/n, without stability; this transfers the comparison principle of the sharp binary theory [MQZ26] while discarding its Boolean-cube geometry, which does not lift to multiclass labels. The lower bound forces both terms using one class and one distribution at every fixed LL^\star, by a pair-Assouad scheme calibrated to LL^\star and a fiber argument on the pseudo-cubes underlying the Natarajan-versus-DS separation of [BCD+22]. Both theorems extend to list learning: against the best rr-tuple of hypotheses, the same architecture and the same two engines yield an optimistic rate and a lower bound of the same shape, forcing the fluctuation term that [Pab26] expected to be necessary against list comparators, and removing the factor rr from the known realizable list lower bound.
Xiaoyu Li, Andi Han, Jiaojiao Jiang +1
May 22, 2026cs.LG

Optimal Dimension-Free Sampling for Regularized Classification

We prove optimal sampling bounds achieving (1±ε)(1\pm\varepsilon)-relative error for a broad class of Lipschitz continuous classification loss functions under various regularization terms. This includes important functions such as logistic and sigmoid loss, hinge loss, and ReLU loss, as prominent and popular representative examples. In particular, we prove k2/ε2k^2/\varepsilon^2 upper and lower bounds for 2/k\|\cdot\|_2/k regularization, and k/ε2k/\varepsilon^2 upper and lower bounds for 1/k\|\cdot\|_1/k regularization. For 22/k\|\cdot\|_2^2/k regularization, the sampling complexity depends mainly on a bounded derivative property: if g(x)g(x)|g'(x)|\leq g(x), and g(0)>0g(0)>0, and gg is monotonic or convex, then it admits linear in kk sampling complexity; otherwise the general bound is k2/ε2k^2/\varepsilon^2. However, if g(0)=0g(0)=0, our results indicate that no dimension-free bounds are possible, and even sublinear bounds are ruled out. All upper bounds are complemented by matching lower bounds up to polylogarithmic terms. Moreover, our work relies conceptually and algorithmically on simple uniform or (squared) norm sampling and hereby improves over recent cubic k3/ε2k^3/\varepsilon^2 sensitivity sampling bounds of (Alishahi and Phillips, ICML'24). This is achieved by refined arguments involving higher moment bounds and empirical process analyses to avoid overcounting that appears in the de-facto standard VC-dimension and sensitivity framework.
Meysam Alishahi, Alexander Munteanu, Simon Omlor +1