cs.LGOct 18, 2026

The Optimal Sample Complexity of Pointwise Replicable Agnostic Learning

Authors: Guangjian Zhang

Abstract

Pointwise replicability asks that two independently trained predictors, using the same random seed, agree at each fixed query with high probability. We determine its optimal agnostic sample complexity on finite and countable domains. For every nonempty binary class of finite VC dimension d≥1d\ge1, the required number of independent examples is Θ ⁣(dρ2α2+log⁡(1/β)α2)Θ\!\left(\frac{d}{ρ^2α^2}+\frac{\log(1/β)}{α^2}\right), uniformly over independent accuracy, failure, and disagreement parameters α,β,ρ∈(0,1/10)α,β,ρ\in(0,1/10). The learner returns one binary function, may be improper, and uses unrestricted shared randomness. Its sample budget is fixed before observing data, and the replicability guarantee includes queries of zero marginal mass. The main construction combines an ensemble of empirical-risk minimizers with a smooth, signal-dependent risk decomposition. A single shared phase selects the final binary predictor. Record times certify its weak-signal risk, while a uniform bound protects the strong-signal risk at that same selected time. A phase-comparison theorem controls the actual shared-seed execution under simultaneous changes in the marginals and risk coefficients. A rare repair step then makes the confidence cost additive. Together with matching lower bounds, this removes the remaining logarithmic overhead and parameter restrictions in the general countable-domain sample-complexity problem. This extended version also retains the earlier explicit constructions and their proofs, including proper learning for VC-one classes, the full finite-atom class, a faster realizable bound, and counterexamples that separate restrictions of particular algorithms from restrictions of the learning problem.

Figures & tables

Appendix figures & tables10 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. An Optimal Agnostic PAC Algorithm

    Aug 6, 2026Markus Engelund Mathiasen, Jian Qian, Nikita ZhivotovskiyPAC LearningStatistical Learning Theory

  2. The Sample Complexity of Replicable Realizable PAC Learning

    Feb 23, 2026Kasper Green Larsen, Markus Engelund Mathiasen, Chirag Pabbaraju +1PAC LearningSample Complexity

  3. Replicable Composition

    Apr 12, 2026Kiarash Banihashem, MohammadHossein Bateni, Hossein Esfandiari +2Sample ComplexityML Reproducibility