# The Optimal Sample Complexity of Pointwise Replicable Agnostic Learning

arXiv: https://arxiv.org/abs/2610.25062 · HTML: https://mlsanity.com/paper/2610.25062/

## Key facts

- No citing papers in the map yet (data through 26 Nov 2026).
- Builds on 6 of its 17 references that are in the map.
- Submitted 18 Oct 2026.

## Builds on (most cited first, 6 of 6)

- [Reproducibility in Learning](https://mlsanity.com/paper/2201.08430/) (2022)
- [Stability is Stable: Connections between Replicability, Privacy, and Adaptive Generalization](https://mlsanity.com/paper/2303.12921/) (2023)
- [2 Notes on Classes with Vapnik-Chervonenkis Dimension 1](https://mlsanity.com/paper/1507.05307/) (2015)
- [Approximate Replicability in Learning](https://mlsanity.com/paper/2510.20200/) (2025)
- [On the Structure of Replicable Hypothesis Testers](https://mlsanity.com/paper/2507.02842/) (2025)
- [Replicable Composition](https://mlsanity.com/paper/2604.10423/) (2026)

## Abstract (arXiv)

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≥1, the required number of independent examples is Theta!left(fracdρ2α2+fraclog(1/β)α2right), uniformly over independent accuracy, failure, and disagreement parameters α,β,ρ∈(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.
