cs.LGNov 20, 2026
SaveThe Optimal Sample Complexity of Agnostic PAC Learning for Partial Concept Classes
Organizations: Aarhus University
Abstract
Let be a partial concept class of finite VC dimension . We construct a deterministic agnostic PAC learner that, for every , uses i.i.d. examples from an arbitrary distribution over and returns a total concept satisfying with probability at least , where . This establishes the optimal sample complexity, matching the lower bound of Alon et al. (FOCS 2021).
More in this topic
PAC Learning
Probably approximately correct (PAC) learning studies when finite samples can yield predictors that generalize with bounded error and confidence.
See all 54 papersLet be a class of finite VC dimension . Writing for the binary risk and , we construct a learner achieving the statistically optimal risk bound: from an i.i.d.\ sample of size , for every , with probability at least ,
This settles the sample complexity of agnostic PAC learning up to universal constants at every fixed , matching the lower bounds of Devroye, Györfi, and Lugosi [A Probabilistic Theory of Pattern Recognition, Springer, 1996].
Near-Optimal Sample Complexity of Deterministic Agnostic PAC Learning
We study the problem of agnostic PAC learning under deterministic labels, where the examples are labeled by an arbitrary deterministic function, which need not belong to the concept class . This model captures misspecification without stochastic label noise and lies between the realizable and fully agnostic settings. Prior work showed that, when has finite diameter and VC dimension , deterministic labels can improve the sample complexity upper bound from the classical agnostic guarantee to , but left a large gap between upper and lower bounds. Our main result sharpens this picture. We prove that every class of VC dimension and finite diameter is learnable with sample complexity , and we construct classes for which this bound is tight up to logarithmic factors. We also study the online analogue of this problem and show that the minimax regret is again partly controlled by the diameter of the class. Technically, our upper bounds are obtained via memorization-based learning algorithms that exploit the deterministic label structure.
Adversarially Robust PAC Learning with Optimal VC Rates
We study the problem of adversarially robust PAC learning. In this framework, the learner observes independent samples from an unknown distribution over , as in classical PAC learning. However, given a perturbation map known to the learner, the goal is to output, with high probability, a predictor that correctly classifies every perturbation of most future examples drawn from the same underlying distribution. We determine the optimal -independent sample complexity of this problem in both the realizable and agnostic settings. More specifically, for every concept class of dimension , we prove upper bounds of in the realizable setting and in the agnostic setting, together with an optimal first-order refinement of the latter. These bounds match the corresponding lower bounds for classical PAC learning. Consequently, and perhaps surprisingly, adversarial robustness incurs no additional distribution-free statistical cost, uniformly over all perturbation maps. Our bounds improve exponentially on those of [Montasser, Hanneke, and Srebro; COLT '19]. On the technical side, we present short and elementary proofs based on a new algorithmic principle that we call binomial-bagging. We believe that binomial-bagging and its analysis may be of independent interest.