The Optimal Sample Complexity of Pointwise Replicable Agnostic Learning
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 , the required number of independent examples is , uniformly over independent accuracy, failure, and disagreement parameters . 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
| Inherited content | Original v1 locator | Location in this manuscript |
|---|---|---|
| Model, countable rounding, self-normalized gate, explicit ERM bounds, and independent-block moments | Definition 2.1 (p. 3); Lemmas 3.1–3.4 (pp. 8, 10, 11, 14); Proposition 3.5 (p. 15) | Definition S2.1 ; Lemma S3.1 – Lemma S3.4 ; Proposition S3.5 |
| Gate-and-round conversion, three ensemble budgets, and additive-confidence rare repair | Theorem 4.1 (p. 15); Proposition 4.2 (p. 17); Lemma 4.3 (p. 20); Theorem 4.4 (p. 21) | Theorem S4.1 , Proposition S4.2 , Lemma S4.3 , Theorem S4.4 |
| Agnostic dimension–replicability and confidence lower bounds, including explicit constants | Theorem 5.1 (p. 22); Lemma 5.2 (p. 25) | Theorem S5.1 , Lemma S5.2 ; also Theorem 5.1 and Appendix G |
| Countable proper core, ordered quantile coupling, and exact proper learning for every VC-one class | Lemma 6.1 (p. 26); Theorem 6.2 (p. 28) | Lemma S6.1 , Theorem S6.2 ; Theorem 6.1 |
| Exact proper finite-atom learning and the faster realizable bound with stability on all distributions | Theorem 6.3 (p. 30); Corollary 6.4 (p. 31) | Theorem S6.3 , Corollary S6.4 ; Theorems 6.2 and 6.3 |
| Statement qualifications, interface-specific obstructions, SMALL-region variance, and explicit counterexamples | Remarks 6.5 (p. 33), 6.6 (p. 34), and 7.7 (p. 48) | Remark S6.5 , Remark S6.6 , Remark S7.7 ; Section 6 |
| Symbol | Meaning |
|---|---|
| Atom mass and conditional label mean | |
| True risk and infimal risk in | |
| Hit count, label sum, , with zero-hit value | |
| Gate sample count, danger scale, | |
| Shared independent gate uniforms on | |
| Shared independent rounding uniforms on |
| Constant | Verification |
|---|---|
| Hoeffding | Tilted variance , integrated twice |
| Hoeffding tail | Optimize at |
| Gate | , two-sample difference variance |
| Dangerous threshold | Mean magnitude , all thresholds have magnitude |
| Deterministic | Mean magnitude , deviation |
| VC packing | Collision sample of size , |
| Factor | Source and treatment |
|---|---|
| in | Rounding tail budget |
| in | Simultaneous safety/coverage over atoms |
| in U | Union bound over base blocks |
| in M | Bad-block probability |
| in P | Product of square-exponential moments; total cost is additive |
| Running the base construction at failure probability |
| Symbol | Meaning |
|---|---|
| , the signed population histogram | |
| Signed empirical histogram, zero at unobserved points | |
| Linear risk of a fractional prediction | |
| Clipping map onto | |
| Soft-shift strength; not a gate count mean | |
| Independent shared rounding uniforms on |
| Constant or coefficient | Derivation |
|---|---|
| Clipped-shift | Complete the square in |
| Incorrect-endpoint | |
| Histogram second moment | and independence |
| Histogram change | |
| Histogram tail | Doob increments have range length |
| Average-ERM coefficient | Moment exponent , squared threshold |
| Factor | Source and treatment |
|---|---|
| in the average-ERM term | Product of square-exponential moments; appears as per block and costs in total |
| No in SOFT-VC | No union bound over the ERMs |
| in | Suppresses the final rounding-seed upper tail |
| Current pointwise stability calculation requires | |
| No atom-count logarithm in the histogram | Concentration is for one Hilbert norm, not a union over coordinates |
| No in the soft route | No simultaneous atomwise sign-safety requirement |