Correlated sampling of grid distributions from a finite seed #
A grid distribution on a finite type α with denominator L gives every point a probability
that is a multiple of 1 / L; it is described by its counts c x with ∑ x, c x = L
(GridDist). Such a distribution is the projection of the uniform distribution on its set of
cells {(x, u) : u < c x} in α × Fin L, a set of exactly L cells.
This module gives Holenstein's correlated sampling protocol for grid distributions with a
finite shared seed: a uniformly random enumeration σ of α × Fin L. Each party outputs the
point of the first of its own cells in the enumeration (gridSample), so it needs only the seed
and its own distribution. Under the uniform seed the first element of a set of cells is uniform on
that set (toOuterMeasure_first_mem), so each party samples exactly its own distribution
(map_gridSample). The parties agree whenever the first cell of the union of their cell sets is
common to both, so they disagree with probability at most 2 d_TV(P, Q)
(gridSample_disagree_le).
The finite seed is what makes the protocol usable where randomness must be a PMF, as in
Cslib.MachineLearning.Replicable.Algorithm. Holenstein's protocol for arbitrary distributions
(Cslib.Probability.CorrelatedSampling.seedSample) needs a continuous seed.
Main definitions #
Cslib.Probability.CorrelatedSampling.first: the first element of a nonempty set in an enumeration.Cslib.Probability.CorrelatedSampling.GridDist: a grid distribution, given by its counts.Cslib.Probability.CorrelatedSampling.gridSample: the party's output for a grid distribution.
Main results #
Cslib.Probability.CorrelatedSampling.toOuterMeasure_first_mem: the first element ofSunder a uniform enumeration lies inRwith probability#(S ∩ R) / #S.Cslib.Probability.CorrelatedSampling.map_gridSample: each party samples its own distribution.Cslib.Probability.CorrelatedSampling.gridSample_disagree_le: the parties disagree with probability at most2 d_TV(P, Q).
References #
- [T. Holenstein, Parallel repetition: simplifications and the no-signaling case] [Hol09], §5, Figure 1 and the proof of Lemma 5.2, pp. 152–153: the protocol with a continuous seed, sampled with replacement.