Replicable bounded-mean and coin bias estimation #
This module provides an end-to-end replicable estimation client based on Hoeffding concentration
and periodic grid rounding (roundGridProg) [ILPS22]:
- Bounded mean estimation (
replicableMeanProg): given any domainXand bounded observablef : X → ℝtaking values in[a, b], empirical averaging combined withroundGridProg w Nyields aProbComp-backedProgramthat is both stronglyρ-replicable over all distributionsD : PMF Xand(ε, β)-accurate for estimating𝔼_{x ~ D}[f x]. - Coin bias estimation (
replicableBiasProg): specializing toX = BoolandcoinBias D = (D true).toReal, empirical head frequency plusroundGridProggives an explicit stronglyρ-replicable and(ε, β)-accurate coin bias estimator with concrete sample-complexity guarantees.
Main definitions #
Cslib.MachineLearning.Replicable.empiricalMean,Cslib.MachineLearning.Replicable.distExpectation: sample average and population expectation.Cslib.MachineLearning.Replicable.replicableMeanProg:ProbCompreplicable mean-estimation program.Cslib.MachineLearning.Replicable.coinBias,Cslib.MachineLearning.Replicable.empiricalBias,Cslib.MachineLearning.Replicable.replicableBiasProg: replicable coin bias-estimation program.
Main results #
Cslib.MachineLearning.Replicable.boundedMean_concentrates: Hoeffding concentration ofempiricalMeanarounddistExpectation.Cslib.MachineLearning.Replicable.estimates_replicableMeanProg,Cslib.MachineLearning.Replicable.isReplicable_replicableMeanProg,Cslib.MachineLearning.Replicable.exists_replicableMeanProg: strongρ-replicability and(ε, β)-accuracy for bounded-mean estimation.Cslib.MachineLearning.Replicable.estimates_replicableBiasProg,Cslib.MachineLearning.Replicable.isReplicable_replicableBiasProg,Cslib.MachineLearning.Replicable.exists_replicableBiasProg: concrete quantitative guarantees and parameter synthesis for replicable coin bias estimation.
References #
- Impagliazzo, Lei, Pitassi, Sorrell (STOC 2022),
Reproducibility in Learning (paper PDF not directly inspected in this formalization;
ProbCompbias-estimation programs and Hoeffding/grid-rounding proofs are formalized directly).
ProbComp-backed ideal real-arithmetic program for replicable bounded-mean estimation via
periodic grid rounding of empiricalMean f (interpreted semantically via Program.toAlgorithm).
Hoeffding concentration of the empirical mean of an observable f : X → [a, b] under
m ≥ 1 i.i.d. draws from D, using effective width M = max (b - a) 1.
Strong (w / 2 + δ, 2 * exp (-2 * m * δ^2 / (max (b - a) 1)^2))-estimation accuracy of
replicableMeanProg.
Parameter synthesis for replicable bounded-mean estimation: for any domain X, bounded
f : X → [a, b], and target (ε, ρ, β) with ε, ρ, β > 0, there exist w > 0 and N, m ≥ 1
making (replicableMeanProg f w N m).toAlgorithm strongly ρ-replicable and strongly
(ε, β)-accurate.
ProbComp-backed ideal real-arithmetic program for replicable coin bias estimation via
periodic grid rounding of empiricalBias (interpreted semantically via Program.toAlgorithm).
Strong ρ-replicability of replicableBiasProg across all distributions D : PMF Bool.
Replicable coin bias-estimation theorem [ILPS22]: for any
ε > 0, ρ > 0, and β > 0, there exist w > 0 and N, m ≥ 1 such that
(replicableBiasProg w N m).toAlgorithm is strongly ρ-replicable and strongly
(ε, β)-accurate for estimating coinBias D.