Introduction
Typically, learning algorithms observe samples from an unknown distribution and produce an output. In general, such algorithms are not replicable : two different runs of the algorithm observe two different samples (though drawn from the same distribution), resulting in potentially different outputs. Motivated by this, various notions of replicable learning have been introduced in the recent literature. In particular, the work of [ILPS22] formalized a notion of replicability called ρ \rho ρ -replicability, and the works of [10 ] and [7 ] introduced the notion of list replicability. Since then, the notion of replicable learning has received considerable attention and has been studied in various contexts such as PAC learning, Reinforcement learning, multi-armed bandits, etc. [HIK+24, BGH+23, BLM20, EKK+23, DGSB26, EHKS23, HM25, DPWV22, BHH+26]. A basic problem studied in this area is d d d -CoinBiasEstimationProblem: given sample access to d d d coins with unknown biases, estimate every bias to within additive error ε \varepsilon ε . The d d d -coin bias estimation problem is a basic instance of high-dimensional mean estimation over Bernoulli product distributions and captures central challenges in designing replicable algorithms and understanding their limitations.
In this work, we focus on list replicable [10 , 7 ] algorithms for d d d -CoinBiasEstimationProblem. Informally, an algorithm is k k k -list replicable if, given sample access to an unknown distribution D \mathcal{D} D , it outputs with high probability an element of a set L D L_{\mathcal{D}} L D containing at most k k k correct answers. This captures replicability by restricting outputs to a small set that depends only on D \mathcal{D} D , not on the observed samples; smaller k k k gives a stronger guarantee. Ideally, we want the list size to be k = 1 k=1 k = 1 . However, as observed in [10 ] , such a strong notion of replicability is impossible even for the case of single coin bias estimation.
For the d d d -CoinBiasEstimationProblem, it is known that there is no d d d -list replicable algorithm, but there is a ( d + 1 ) (d+1) ( d + 1 ) -list replicable algorithm [10 ] . The ( d + 1 ) (d+1) ( d + 1 ) -list replicable algorithm obtains a ε 2 d \frac{\varepsilon}{2d} 2 d ε -close estimate of each coin and rounds the resulting vector using a partition scheme known as secluded partitions. Thus, the sample complexity of the ( d + 1 ) (d+1) ( d + 1 ) -list replicable algorithm is O ~ ( d 3 ε 2 ) \widetilde{O}\left(\frac{d^3}{\varepsilon^2}\right) O ( ε 2 d 3 ) . Note that if we do not require replicability, then there is a straightforward algorithm whose sample complexity is only O ~ ( d ε 2 ) \widetilde{O}\left(\frac{d}{\varepsilon^2}\right) O ( ε 2 d ) : toss each coin Θ ~ ( 1 ε 2 ) \widetilde{\Theta}\left(\frac{1}{\varepsilon^2}\right) Θ ( ε 2 1 ) times to obtain an ε \varepsilon ε -close estimate of its bias. This raises the question of whether there is a price to achieve replicability . Do replicable algorithms require inherently higher sample complexity? Motivated by this, we ask the following question:
What is the optimal sample complexity of estimating the biases of d d d coins with ℓ ∞ \ell_\infty ℓ ∞ error at most ε \varepsilon ε in a ( d + 1 ) (d+1) ( d + 1 ) -list replicable manner?
We resolve this question up to polylogarithmic factors: we show that the sample complexity of list replicable algorithms for d d d -CoinBiasEstimationProblem is Θ ~ ( d 2 ε 2 ) \widetilde{\Theta}\left(\frac{d^2}{\varepsilon^2}\right) Θ ( ε 2 d 2 ) . In particular, our upper bound improves the polynomial dependence on d d d from cubic to quadratic [10 ] , and our lower bound result shows that this improved upper bound is optimal up to polylogarithmic factors. Thus, list replicability comes at a price: a factor-d d d increase in sample complexity, up to polylogarithmic factors. We generalize this result to arbitrary k ∈ [ d + 1 , 2 d ] k \in[d+1,2^d] k ∈ [ d + 1 , 2 d ] , by showing that the sample complexity of k k k -list replicable algorithms for the problem is Θ ~ ( d 2 ε 2 log k ) \widetilde{\Theta}\left(\frac{d^2}{\varepsilon^2\log k}\right) Θ ( ε 2 l o g k d 2 ) .
Related Works
List replicability. List replicability was introduced independently in [DPVW23, CMY23], in the contexts of coin bias estimation and PAC learning. The works most closely related to ours are [DPVW23, VWDP+24], which study list replicable estimation through geometric partitions and establish bounds on list size and on the sample complexity of the resulting algorithms. These works give a ( d + 1 , ε , δ ) (d+1,\varepsilon,\delta) ( d + 1 , ε , δ ) -list replicable algorithm for d d d -CoinBiasEstimationProblem with sample complexity O ~ ( d 3 ε 2 ) \widetilde{O}\left(\frac{d^3}{\varepsilon^2}\right) O ( ε 2 d 3 ) , but leave open the optimal sample complexity. Our work establishes matching upper and lower bounds up to polylogarithmic factors and characterizes the tradeoff between list size and sample complexity. Subsequent work has studied list replicability in other contexts, including for large-margin halfspaces [2 ] , multi-armed bandits [8 ] , and reinforcement learning [ZCP+25].
ρ \rho ρ -replicability. The notion of ρ \rho ρ -replicability was introduced in [ILPS22]. Here, a learning algorithm observes samples from a distribution and has internal randomness. An algorithm is ρ \rho ρ -replicable if two executions of the algorithm on independent samples from the same distribution, using the same internal random seed, produce identical outputs with probability at least 1 − ρ 1-\rho 1 − ρ . The probability is over both the samples and the shared seed. This notion has been studied in learning and statistical estimation [ILPS22, BGH+23, HIK+24], multi-armed bandits [13 , 9 ] , and reinforcement learning [EHKS23]. Of particular relevance, [HIK+24] establishes nearly matching sample complexity bounds for high-dimensional mean estimation under ℓ 2 \ell_2 ℓ 2 and ℓ ∞ \ell_\infty ℓ ∞ error. For d d d -CoinBiasEstimationProblem, these results imply a lower bound of Ω ~ ( d ε 2 ρ 2 ) \widetilde{\Omega}\left(\frac{d}{\varepsilon^2\rho^2}\right) Ω ( ε 2 ρ 2 d ) total coin tosses for nonadaptive algorithms, with a matching upper bound up to polylogarithmic factors in the relevant parameter regime. While ρ \rho ρ -replicability requires agreement between runs using shared randomness, list replicability requires concentration on a small set of outputs determined solely by the underlying distribution.
Stability, privacy, and randomness. Global stability, introduced in [4 ] in the study of private learning, requires that, for each distribution, some fixed accurate hypothesis be output with probability bounded below. An equivalence between global stability and list replicability in PAC learning was established in [7 ] . For a broad class of statistical problems, [1 ] gives sample-efficient reductions between shared-randomness replicability, approximate differential privacy, and perfect generalization, while also establishing computational separations between these notions. Certificate replicability, introduced in [DPVW23], provides another way to quantify the information needed to reproduce an output. The randomness complexity of replicability and differential privacy, and its relationship to global stability, were further studied in [HM25].
Pseudodeterminism and reproducible computation. The study of replicability in learning has its roots in pseudodeterminism in the context of randomized algorithms. Pseudodeterminism was introduced in [14 ] and further developed in [16 ] . A randomized algorithm A \mathcal{A} A is pseudodeterministic if for every input x x x , there is a canonical value c x c_x c x such that A \mathcal{A} A on input x x x outputs c x c_x c x with high probability. Multi-pseudodeterminism [Gol25] relaxes this requirement by allowing a small set of canonical answers: for every x x x , there is a canonical list L x L_x L x such that the output of A \mathcal{A} A on input x x x belongs to L x L_x L x with high probability. If the list L x L_x L x is of size at most k k k , then A \mathcal{A} A is a k k k -pseudodeterministic algorithm. The notion of list replicability is analogous to multi-pseudodeterminism in the context of learning: the canonical set depends on the unknown distribution, and the guarantee must hold across independently drawn samples. A related notion is that of algorithms with few influential random bits [19 ] . Let A \mathcal{A} A be a randomized algorithm that uses m m m random bits. Separate the randomness into two parts r s rs r s , where ∣ r ∣ = ℓ \lvert r\rvert= \ell ∣ r ∣ = ℓ and ∣ s ∣ = m − ℓ \lvert s\rvert= m-\ell ∣ s ∣ = m − ℓ . The algorithm A \mathcal{A} A is ℓ \ell ℓ -bit influential if for every input x x x , and for most choices of ℓ \ell ℓ -bit strings r r r , there is a canonical value c x , r c_{x,r} c x , r such that A ( x , r s ) = c x , r \mathcal{A}(x,rs)=c_{x,r} A ( x , r s ) = c x , r occurs with high probability when s s s is randomly chosen. The notion of pseudodeterminism has been investigated in streaming algorithms [GGMW20, BKKS23, GGS23, CCPV25], communication complexity [2 , 18 ] , and complexity theory, including connections to probabilistic time, promise problems, and pseudodeterministic constructions [LOS21, DPWV22, CLO+26].
Preliminaries
Notation
We use bold lowercase letters to denote vectors p , q , x , y \mathbf{p},\mathbf{q},\mathbf{x},\mathbf{y} p , q , x , y . We index them using their non-bold counterpart, e.g., p = ( p 1 , … , p d ) \mathbf{p}=(p_1,\ldots,p_d) p = ( p 1 , … , p d ) . We say p ^ \widehat{\mathbf{p}} p is ε \varepsilon ε -close to p \mathbf{p} p to denote the condition ∥ p ^ − p ∥ ∞ ≤ ε \lVert\widehat{\mathbf{p}}-\mathbf{p}\rVert_\infty\le\varepsilon ∥ p − p ∥ ∞ ≤ ε . The condition p ≤ q \mathbf{p}\le\mathbf{q} p ≤ q means pointwise ≤ \le ≤ , i.e., ∀ i . p i ≤ q i \forall i.\ p_i\le q_i ∀ i . p i ≤ q i . And when we say p ≤ 3 4 \mathbf{p}\le\frac{3}{4} p ≤ 4 3 we mean ∀ i . p i ≤ 3 4 \forall i.\ p_i\le\frac{3}{4} ∀ i . p i ≤ 4 3 . For a vector p ∈ R d \mathbf{p}\in\mathbb{R}^d p ∈ R d and radius r > 0 r>0 r > 0 , we use B ∞ ( r , p ) B_\infty(r,\mathbf{p}) B ∞ ( r , p ) to denote an open ball of radius r r r with respect to ℓ ∞ \ell_\infty ℓ ∞ distance, i.e., B ∞ ( r , p ) = { q ∈ R d : ∥ p − q ∥ ∞ < r } B_\infty(r,\mathbf{p})=\{\mathbf{q}\in\mathbb{R}^d:\lVert\mathbf{p}-\mathbf{q}\rVert_\infty<r\} B ∞ ( r , p ) = { q ∈ R d : ∥ p − q ∥ ∞ < r } . For n ∈ N n\in\mathbb{N} n ∈ N we let [ n ] = { 1 , … , n } [n]=\{1,\ldots,n\} [ n ] = { 1 , … , n } and for a , b ∈ R a,b\in\mathbb{R} a , b ∈ R we use [ a , b ] [a,b] [ a , b ] , ( a , b ) (a,b) ( a , b ) , [ a , b ) [a,b) [ a , b ) , and ( a , b ] (a,b] ( a , b ] to represent the closed, open intervals, and their corresponding half-open intervals, respectively. We use O ~ ( ⋅ ) \widetilde{O}(\cdot) O ( ⋅ ) , Ω ~ ( ⋅ ) \widetilde{\Omega}(\cdot) Ω ( ⋅ ) , Θ ~ ( ⋅ ) \widetilde{\Theta}(\cdot) Θ ( ⋅ ) to subsume polylogarithmic factors, while keeping the dependence on the list size k k k explicit.
For distributions P , Q P,Q P , Q on the same measurable space, we use d Q d P \frac{dQ}{dP} d P d Q to denote the Radon-Nikodym derivative; e.g., if P , Q P,Q P , Q are discrete distributions on X \mathcal{X} X then for all x ∈ X x\in\mathcal{X} x ∈ X , it holds that d Q d P ( x ) = Q ( x ) P ( x ) \frac{dQ}{dP}(x)=\frac{Q(x)}{P(x)} d P d Q ( x ) = P ( x ) Q ( x ) , i.e., it is simply the ratio of their probability mass functions. We use Q ≪ P Q\ll P Q ≪ P to denote the condition that for all measurable sets A A A , if P ( A ) = 0 P(A)=0 P ( A ) = 0 then Q ( A ) = 0 Q(A)=0 Q ( A ) = 0 .
Sampling Algorithms
We work in the sampling model and consider randomized algorithms that have sample access to d ∈ N d\in\mathbb{N} d ∈ N coins with unknown bias vector p = ( p 1 , … , p d ) ∈ [ 0 , 1 ] d \mathbf{p}=(p_1,\ldots,p_d)\in[0,1]^d p = ( p 1 , … , p d ) ∈ [ 0 , 1 ] d . At each stage, an algorithm A \mathcal{A} A may choose a coin index I ∈ [ d ] I\in[d] I ∈ [ d ] based on its internal randomness, previous coin choices, and outcomes. Conditioned on the choice I I I , the algorithm receives an outcome X ∼ Bern ( p I ) X\sim\operatorname{Bern}(p_I) X ∼ Bern ( p I ) that is independent of the algorithm’s history. For i ∈ [ d ] i\in[d] i ∈ [ d ] , we use N i N_i N i to denote the sample complexity of the i i i th coin, i.e., N i N_i N i is the number of times coin i i i was tossed. We let N = ∑ i = 1 d N i N=\sum_{i=1}^d N_i N = ∑ i = 1 d N i denote the total number of samples the algorithm has used across all coins. We use Y Y Y to denote the output of the algorithm. To refer to this model, we say A \mathcal{A} A has sample access to coins with unknown biases p ∈ [ 0 , 1 ] d \mathbf{p}\in[0,1]^d p ∈ [ 0 , 1 ] d .
Our main focus will be on the d d d -CoinBiasEstimationProblem problem defined as follows.
Definition 3.1 ((d , ε , δ ) d,\varepsilon,\delta) d , ε , δ ) -CoinBiasEstimationProblem). Let d ∈ N d\in\mathbb{N} d ∈ N and ε , δ > 0 \varepsilon,\delta>0 ε , δ > 0 . Given sample access to d d d coins with unknown biases p = ( p 1 , … , p d ) ∈ [ 0 , 1 ] d \mathbf{p}=(p_1,\ldots,p_d)\in[0,1]^d p = ( p 1 , … , p d ) ∈ [ 0 , 1 ] d , the goal is to output an estimate p ^ ∈ R d \widehat{\mathbf{p}}\in\mathbb{R}^d p ∈ R d such that
Pr ( ∥ p ^ − p ∥ ∞ ≤ ε ) ≥ 1 − δ \Pr(\lVert\widehat{\mathbf{p}}-\mathbf{p}\rVert_\infty\le\varepsilon)\ge1-\delta Pr (∥ p − p ∥ ∞ ≤ ε ) ≥ 1 − δ
The randomness is over coin tosses and the algorithm’s internal randomness.
An upper bound for the ( d , ε , δ ) (d,\varepsilon,\delta) ( d , ε , δ ) -CoinBiasEstimationProblem follows directly from Chernoff Bound: sampling each coin O ~ ( 1 ε 2 ) \widetilde{O}\left(\frac{1}{\varepsilon^2}\right) O ( ε 2 1 ) times and outputting the empirical means gives a total sample complexity of O ~ ( d ε 2 ) \widetilde{O}\left(\frac{d}{\varepsilon^2}\right) O ( ε 2 d ) . We state a corresponding lower bound. Interested readers may see [KCG16, Sca24].
Lemma 3.2. Let ε , δ ∈ ( 0 , 1 8 ) \varepsilon,\delta\in(0,\frac{1}{8}) ε , δ ∈ ( 0 , 8 1 ) . Every algorithm for the ( d , ε , δ ) (d,\varepsilon,\delta) ( d , ε , δ ) -CoinBiasEstimationProblem requires N = Ω ( d ε 2 ) N = \Omega\left(\frac{d}{\varepsilon^2}\right) N = Ω ( ε 2 d ) samples.
We often drop ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) from the notation when they are clear from context and simply refer to it as d d d -CoinBiasEstimationProblem.
List Replicable Algorithms
We now define the notion of list replicability in the context of d d d -CoinBiasEstimationProblem [10 ] .
Definition 3.3. Let k , d ∈ N k,d \in\mathbb{N} k , d ∈ N and ε , δ > 0 \varepsilon,\delta> 0 ε , δ > 0 . An algorithm A \mathcal{A} A is ( k , ε , δ ) (k,\varepsilon,\delta) ( k , ε , δ ) -list replicable for the d d d -CoinBiasEstimationProblem if for each bias vector p = ( p 1 , … , p d ) ∈ [ 0 , 1 ] d \mathbf{p} = (p_1,\ldots,p_d) \in[0,1]^d p = ( p 1 , … , p d ) ∈ [ 0 , 1 ] d there exists a set of outputs L p L_{\mathbf{p}} L p such that
∣ L p ∣ ≤ k |L_{\mathbf{p}}| \le k ∣ L p ∣ ≤ k
∀ y ∈ L p . ∥ y − p ∥ ∞ ≤ ε \forall\mathbf{y} \in L_{\mathbf{p}}.\ \|\mathbf{y}-\mathbf{p}\|_{\infty} \le\varepsilon ∀ y ∈ L p . ∥ y − p ∥ ∞ ≤ ε
Pr ( Y ∈ L p ) ≥ 1 − δ \Pr(Y \in L_{\mathbf{p}}) \ge1-\delta Pr ( Y ∈ L p ) ≥ 1 − δ
where Y Y Y is the random variable denoting the output of A \mathcal{A} A when it has sample access to coins with bias vector p \mathbf{p} p . For a fixed algorithm, L p L_{\mathbf{p}} L p depends only on p \mathbf{p} p and not the samples or the algorithm’s internal randomness.
A 2 d 2^d 2 d -list replicable algorithm is straightforward: estimate each bias to within ε 2 \frac{\varepsilon}{2} 2 ε , then round to the nearest point on an ε \varepsilon ε -spaced grid. This uses O ~ ( d ε 2 ) \widetilde{O}\left(\frac{d}{\varepsilon^2}\right) O ( ε 2 d ) total samples. The list size, however, can be reduced dramatically. We state the relevant results below.
Theorem 3.4 (Theorem 5.2 of [10 ] ). Let d ∈ N d \in\mathbb{N} d ∈ N . For every ε , δ ∈ ( 0 , 1 ) \varepsilon,\delta\in(0,1) ε , δ ∈ ( 0 , 1 ) , there exists a ( d + 1 , ε , δ ) (d+1,\varepsilon,\delta) ( d + 1 , ε , δ ) -list replicable algorithm for the d d d -CoinBiasEstimationProblem using N = O ( d 3 ε 2 log d δ ) N = O\left(\frac{d^3}{\varepsilon^2}\log\frac{d}{\delta}\right) N = O ( ε 2 d 3 log δ d ) samples.
Theorem 3.5 (Corollary 3.3 of [VWDP+24]). Let d , k ∈ N d,k \in\mathbb{N} d , k ∈ N such that k ∈ [ d + 1 , 2 d ] k \in[d+1,2^d] k ∈ [ d + 1 , 2 d ] and ε , δ ∈ ( 0 , 1 ) \varepsilon,\delta\in(0,1) ε , δ ∈ ( 0 , 1 ) . There exists a ( k , ε , δ ) (k,\varepsilon,\delta) ( k , ε , δ ) -list replicable algorithm for the d d d -CoinBiasEstimationProblem that uses N = O ( d 3 log 2 d ε 2 log 2 k log d δ ) N = O\left(\frac{d^3\log^2 d}{\varepsilon^2\log^2 k}\log\frac{d}{\delta}\right) N = O ( ε 2 l o g 2 k d 3 l o g 2 d log δ d ) samples.
As mentioned earlier, we would like the list size to be k = 1 k=1 k = 1 to ensure “perfect replicability”, i.e., for each bias vector p ∈ [ 0 , 1 ] d \mathbf{p} \in[0,1]^d p ∈ [ 0 , 1 ] d the algorithm outputs some fixed ε \varepsilon ε -close output y p ∈ R d \mathbf{y}_{\mathbf{p}} \in\mathbb{R}^d y p ∈ R d with probability at least 1 − δ 1-\delta 1 − δ . However, such a strong notion of replicability is impossible; any k < d + 1 k<d+1 k < d + 1 is impossible, as shown in [10 ] .
Theorem 3.6 (Theorem 5.5 of [10 ] ). Let d , k ∈ N d,k \in\mathbb{N} d , k ∈ N . For ε ∈ ( 0 , 1 2 ) \varepsilon\in(0,\frac{1}{2}) ε ∈ ( 0 , 2 1 ) , δ ∈ ( 0 , 1 d + 1 ) \delta\in(0,\frac{1}{d+1}) δ ∈ ( 0 , d + 1 1 ) and k < d + 1 k<d+1 k < d + 1 , there is no ( k , ε , δ ) (k,\varepsilon,\delta) ( k , ε , δ ) -list replicable algorithm for the d d d -CoinBiasEstimationProblem.
These results motivate our focus on the sample complexity of ( d + 1 , ε , δ ) (d+1,\varepsilon,\delta) ( d + 1 , ε , δ ) -list replicable algorithms and their generalizations to ( k , ε , δ ) (k,\varepsilon,\delta) ( k , ε , δ ) -list replicable algorithms.
We focus on list sizes k ∈ [ d + 1 , 2 d ] k \in[d+1,2^d] k ∈ [ d + 1 , 2 d ] , since lists of size k < d + 1 k<d+1 k < d + 1 are impossible, while for k ≥ 2 d k \ge2^d k ≥ 2 d , the sample complexity asymptotically matches that of ( d , ε , δ ) (d,\varepsilon,\delta) ( d , ε , δ ) -CoinBiasEstimationProblem.
Contributions
We establish tight upper and lower bounds on the sample complexity of ( d + 1 , ε , δ ) (d+1,\varepsilon,\delta) ( d + 1 , ε , δ ) -list replicable algorithms for the d d d -CoinBiasEstimationProblem. We also generalize the result and show matching upper and lower bounds for ( k , ε , δ ) (k,\varepsilon,\delta) ( k , ε , δ ) -list replicable algorithms for the d d d -CoinBiasEstimationProblem for any k ∈ [ d + 1 , 2 d ] k \in[d+1,2^d] k ∈ [ d + 1 , 2 d ] .
Our lower bound results can be stated as follows; the proof of which can be found in § 5 .
Theorem 4.1 (Definition 5.7 Restated). Let ε , δ ∈ ( 0 , 1 / 8 ) \varepsilon,\delta\in(0,1/8) ε , δ ∈ ( 0 , 1/8 ) . For sufficiently large d ∈ N d \in\mathbb{N} d ∈ N , every ( d + 1 , ε , δ ) (d+1,\varepsilon,\delta) ( d + 1 , ε , δ ) -list replicable algorithm for the d d d -CoinBiasEstimationProblem requires N = Ω ( d 2 ε 2 log d ) N = \Omega\left(\frac{d^2}{\varepsilon^2\log d}\right) N = Ω ( ε 2 l o g d d 2 ) samples.
Theorem 4.2 (Definition 5.11 Restated). Let ε , δ ∈ ( 0 , 1 / 8 ) \varepsilon,\delta\in(0,1/8) ε , δ ∈ ( 0 , 1/8 ) and d , k ∈ N d,k \in\mathbb{N} d , k ∈ N . If k ∈ [ d + 1 , 2 d ] k \in[d+1,2^d] k ∈ [ d + 1 , 2 d ] then every ( k , ε , δ ) (k,\varepsilon,\delta) ( k , ε , δ ) -list replicable algorithm for the d d d -CoinBiasEstimationProblem requires N = Ω ( d 2 ε 2 log k ) N=\Omega\left(\frac{d^2}{\varepsilon^2\log k}\right) N = Ω ( ε 2 l o g k d 2 ) samples.
For simplicity of analysis, we first prove the lower bound for algorithms when the number of tosses of each coin is fixed in advance. In Appendix B, we remove that assumption and prove the same lower bound for arbitrary randomized sampling-based algorithms.
Our upper bound results can be stated as follows; the proof of which can be found in Section 6. In the statements below, we do not attempt to optimize polylogarithmic factors.
Theorem 4.3 (Definition 6.8 Restated). Let d ∈ N d \in\mathbb{N} d ∈ N and ε , δ ∈ ( 0 , 1 ) \varepsilon,\delta\in(0,1) ε , δ ∈ ( 0 , 1 ) . There exists a ( d + 1 , ε , δ ) (d+1,\varepsilon,\delta) ( d + 1 , ε , δ ) -list replicable algorithm for the d d d -CoinBiasEstimationProblem that uses N = O ( d 2 ε 2 log d δ log 1 δ ) N=O\left(\frac{d^2}{\varepsilon^2}\log\frac{d}{\delta}\log\frac{1}{\delta}\right) N = O ( ε 2 d 2 log δ d log δ 1 ) samples.
Theorem 4.4 (Definition 6.13 Restated). Let d , k ∈ N d,k \in\mathbb{N} d , k ∈ N such that k ∈ [ d + 1 , 2 d ] k \in[d+1,2^d] k ∈ [ d + 1 , 2 d ] and ε , δ ∈ ( 0 , 1 ) \varepsilon,\delta\in(0,1) ε , δ ∈ ( 0 , 1 ) . There exists a ( k , ε , δ ) (k,\varepsilon,\delta) ( k , ε , δ ) -list replicable algorithm for the d d d -CoinBiasEstimationProblem that uses N = O ( d 2 log d ε 2 log k log 2 d δ ) N=O\left(\frac{d^2\log d}{\varepsilon^2\log k}\log^2\frac{d}{\delta}\right) N = O ( ε 2 l o g k d 2 l o g d log 2 δ d ) samples.
The following two tables summarize our contributions.
Table 1. Sample complexity N N N of ( d + 1 , ε , δ ) (d+1,\varepsilon,\delta) ( d + 1 , ε , δ ) -list replicable d d d -CoinBiasEstimationProblem. Our work is tight up to polylogarithmic factors. Definitions 5.7 and 6.8.
Table 2. Sample complexity N N N of ( k , ε , δ ) (k,\varepsilon,\delta) ( k , ε , δ ) -list replicable d d d -CoinBiasEstimationProblem where k ∈ [ d + 1 , 2 d ] k \in[d+1,2^d] k ∈ [ d + 1 , 2 d ] . Our work is tight up to polylogarithmic factors. Definitions 5.11 and 6.13.
Lower Bound
In Sections 5.1 to 5.3, we cover preliminary results used to prove the lower bound and an overview of the proof of the lower bound. In Section 5.4, we prove that every ( d + 1 , ε , δ ) (d+1,\varepsilon,\delta) ( d + 1 , ε , δ ) -list replicable algorithms requires N = Ω ( d 2 ε 2 log d ) N=\Omega\left(\frac{d^2}{\varepsilon^2\log d}\right) N = Ω ( ε 2 l o g d d 2 ) . Then in Section 5.5, we generalize it to every ( k , ε , δ ) (k,\varepsilon,\delta) ( k , ε , δ ) -list replicable algorithms requires N = Ω ( d 2 ε 2 log k ) N=\Omega\left(\frac{d^2}{\varepsilon^2\log k}\right) N = Ω ( ε 2 l o g k d 2 ) samples. The main tool we use is the neighborhood Sperner/KKM lemma [VWDP+24], which we describe next.
The Neighborhood KKM/Sperner Lemma
Definition 5.1 (Sperner/KKM Coloring). For a set of colors C C C , a coloring is a mapping χ : [ 0 , 1 ] d → C \chi:[0,1]^d \to C χ : [ 0 , 1 ] d → C . For a color c ∈ C c \in C c ∈ C , let X c X_c X c denote the set of points assigned color c c c by χ \chi χ , i.e., X c = χ − 1 ( c ) X_c=\chi^{-1}(c) X c = χ − 1 ( c ) . A coloring χ \chi χ is a Sperner/KKM coloring if no two points from opposite faces of the cube get the same color, i.e., for every $c \in C
the set X c X_c X c has the property that for each coordinate i ∈ [ d ] i \in[d] i ∈ [ d ] , the projection π i ( X c ) = { p i : ( p 1 , … , p d ) ∈ X c } \pi_i(X_c) = \{p_i : (p_1,\ldots,p_d) \in X_c\} π i ( X c ) = { p i : ( p 1 , … , p d ) ∈ X c } does not contain both 0 and 1.
An analogous definition applies when we are coloring [ a , b ] d [a,b]^d [ a , b ] d where a < b a < b a < b . Still requiring that no two points from opposite faces of the cube get the same color, i.e., for every c ∈ C c \in\mathcal{C} c ∈ C the set X c X_c X c has the property that for each coordinate i ∈ [ d ] i \in[d] i ∈ [ d ] , the projection π i ( X c ) = { p i : ( p 1 , … , p d ) ∈ X c } \pi_i(X_c) = \{p_i : (p_1,\ldots,p_d) \in X_c\} π i ( X c ) = { p i : ( p 1 , … , p d ) ∈ X c } does not contain both a a a and b b b .
In [VWDP+24], the authors proved the Neighborhood Sperner/KKM Lemma for colorings of [ 0 , 1 ] d [0,1]^d [ 0 , 1 ] d . We state the corresponding version for [ a , b ] d [a,b]^d [ a , b ] d obtained by translating and rescaling the cube.
Theorem 5.2 (Neighborhood Sperner/KKM Lemma [VWDP+24]). Let a < b a < b a < b and s = b − a s = b-a s = b − a . Given a Sperner/KKM coloring of [ a , b ] d [a,b]^d [ a , b ] d for any r ∈ ( 0 , s 2 ] r \in\left(0,\frac{s}{2}\right] r ∈ ( 0 , 2 s ] , there exists a point p ∈ [ a , b ] d \mathbf{p} \in[a,b]^d p ∈ [ a , b ] d such that B ∞ ∘ ( r , p ) B^\circ_\infty(r,\mathbf{p}) B ∞ ∘ ( r , p ) contains at least ( 1 + 2 3 ⋅ r s ) d \left(1+\frac{2}{3}\cdot\frac{r}{s}\right)^d ( 1 + 3 2 ⋅ s r ) d points with distinct colors.
Proof Overview
We now provide a high-level overview of the lower-bound proof. Let A \mathcal{A} A be a ( d + 1 , ε , δ ) (d+1,\varepsilon,\delta) ( d + 1 , ε , δ ) -list replicable algorithm for d d d -CoinBiasEstimationProblem and Y Y Y be the random variable denoting the output of A \mathcal{A} A . For simplicity, we assume that A \mathcal{A} A does not use any internal randomness and the sample complexity is N N N .
Given A \mathcal{A} A , we color the region R = [ 1 2 − 2 ε , 1 2 + 2 ε ] d \mathcal{R} = [\frac{1}{2}-2\varepsilon,\frac{1}{2}+2\varepsilon]^d R = [ 2 1 − 2 ε , 2 1 + 2 ε ] d as follows: for a bias vector p ∈ R \mathbf{p} \in\mathcal{R} p ∈ R , we color it with the most likely output of A \mathcal{A} A when given sample access to p \mathbf{p} p , i.e., color p \mathbf{p} p with arg max y ∈ L p Pr P ( Y = y ) \mathop{\arg\max}_{y \in L_{\mathbf{p}}} \Pr_P(Y=y) arg max y ∈ L p Pr P ( Y = y ) , where P P P is the distribution that algorithm A \mathcal{A} A observes when given sample access to p \mathbf{p} p . We first observe that this is a valid Sperner/KKM coloring. By the neighborhood Sperner/KKM lemma, for every radius r ∈ ( 0 , 2 ε ] r \in(0,2\varepsilon] r ∈ ( 0 , 2 ε ] there exists a point p ∈ R \mathbf{p} \in\mathcal{R} p ∈ R such that there are at least M : = ( 1 + r 6 ε ) d M := \left(1+\frac{r}{6\varepsilon}\right)^d M := ( 1 + 6 ε r ) d distinct colors in B ∞ ∘ ( r , p ) B^\circ_\infty(r,\mathbf{p}) B ∞ ∘ ( r , p ) . This means that the algorithm must change its most likely output many times in this small region. We prove that for this to happen, the sample complexity of the algorithm must be high.
Let p ∈ R \mathbf{p} \in\mathcal{R} p ∈ R be the point from the Neighborhood Sperner/KKM Lemma, and let q 1 , … , q M ∈ B ∞ ∘ ( r , p ) \mathbf{q}_1,\ldots,\mathbf{q}_M \in B^\circ_\infty(r,\mathbf{p}) q 1 , … , q M ∈ B ∞ ∘ ( r , p ) be points with distinct colors y 1 , … , y M y_1,\ldots,y_M y 1 , … , y M . This means that the most likely output of A \mathcal{A} A when given sample access to p i \mathbf{p}_i p i is y i y_i y i . Let E i E_i E i be the event that the output Y Y Y is y i y_i y i . Let P P P be the distribution that algorithm A \mathcal{A} A observes when given sample access to p \mathbf{p} p , similarly Q i Q_i Q i is the distribution A \mathcal{A} A observes when given sample access to q i \mathbf{q}_i q i .
Now, we want to look at the probability of E i E_i E i when A \mathcal{A} A has sample access to p \mathbf{p} p , let’s denote this with Pr P ( E i ) \Pr_P(E_i) Pr P ( E i ) . We can relate this to the probability of E i E_i E i when A \mathcal{A} A has sample access to q i \mathbf{q}_i q i , we denote this with Pr Q i ( E i ) \Pr_{Q_i}(E_i) Pr Q i ( E i ) . Our first approach was to relate them in an additive manner. Note that Pr P ( E i ) ≥ Pr Q i ( E i ) − d T V ( P , Q i ) \Pr_P(E_i) \ge\Pr_{Q_i}(E_i) - d_{\mathrm{TV}}(P,Q_i) Pr P ( E i ) ≥ Pr Q i ( E i ) − d TV ( P , Q i ) , and by Pinsker’s inequality Pr P ( E i ) ≥ Pr Q i ( E i ) − 1 2 D K L ( P ∥ Q i ) \Pr_P(E_i) \ge\Pr_{Q_i}(E_i) - \sqrt{\frac{1}{2}D_{\mathrm{KL}}(P\mathbin\Vert Q_i)} Pr P ( E i ) ≥ Pr Q i ( E i ) − 2 1 D KL ( P ∥ Q i ) . Since the sample complexity of algorithm is N N N , this implies that Pr P ( E i ) ≥ Pr Q i ( E i ) − 8 3 N ∥ p − q i ∥ ∞ 2 \Pr_P(E_i) \ge\Pr_{Q_i}(E_i) - \sqrt{\frac{8}{3}N\lVert\mathbf{p}-\mathbf{q}_i\rVert_\infty^2} Pr P ( E i ) ≥ Pr Q i ( E i ) − 3 8 N ∥ p − q i ∥ ∞ 2 . So, we obtain the following inequality
1 ≥ ∑ i = 1 M Pr P ( E i ) ≥ ∑ i = 1 M Pr Q i ( E i ) − ∑ i = 1 M 8 3 N ∥ p − q i ∥ ∞ 2 1 \ge\sum_{i=1}^{M}\Pr_P(E_i) \ge\sum_{i=1}^{M}\Pr_{Q_i}(E_i) - \sum_{i=1}^{M}\sqrt{\frac{8}{3}N\lVert\mathbf{p}-\mathbf{q}_i\rVert_\infty^2} 1 ≥ i = 1 ∑ M P Pr ( E i ) ≥ i = 1 ∑ M Q i Pr ( E i ) − i = 1 ∑ M 3 8 N ∥ p − q i ∥ ∞ 2
Note that Pr Q i ( E i ) ≥ 1 − δ d + 1 \Pr_{Q_i}(E_i) \ge\frac{1-\delta}{d+1} Pr Q i ( E i ) ≥ d + 1 1 − δ (since most likely output has probability at least 1 − δ d + 1 \frac{1-\delta}{d+1} d + 1 1 − δ ), and ∥ p − q i ∥ ≤ r \lVert\mathbf{p}-\mathbf{q}_i\rVert\le r ∥ p − q i ∥ ≤ r . From this, we obtain (ignoring the constant 8 / 3 8/3 8/3 )
1 ≥ M ( 1 − δ ) d + 1 − M r N 1 \ge\frac{M(1-\delta)}{d+1} - Mr\sqrt{N} 1 ≥ d + 1 M ( 1 − δ ) − M r N
When we work out the details and solve the above inequality for N N N , we do not obtain any non-trivial lower bound on N N N . The main issue is that the inequality Pr P ( E i ) ≥ Pr Q i ( E i ) − 8 3 N ∥ p − q i ∥ ∞ 2 \Pr_P(E_i) \ge\Pr_{Q_i}(E_i) - \sqrt{\frac{8}{3}N\lVert\mathbf{p}-\mathbf{q}_i\rVert_\infty^2} Pr P ( E i ) ≥ Pr Q i ( E i ) − 3 8 N ∥ p − q i ∥ ∞ 2 is too weak for our setting. Instead, we use a multiplicative version of the inequality Pr P ( E i ) ≥ ( Pr Q i ( E i ) ) 2 e − 16 3 N ∥ p − q i ∥ ∞ 2 \Pr_P(E_i) \ge\left(\Pr_{Q_i}(E_i)\right)^2 e^{-\frac{16}{3}N\lVert\mathbf{p}-\mathbf{q}_i\rVert_\infty^2} Pr P ( E i ) ≥ ( Pr Q i ( E i ) ) 2 e − 3 16 N ∥ p − q i ∥ ∞ 2 , whose details we describe next.
Change of Measure for Coin Tosses
This section covers some rudimentary properties of probability theory. We prove them for the sake of completeness. Interested readers may look at [LSS14, Mir17, Mah26].
Lemma 5.3. Let P = R 1 ⊗ ⋯ ⊗ R n P = R_1 \otimes\cdots\otimes R_n P = R 1 ⊗ ⋯ ⊗ R n and Q = S 1 ⊗ ⋯ ⊗ S n Q = S_1 \otimes\cdots\otimes S_n Q = S 1 ⊗ ⋯ ⊗ S n be product distributions. If ∀ i ∈ [ n ] . S i ≪ R i \forall i \in[n].\ S_i \ll R_i ∀ i ∈ [ n ] . S i ≪ R i then
E P [ ( d Q d P ) 2 ] = ∏ i = 1 n E R i [ ( d S i d R i ) 2 ] \mathbb{E}_P\left[\left(\frac{dQ}{dP}\right)^2\right] = \prod_{i=1}^{n} \mathbb{E}_{R_i}\left[\left(\frac{dS_i}{dR_i}\right)^2\right] E P [ ( d P d Q ) 2 ] = i = 1 ∏ n E R i [ ( d R i d S i ) 2 ]
Proof. We prove the case n = 2 n = 2 n = 2 , and for simplicity we assume a discrete sample space. By using the definition of expectation and the fact that P = R 1 ⊗ R 2 P = R_1 \otimes R_2 P = R 1 ⊗ R 2 and Q = S 1 ⊗ S 2 Q = S_1 \otimes S_2 Q = S 1 ⊗ S 2 are product distributions, we have
E P [ ( d Q d P ) 2 ] = ∑ x 1 , x 2 ( Q ( x 1 , x 2 ) P ( x 1 , x 2 ) ) 2 P ( x 1 , x 2 ) = ∑ x 1 ∑ x 2 ( S 1 ( x 1 ) S 2 ( x 2 ) R 1 ( x 1 ) R 2 ( x 2 ) ) 2 R 1 ( x 1 ) R 2 ( x 2 ) = [ ∑ x 1 ( S 1 ( x 1 ) R 1 ( x 1 ) ) 2 R 1 ( x 1 ) ] [ ∑ x 2 ( S 2 ( x 2 ) R 2 ( x 2 ) ) 2 R 2 ( x 2 ) ] = E R 1 [ ( d S 1 d R 1 ) 2 ] E R 2 [ ( d S 2 d R 2 ) 2 ] . \begin{aligned}
\mathbb{E}_P\left[\left(\frac{dQ}{dP}\right)^2\right] = \sum_{x_1,x_2} \left(\frac{Q(x_1,x_2)}{P(x_1,x_2)}\right)^2 P(x_1,x_2) \\
&= \sum_{x_1}\sum_{x_2}\left(\frac{S_1(x_1)S_2(x_2)}{R_1(x_1)R_2(x_2)}\right)^2 R_1(x_1)R_2(x_2) \\
&= \left[\sum_{x_1}\left(\frac{S_1(x_1)}{R_1(x_1)}\right)^2 R_1(x_1)\right]\left[\sum_{x_2}\left(\frac{S_2(x_2)}{R_2(x_2)}\right)^2 R_2(x_2)\right] \\
&= \mathbb{E}_{R_1}\left[\left(\frac{dS_1}{dR_1}\right)^2\right]\mathbb{E}_{R_2}\left[\left(\frac{dS_2}{dR_2}\right)^2\right].
\end{aligned} E P [ ( d P d Q ) 2 ] = x 1 , x 2 ∑ ( P ( x 1 , x 2 ) Q ( x 1 , x 2 ) ) 2 P ( x 1 , x 2 ) = x 1 ∑ x 2 ∑ ( R 1 ( x 1 ) R 2 ( x 2 ) S 1 ( x 1 ) S 2 ( x 2 ) ) 2 R 1 ( x 1 ) R 2 ( x 2 ) = [ x 1 ∑ ( R 1 ( x 1 ) S 1 ( x 1 ) ) 2 R 1 ( x 1 ) ] [ x 2 ∑ ( R 2 ( x 2 ) S 2 ( x 2 ) ) 2 R 2 ( x 2 ) ] = E R 1 [ ( d R 1 d S 1 ) 2 ] E R 2 [ ( d R 2 d S 2 ) 2 ] .
The general case follows by induction on n n n .
Lemma 5.4. Let p , q ∈ ( 0 , 1 ) p,q \in(0,1) p , q ∈ ( 0 , 1 ) . If R = Bern ( p ) R = \operatorname{Bern}(p) R = Bern ( p ) and S = Bern ( q ) S = \operatorname{Bern}(q) S = Bern ( q ) then
E R [ ( d S d R ) 2 ] = 1 + ( p − q ) 2 p ( 1 − p ) \mathbb{E}_R\left[\left(\frac{dS}{dR}\right)^2\right] = 1 + \frac{(p-q)^2}{p(1-p)} E R [ ( d R d S ) 2 ] = 1 + p ( 1 − p ) ( p − q ) 2 In particular, if 1 4 ≤ p ≤ 3 4 \frac{1}{4} \leq p \leq\frac{3}{4} 4 1 ≤ p ≤ 4 3 then
E R [ ( d S d R ) 2 ] ≤ e 16 3 ( p − q ) 2 . \mathbb{E}_R\left[\left(\frac{dS}{dR}\right)^2\right] \leq e^{\frac{16}{3}(p-q)^2}. E R [ ( d R d S ) 2 ] ≤ e 3 16 ( p − q ) 2 .
Proof.
E R [ ( d S d R ) 2 ] = p ⋅ ( q p ) 2 + ( 1 − p ) ⋅ ( 1 − q 1 − p ) 2 = q 2 p + ( 1 − q ) 2 1 − p = q 2 ( 1 − p ) + p ( 1 − q ) 2 p ( 1 − p ) = q 2 + p − 2 q p p ( 1 − p ) = p − p 2 p ( 1 − p ) + ( p − q ) 2 p ( 1 − p ) = 1 + ( p − q ) 2 p ( 1 − p ) \begin{aligned}
\mathbb{E}_R\left[\left(\frac{dS}{dR}\right)^2\right] = p\cdot\left(\frac{q}{p}\right)^2 + (1-p)\cdot\left(\frac{1-q}{1-p}\right)^2 \\
&= \frac{q^2}{p} + \frac{(1-q)^2}{1-p} \\
&= \frac{q^2(1-p)+p(1-q)^2}{p(1-p)} \\
&= \frac{q^2+p-2qp}{p(1-p)} \\
&= \frac{p-p^2}{p(1-p)}+\frac{(p-q)^2}{p(1-p)} \\
&= 1+\frac{(p-q)^2}{p(1-p)}
\end{aligned} E R [ ( d R d S ) 2 ] = p ⋅ ( p q ) 2 + ( 1 − p ) ⋅ ( 1 − p 1 − q ) 2 = p q 2 + 1 − p ( 1 − q ) 2 = p ( 1 − p ) q 2 ( 1 − p ) + p ( 1 − q ) 2 = p ( 1 − p ) q 2 + p − 2 q p = p ( 1 − p ) p − p 2 + p ( 1 − p ) ( p − q ) 2 = 1 + p ( 1 − p ) ( p − q ) 2
In particular, if p ∈ [ 1 4 , 3 4 ] p \in\left[\frac{1}{4},\frac{3}{4}\right] p ∈ [ 4 1 , 4 3 ] then due to convexity of 1 p ( 1 − p ) \frac{1}{p(1-p)} p ( 1 − p ) 1 we have that 1 p ( 1 − p ) ≤ 16 3 \frac{1}{p(1-p)} \leq\frac{16}{3} p ( 1 − p ) 1 ≤ 3 16 and therefore
E R [ ( d S d R ) 2 ] ≤ 1 + 16 3 ( p − q ) 2 ≤ e 16 3 ( p − q ) 2 \begin{aligned}
\mathbb{E}_R\left[\left(\frac{dS}{dR}\right)^2\right] \leq1+\frac{16}{3}(p-q)^2 \\
&\leq e^{\frac{16}{3}(p-q)^2}
\end{aligned} E R [ ( d R d S ) 2 ] ≤ 1 + 3 16 ( p − q ) 2 ≤ e 3 16 ( p − q ) 2
( 1 + x ≤ e x ) (1+x \leq e^x) ( 1 + x ≤ e x )
This concludes the proof.
Let p , q ∈ [ 0 , 1 ] d \mathbf{p},\mathbf{q}\in[0,1]^d p , q ∈ [ 0 , 1 ] d , and also let N 1 , … , N d ∈ N N_1,\ldots,N_d\in\mathbb{N} N 1 , … , N d ∈ N with N = ∑ i = 1 d N i N=\sum_{i=1}^d N_i N = ∑ i = 1 d N i . Here N i N_i N i denotes the number of times coin i i i was tossed, and N N N denotes the total number of tosses across all coins. Define the distributions
P = ⨂ i = 1 d ( Bern ( p i ) ) ⊗ N i P=\bigotimes_{i=1}^{d}(\operatorname{Bern}(p_i))^{\otimes N_i} P = i = 1 ⨂ d ( Bern ( p i ) ) ⊗ N i
Q = ⨂ i = 1 d ( Bern ( q i ) ) ⊗ N i Q=\bigotimes_{i=1}^{d}(\operatorname{Bern}(q_i))^{\otimes N_i} Q = i = 1 ⨂ d ( Bern ( q i ) ) ⊗ N i
Thus P , Q P,Q P , Q are distributions on { 0 , 1 } N \{0,1\}^N { 0 , 1 } N where the first N 1 N_1 N 1 bits are from the first coin, the next N 2 N_2 N 2 bits are from the second coin, and so on.
Lemma 5.5. If 1 4 ≤ p ≤ 3 4 \frac{1}{4}\leq\mathbf{p}\leq\frac{3}{4} 4 1 ≤ p ≤ 4 3 then E P [ ( d Q d P ) 2 ] ≤ e 16 3 N ∥ p − q ∥ ∞ 2 \mathbb{E}_P\left[\left(\frac{dQ}{dP}\right)^2\right]\leq e^{\frac{16}{3}N\lVert\mathbf{p}-\mathbf{q}\rVert_\infty^2} E P [ ( d P d Q ) 2 ] ≤ e 3 16 N ∥ p − q ∥ ∞ 2
Proof. By using Definitions 5.3 and 5.4 we have
E P [ ( d Q d P ) 2 ] = ∏ i = 1 d ( 1 + ( p i − q i ) 2 p i ( 1 − p i ) ) N i \mathbb{E}_P\left[\left(\frac{dQ}{dP}\right)^2\right]
=\prod_{i=1}^{d}\left(1+\frac{(p_i-q_i)^2}{p_i(1-p_i)}\right)^{N_i} E P [ ( d P d Q ) 2 ] = i = 1 ∏ d ( 1 + p i ( 1 − p i ) ( p i − q i ) 2 ) N i ≤ ∏ i = 1 d e 16 3 N i ( p i − q i ) 2 \leq\prod_{i=1}^{d}e^{\frac{16}{3}N_i(p_i-q_i)^2} ≤ i = 1 ∏ d e 3 16 N i ( p i − q i ) 2 = e 16 3 ∑ i = 1 d N i ( p i − q i ) 2 =e^{\frac{16}{3}\sum_{i=1}^{d}N_i(p_i-q_i)^2} = e 3 16 ∑ i = 1 d N i ( p i − q i ) 2 ≤ e 16 3 ∑ i = 1 d N i ∥ p − q ∥ ∞ 2 ( ∀ i . ∣ p i − q i ∣ ≤ ∥ p − q ∥ ∞ ) \leq e^{\frac{16}{3}\sum_{i=1}^{d}N_i\lVert\mathbf{p}-\mathbf{q}\rVert_\infty^2}
\qquad(\forall i.\ |p_i-q_i|\leq\lVert\mathbf{p}-\mathbf{q}\rVert_\infty) ≤ e 3 16 ∑ i = 1 d N i ∥ p − q ∥ ∞ 2 ( ∀ i . ∣ p i − q i ∣ ≤ ∥ p − q ∥ ∞ ) = e 16 3 N ∥ p − q ∥ ∞ 2 . =e^{\frac{16}{3}N\lVert\mathbf{p}-\mathbf{q}\rVert_\infty^2}. = e 3 16 N ∥ p − q ∥ ∞ 2 .
Lemma 5.6. If 1 4 ≤ p ≤ 3 4 \frac{1}{4}\leq\mathbf{p}\leq\frac{3}{4} 4 1 ≤ p ≤ 4 3 then for any measurable event E E E
Pr P ( E ) ≥ ( Pr Q ( E ) ) 2 e − 16 3 N ∥ p − q ∥ ∞ 2 \Pr_P(E)\geq(\Pr_Q(E))^2e^{-\frac{16}{3}N\lVert\mathbf{p}-\mathbf{q}\rVert_\infty^2} P Pr ( E ) ≥ ( Q Pr ( E ) ) 2 e − 3 16 N ∥ p − q ∥ ∞ 2 In particular, if ∥ p − q ∥ ∞ ≤ r \lVert\mathbf{p}-\mathbf{q}\rVert_\infty\leq r ∥ p − q ∥ ∞ ≤ r then
Pr P ( E ) ≥ ( Pr Q ( E ) ) 2 e − 16 3 N r 2 \Pr_P(E)\geq(\Pr_Q(E))^2e^{-\frac{16}{3}Nr^2} P Pr ( E ) ≥ ( Q Pr ( E ) ) 2 e − 3 16 N r 2 Proof. By using properties of expectation and probability, we have
( Pr Q ( E ) ) 2 = ( E Q [ 1 { E } ] ) 2 (\Pr_Q(E))^2=\left(\mathbb{E}_Q[1_{\{E\}}]\right)^2 ( Q Pr ( E ) ) 2 = ( E Q [ 1 { E } ] ) 2 = ( E P [ 1 { E } d Q d P ] ) 2 =\left(\mathbb{E}_P\left[1_{\{E\}}\frac{dQ}{dP}\right]\right)^2 = ( E P [ 1 { E } d P d Q ] ) 2 ≤ E P [ 1 { E } 2 ] E P [ ( d Q d P ) 2 ] (Cauchy–Schwarz) \leq\mathbb{E}_P\left[1_{\{E\}}^2\right]\mathbb{E}_P\left[\left(\frac{dQ}{dP}\right)^2\right]
\qquad\text{(Cauchy--Schwarz)} ≤ E P [ 1 { E } 2 ] E P [ ( d P d Q ) 2 ] (Cauchy–Schwarz) = E P [ 1 { E } ] E P [ ( d Q d P ) 2 ] =\mathbb{E}_P\left[1_{\{E\}}\right]\mathbb{E}_P\left[\left(\frac{dQ}{dP}\right)^2\right] = E P [ 1 { E } ] E P [ ( d P d Q ) 2 ] = Pr P ( E ) E P [ ( d Q d P ) 2 ] =\Pr_P(E)\mathbb{E}_P\left[\left(\frac{dQ}{dP}\right)^2\right] = P Pr ( E ) E P [ ( d P d Q ) 2 ] ≤ Pr P ( E ) e 16 3 N ∥ p − q ∥ ∞ 2 (xref‘Definition 5.5‘) \leq\Pr_P(E)e^{\frac{16}{3}N\lVert\mathbf{p}-\mathbf{q}\rVert_\infty^2}
\qquad\text{({xref}`Definition 5.5`)} ≤ P Pr ( E ) e 3 16 N ∥ p − q ∥ ∞ 2 ( xref ‘Definition 5.5‘) Rearranging the above gives us the desired bound, and substituting ∥ p − q ∥ ∞ \lVert\mathbf{p}-\mathbf{q}\rVert_\infty ∥ p − q ∥ ∞ with r r r gives us the second bound.
Lower Bound for ( d + 1 ) (d+1) ( d + 1 ) -List Replicable Algorithms
Theorem 5.7. Let ε , δ ∈ ( 0 , 1 / 8 ) \varepsilon,\delta\in(0,1/8) ε , δ ∈ ( 0 , 1/8 ) . For sufficiently large d ∈ N d \in\mathbb{N} d ∈ N , every ( d + 1 , ε , δ ) (d+1,\varepsilon,\delta) ( d + 1 , ε , δ ) -list replicable algorithm for the d d d -CoinBiasEstimationProblem requires N = Ω ( d 2 ε 2 log d ) N = \Omega\left(\frac{d^2}{\varepsilon^2 \log d}\right) N = Ω ( ε 2 l o g d d 2 ) samples.
For simplicity’s sake, we assume that the algorithm is deterministic and the sample complexity of each coin i ∈ [ d ] i \in[d] i ∈ [ d ] is fixed to be N i ∈ N N_i \in\mathbb{N} N i ∈ N in advance, i.e., the algorithm receives as input a binary string of length N = ∑ i = 1 d N i N = \sum_{i=1}^{d} N_i N = ∑ i = 1 d N i , where the first N 1 N_1 N 1 bits are i.i.d. Bernoulli tosses according to the first coin, and the next N 2 N_2 N 2 bits are i.i.d. Bernoulli tosses according to the second coin, and so on. We prove the lower bound against arbitrary algorithms with sample access to d d d coins in Appendix § 9 .
Let A : { 0 , 1 } N → Y A:\{0,1\}^{N} \to\mathcal{Y} A : { 0 , 1 } N → Y be a deterministic algorithm that is ( d + 1 , ε , δ ) (d+1,\varepsilon,\delta) ( d + 1 , ε , δ ) -list replicable algorithm such that each coin i ∈ [ d ] i \in[d] i ∈ [ d ] is tossed exactly N i N_i N i with total sample complexity of N = ∑ i = 1 d N i N = \sum_{i=1}^{d} N_i N = ∑ i = 1 d N i . Let Y Y Y be the random variable denoting the output of this algorithm. Because A A A is list replicable, for each bias vector p ∈ [ 0 , 1 ] d \mathbf{p} \in[0,1]^d p ∈ [ 0 , 1 ] d , there exists a set L p ⊆ Y L_{\mathbf{p}} \subseteq\mathcal{Y} L p ⊆ Y of size ∣ L p ∣ ≤ d + 1 |L_{\mathbf{p}}| \leq d+1 ∣ L p ∣ ≤ d + 1 such that each y ∈ L p \mathbf{y} \in L_{\mathbf{p}} y ∈ L p it holds that ∥ p − y ∥ ∞ ≤ ε \lVert\mathbf{p}-\mathbf{y}\rVert_{\infty} \leq\varepsilon ∥ p − y ∥ ∞ ≤ ε and
Pr p ( Y ∈ L p ) ≥ 1 − δ \Pr_{\mathbf{p}}(Y \in L_{\mathbf{p}}) \geq1-\delta p Pr ( Y ∈ L p ) ≥ 1 − δ
We let y p = arg max y ∈ L p Pr p ( Y = y ) \mathbf{y}_{\mathbf{p}} = \operatorname*{arg\,max}_{\mathbf{y}\in L_{\mathbf{p}}}\Pr_{\mathbf{p}}(Y=\mathbf{y}) y p = arg max y ∈ L p Pr p ( Y = y ) denote the most likely output from L p L_{\mathbf{p}} L p , breaking ties with some fixed rule. Using an averaging argument, the most likely output must appear with probability at least 1 − δ ∣ L p ∣ \frac{1-\delta}{|L_{\mathbf{p}}|} ∣ L p ∣ 1 − δ ; otherwise, the sum of probabilities of outputs in L p L_{\mathbf{p}} L p would fail to add up to 1 − δ 1-\delta 1 − δ . Therefore
Pr p ( Y = y p ) ≥ 1 − δ ∣ L p ∣ ≥ 7 8 ( d + 1 ) ≥ 1 2 ( d + 1 ) = : α \Pr_{\mathbf{p}}(Y=\mathbf{y}_{\mathbf{p}}) \geq\frac{1-\delta}{|L_{\mathbf{p}}|} \geq\frac{7}{8(d+1)} \geq\frac{1}{2(d+1)} =: \alpha p Pr ( Y = y p ) ≥ ∣ L p ∣ 1 − δ ≥ 8 ( d + 1 ) 7 ≥ 2 ( d + 1 ) 1 =: α
The second inequality was obtained by using ∣ L p ∣ ≤ d + 1 |L_{\mathbf{p}}| \leq d+1 ∣ L p ∣ ≤ d + 1 and δ < 1 8 \delta< \frac{1}{8} δ < 8 1 .
If an output y \mathbf{y} y is ε \varepsilon ε -close to p \mathbf{p} p , and the distance between p \mathbf{p} p and q \mathbf{q} q is > 2 ε >2\varepsilon > 2 ε then y \mathbf{y} y cannot be ε \varepsilon ε -close to q \mathbf{q} q . In particular, this must also apply to the most likely output of L p L_{\mathbf{p}} L p formalized below.
Lemma 5.8. Let p , q ∈ [ 0 , 1 ] d \mathbf{p},\mathbf{q} \in[0,1]^d p , q ∈ [ 0 , 1 ] d . If ∥ p − q ∥ ∞ > 2 ε \lVert\mathbf{p}-\mathbf{q}\rVert_{\infty} > 2\varepsilon ∥ p − q ∥ ∞ > 2 ε then y p ∉ L q \mathbf{y}_{\mathbf{p}} \notin L_{\mathbf{q}} y p ∈ / L q .
Proof. Recall, by the definition of list replicability, we require that L p L_{\mathbf{p}} L p consist only of points that are ε \varepsilon ε -close to p \mathbf{p} p , i.e., if y ∈ L p \mathbf{y} \in L_{\mathbf{p}} y ∈ L p then ∥ p − y ∥ ∞ ≤ ε \lVert\mathbf{p}-\mathbf{y}\rVert_{\infty} \leq\varepsilon ∥ p − y ∥ ∞ ≤ ε . In particular, this must also hold for y p \mathbf{y}_{\mathbf{p}} y p , yielding ∥ p − y p ∥ ∞ ≤ ε \lVert\mathbf{p}-\mathbf{y}_{\mathbf{p}}\rVert_{\infty} \leq\varepsilon ∥ p − y p ∥ ∞ ≤ ε . Using triangle inequality, we have
∥ p − y p ∥ ∞ + ∥ y p − q ∥ ∞ ≥ ∥ p − q ∥ ∞ \lVert\mathbf{p}-\mathbf{y}_{\mathbf{p}}\rVert_{\infty}+\lVert\mathbf{y}_{\mathbf{p}}-\mathbf{q}\rVert_{\infty}\geq\lVert\mathbf{p}-\mathbf{q}\rVert_{\infty} ∥ p − y p ∥ ∞ + ∥ y p − q ∥ ∞ ≥ ∥ p − q ∥ ∞
Substituting ∥ p − q ∥ ∞ > 2 ε \lVert\mathbf{p}-\mathbf{q}\rVert_{\infty}>2\varepsilon ∥ p − q ∥ ∞ > 2 ε and ∥ p − y p ∥ ∞ ≤ ε \lVert\mathbf{p}-\mathbf{y}_{\mathbf{p}}\rVert_{\infty}\leq\varepsilon ∥ p − y p ∥ ∞ ≤ ε and rearranging yields ∥ y p − q ∥ ∞ > ε \lVert\mathbf{y}_{\mathbf{p}}-\mathbf{q}\rVert_{\infty}>\varepsilon ∥ y p − q ∥ ∞ > ε . Thus y p \mathbf{y}_{\mathbf{p}} y p is not ε \varepsilon ε -close to q \mathbf{q} q . Therefore y p ∉ L q \mathbf{y}_{\mathbf{p}}\notin L_{\mathbf{q}} y p ∈ / L q .
We consider the region R = [ 1 2 − 2 ε , 1 2 + 2 ε ] d ⊆ [ 1 4 , 3 4 ] d \mathcal{R}=\left[\frac{1}{2}-2\varepsilon,\frac{1}{2}+2\varepsilon\right]^d\subseteq\left[\frac{1}{4},\frac{3}{4}\right]^d R = [ 2 1 − 2 ε , 2 1 + 2 ε ] d ⊆ [ 4 1 , 4 3 ] d and we color the region R \mathcal{R} R with the coloring χ : R → Y \chi:\mathcal{R}\to\mathcal{Y} χ : R → Y defined as
χ ( p ) = y p \chi(\mathbf{p})=\mathbf{y}_{\mathbf{p}} χ ( p ) = y p
Lemma 5.9. χ \chi χ is a Sperner/KKM coloring of R \mathcal{R} R .
Proof. We now prove the Sperner/KKM coloring property. Consider any two points on opposite faces p , q ∈ R \mathbf{p},\mathbf{q}\in\mathcal{R} p , q ∈ R . Since they are on opposite faces, there exists a coordinate i ∈ [ d ] i\in[d] i ∈ [ d ] such that ∣ p i − q i ∣ = 4 ε |p_i-q_i|=4\varepsilon ∣ p i − q i ∣ = 4 ε . In particular, this implies that ∥ p − q ∥ ∞ ≥ 4 ε > 2 ε \lVert\mathbf{p}-\mathbf{q}\rVert_{\infty}\geq4\varepsilon>2\varepsilon ∥ p − q ∥ ∞ ≥ 4 ε > 2 ε . Via Definition 5.8 we have that χ ( p ) = y p ∉ L q \chi(\mathbf{p})=\mathbf{y}_{\mathbf{p}}\notin L_{\mathbf{q}} χ ( p ) = y p ∈ / L q . In particular, χ ( p ) = y p ≠ y q = χ ( q ) \chi(\mathbf{p})=\mathbf{y}_{\mathbf{p}}\ne\mathbf{y}_{\mathbf{q}}=\chi(\mathbf{q}) χ ( p ) = y p = y q = χ ( q ) .
Since χ \chi χ is a valid Sperner/KKM coloring, the Neighborhood Sperner/KKM, Definition 5.2, applies with a = 1 2 − 2 ε a=\frac{1}{2}-2\varepsilon a = 2 1 − 2 ε , b = 1 2 + 2 ε b=\frac{1}{2}+2\varepsilon b = 2 1 + 2 ε and s = b − a = 4 ε s=b-a=4\varepsilon s = b − a = 4 ε . Let r ∈ ( 0 , 2 ε ] r\in(0,2\varepsilon] r ∈ ( 0 , 2 ε ] to be decided later, and p ∈ [ a , b ] d \mathbf{p}\in[a,b]^d p ∈ [ a , b ] d be the point such that B ∞ ∞ ( r , p ) B_{\infty}^{\infty}(r,\mathbf{p}) B ∞ ∞ ( r , p ) that contains at least M : = ( 1 + r 6 ε ) d M:=\left(1+\frac{r}{6\varepsilon}\right)^d M := ( 1 + 6 ε r ) d colors. Let C : = { y q : q ∈ B ∞ ∞ ( r , p ) ∩ R } C:=\{\mathbf{y}_{\mathbf{q}}:\mathbf{q}\in B_{\infty}^{\infty}(r,\mathbf{p})\cap\mathcal{R}\} C := { y q : q ∈ B ∞ ∞ ( r , p ) ∩ R } be the set of colors used to color B ∞ ∞ ( r , p ) ∩ R B_{\infty}^{\infty}(r,\mathbf{p})\cap\mathcal{R} B ∞ ∞ ( r , p ) ∩ R and for each c ∈ C \mathbf{c}\in C c ∈ C let q c \mathbf{q}_{\mathbf{c}} q c be some point in B ∞ ∞ ( r , p ) ∩ R B_{\infty}^{\infty}(r,\mathbf{p})\cap\mathcal{R} B ∞ ∞ ( r , p ) ∩ R for which χ ( q c ) = c \chi(\mathbf{q}_{\mathbf{c}})=\mathbf{c} χ ( q c ) = c .
Lemma 5.10. 16 3 N r 2 ≥ d r 10 ε − 2 ln ( 2 ( d + 1 ) ) \frac{16}{3}Nr^2\geq\frac{dr}{10\varepsilon}-2\ln(2(d+1)) 3 16 N r 2 ≥ 10 ε d r − 2 ln ( 2 ( d + 1 ))
Proof. For any color c ∈ C c \in C c ∈ C , let q c ∈ B ∞ ∘ ( r , p ) \mathbf{q}_c \in\mathcal{B}^{\circ}_{\infty}(\mathbf{r},\mathbf{p}) q c ∈ B ∞ ∘ ( r , p ) be as described above, so we have ∥ p − q c ∥ ∞ < r \lVert\mathbf{p}-\mathbf{q}_c\rVert_{\infty}<r ∥ p − q c ∥ ∞ < r . We invoke Definition 5.6 with the event E = { Y = c } E=\{Y=c\} E = { Y = c } yielding
Pr P ( Y = c ) ≥ ( Pr Q c ( Y = c ) ) 2 e − 16 3 N r 2 ≥ α 2 e − 16 3 N r 2 \Pr_{\mathbf{P}}(Y=c) \geq\left(\Pr_{\mathbf{Q}_c}(Y=c)\right)^2 e^{-\frac{16}{3}Nr^2} \geq\alpha^2 e^{-\frac{16}{3}Nr^2} P Pr ( Y = c ) ≥ ( Q c Pr ( Y = c ) ) 2 e − 3 16 N r 2 ≥ α 2 e − 3 16 N r 2
The last inequality follows from our definition of the coloring χ \chi χ , we colored q c \mathbf{q}_c q c with the most likely output y q c \mathbf{y}_{\mathbf{q}_c} y q c . Therefore Pr Q c ( Y = c ) = Pr Q c ( Y = y q c ) ≥ α \Pr_{\mathbf{Q}_c}(Y=c)=\Pr_{\mathbf{Q}_c}(Y=\mathbf{y}_{\mathbf{q}_c})\geq\alpha Pr Q c ( Y = c ) = Pr Q c ( Y = y q c ) ≥ α .
Summing over all possible colors, of which there are at least M M M many, and because Pr P \Pr_{\mathbf{P}} Pr P is a probability measure, we have the following
M α 2 e − 16 3 N r 2 ≤ ∑ c ∈ C Pr P ( Y = c ) ≤ 1 M\alpha^2e^{-\frac{16}{3}Nr^2}\leq\sum_{c\in C}\Pr_{\mathbf{P}}(Y=c)\leq1 M α 2 e − 3 16 N r 2 ≤ c ∈ C ∑ P Pr ( Y = c ) ≤ 1
Taking ln \ln ln on both sides and rearranging and simplifying yields
16 3 N r 2 ≥ d ln ( 1 + r 6 ε ) − 2 ln 1 α \frac{16}{3}Nr^2\geq d\ln\left(1+\frac{r}{6\varepsilon}\right)-2\ln\frac{1}{\alpha} 3 16 N r 2 ≥ d ln ( 1 + 6 ε r ) − 2 ln α 1
Using the fact that x ∈ ( 0 , 1 ) ⟹ ln ( 1 + x ) ≥ x ln 2 x\in(0,1)\Longrightarrow\ln(1+x)\geq x\ln2 x ∈ ( 0 , 1 ) ⟹ ln ( 1 + x ) ≥ x ln 2 and r ∈ ( 0 , 2 ε ] r\in(0,2\varepsilon] r ∈ ( 0 , 2 ε ] , thus r 6 ε ∈ ( 0 , 1 3 ] \frac{r}{6\varepsilon}\in\left(0,\frac{1}{3}\right] 6 ε r ∈ ( 0 , 3 1 ] we have
ln ( 1 + r 6 ε ) ≥ r 6 ε ln 2 ≥ r 10 ε \ln\left(1+\frac{r}{6\varepsilon}\right)\geq\frac{r}{6\varepsilon}\ln2\geq\frac{r}{10\varepsilon} ln ( 1 + 6 ε r ) ≥ 6 ε r ln 2 ≥ 10 ε r
Substituting α = 1 2 ( d + 1 ) \alpha=\frac{1}{2(d+1)} α = 2 ( d + 1 ) 1 yields
16 3 N r 2 ≥ d r 10 ε − 2 ln ( 2 ( d + 1 ) ) \frac{16}{3}Nr^2\geq\frac{dr}{10\varepsilon}-2\ln(2(d+1)) 3 16 N r 2 ≥ 10 ε d r − 2 ln ( 2 ( d + 1 ))
Now pick r = 40 ε d ln ( 2 ( d + 1 ) ) r=\frac{40\varepsilon}{d}\ln(2(d+1)) r = d 40 ε ln ( 2 ( d + 1 )) so that d r 10 ε = 4 ln ( 2 ( d + 1 ) ) \frac{dr}{10\varepsilon}=4\ln(2(d+1)) 10 ε d r = 4 ln ( 2 ( d + 1 )) , for sufficiently large d d d , we have r ≤ 2 ε r\leq2\varepsilon r ≤ 2 ε as 40 ln ( 2 ( d + 1 ) ) ≪ d 40\ln(2(d+1))\ll d 40 ln ( 2 ( d + 1 )) ≪ d . Substituting r r r and simplifying the expression yields
N ≥ 3 12800 ⋅ d 2 ε 2 ln ( 2 ( d + 1 ) ) = Ω ( d 2 ε 2 log d ) N\geq\frac{3}{12800}\cdot\frac{d^2}{\varepsilon^2\ln(2(d+1))}=\Omega\left(\frac{d^2}{\varepsilon^2\log d}\right) N ≥ 12800 3 ⋅ ε 2 ln ( 2 ( d + 1 )) d 2 = Ω ( ε 2 log d d 2 )
This concludes the proof for Definition 5.7 for the case of deterministic algorithms whose sample complexities are fixed in advance. Extending it to arbitrary randomized sampling-based algorithms is mostly technical; we need to inspect the distribution on the transcript ( W , I 1 , X 1 , … , I N , X N ) (W,I_1,X_1,\ldots,I_N,X_N) ( W , I 1 , X 1 , … , I N , X N ) , where W W W is the internal randomness of the algorithm, for t ∈ [ N ] t\in[N] t ∈ [ N ] , I t I_t I t is the coin selected at time t t t and X t X_t X t is the outcome of the toss at time t t t . Bias vectors p , q ∈ [ 0 , 1 ] d \mathbf{p},\mathbf{q}\in[0,1]^d p , q ∈ [ 0 , 1 ] d induce probability distributions P , Q P,Q P , Q on the transcript as described above. If p ∈ [ 1 4 , 3 4 ] d \mathbf{p}\in\left[\frac{1}{4},\frac{3}{4}\right]^d p ∈ [ 4 1 , 4 3 ] d then the relation in Definition 5.5 also holds in this case E P [ ( d Q d P ) 2 ] ≤ e 16 3 N ∥ p − q ∥ ∞ 2 \mathbb{E}_P\left[\left(\frac{dQ}{dP}\right)^2\right]\leq e^{\frac{16}{3}N\lVert\mathbf{p}-\mathbf{q}\rVert_\infty^2} E P [ ( d P d Q ) 2 ] ≤ e 3 16 N ∥ p − q ∥ ∞ 2 and remaining argument is the same.
Lower Bound for k k k -List Replicable Algorithms
We now generalize Definition 5.7 to a list of size k k k as follows
Theorem 5.11. Let ε , δ ∈ ( 0 , 1 / 8 ) \varepsilon,\delta\in(0,1/8) ε , δ ∈ ( 0 , 1/8 ) and d , k ∈ N d,k\in\mathbb{N} d , k ∈ N . If k ∈ [ d + 1 , 2 d ] k\in[d+1,2^d] k ∈ [ d + 1 , 2 d ] then every ( k , ε , δ ) (k,\varepsilon,\delta) ( k , ε , δ ) -list replicable algorithm for the d d d -CoinBiasEstimationProblem requires N = Ω ( d 2 ε 2 log k ) N=\Omega\left(\frac{d^2}{\varepsilon^2\log k}\right) N = Ω ( ε 2 l o g k d 2 ) samples.
Proof. First assume k ≤ 1 2 e d / 20 k\leq\frac{1}{2}e^{d/20} k ≤ 2 1 e d /20 then the argument remains similar from § 5 ; the main bound that changes is
Pr P ( Y = y p ) ≥ 1 − δ ∣ L p ∣ ≥ 7 8 k ≥ 1 2 k = : β \Pr_P(Y=\mathbf{y}_p)\geq\frac{1-\delta}{|L_p|}\geq\frac{7}{8k}\geq\frac{1}{2k}=:\beta P Pr ( Y = y p ) ≥ ∣ L p ∣ 1 − δ ≥ 8 k 7 ≥ 2 k 1 =: β
Definition 5.10 now becomes
16 3 N r 2 ≥ d r 10 ε − 2 ln ( 2 k ) \frac{16}{3}Nr^2\geq\frac{dr}{10\varepsilon}-2\ln(2k) 3 16 N r 2 ≥ 10 ε d r − 2 ln ( 2 k )
If k ≤ 1 2 e d / 20 k\leq\frac{1}{2}e^{d/20} k ≤ 2 1 e d /20 then our choice r : = 40 ε d ln ( 2 k ) ≤ 2 ε r:=\frac{40\varepsilon}{d}\ln(2k)\leq2\varepsilon r := d 40 ε ln ( 2 k ) ≤ 2 ε holds and therefore
N ≥ 3 12800 ⋅ d 2 ε 2 ln ( 2 k ) = Ω ( d 2 ε 2 log k ) N\geq\frac{3}{12800}\cdot\frac{d^2}{\varepsilon^2\ln(2k)}=\Omega\left(\frac{d^2}{\varepsilon^2\log k}\right) N ≥ 12800 3 ⋅ ε 2 ln ( 2 k ) d 2 = Ω ( ε 2 log k d 2 )
For k > 1 2 e d 20 k > \frac{1}{2}e^{\frac{d}{20}} k > 2 1 e 20 d , every ( k , ε , δ ) (k,\varepsilon,\delta) ( k , ε , δ ) -list replicable algorithm also solves the ( d , ε , δ ) (d,\varepsilon,\delta) ( d , ε , δ ) -CoinBiasEstimationProblem. Using Definition 3.2 gives
N = Ω ( d ε 2 ) = Ω ( d 2 ε 2 log k ) N = \Omega\left(\frac{d}{\varepsilon^2}\right) = \Omega\left(\frac{d^2}{\varepsilon^2 \log k}\right) N = Ω ( ε 2 d ) = Ω ( ε 2 log k d 2 )
The last bound was by using the fact that k > 1 2 e d 20 k > \frac{1}{2}e^{\frac{d}{20}} k > 2 1 e 20 d .
Note that, even obtaining a list size of k = poly ( d ) k = \operatorname{poly}(d) k = poly ( d ) requires N = Ω ( d 2 ε 2 log d ) N = \Omega\left(\frac{d^2}{\varepsilon^2 \log d}\right) N = Ω ( ε 2 l o g d d 2 ) samples.
Upper Bound
In this section, we prove Definitions 6.8 and 6.13. We first introduce the main concepts intuitively in § 6.1 and then formalize the notions in § 6.2 .
Proof Overview
Consider a simplified setting with d = 2 d = 2 d = 2 coins and an ε \varepsilon ε -grid as depicted in Figure 1 . Let p ∈ [ 0 , 1 ] d \mathbf{p} \in[0,1]^d p ∈ [ 0 , 1 ] d be a bias vector. A simple idea is to estimate the bias of each coin within ε 2 \frac{\varepsilon}{2} 2 ε . Then, we round the estimate to the bottom left of the ε \varepsilon ε -square in which it falls, this has the effect of rounding both coordinates down to the nearest integer multiple of ε \varepsilon ε . However, this algorithm is not 3-list replicable, because if p \mathbf{p} p lies on a grid point, then the approximation can lie in any of the 4 adjacent ε \varepsilon ε -squares. To avoid this, we use the standard technique of random shifting and rounding. The technical challenge is to bound the sample complexity.
Figure 1. Intuition of the Upper Bound Algorithm
Given q = ( x , y ) ∈ [ 0 , 1 ] 2 \mathbf{q} = (x,y) \in[0,1]^2 q = ( x , y ) ∈ [ 0 , 1 ] 2 , the ( α x , α y ) (\alpha_x,\alpha_y) ( α x , α y ) -confidence interval around q \mathbf{q} q is the rectangle with corners from ( x ± α x , y ± α y ) (x \pm\alpha_x, y \pm\alpha_y) ( x ± α x , y ± α y ) . Let u ∈ [ 0 , ε ) u \in[0,\varepsilon) u ∈ [ 0 , ε ) be a shift parameter that induces a line segment of length ε \varepsilon ε (in ℓ ∞ \ell_\infty ℓ ∞ sense) at a 45 ∘ 45^\circ 4 5 ∘ angle. Note that this line intersects at most 3 cells (assuming each grid point belongs to a single cell). We estimate the shifted vector p ′ = p + u ⋅ 1 \mathbf{p}' = \mathbf{p} + u \cdot\mathbf{1} p ′ = p + u ⋅ 1 by adding u u u to each empirical mean obtained from the original coins. We will focus on the largest confidence interval ( α x , α y ) (\alpha_x,\alpha_y) ( α x , α y ) around p ′ = ( x , y ) \mathbf{p}' = (x,y) p ′ = ( x , y ) that is strictly contained inside a single ε \varepsilon ε -grid cell. If we have an estimate x ^ \hat{x} x ^ that is α x \alpha_x α x -close to x x x and an estimate y ^ \hat{y} y ^ that is α y \alpha_y α y -close to y y y , then all possible estimates lie in a single cell with high probability. Thus, rounding the estimate ( x ^ , y ^ ) (\hat{x},\hat{y}) ( x ^ , y ^ ) to the bottom left of the cell yields the same value. The sample complexity required to get samples within this confidence interval with high probability is O ~ ( 1 α x 2 + 1 α y 2 ) \widetilde{O}\left(\frac{1}{\alpha_x^2}+\frac{1}{\alpha_y^2}\right) O ( α x 2 1 + α y 2 1 ) . Since any line segment of length ε \varepsilon ε at 45 ∘ 45^\circ 4 5 ∘ from p \mathbf{p} p intersects at most three cells, this ensures that if we randomly pick u u u , the algorithm is 3-list replicable (provided we know α x \alpha_x α x and α y \alpha_y α y ).
For the purposes of illustration, we classify the regions along this line into 3 regions colored based on the behavior of their confidence intervals. When p ′ \mathbf{p}' p ′ lies in a green region, the required confidence interval is α x ≈ ε \alpha_x \approx\varepsilon α x ≈ ε and α y ≈ ε \alpha_y \approx\varepsilon α y ≈ ε . In the orange region, the confidence interval needs to satisfy α x ≪ ε \alpha_x \ll\varepsilon α x ≪ ε or α y ≪ ε \alpha_y \ll\varepsilon α y ≪ ε . Finally, in the red region, a confidence interval of α x ≈ 0 \alpha_x \approx0 α x ≈ 0 or α y ≈ 0 \alpha_y \approx0 α y ≈ 0 is required. Thus, some shifts (orange region) require higher sample complexity, whereas some shifts (green region) require fewer samples. Shifts that lead to the red region can be considered a failure of the algorithm. Our algorithm limits the work spent on these shifts, keeping the expected sample complexity small when the shift is chosen uniformly at random. A technicality is that our algorithm will not know α x , α y \alpha_x,\alpha_y α x , α y a priori, but will iteratively get smaller and smaller estimates until the confidence interval lies in a single cell.
In the case of d d d coins, our analysis shows that a uniformly at random selected U ∼ Unif ( [ 0 , ε ) ) U \sim\operatorname{Unif}([0,\varepsilon)) U ∼ Unif ([ 0 , ε )) yields an expected sample complexity of O ~ ( d ε 2 ) \widetilde{O}\left(\frac{d}{\varepsilon^2}\right) O ( ε 2 d ) per coin; thus the expected total sample complexity is O ~ ( d 2 ε 2 ) \widetilde{O}\left(\frac{d^2}{\varepsilon^2}\right) O ( ε 2 d 2 ) . List Replicability follows from the fact that this line segment intersects at most d + 1 d+1 d + 1 grid cells in d d d dimensions.
Shifts, Rounding and Canonical List
To round down x ∈ R x \in\mathbb{R} x ∈ R to the nearest ε \varepsilon ε , it can be done so by the mapping x ↦ ⌊ x ε ⌋ ε x \mapsto\left\lfloor\frac{x}{\varepsilon}\right\rfloor\varepsilon x ↦ ⌊ ε x ⌋ ε . For example, if x = 2.5 ε x=2.5\varepsilon x = 2.5 ε then it maps to 2 ε 2\varepsilon 2 ε . So x ε \frac{x}{\varepsilon} ε x extracts what multiple of ε \varepsilon ε is x x x (in this case 2.5), and then we floor only the multiple part of ε \varepsilon ε to the nearest integer. This flooring process reduces the output by at most ε \varepsilon ε .
For our algorithm, before rounding, we perturb the initial x x x by a shift u ∈ [ 0 , ε ) u \in[0,\varepsilon) u ∈ [ 0 , ε ) and then round down to the nearest multiple of ε \varepsilon ε .
Figure 2. u u u is an α \alpha α -good shift for p p p
Definition 6.1. Let α > 0 \alpha> 0 α > 0 . A shift u ∈ [ 0 , ε ) u \in[0,\varepsilon) u ∈ [ 0 , ε ) is α \alpha α -good for p ∈ [ 0 , 1 ] p \in[0,1] p ∈ [ 0 , 1 ] if the interval [ p − α , p + α ) [p-\alpha,p+\alpha) [ p − α , p + α ) when shifted by u u u is contained between some consecutive integer multiple of ε \varepsilon ε . Formally, there exists an integer k ∈ Z k \in\mathbb{Z} k ∈ Z such that
[ ( p + u ) − α , ( p + u ) + α ) ⊆ [ k ε , ( k + 1 ) ε ) [(p+u)-\alpha,(p+u)+\alpha) \subseteq[k\varepsilon,(k+1)\varepsilon) [( p + u ) − α , ( p + u ) + α ) ⊆ [ k ε , ( k + 1 ) ε )
Definition 6.2. Let u ∈ [ 0 , ε ) u \in[0,\varepsilon) u ∈ [ 0 , ε ) . The u u u -rounding of x ∈ R x \in\mathbb{R} x ∈ R , denoted by R u ( x ) R_u(x) R u ( x ) , is defined as
R u ( x ) = ⌊ x + u ε ⌋ ε R_u(x)=\left\lfloor\frac{x+u}{\varepsilon}\right\rfloor\varepsilon R u ( x ) = ⌊ ε x + u ⌋ ε
For a vector x ∈ R d \mathbf{x} \in\mathbb{R}^d x ∈ R d , the u u u -rounding of x \mathbf{x} x , denoted by R u ( x ) R_u(\mathbf{x}) R u ( x ) , is obtained by applying index-wise u u u -rounding to x \mathbf{x} x , i.e., if x = ( x 1 , … , x d ) \mathbf{x}=(x_1,\ldots,x_d) x = ( x 1 , … , x d ) then R u ( x ) = ( R u ( x 1 ) , … , R u ( x d ) ) R_u(\mathbf{x})=(R_u(x_1),\ldots,R_u(x_d)) R u ( x ) = ( R u ( x 1 ) , … , R u ( x d ))
Lemma 6.3. Let u ∈ [ 0 , ε ) u \in[0,\varepsilon) u ∈ [ 0 , ε ) . For any x ∈ R x \in\mathbb{R} x ∈ R ,
∣ R u ( x ) − x ∣ < ε \lvert R_u(x)-x\rvert< \varepsilon ∣ R u ( x ) − x ∣ < ε For any x ∈ R d \mathbf{x} \in\mathbb{R}^d x ∈ R d ,
∥ R u ( x ) − x ∥ ∞ < ε \lVert R_u(\mathbf{x})-\mathbf{x}\rVert_\infty< \varepsilon ∥ R u ( x ) − x ∥ ∞ < ε
Proof. For every y ∈ R y \in\mathbb{R} y ∈ R , we have y − 1 < ⌊ y ⌋ ≤ y y - 1 < \lfloor y \rfloor\le y y − 1 < ⌊ y ⌋ ≤ y . Applying this with y = x + u ε y = \frac{x+u}{\varepsilon} y = ε x + u and multiplying by ε \varepsilon ε gives
x + u − ε < R u ( x ) ≤ x + u x + u - \varepsilon< R_u(x) \le x + u x + u − ε < R u ( x ) ≤ x + u
Since u ∈ [ 0 , ε ) u \in[0,\varepsilon) u ∈ [ 0 , ε ) , it holds that
x − ε < R u ( x ) < x + ε x - \varepsilon< R_u(x) < x + \varepsilon x − ε < R u ( x ) < x + ε
and hence ∣ R u ( x ) − x ∣ < ε |R_u(x)-x| < \varepsilon ∣ R u ( x ) − x ∣ < ε . Applying this bound to each coordinate gives
∥ R u ( x ) − x ∥ ∞ = max i ∈ [ d ] ∣ R u ( x i ) − x i ∣ < ε \lVert R_u(\mathbf{x})-\mathbf{x}\rVert_\infty= \max_{i\in[d]} |R_u(x_i)-x_i| < \varepsilon ∥ R u ( x ) − x ∥ ∞ = i ∈ [ d ] max ∣ R u ( x i ) − x i ∣ < ε
Consider an interval [ p − α , p + α ) [p-\alpha,p+\alpha) [ p − α , p + α ) of length 2 α ≤ ε 2\alpha\le\varepsilon 2 α ≤ ε . This interval need not be contained between some [ k ε , ( k + 1 ) ε ) [k\varepsilon,(k+1)\varepsilon) [ k ε , ( k + 1 ) ε ) , however by shifting it by u u u that is α \alpha α -good, [ ( p + u ) − α , ( p + u ) + α ) [(p+u)-\alpha,(p+u)+\alpha) [( p + u ) − α , ( p + u ) + α ) is now contained in some [ k ε , ( k + 1 ) ε ) [k\varepsilon,(k+1)\varepsilon) [ k ε , ( k + 1 ) ε ) . Crucially, all points in this shifted interval round down to k ε k\varepsilon k ε ; this property is what we shall be using in our upper bound algorithms. We now formalize this and prove some additional properties that we will require for our algorithm.
Lemma 6.4. Let u ∈ [ 0 , ε ) u \in[0,\varepsilon) u ∈ [ 0 , ε ) , α > 0 \alpha> 0 α > 0 and p , p ^ ∈ [ 0 , 1 ] p,\widehat{p} \in[0,1] p , p ∈ [ 0 , 1 ] such that ∣ p ^ − p ∣ ≤ α |\widehat{p}-p| \le\alpha ∣ p − p ∣ ≤ α .
If u u u is α \alpha α -good for p p p then for any x , y ∈ [ p − α , p + α ) x,y \in[p-\alpha,p+\alpha) x , y ∈ [ p − α , p + α ) it holds that R u ( x ) = R u ( y ) R_u(x)=R_u(y) R u ( x ) = R u ( y )
If u u u is 3 α 3\alpha 3 α -good for p p p , then u u u is 2 α 2\alpha 2 α -good for p ^ \widehat{p} p .
If u u u is 2 α 2\alpha 2 α -good for p ^ \widehat{p} p , then R u ( p ) = R u ( p ^ ) R_u(p)=R_u(\widehat{p}) R u ( p ) = R u ( p ) .
Proof.
It holds that x + u x+u x + u and y + u y+u y + u both belong to [ k ε , ( k + 1 ) ε ) [k\varepsilon,(k+1)\varepsilon) [ k ε , ( k + 1 ) ε ) by definition of u u u being α \alpha α -good for p p p , and therefore both shifted points lie in the same interval and round down to k ε = R u ( x ) = R u ( y ) k\varepsilon=R_u(x)=R_u(y) k ε = R u ( x ) = R u ( y ) .
Observe that
[ ( p ^ + u ) − 2 α , ( p ^ + u ) + 2 α ) ⊆ [ ( p + u ) − 3 α , ( p + u ) + 3 α ) [(\widehat{p}+u)-2\alpha,(\widehat{p}+u)+2\alpha) \subseteq[(p+u)-3\alpha,(p+u)+3\alpha) [( p + u ) − 2 α , ( p + u ) + 2 α ) ⊆ [( p + u ) − 3 α , ( p + u ) + 3 α )
Thus assuming u u u is 3 α 3\alpha 3 α -good for p p p implies that u u u is 2 α 2\alpha 2 α -good for p ^ \widehat{p} p by definition.
Since ∣ p − p ^ ∣ ≤ α < 2 α |p-\widehat{p}| \le\alpha< 2\alpha ∣ p − p ∣ ≤ α < 2 α , both p , p ^ ∈ [ p ^ − 2 α , p ^ + 2 α ) p,\widehat{p} \in[\widehat{p}-2\alpha,\widehat{p}+2\alpha) p , p ∈ [ p − 2 α , p + 2 α ) . Because u u u is 2 α 2\alpha 2 α -good for p ^ \widehat{p} p , using item 1 with center p ^ \widehat{p} p and radius 2 α 2\alpha 2 α , gives R u ( p ^ ) = R u ( p ) R_u(\widehat{p})=R_u(p) R u ( p ) = R u ( p ) .
Lemma 6.5. Let α ∈ ( 0 , ε 2 ] \alpha\in(0,\frac{\varepsilon}{2}] α ∈ ( 0 , 2 ε ] and p ∈ [ 0 , 1 ] p \in[0,1] p ∈ [ 0 , 1 ] . If U ∼ Unif ( [ 0 , ε ) ) U \sim\operatorname{Unif}([0,\varepsilon)) U ∼ Unif ([ 0 , ε )) then
Pr U ( U is not α -good for p ) = 2 α ε \Pr_U(U\text{ is not }\alpha\text{-good for }p)=\frac{2\alpha}{\varepsilon} U Pr ( U is not α -good for p ) = ε 2 α Furthermore, the equation above also holds when p p p is a random variable and is independent of U U U .
Proof. For simplicity assume p = k ε p=k\varepsilon p = k ε for some k ∈ N k \in\mathbb{N} k ∈ N . Observe that a shift u u u is α \alpha α -good if and only if u ∈ [ α , ε − α ] u \in[\alpha,\varepsilon-\alpha] u ∈ [ α , ε − α ] . Thus we have
Pr U ( U is not α -good for p ) = Pr U ( U ∉ [ α , ε − α ] ) = 2 α ε \Pr_U(U\text{ is not }\alpha\text{-good for }p)=\Pr_U(U\notin[\alpha,\varepsilon-\alpha])=\frac{2\alpha}{\varepsilon} U Pr ( U is not α -good for p ) = U Pr ( U ∈ / [ α , ε − α ]) = ε 2 α In general, if p p p is not an exact multiple of ε \varepsilon ε , then u u u is α \alpha α -good if and only if ( p + u ) m o d ε ∈ [ α , ε − α ] (p+u)\bmod\varepsilon\in[\alpha,\varepsilon-\alpha] ( p + u ) mod ε ∈ [ α , ε − α ] , we also have that ( p + U ) m o d ε ∼ Unif ( [ 0 , ε ) ) (p+U)\bmod\varepsilon\sim\operatorname{Unif}([0,\varepsilon)) ( p + U ) mod ε ∼ Unif ([ 0 , ε )) , so the equality still holds.
For the furthermore part, averaging over all values of the random variable p p p yields the result.
Pr U , p ( U is not α -good for p ) = ∑ x Pr U ( U is not α -good for p ∣ p = x ) Pr p ( p = x ) = 2 α ε ∑ x Pr p ( p = x ) = 2 α ε \Pr_{U,p}(U\text{ is not }\alpha\text{-good for }p)
= \sum_x \Pr_U(U\text{ is not }\alpha\text{-good for }p\mid p=x)\Pr_p(p=x)
= \frac{2\alpha}{\varepsilon}\sum_x \Pr_p(p=x)
= \frac{2\alpha}{\varepsilon} U , p Pr ( U is not α -good for p ) = x ∑ U Pr ( U is not α -good for p ∣ p = x ) p Pr ( p = x ) = ε 2 α x ∑ p Pr ( p = x ) = ε 2 α
Suppose we have a single coin with bias p ∈ [ 0 , 1 ] p \in[0,1] p ∈ [ 0 , 1 ] . Getting an estimate p ^ \hat{p} p ^ such that p ^ ∈ [ p − α , p + α ) \hat{p} \in[p-\alpha,p+\alpha) p ^ ∈ [ p − α , p + α ) with high probability can be achieved by simply tossing the coin Θ ( 1 α 2 ) \Theta\left(\frac{1}{\alpha^2}\right) Θ ( α 2 1 ) times and outputting the empirical mean. We sample U ∼ Unif ( [ 0 , ε ) ) U \sim\operatorname{Unif}([0,\varepsilon)) U ∼ Unif ([ 0 , ε )) and get iteratively better approximations α j = ε 2 j + 1 \alpha_j = \frac{\varepsilon}{2^{j+1}} α j = 2 j + 1 ε , till U U U is 2 α j 2\alpha_j 2 α j -good for p ^ \hat{p} p ^ , i.e., the interval [ p ^ − 2 α j , p ^ + 2 α j ) [\hat{p}-2\alpha_j,\hat{p}+2\alpha_j) [ p ^ − 2 α j , p ^ + 2 α j ) when shifted by U U U fits in some [ k ε , ( k + 1 ) ε ) [k\varepsilon,(k+1)\varepsilon) [ k ε , ( k + 1 ) ε ) , once this condition is met, and assuming our estimates are correct we have R U ( p ^ ) = R U ( p ) R_U(\hat{p})=R_U(p) R U ( p ^ ) = R U ( p ) , i.e., the u u u -rounding p ^ \hat{p} p ^ is exactly the u u u -rounding of p p p , the unknown bias. If this procedure takes too many samples, we can cut it off early and output ⊥ \bot ⊥ . Even though we don’t know the bias p p p , we can with high probability get R U ( p ) R_U(p) R U ( p ) .
The rounded value of p p p crucially depends on U U U . Suppose p = 2.5 ε p=2.5\varepsilon p = 2.5 ε , if u ∈ [ 0 , ε 2 ) u\in[0,\frac{\varepsilon}{2}) u ∈ [ 0 , 2 ε ) then R u ( p ) = 2 ε R_u(p)=2\varepsilon R u ( p ) = 2 ε , and if u ∈ [ ε 2 , ε ) u\in[\frac{\varepsilon}{2},\varepsilon) u ∈ [ 2 ε , ε ) then R u ( p ) = 3 ε R_u(p)=3\varepsilon R u ( p ) = 3 ε . We now extend this idea to higher dimensions.
Definition 6.6. Let p ∈ [ 0 , 1 ] d \mathbf{p}\in[0,1]^d p ∈ [ 0 , 1 ] d . The set L p L_{\mathbf{p}} L p is defined as
L p = { R u ( p ) ∣ u ∈ [ 0 , ε ) } L_{\mathbf{p}}=\{R_u(\mathbf{p})\mid u\in[0,\varepsilon)\} L p = { R u ( p ) ∣ u ∈ [ 0 , ε )}
Lemma 6.7. For any p ∈ [ 0 , 1 ] d \mathbf{p}\in[0,1]^d p ∈ [ 0 , 1 ] d , the set L p L_{\mathbf{p}} L p satisfies
∀ y ∈ L p . ∥ y − p ∥ ∞ < ε \forall\mathbf{y}\in L_{\mathbf{p}}.\ \|\mathbf{y}-\mathbf{p}\|_\infty<\varepsilon ∀ y ∈ L p . ∥ y − p ∥ ∞ < ε
∣ L p ∣ ≤ d + 1 |L_{\mathbf{p}}|\le d+1 ∣ L p ∣ ≤ d + 1
Proof.
Let y ∈ L p \mathbf{y}\in L_{\mathbf{p}} y ∈ L p , then we have y = R u ( p ) \mathbf{y}=R_u(\mathbf{p}) y = R u ( p ) for some u ∈ [ 0 , ε ) u\in[0,\varepsilon) u ∈ [ 0 , ε ) , by Definition 6.3 we have
∥ y − p ∥ ∞ = ∥ R u ( p ) − p ∥ ∞ < ε \|\mathbf{y}-\mathbf{p}\|_\infty=\|R_u(\mathbf{p})-\mathbf{p}\|_\infty<\varepsilon ∥ y − p ∥ ∞ = ∥ R u ( p ) − p ∥ ∞ < ε As u u u increases over [ 0 , ε ) [0,\varepsilon) [ 0 , ε ) , each coordinate R u ( p i ) R_u(p_i) R u ( p i ) changes at most once. Thus the vector changes at most d d d times and takes at most d + 1 d+1 d + 1 values.
Example. Consider d = 4 d=4 d = 4 and p = ( ε 5 , 2 ε 5 , 3 ε 5 , 4 ε 5 ) \mathbf{p}=(\frac{\varepsilon}{5},\frac{2\varepsilon}{5},\frac{3\varepsilon}{5},\frac{4\varepsilon}{5}) p = ( 5 ε , 5 2 ε , 5 3 ε , 5 4 ε ) then
If u ∈ [ 0 , ε 5 ) u\in[0,\frac{\varepsilon}{5}) u ∈ [ 0 , 5 ε ) then R u ( p ) = ( 0 , 0 , 0 , 0 ) R_u(\mathbf{p})=(0,0,0,0) R u ( p ) = ( 0 , 0 , 0 , 0 )
If u ∈ [ ε 5 , 2 ε 5 ) u\in[\frac{\varepsilon}{5},\frac{2\varepsilon}{5}) u ∈ [ 5 ε , 5 2 ε ) then R u ( p ) = ( 0 , 0 , 0 , ε ) R_u(\mathbf{p})=(0,0,0,\varepsilon) R u ( p ) = ( 0 , 0 , 0 , ε )
If u ∈ [ 2 ε 5 , 3 ε 5 ) u\in[\frac{2\varepsilon}{5},\frac{3\varepsilon}{5}) u ∈ [ 5 2 ε , 5 3 ε ) then R u ( p ) = ( 0 , 0 , ε , ε ) R_u(\mathbf{p})=(0,0,\varepsilon,\varepsilon) R u ( p ) = ( 0 , 0 , ε , ε )
If u ∈ [ 3 ε 5 , 4 ε 5 ) u\in[\frac{3\varepsilon}{5},\frac{4\varepsilon}{5}) u ∈ [ 5 3 ε , 5 4 ε ) then R u ( p ) = ( 0 , ε , ε , ε ) R_u(\mathbf{p})=(0,\varepsilon,\varepsilon,\varepsilon) R u ( p ) = ( 0 , ε , ε , ε )
If u ∈ [ 4 ε 5 , ε ) u\in[\frac{4\varepsilon}{5},\varepsilon) u ∈ [ 5 4 ε , ε ) then R u ( p ) = ( ε , ε , ε , ε ) R_u(\mathbf{p})=(\varepsilon,\varepsilon,\varepsilon,\varepsilon) R u ( p ) = ( ε , ε , ε , ε )
Thus, in this example ∣ L p ∣ = d + 1 |L_{\mathbf{p}}|=d+1 ∣ L p ∣ = d + 1 exactly.
Our algorithms will attempt to output some element in the set L p L_{\mathbf{p}} L p with high probability. Let Y Y Y be a random variable denoting the output of a list replicable algorithm which belongs to R d ∪ { ⊥ } \mathbb{R}^d\cup\{\bot\} R d ∪ { ⊥ } , where ⊥ \bot ⊥ is a failure symbol. The output can be categorized into 3 mutually exclusive cases
Y ∈ L p Y\in L_{\mathbf{p}} Y ∈ L p , this is the desired event
Y = ⊥ Y=\bot Y = ⊥ , not a valid member of R d \mathbb{R}^d R d
Y ∉ L p ∪ { ⊥ } Y\notin L_{\mathbf{p}}\cup\{\bot\} Y ∈ / L p ∪ { ⊥ } , a valid member R d \mathbb{R}^d R d but not in the list
For the purpose of analysis, we will be upper bounding the quantities Pr ( Y = ⊥ ) \Pr(Y=\bot) Pr ( Y = ⊥ ) and Pr ( Y ∉ L p ∪ { ⊥ } ) \Pr(Y\notin L_{\mathbf{p}}\cup\{\bot\}) Pr ( Y ∈ / L p ∪ { ⊥ }) as it is easier to argue over. However, it might be easier to interpret the bounds as follows: suppose
Pr ( Y = ⊥ ) ≤ 1 4 \Pr(Y=\bot)\le\frac{1}{4} Pr ( Y = ⊥ ) ≤ 4 1
Pr ( Y ∉ L p ∪ { ⊥ } ) ≤ η \Pr(Y\notin L_{\mathbf{p}}\cup\{\bot\})\le\eta Pr ( Y ∈ / L p ∪ { ⊥ }) ≤ η
This means that, with probability at least 3 / 4 3/4 3/4 the algorithm will return a vector in R d \mathbb{R}^d R d , and conditioned on witnessing that Y ≠ ⊥ Y\ne\bot Y = ⊥ , the probability that Y ∈ L p Y\in L_{\mathbf{p}} Y ∈ L p is at least 1 − 4 η 3 1-\frac{4\eta}{3} 1 − 3 4 η . Formally,
Pr ( Y ∉ L p ∣ Y ≠ ⊥ ) = Pr ( Y ∉ L p ∪ { ⊥ } ) Pr ( Y ≠ ⊥ ) ≤ 4 η 3 \Pr(Y\notin L_{\mathbf{p}}\mid Y\ne\bot)=\frac{\Pr(Y\notin L_{\mathbf{p}}\cup\{\bot\})}{\Pr(Y\ne\bot)}\le\frac{4\eta}{3} Pr ( Y ∈ / L p ∣ Y = ⊥ ) = Pr ( Y = ⊥ ) Pr ( Y ∈ / L p ∪ { ⊥ }) ≤ 3 4 η
Upper Bound for ( d + 1 ) (d+1) ( d + 1 ) -List Replicable Algorithms
We prove the following theorem
Theorem 6.8. Let d ∈ N d \in\mathbb{N} d ∈ N and ε , δ ∈ ( 0 , 1 ) \varepsilon,\delta\in(0,1) ε , δ ∈ ( 0 , 1 ) . There exists a ( d + 1 , ε , δ ) (d+1,\varepsilon,\delta) ( d + 1 , ε , δ ) -list replicable algorithm for the d d d -CoinBiasEstimationProblem that uses N = O ( d 2 ε 2 log d δ log 1 δ ) N = O\left(\frac{d^2}{\varepsilon^2}\log\frac{d}{\delta}\log\frac{1}{\delta}\right) N = O ( ε 2 d 2 log δ d log δ 1 ) samples.
We first prove the existence of an algorithm whose expected sample complexity is E [ N ] = O ~ ( d 2 ε 2 ) \mathbb{E}[N] = \widetilde{O}\left(\frac{d^2}{\varepsilon^2}\right) E [ N ] = O ( ε 2 d 2 ) . Then using standard boosting techniques, we get Definition 6.8.
Define the following parameters
ε ∈ ( 0 , 1 ) \varepsilon\in(0,1) ε ∈ ( 0 , 1 )
η ∈ ( 0 , 1 / 8 ) \eta\in(0,1/8) η ∈ ( 0 , 1/8 )
m = ⌈ log 2 ( 24 d ) ⌉ m = \lceil\log_2(24d) \rceil m = ⌈ log 2 ( 24 d )⌉
α j = ε 2 j + 1 for j ∈ [ m ] \alpha_j = \frac{\varepsilon}{2^{j+1}} \qquad\text{for } j \in[m] α j = 2 j + 1 ε for j ∈ [ m ]
n j = ⌈ 1 2 α j 2 ln 2 d m η ⌉ for j ∈ [ m ] n_j = \left\lceil\frac{1}{2\alpha_j^2}\ln\frac{2dm}{\eta}\right\rceil\qquad\text{for } j \in[m] n j = ⌈ 2 α j 2 1 ln η 2 d m ⌉ for j ∈ [ m ]
M = 1536 d 2 ε 2 ln 2 d m η = O ( d 2 ε 2 ln d η ) M = \frac{1536d^2}{\varepsilon^2}\ln\frac{2dm}{\eta}
= O\left(\frac{d^2}{\varepsilon^2}\ln\frac{d}{\eta}\right) M = ε 2 1536 d 2 ln η 2 d m = O ( ε 2 d 2 ln η d )
We now describe a ( d + 1 , ε , O ( 1 ) ) (d+1,\varepsilon,O(1)) ( d + 1 , ε , O ( 1 )) -list replicable algorithm for the d d d -CoinBiasEstimationProblem whose expected sample complexity is bounded above M = O ( d 2 ε 2 ln d η ) M = O\left(\frac{d^2}{\varepsilon^2}\ln\frac{d}{\eta}\right) M = O ( ε 2 d 2 ln η d ) . We use the same ε \varepsilon ε to perform rounding as described Section 6.2.
Algorithm 1: ( d + 1 , ε , O ( 1 ) ) (d+1,\varepsilon,O(1)) ( d + 1 , ε , O ( 1 )) -List Replicable Algorithm with O ~ ( d 2 ε 2 ) \widetilde{O}\left(\frac{d^2}{\varepsilon^2}\right) O ( ε 2 d 2 ) expected total sample complexity
Draw U ∼ Unif ( [ 0 , ε ) ) U \sim\operatorname{Unif}([0,\varepsilon)) U ∼ Unif ([ 0 , ε )) ;
( y 1 , … , y d ) ← ( ⊥ , … , ⊥ ) (y_1,\ldots,y_d) \leftarrow(\perp,\ldots,\perp) ( y 1 , … , y d ) ← ( ⊥ , … , ⊥ )
m = ⌈ log 2 ( 24 d ) ⌉ m = \lceil\log_2(24d)\rceil m = ⌈ log 2 ( 24 d )⌉
A ← [ d ] A \leftarrow[d] A ← [ d ]
for j = 1 , … , m j = 1,\ldots,m j = 1 , … , m do
foreach i ∈ A i \in A i ∈ A do
α j ← ε 2 j + 1 \alpha_j \leftarrow\frac{\varepsilon}{2^{j+1}} α j ← 2 j + 1 ε
Toss coin i i i independently n j = ⌈ 1 2 α j 2 ln 2 d m η ⌉ n_j = \left\lceil\frac{1}{2\alpha_j^2}\ln\frac{2dm}{\eta}\right\rceil n j = ⌈ 2 α j 2 1 ln η 2 d m ⌉ times and let p ^ i ( j ) \hat{p}^{(j)}_i p ^ i ( j ) be the empirical mean
if U U U is 2 α j 2\alpha_j 2 α j -good for p ^ i ( j ) \hat{p}^{(j)}_i p ^ i ( j ) then
y i ← R U ( p ^ i ( j ) ) y_i \leftarrow R_U(\hat{p}^{(j)}_i) y i ← R U ( p ^ i ( j ) )
A ← A ∖ { i } A \leftarrow A \setminus\{i\} A ← A ∖ { i }
if A = ∅ A = \varnothing A = ∅ then
return ( y 1 , … , y d ) (y_1,\ldots,y_d) ( y 1 , … , y d )
return ⊥ \perp ⊥
Theorem 6.9. Algorithm 1 has the following properties
Pr ( Y = ⊥ ) ≤ 1 4 \Pr(Y = \perp) \le\frac{1}{4} Pr ( Y =⊥ ) ≤ 4 1 Pr ( Y ∉ L p ∪ { ⊥ } ) ≤ η \Pr(Y \notin L_p \cup\{\perp\}) \le\eta Pr ( Y ∈ / L p ∪ { ⊥ }) ≤ η
The expected sample complexity of the algorithm is bounded above by
E [ N ] ≤ M = O ( d 2 ε 2 log d η ) \mathbb{E}[N] \le M = O\left(\frac{d^2}{\varepsilon^2}\log\frac{d}{\eta}\right) E [ N ] ≤ M = O ( ε 2 d 2 log η d )
Suppose Algorithm 1 has sample access to d d d coins with bias vector p = ( p 1 , … , p d ) \mathbf{p}=(p_1,\ldots,p_d) p = ( p 1 , … , p d ) . Further, let N i N_i N i denote the number of tosses of coin i i i and let N = ∑ i = 1 d N i N=\sum_{i=1}^{d}N_i N = ∑ i = 1 d N i denote the total number of tosses. Let Y Y Y be the random variable denoting the output of the algorithm.
For each coin i ∈ [ d ] i\in[d] i ∈ [ d ] , we will get progressively smaller estimates α j \alpha_j α j as the number of rounds j j j increases. We will get at most d m dm d m estimates across the entire algorithm’s execution, m m m estimates for each of the d d d coins. So we picked n j = ⌈ 1 2 α j 2 ln 2 d m η ⌉ n_j=\left\lceil\frac{1}{2\alpha_j^2}\ln\frac{2dm}{\eta}\right\rceil n j = ⌈ 2 α j 2 1 ln η 2 d m ⌉ so that for the i i i th coin in j j j th round the estimate p ^ i ( j ) \hat{p}_i^{(j)} p ^ i ( j ) is α j \alpha_j α j close to p i p_i p i with probability at least 1 − η d m 1-\frac{\eta}{dm} 1 − d m η . Union bounding across all coins and rounds: every ∣ p ^ i ( j ) − p i ∣ ≤ α j \lvert\hat{p}_i^{(j)}-p_i\rvert\le\alpha_j ∣ p ^ i ( j ) − p i ∣ ≤ α j happens with probability at least 1 − η 1-\eta 1 − η .
For simplicity of analysis, we imagine that an independent block of n j n_j n j tosses is assigned to every i ∈ [ d ] i\in[d] i ∈ [ d ] and j ∈ [ m ] j\in[m] j ∈ [ m ] , independently of U U U , whether or not the algorithm uses it. Let p ^ i ( j ) \hat{p}_i^{(j)} p ^ i ( j ) denote the empirical mean of each block, whether or not this was actually used. Only blocks actually used by the algorithm count toward its sample complexity. Formally define the following events
G i = { U is 3 α m -good for p i } for i ∈ [ d ] G_i=\{U\text{ is }3\alpha_m\text{-good for }p_i\}\qquad\text{for }i\in[d] G i = { U is 3 α m -good for p i } for i ∈ [ d ]
H i , j = { p ^ i ( j ) ∈ [ p i − α j , p i + α j ] } for i ∈ [ d ] , j ∈ [ m ] H_{i,j}=\{\hat{p}_i^{(j)}\in[p_i-\alpha_j,p_i+\alpha_j]\}\qquad\text{for }i\in[d],j\in[m] H i , j = { p ^ i ( j ) ∈ [ p i − α j , p i + α j ]} for i ∈ [ d ] , j ∈ [ m ]
G = ⋂ i G i G=\bigcap_iG_i G = i ⋂ G i
H = ⋂ i , j H i , j H=\bigcap_{i,j}H_{i,j} H = i , j ⋂ H i , j
i.e., G G G is the event that U U U is 3 α m 3\alpha_m 3 α m -good p i p_i p i for all i i i and H H H is the event that p ^ i ( j ) \hat{p}_i^{(j)} p ^ i ( j ) is α j \alpha_j α j -close to p i p_i p i for all i , j i,j i , j .
Lemma 6.10.
Pr ( G c ) ≤ 1 8 \Pr(G^c)\le\frac{1}{8} Pr ( G c ) ≤ 8 1
Pr ( H c ) ≤ η \Pr(H^c)\le\eta Pr ( H c ) ≤ η
Pr ( G c ∪ H c ) ≤ 1 8 + η ≤ 1 4 \Pr(G^c\cup H^c)\le\frac{1}{8}+\eta\le\frac{1}{4} Pr ( G c ∪ H c ) ≤ 8 1 + η ≤ 4 1
Proof.
By union bound and Definition 6.5 on G i c = { U is not 3 α m -good for p i } G_i^c=\{U\text{ is not }3\alpha_m\text{-good for }p_i\} G i c = { U is not 3 α m -good for p i }
Pr ( G c ) ≤ ∑ i = 1 d Pr ( G i c ) = d ⋅ 2 ⋅ ( 3 α m ) ε = 3 d 2 m ≤ 1 8 . \Pr(G^c)\le\sum_{i=1}^{d}\Pr(G_i^c)=d\cdot\frac{2\cdot(3\alpha_m)}{\varepsilon}=\frac{3d}{2^m}\le\frac{1}{8}. Pr ( G c ) ≤ i = 1 ∑ d Pr ( G i c ) = d ⋅ ε 2 ⋅ ( 3 α m ) = 2 m 3 d ≤ 8 1 . The last inequality is obtained by using m = ⌈ log 2 ( 24 d ) ⌉ ≥ log 2 ( 24 d ) m=\lceil\log_2(24d)\rceil\ge\log_2(24d) m = ⌈ log 2 ( 24 d )⌉ ≥ log 2 ( 24 d ) .
By Chernoff Bound, for any i , j i,j i , j
Pr ( H i , j c ) = Pr ( ∣ p ^ i ( j ) − p i ∣ > α j ) ≤ 2 e − 2 n j α j 2 ≤ η d m \Pr(H_{i,j}^c)=\Pr(\lvert\hat{p}_i^{(j)}-p_i\rvert>\alpha_j)\le2e^{-2n_j\alpha_j^2}\le\frac{\eta}{dm} Pr ( H i , j c ) = Pr (∣ p ^ i ( j ) − p i ∣ > α j ) ≤ 2 e − 2 n j α j 2 ≤ d m η By union bound, we have
Pr ( H c ) ≤ ∑ i , j Pr ( H i , j c ) ≤ d m ⋅ η d m = η \Pr(H^c)\le\sum_{i,j}\Pr(H_{i,j}^c)\le dm\cdot\frac{\eta}{dm}=\eta Pr ( H c ) ≤ i , j ∑ Pr ( H i , j c ) ≤ d m ⋅ d m η = η By union bound, we have
Pr ( G c ∪ H c ) ≤ 1 8 + η ≤ 1 4 \Pr(G^c\cup H^c)\le\frac{1}{8}+\eta\le\frac{1}{4} Pr ( G c ∪ H c ) ≤ 8 1 + η ≤ 4 1 The last inequality is because we assumed η ≤ 1 8 \eta\le\frac{1}{8} η ≤ 8 1 .
For a coin i ∈ [ d ] i \in[d] i ∈ [ d ] , let Z i Z_i Z i be the random variable denoting first round j j j for which U U U is 2 α j 2\alpha_j 2 α j -good for p ^ ( j ) \hat{p}^{(j)} p ^ ( j ) , if it never happens we let Z i = ∞ Z_i = \infty Z i = ∞ . Observe that Z i ∈ { 1 , … , m } ∪ { ∞ } Z_i \in\{1,\ldots,m\} \cup\{\infty\} Z i ∈ { 1 , … , m } ∪ { ∞ } . We say coin i i i is successful if Z i ≠ ∞ Z_i \ne\infty Z i = ∞ . Furthermore, for all rounds j ≤ Z i j \le Z_i j ≤ Z i we say that coin i i i was active, meaning that we had to draw n j n_j n j samples for coin i i i for that round. Note that the set A A A consists of indices of those coins that are active. If coin i i i is successful then y i = R U ( p ^ i ( Z i ) ) y_i = R_U(\hat{p}_i^{(Z_i)}) y i = R U ( p ^ i ( Z i ) ) . If some coin i i i was not successful, then y i = ⊥ y_i = \perp y i =⊥ and consequently Y = ⊥ Y = \perp Y =⊥ .
Lemma 6.11.
On H H H , it holds that Y ∈ { R U ( p ) , ⊥ } Y \in\{R_U(\mathbf{p}),\perp\} Y ∈ { R U ( p ) , ⊥ } . In particular,
Pr ( Y ∉ L p ∪ { ⊥ } ) ≤ η \Pr(Y \notin\mathcal{L}_{\mathbf{p}} \cup\{\perp\}) \le\eta Pr ( Y ∈ / L p ∪ { ⊥ }) ≤ η On G ∩ H G \cap H G ∩ H , it holds that Y = R U ( p ) Y = R_U(\mathbf{p}) Y = R U ( p ) . In particular,
Pr ( Y = ⊥ ) ≤ 1 4 \Pr(Y = \perp) \le\frac{1}{4} Pr ( Y =⊥ ) ≤ 4 1
Proof.
First note that unconditionally, for every coin i ∈ [ d ] i \in[d] i ∈ [ d ] , y i ∈ { R U ( p ^ i ( 1 ) ) , … , R U ( p ^ i ( m ) ) , ⊥ } y_i \in\{R_U(\hat{p}_i^{(1)}), \ldots, R_U(\hat{p}_i^{(m)}), \perp\} y i ∈ { R U ( p ^ i ( 1 ) ) , … , R U ( p ^ i ( m ) ) , ⊥ } . The exact value of y i y_i y i depends on Z i Z_i Z i : if Z i ≠ ∞ Z_i \ne\infty Z i = ∞ then y i = R U ( p ^ i ( Z i ) ) y_i = R_U(\hat{p}_i^{(Z_i)}) y i = R U ( p ^ i ( Z i ) ) . Even if a single coin is unsuccessful, we trivially have Y = ⊥ Y = \perp Y =⊥ . Thus we assume all coins are successful and we show that Y = R U ( p ) Y = R_U(\mathbf{p}) Y = R U ( p ) , i.e., we show that for all i i i , it holds that y i = R U ( p i ) y_i = R_U(p_i) y i = R U ( p i ) . Using this, we have that for all i i i , at round Z i Z_i Z i , it holds that U U U is 2 α Z i 2\alpha_{Z_i} 2 α Z i -good for p ^ i ( Z i ) \hat{p}_i^{(Z_i)} p ^ i ( Z i ) and y i = R U ( p ^ i ( Z i ) ) y_i = R_U(\hat{p}_i^{(Z_i)}) y i = R U ( p ^ i ( Z i ) ) by construction of our algorithm.
Condition on H H H and fix a coin i i i ; we have that ∣ p ^ i ( j ) − p i ∣ ≤ α j |\hat{p}_i^{(j)} - p_i| \le\alpha_j ∣ p ^ i ( j ) − p i ∣ ≤ α j for all j ∈ [ m ] j \in[m] j ∈ [ m ] . In particular in at round Z i Z_i Z i , we have ∣ p ^ i ( Z i ) − p i ∣ ≤ α Z i |\hat{p}_i^{(Z_i)} - p_i| \le\alpha_{Z_i} ∣ p ^ i ( Z i ) − p i ∣ ≤ α Z i . Using item 3 of Definition 6.4, we have that y i = R U ( p ^ i ( Z i ) ) = R U ( p i ) y_i = R_U(\hat{p}_i^{(Z_i)}) = R_U(p_i) y i = R U ( p ^ i ( Z i ) ) = R U ( p i ) . Since this argument holds for all coins, we have Y = R U ( p ) Y = R_U(\mathbf{p}) Y = R U ( p ) . If Y Y Y is non-⊥ \perp ⊥ output and was not in L p \mathcal{L}_{\mathbf{p}} L p , then some estimate p ^ i ( j ) \hat{p}_i^{(j)} p ^ i ( j ) was not α j \alpha_j α j -close to p i p_i p i , thus we have
Pr ( Y ∉ L p ∪ { ⊥ } ) ≤ Pr ( H c ) ≤ η \Pr(Y \notin\mathcal{L}_{\mathbf{p}} \cup\{\perp\}) \le\Pr(H^{c}) \le\eta Pr ( Y ∈ / L p ∪ { ⊥ }) ≤ Pr ( H c ) ≤ η
Conditioning on H H H , yielded Y ∈ { R U ( p ) , ⊥ } Y \in\{R_U(\mathbf{p}),\perp\} Y ∈ { R U ( p ) , ⊥ } . We show that on G ∩ H G \cap H G ∩ H , it holds that Y ≠ ⊥ Y \ne\perp Y = ⊥ , thus yielding that Y = R U ( p ) Y = R_U(\mathbf{p}) Y = R U ( p ) . Fix a coin i ∈ [ d ] i \in[d] i ∈ [ d ] and consider the last round m m m , in this round, because of conditioning on G G G we have that U U U is 3 α m 3\alpha_m 3 α m -good for p i p_i p i , and because of conditioning on H H H we have that ∣ p ^ i ( m ) − p i ∣ ≤ α m |\hat{p}_i^{(m)} - p_i| \le\alpha_m ∣ p ^ i ( m ) − p i ∣ ≤ α m . Using item 2 of Definition 6.4 we have that U U U is also 2 α m 2\alpha_m 2 α m -good for p ^ i ( m ) \hat{p}_i^{(m)} p ^ i ( m ) , which is exactly the definition of being successful at round m m m , thus if coin i i i wasn’t successful by round m − 1 m-1 m − 1 on G ∩ H G \cap H G ∩ H , on round m m m it becomes successful, i.e., Z i ≤ m Z_i \le m Z i ≤ m , thus y i ≠ ⊥ y_i \ne\perp y i = ⊥ . Since this argument holds for all coins, we have that Y ≠ ⊥ Y \ne\perp Y = ⊥ and it holds that Y = R U ( p ) ∈ L p Y = R_U(\mathbf{p}) \in\mathcal{L}_{\mathbf{p}} Y = R U ( p ) ∈ L p . Thus we have
Pr ( Y ∈ L p ) ≥ Pr ( Y = R U ( p ) ) ≥ Pr ( G ∩ H ) ≥ 3 4 \Pr(Y \in\mathcal{L}_{\mathbf{p}}) \ge\Pr(Y = R_U(\mathbf{p})) \ge\Pr(G \cap H) \ge\frac{3}{4} Pr ( Y ∈ L p ) ≥ Pr ( Y = R U ( p )) ≥ Pr ( G ∩ H ) ≥ 4 3
Finally
Pr ( Y = ⊥ ) ≤ Pr ( Y ∉ L p ) ≤ 1 4 \Pr(Y = \perp) \le\Pr(Y \notin\mathcal{L}_{\mathbf{p}}) \le\frac{1}{4} Pr ( Y =⊥ ) ≤ Pr ( Y ∈ / L p ) ≤ 4 1
:::
Lemma 6.12. The expected sample complexity is bounded by
E [ N ] ≤ M = 1536 d 2 ε 2 ln 2 d m η = O ( d 2 ε 2 log d η ) \mathbb{E}[N] \le M = \frac{1536d^2}{\varepsilon^2}\ln\frac{2dm}{\eta} = O\left(\frac{d^2}{\varepsilon^2}\log\frac{d}{\eta}\right) E [ N ] ≤ M = ε 2 1536 d 2 ln η 2 d m = O ( ε 2 d 2 log η d )
Proof. Fix a coin i ∈ [ d ] i \in[d] i ∈ [ d ] . If coin i i i is active in round j ≥ 2 j \ge2 j ≥ 2 , then it was active in round j − 1 j-1 j − 1 and failed the test in that round, since p ^ i ( j − 1 ) \hat{p}_i^{(j-1)} p ^ i ( j − 1 ) is independent of U U U we have
Pr ( coin i was active at round j ) ≤ Pr ( U is not 2 α j − 1 -good for p ^ i ( j − 1 ) ) = 2 ⋅ 2 α j − 1 ε = 4 2 j \begin{aligned}
\Pr(\text{coin }i\text{ was active at round }j)
&\le\Pr(U\text{ is not }2\alpha_{j-1}\text{-good for }\hat{p}_i^{(j-1)}) \\
&= \frac{2 \cdot2\alpha_{j-1}}{\varepsilon} \\
&= \frac{4}{2^j}
\end{aligned} Pr ( coin i was active at round j ) ≤ Pr ( U is not 2 α j − 1 -good for p ^ i ( j − 1 ) ) = ε 2 ⋅ 2 α j − 1 = 2 j 4
(Definition 6.5)
α j − 1 = ε 2 j \alpha_{j-1} = \frac{\varepsilon}{2^j} α j − 1 = 2 j ε
The upper bound also trivially holds when j = 1 j=1 j = 1 . Applying it to the following, we have
E [ N i ] = ∑ j = 1 m n j Pr ( coin i was active at round j ) ≤ ∑ j = 1 m ⌈ 1 2 α j 2 ln 2 d m η ⌉ ⋅ 4 2 j ≤ ∑ j = 1 m ( 1 α j 2 ln 2 d m η ) ⋅ 4 2 j ( x ≥ 1 ⟹ ⌈ x ⌉ ≤ 2 x ) = 16 ε 2 ln 2 d m η ∑ j = 1 m 2 j ( α j = ε 2 j + 1 ) ≤ 32 ⋅ 2 m ε 2 ln 2 d m η ( ∑ j = 1 m 2 j ≤ 2 m + 1 ) ≤ 1536 d ε 2 ln 2 d m η . \begin{aligned}
\mathbb{E}[N_i] &= \sum_{j=1}^{m} n_j \Pr(\text{coin }i\text{ was active at round }j) \\
&\le\sum_{j=1}^{m} \left\lceil\frac{1}{2\alpha_j^2}\ln\frac{2dm}{\eta}\right\rceil\cdot\frac{4}{2^j} \\
&\le\sum_{j=1}^{m}\left(\frac{1}{\alpha_j^2}\ln\frac{2dm}{\eta}\right)\cdot\frac{4}{2^j} \qquad(x\ge1\Longrightarrow\lceil x\rceil\le2x)\\
&= \frac{16}{\varepsilon^2}\ln\frac{2dm}{\eta}\sum_{j=1}^{m}2^j \qquad\left(\alpha_j=\frac{\varepsilon}{2^{j+1}}\right)\\
&\le\frac{32\cdot2^m}{\varepsilon^2}\ln\frac{2dm}{\eta} \qquad\left(\sum_{j=1}^{m}2^j\le2^{m+1}\right)\\
&\le\frac{1536d}{\varepsilon^2}\ln\frac{2dm}{\eta}.
\end{aligned} E [ N i ] = j = 1 ∑ m n j Pr ( coin i was active at round j ) ≤ j = 1 ∑ m ⌈ 2 α j 2 1 ln η 2 d m ⌉ ⋅ 2 j 4 ≤ j = 1 ∑ m ( α j 2 1 ln η 2 d m ) ⋅ 2 j 4 ( x ≥ 1 ⟹ ⌈ x ⌉ ≤ 2 x ) = ε 2 16 ln η 2 d m j = 1 ∑ m 2 j ( α j = 2 j + 1 ε ) ≤ ε 2 32 ⋅ 2 m ln η 2 d m ( j = 1 ∑ m 2 j ≤ 2 m + 1 ) ≤ ε 2 1536 d ln η 2 d m .
The last inequality uses m = ⌈ log 2 ( 24 d ) ⌉ ≤ log 2 ( 24 d ) + 1 m=\lceil\log_2(24d)\rceil\le\log_2(24d)+1 m = ⌈ log 2 ( 24 d )⌉ ≤ log 2 ( 24 d ) + 1 . Finally, using linearity of expectation across all coins, we have
E [ N ] = ∑ i = 1 d E [ N i ] ≤ ∑ i = 1 d 1536 d ε 2 ln 2 d m η = 1536 d 2 ε 2 ln 2 d m η = M = O ( d 2 ε 2 log d η ) . \begin{aligned}
\mathbb{E}[N] &= \sum_{i=1}^{d}\mathbb{E}[N_i]\\
&\le\sum_{i=1}^{d}\frac{1536d}{\varepsilon^2}\ln\frac{2dm}{\eta}\\
&= \frac{1536d^2}{\varepsilon^2}\ln\frac{2dm}{\eta}\\
&=M=O\left(\frac{d^2}{\varepsilon^2}\log\frac{d}{\eta}\right).
\end{aligned} E [ N ] = i = 1 ∑ d E [ N i ] ≤ i = 1 ∑ d ε 2 1536 d ln η 2 d m = ε 2 1536 d 2 ln η 2 d m = M = O ( ε 2 d 2 log η d ) .
The asymptotic upper bound is obtained by observing that m = O ( log d ) ⊆ O ( d ) m=O(\log d)\subseteq O(d) m = O ( log d ) ⊆ O ( d ) and therefore ln ( 2 d m η ) = O ( log d η ) \ln\left(\frac{2dm}{\eta}\right)=O\left(\log\frac{d}{\eta}\right) ln ( η 2 d m ) = O ( log η d ) .
We now conclude the Definition 6.8. We have an algorithm that is ( d + 1 , ε , O ( 1 ) ) (d+1,\varepsilon,O(1)) ( d + 1 , ε , O ( 1 )) -list replicable for d d d -CoinBiasEstimationProblem with expected sample complexity E [ N ] ≤ M = O ~ ( d 2 ε 2 ) \mathbb{E}[N]\le M=\widetilde{O}\left(\frac{d^2}{\varepsilon^2}\right) E [ N ] ≤ M = O ( ε 2 d 2 ) satisfying Pr ( Y = ⊥ ) ≤ 1 4 \Pr(Y=\bot)\le\frac{1}{4} Pr ( Y = ⊥ ) ≤ 4 1 and Pr ( Y ∉ L p ∣ Y ≠ ⊥ ) = O ( η ) \Pr(Y\notin L_p\mid Y\ne\bot)=O(\eta) Pr ( Y ∈ / L p ∣ Y = ⊥ ) = O ( η ) . We can convert the expected sample complexity algorithm into an algorithm with fixed sample complexity by using standard techniques. Capping the sample complexity to B : = ⌈ 4 M ⌉ B:=\lceil4M\rceil B := ⌈ 4 M ⌉ increases the probability we see ⊥ \bot ⊥ by at most 1 4 \frac{1}{4} 4 1 by Markov’s Inequality. Thus we repeat this capped algorithm T = ⌈ log 2 2 δ ⌉ T=\left\lceil\log_2\frac{2}{\delta}\right\rceil T = ⌈ log 2 δ 2 ⌉ times and return the first non-⊥ \bot ⊥ output. We see a non-⊥ \bot ⊥ output with probability at least 1 − δ 2 1-\frac{\delta}{2} 1 − 2 δ , and pick η = δ 4 \eta=\frac{\delta}{4} η = 4 δ so that conditioned on seeing a non-⊥ \bot ⊥ output, the probability that it belongs to L p L_p L p is at least 1 − δ 2 1-\frac{\delta}{2} 1 − 2 δ . A more detailed analysis can be found in Appendix A.
Upper Bound for k k k -List Replicable Algorithms
Theorem 6.13. Let d , k ∈ N d,k\in\mathbb{N} d , k ∈ N such that k ∈ [ d + 1 , 2 d ] k\in[d+1,2^d] k ∈ [ d + 1 , 2 d ] and ε , δ ∈ ( 0 , 1 ) \varepsilon,\delta\in(0,1) ε , δ ∈ ( 0 , 1 ) . There exists a ( k , ε , δ ) (k,\varepsilon,\delta) ( k , ε , δ ) -list replicable algorithm for the d d d -CoinBiasEstimationProblem that uses N = O ( d 2 log d ε 2 log k log 2 d δ ) N=O\left(\frac{d^2\log d}{\varepsilon^2\log k}\log^2\frac{d}{\delta}\right) N = O ( ε 2 l o g k d 2 l o g d log 2 δ d ) samples.
Let ε ∈ ( 0 , 1 ) \varepsilon\in(0,1) ε ∈ ( 0 , 1 ) , δ ∈ ( 0 , 1 2 ) \delta\in\left(0,\frac{1}{2}\right) δ ∈ ( 0 , 2 1 ) and let ℓ ∈ N \ell\in\mathbb{N} ℓ ∈ N be decided later. Consider the standard partitioning P \mathcal{P} P of [ d ] [d] [ d ] into ℓ \ell ℓ consecutive blocks B 1 , … , B ℓ B_1,\ldots,B_\ell B 1 , … , B ℓ each of size d i : = ∣ B i ∣ ≤ ⌈ d ℓ ⌉ d_i:=|B_i|\le\left\lceil\frac{d}{\ell}\right\rceil d i := ∣ B i ∣ ≤ ⌈ ℓ d ⌉ . Run algorithm from Definition 6.8 independently for each block of d i d_i d i coins with parameters ( d i + 1 , ε , δ ℓ ) (d_i+1,\varepsilon,\frac{\delta}{\ell}) ( d i + 1 , ε , ℓ δ ) . If any block returns ⊥ \bot ⊥ , we return ⊥ \bot ⊥ . Otherwise, we return the concatenation of the outputs of each block. Let Y 1 , … , Y ℓ Y_1,\ldots,Y_\ell Y 1 , … , Y ℓ be the outputs of each of the blocks. Also, let Y Y Y and N N N be the random variables denoting the output of this algorithm and the sample complexity.
Fix p ∈ [ 0 , 1 ] d \mathbf{p} \in[0,1]^d p ∈ [ 0 , 1 ] d and for i ∈ [ ℓ ] i \in[\ell] i ∈ [ ℓ ] , let p ( i ) = ( p j ) j ∈ B i ∈ [ 0 , 1 ] d i \mathbf{p}^{(i)}=(p_j)_{j\in B_i}\in[0,1]^{d_i} p ( i ) = ( p j ) j ∈ B i ∈ [ 0 , 1 ] d i denote the bias vector in B i B_i B i . The list achieved by this algorithm is
L p , P = L p ( 1 ) × ⋯ × L p ( ℓ ) \mathcal{L}_{\mathbf{p},P}=\mathcal{L}_{\mathbf{p}^{(1)}}\times\cdots\times\mathcal{L}_{\mathbf{p}^{(\ell)}} L p , P = L p ( 1 ) × ⋯ × L p ( ℓ )
where L p ( i ) \mathcal{L}_{\mathbf{p}^{(i)}} L p ( i ) is the canonical list as defined in Definition 6.6. We identify each element of this Cartesian product with the concatenation of its block vectors in R d \mathbb{R}^d R d .
Fix i ∈ [ ℓ ] i\in[\ell] i ∈ [ ℓ ] , by Definition 6.7 each element of L p ( i ) \mathcal{L}_{\mathbf{p}^{(i)}} L p ( i ) is still ε \varepsilon ε -close to p ( i ) \mathbf{p}^{(i)} p ( i ) and the size of this set is ∣ L p ( i ) ∣ ≤ d i + 1 ≤ ⌈ d ℓ ⌉ + 1 |\mathcal{L}_{\mathbf{p}^{(i)}}|\le d_i+1\le\left\lceil\frac{d}{\ell}\right\rceil+1 ∣ L p ( i ) ∣ ≤ d i + 1 ≤ ⌈ ℓ d ⌉ + 1 . Therefore, for each y ∈ L p , P \mathbf{y}\in\mathcal{L}_{\mathbf{p},P} y ∈ L p , P , it holds that ∥ y − p ∥ ∞ < ε \|\mathbf{y}-\mathbf{p}\|_\infty<\varepsilon ∥ y − p ∥ ∞ < ε and the size of L p , P \mathcal{L}_{\mathbf{p},P} L p , P is bounded above by
∣ L p , P ∣ ≤ ( ⌈ d ℓ ⌉ + 1 ) ℓ (1) |\mathcal{L}_{\mathbf{p},P}|\le\left(\left\lceil\frac{d}{\ell}\right\rceil+1\right)^\ell \tag*{(1)} ∣ L p , P ∣ ≤ ( ⌈ ℓ d ⌉ + 1 ) ℓ (1)
The sample complexity is bounded by
N = ∑ i = 1 ℓ O ( ∣ B i ∣ 2 ε 2 log ∣ B i ∣ δ log ℓ δ ) = ∑ i = 1 ℓ O ( d 2 ℓ 2 ε 2 log d ℓ log ℓ δ ) = O ( d 2 ℓ ε 2 log d ℓ log ℓ δ ) . (2) \begin{aligned}
N&=\sum_{i=1}^{\ell}O\left(\frac{|B_i|^2}{\varepsilon^2}\log\frac{|B_i|}{\delta}\log\frac{\ell}{\delta}\right)\\
&=\sum_{i=1}^{\ell}O\left(\frac{d^2}{\ell^2\varepsilon^2}\log\frac{d}{\ell}\log\frac{\ell}{\delta}\right)\\
&=O\left(\frac{d^2}{\ell\varepsilon^2}\log\frac{d}{\ell}\log\frac{\ell}{\delta}\right). \tag*{(2)}
\end{aligned} N = i = 1 ∑ ℓ O ( ε 2 ∣ B i ∣ 2 log δ ∣ B i ∣ log δ ℓ ) = i = 1 ∑ ℓ O ( ℓ 2 ε 2 d 2 log ℓ d log δ ℓ ) = O ( ℓ ε 2 d 2 log ℓ d log δ ℓ ) . (2)
By Definition 6.8, we have ∀ i ∈ [ ℓ ] . Pr ( Y i ∈ L p ( i ) ) ≥ 1 − δ ℓ \forall i\in[\ell].\Pr(Y_i\in\mathcal{L}_{\mathbf{p}^{(i)}})\ge1-\frac{\delta}{\ell} ∀ i ∈ [ ℓ ] . Pr ( Y i ∈ L p ( i ) ) ≥ 1 − ℓ δ . Taking a union bound over all ℓ \ell ℓ blocks gives us Pr ( ∀ i ∈ [ ℓ ] . Y i ∈ L p ( i ) ) ≥ 1 − δ \Pr(\forall i\in[\ell].Y_i\in\mathcal{L}_{\mathbf{p}^{(i)}})\ge1-\delta Pr ( ∀ i ∈ [ ℓ ] . Y i ∈ L p ( i ) ) ≥ 1 − δ . In particular, when ∀ i ∈ [ ℓ ] . Y i ∈ L p ( i ) \forall i\in[\ell].Y_i\in\mathcal{L}_{\mathbf{p}^{(i)}} ∀ i ∈ [ ℓ ] . Y i ∈ L p ( i ) then Y ∈ L p , P Y\in\mathcal{L}_{\mathbf{p},P} Y ∈ L p , P . Therefore
Pr ( Y ∈ L p , P ) ≥ 1 − δ \Pr(Y\in\mathcal{L}_{\mathbf{p},P})\ge1-\delta Pr ( Y ∈ L p , P ) ≥ 1 − δ
Thus we pick ℓ : = ⌈ log d + 1 k ⌉ \ell:=\lceil\log_{d+1}k\rceil ℓ := ⌈ log d + 1 k ⌉ so that the list size in Equation (1) simplifies to
∣ L p , P ∣ ≤ ( ⌈ d ℓ ⌉ + 1 ) ℓ ≤ ( d + 1 ) ℓ ( ⌈ d ℓ ⌉ ≤ d ) ≤ ( d + 1 ) log d + 1 k ≤ k . \begin{aligned}
|\mathcal{L}_{\mathbf{p},P}|&\le\left(\left\lceil\frac{d}{\ell}\right\rceil+1\right)^\ell\\
&\le(d+1)^\ell&&\left(\left\lceil\frac{d}{\ell}\right\rceil\le d\right)\\
&\le(d+1)^{\log_{d+1}k}\\
&\le k.
\end{aligned} ∣ L p , P ∣ ≤ ( ⌈ ℓ d ⌉ + 1 ) ℓ ≤ ( d + 1 ) ℓ ≤ ( d + 1 ) l o g d + 1 k ≤ k . ( ⌈ ℓ d ⌉ ≤ d )
Using ℓ = ⌈ log d + 1 k ⌉ ≥ 1 2 log d + 1 k \ell=\lceil\log_{d+1}k\rceil\ge\frac{1}{2}\log_{d+1}k ℓ = ⌈ log d + 1 k ⌉ ≥ 2 1 log d + 1 k , the sample complexity in Equation (2) simplifies to
N = O ( d 2 ℓ ε 2 log d δ log ℓ δ ) = O ( d 2 log ( d + 1 ) ε 2 log k log d δ log log k log ( d + 1 ) δ ) = O ( d 2 log d ε 2 log k log 2 d δ ) = O ~ ( d 2 ε 2 log k ) . \begin{aligned}
N&=O\left(\frac{d^2}{\ell\varepsilon^2}\log\frac{d}{\delta}\log\frac{\ell}{\delta}\right)\\
&=O\left(\frac{d^2\log(d+1)}{\varepsilon^2\log k}\log\frac{d}{\delta}\log\frac{\log k}{\log(d+1)\delta}\right)\\
&=O\left(\frac{d^2\log d}{\varepsilon^2\log k}\log^2\frac{d}{\delta}\right)\\
&=\widetilde{O}\left(\frac{d^2}{\varepsilon^2\log k}\right).
\end{aligned} N = O ( ℓ ε 2 d 2 log δ d log δ ℓ ) = O ( ε 2 log k d 2 log ( d + 1 ) log δ d log log ( d + 1 ) δ log k ) = O ( ε 2 log k d 2 log d log 2 δ d ) = O ( ε 2 log k d 2 ) .
In the second last step, we assumed k ≤ 2 d k\le2^d k ≤ 2 d , thus log k log ( d + 1 ) ≤ d \frac{\log k}{\log(d+1)}\le d l o g ( d + 1 ) l o g k ≤ d .
This concludes the proof of Definition 6.13.
Conclusion
Our results establish that the sample complexity of ( d + 1 , ε , δ ) (d+1,\varepsilon,\delta) ( d + 1 , ε , δ ) -list replicable algorithms for the d d d -CoinBiasEstimationProblem is O ~ ( d 2 ε 2 ) \widetilde{O}\left(\frac{d^2}{\varepsilon^2}\right) O ( ε 2 d 2 ) . More generally, we establish a sample complexity bound of O ~ ( d 2 ε 2 log k ) \widetilde{O}\left(\frac{d^2}{\varepsilon^2\log k}\right) O ( ε 2 l o g k d 2 ) for ( k , ε , δ ) (k,\varepsilon,\delta) ( k , ε , δ ) -list replicable algorithms for the d d d -CoinBiasEstimationProblem where k ∈ [ d + 1 , 2 d ] k\in[d+1,2^d] k ∈ [ d + 1 , 2 d ] . Our upper bounds improve the polynomial dependence on d d d from cubic to quadratic compared with [10 VWDP+24] . More generally, our upper and lower bounds determine the sample complexity throughout k ∈ [ d + 1 , 2 d ] k\in[d+1,2^d] k ∈ [ d + 1 , 2 d ] up to polylogarithmic factors.
Open Problems. § 6 exhibits algorithms whose sample complexity for each coin is adaptive in the sense that the sample complexity of each N i N_i N i is not fixed in advance. So the question of whether there exists a non-adaptive algorithm that is ( d + 1 , ε , δ ) (d+1,\varepsilon,\delta) ( d + 1 , ε , δ ) -list replicable for the d d d -CoinBiasEstimationProblem with sample complexity O ~ ( d 2 ε 2 ) \widetilde{O}\left(\frac{d^2}{\varepsilon^2}\right) O ( ε 2 d 2 ) remains open.
Acknowledgements. Vinod is supported in part by NSF awards 2342244, 2413848, and a UNL Grand Challenges Grant. Pavan, Michael, and Atieh are supported by NSF awards 2342245 and 2413849.
AI methodology. We used ChatGPT-6 Astra and Google Gemini 3.6. Specifically, the LLMs helped us identify some of the bounds in § 5.3 and Appendix § 9 , and ideas from LLMs helped us to arrive at the upper results in § 6 . The authors wrote the manuscript with limited assistance from LLMs. We verified the correctness and originality of all content, including the accuracy of the references.
Upper Bound with Fixed Sample Complexity
Capping the Sample Complexity
Let ε , η \varepsilon,\eta ε , η be the same parameters as in Algorithm 1. Define the parameters
M = 1536 d 2 ε 2 ln 2 d m η M = \frac{1536d^2}{\varepsilon^2}\ln\frac{2dm}{\eta} M = ε 2 1536 d 2 ln η 2 d m
B = ⌈ 4 M ⌉ B = \lceil4M\rceil B = ⌈ 4 M ⌉
where m = ⌈ log 2 ( 24 d ) ⌉ m = \lceil\log_2(24d)\rceil m = ⌈ log 2 ( 24 d )⌉ and M M M is the same upper bound on the expected number of samples from Algorithm 1.
Algorithm 2: $(d+1,\varepsilon,O(1))$-List Replicable Algorithm with sample complexity $N=\widetilde{O}\left(\frac{d^2}{\varepsilon^2}\right)$
1. Run {xref}`Algorithm 1` with a cap of $B=\lceil 4M\rceil$ samples;
2. if {xref}`Algorithm 1` needs more than $B$ samples then
3. return $\bot$
4. else
5. return Output of the {xref}`Algorithm 1`
Theorem A.1. Algorithm 2 has the following properties
Pr ( Y = ⊥ ) ≤ 1 2 \Pr(Y=\bot)\le\frac{1}{2} Pr ( Y = ⊥ ) ≤ 2 1 Pr ( Y ∉ L p ∪ { ⊥ } ) ≤ η \Pr(Y\notin L_p\cup\{\bot\})\le\eta Pr ( Y ∈ / L p ∪ { ⊥ }) ≤ η The sample complexity of the algorithm is bounded above by
N ≤ B = ⌈ 4 M ⌉ = O ( d 2 ε 2 log d η ) N\le B=\lceil4M\rceil=O\left(\frac{d^2}{\varepsilon^2}\log\frac{d}{\eta}\right) N ≤ B = ⌈ 4 M ⌉ = O ( ε 2 d 2 log η d )
For Algorithm 2, let N N N be the random variable denoting the total number of samples and Y Y Y be the random variable denoting the output.
Proof. Imagine running both algorithms with the same shift and samples. Their outputs agree whenever the uncapped algorithm uses at most B B B samples. By Definition 6.12 and applying Markov’s Inequality, we get
Pr ( xref‘Algorithm 1‘ requires more than B samples ) ≤ 1 4 \Pr(\text{{xref}`Algorithm 1`} \text{ requires more than }B\text{ samples})\le\frac{1}{4} Pr ( xref ‘Algorithm 1‘ requires more than B samples ) ≤ 4 1
The probability that Algorithm 1 outputs ⊥ \bot ⊥ is at most 1 4 \frac{1}{4} 4 1 , the probability Y = ⊥ Y=\bot Y = ⊥ increases by at most 1 4 \frac{1}{4} 4 1 when the algorithm requires more than B B B samples. Thus we have
Pr ( Y = ⊥ ) ≤ 1 4 + 1 4 ≤ 1 2 \Pr(Y=\bot)\le\frac{1}{4}+\frac{1}{4}\le\frac{1}{2} Pr ( Y = ⊥ ) ≤ 4 1 + 4 1 ≤ 2 1
Let N N N be the sample complexity of Algorithm 2. We cap the algorithm’s sample complexity bound at ⌈ 4 M ⌉ \lceil4M\rceil ⌈ 4 M ⌉ , so trivially N ≤ ⌈ 4 M ⌉ N\le\lceil4M\rceil N ≤ ⌈ 4 M ⌉ always holds. This cap can only change outputs from R d \mathbb{R}^{d} R d to ⊥ \bot ⊥ , but not the other way around. So the following still holds
Pr ( Y ∉ L p ∪ { ⊥ } ) ≤ η \Pr(Y\notin L_p\cup\{\bot\})\le\eta Pr ( Y ∈ / L p ∪ { ⊥ }) ≤ η
Boosting the Success Probability
Define the parameters
ε ∈ ( 0 , 1 ) \varepsilon\in(0,1) ε ∈ ( 0 , 1 )
δ ∈ ( 0 , 1 / 2 ) \delta\in(0,1/2) δ ∈ ( 0 , 1/2 )
T = ⌈ log 2 2 δ ⌉ T=\left\lceil\log_2\frac{2}{\delta}\right\rceil T = ⌈ log 2 δ 2 ⌉
η = δ 4 \eta=\frac{\delta}{4} η = 4 δ
So that η ∈ ( 0 , 1 / 8 ] \eta\in(0,1/8] η ∈ ( 0 , 1/8 ] . A single execution of Algorithm 2 may return ⊥ \bot ⊥ , so we run the same algorithm independently up to T T T times till it produces an element of R d \mathbb{R}^{d} R d . We return the first non-⊥ \bot ⊥ output, and return ⊥ \bot ⊥ only if all T T T attempts do so.
Algorithm 3 outputs ⊥ \bot ⊥ only if all T T T instances output ⊥ \bot ⊥ , which happens with probability at most 2 − T ≤ δ / 2 2^{-T}\le\delta/2 2 − T ≤ δ /2 . Each instance returns a valid member of R d \mathbb{R}^{d} R d with probability at least 1 / 2 1/2 1/2 and returns a vector outside L p L_p L p with probability at most η \eta η . Thus, among its non-⊥ \bot ⊥ outputs, the probability of being outside the list is at most 2 η = δ / 2 2\eta=\delta/2 2 η = δ /2 . Therefore, the probability of returning ⊥ \bot ⊥ or a vector outside the list is at most δ \delta δ . We now prove the correctness and sample complexity bound of this algorithm formally.
Algorithm 3: ( d + 1 , ε , δ ) (d+1,\varepsilon,\delta) ( d + 1 , ε , δ ) -List Replicable Algorithm with sample complexity N = O ~ ( d 2 ε 2 ) N=\widetilde{O}\left(\frac{d^2}{\varepsilon^2}\right) N = O ( ε 2 d 2 )
for t = 1 , … , T t=1,\ldots,T t = 1 , … , T do
Run an i.i.d. instance of Algorithm 2 with ε \varepsilon ε , η = δ 4 \eta=\frac{\delta}{4} η = 4 δ
Let Y t Y_t Y t be its output
if Y t ≠ ⊥ Y_t\ne\perp Y t = ⊥ then
return Y t Y_t Y t
return ⊥ \perp ⊥
Theorem A.2. Algorithm 3 is ( d + 1 , ε , δ ) (d+1,\varepsilon,\delta) ( d + 1 , ε , δ ) -list replicable with list L p \mathcal{L}_{\mathbf{p}} L p , i.e.,
Pr ( Y ∈ L p ) ≥ 1 − δ \Pr(Y\in\mathcal{L}_{\mathbf{p}})\ge1-\delta Pr ( Y ∈ L p ) ≥ 1 − δ where L p = { R u ( p ) ∣ u ∈ [ 0 , ε ) } \mathcal{L}_{\mathbf{p}}=\{R_u(\mathbf{p})\mid u\in[0,\varepsilon)\} L p = { R u ( p ) ∣ u ∈ [ 0 , ε )} satisfies ∣ L p ∣ ≤ d + 1 |\mathcal{L}_{\mathbf{p}}|\le d+1 ∣ L p ∣ ≤ d + 1 and each y ∈ L p \mathbf{y}\in\mathcal{L}_{\mathbf{p}} y ∈ L p satisfies ∥ y − p ∥ ∞ < ε \lVert\mathbf{y}-\mathbf{p}\rVert_{\infty}<\varepsilon ∥ y − p ∥ ∞ < ε .
The sample complexity of the algorithm is bounded above by
N ≤ B T = O ( d 2 ε 2 log d δ log 1 δ ) N\le BT=O\left(\frac{d^2}{\varepsilon^2}\log\frac{d}{\delta}\log\frac{1}{\delta}\right) N ≤ B T = O ( ε 2 d 2 log δ d log δ 1 )
Proof. The two properties of L p \mathcal{L}_{\mathbf{p}} L p follow directly from Definition 6.7. We prove the remaining properties. For simplicity of analysis, we imagine generating all T T T independent instances Y 1 , … , Y T Y_1,\ldots,Y_T Y 1 , … , Y T , the algorithm returns the first non-⊥ \perp ⊥ output.
Let K K K be the random variable denoting the first index t t t for which Y t ≠ ⊥ Y_t\ne\perp Y t = ⊥ ; if it doesn’t exist, then K = ∞ K=\infty K = ∞ . By using properties of Algorithm 2, note that for any t ∈ [ T ] t\in[T] t ∈ [ T ]
Pr ( Y ∉ L p ∣ K = t ) = Pr ( Y t ∉ L p ∣ Y t ≠ ⊥ ) = Pr ( Y t ∉ L p ∪ { ⊥ } ) Pr ( Y t ≠ ⊥ ) ≤ 2 Pr ( Y t ∉ L p ∪ { ⊥ } ) ( Pr ( Y t ≠ ⊥ ) ≥ 1 2 ) ≤ 2 η ( Pr ( Y t ∉ L p ∪ { ⊥ } ) ≤ η ) ≤ δ 2 . \begin{aligned}
\Pr(Y\notin\mathcal{L}_{\mathbf{p}}\mid K=t)&=\Pr(Y_t\notin\mathcal{L}_{\mathbf{p}}\mid Y_t\ne\perp)\\
&=\frac{\Pr(Y_t\notin\mathcal{L}_{\mathbf{p}}\cup\{\perp\})}{\Pr(Y_t\ne\perp)}\\
&\le2\Pr(Y_t\notin\mathcal{L}_{\mathbf{p}}\cup\{\perp\}) \qquad\left(\Pr(Y_t\ne\perp)\ge\frac{1}{2}\right)\\
&\le2\eta\qquad\left(\Pr(Y_t\notin\mathcal{L}_{\mathbf{p}}\cup\{\perp\})\le\eta\right)\\
&\le\frac{\delta}{2}.
\end{aligned} Pr ( Y ∈ / L p ∣ K = t ) = Pr ( Y t ∈ / L p ∣ Y t = ⊥ ) = Pr ( Y t = ⊥ ) Pr ( Y t ∈ / L p ∪ { ⊥ }) ≤ 2 Pr ( Y t ∈ / L p ∪ { ⊥ }) ( Pr ( Y t = ⊥ ) ≥ 2 1 ) ≤ 2 η ( Pr ( Y t ∈ / L p ∪ { ⊥ }) ≤ η ) ≤ 2 δ .
And by independence we have
Pr ( K = ∞ ) = Pr ( Y 1 = ⊥ , … , Y T = ⊥ ) = ∏ t = 1 T Pr ( Y t = ⊥ ) ≤ ( 1 2 ) T ≤ δ 2 . \begin{aligned}
\Pr(K=\infty)&=\Pr(Y_1=\perp,\ldots,Y_T=\perp)\\
&=\prod_{t=1}^{T}\Pr(Y_t=\perp)\\
&\le\left(\frac{1}{2}\right)^T\\
&\le\frac{\delta}{2}.
\end{aligned} Pr ( K = ∞ ) = Pr ( Y 1 =⊥ , … , Y T =⊥ ) = t = 1 ∏ T Pr ( Y t =⊥ ) ≤ ( 2 1 ) T ≤ 2 δ .
And finally
Pr ( Y ∉ L p ) = Pr ( Y ∉ L p , K = ∞ ) + ∑ t = 1 T Pr ( Y ∉ L p , K = t ) = Pr ( K = ∞ ) + ∑ t = 1 T Pr ( Y ∉ L p ∣ K = t ) Pr ( K = t ) ≤ Pr ( K = ∞ ) + δ 2 ∑ t = 1 T Pr ( K = t ) ≤ δ 2 + δ 2 ⋅ 1 ≤ δ \begin{aligned}
\Pr(Y \notin\mathcal{L}_p) &= \Pr(Y \notin\mathcal{L}_p, K = \infty) + \sum_{t=1}^{T} \Pr(Y \notin\mathcal{L}_p, K = t) \\
&= \Pr(K = \infty) + \sum_{t=1}^{T} \Pr(Y \notin\mathcal{L}_p \mid K = t)\Pr(K = t) \\
&\le\Pr(K = \infty) + \frac{\delta}{2}\sum_{t=1}^{T}\Pr(K = t) \\
&\le\frac{\delta}{2} + \frac{\delta}{2}\cdot1 \\
&\le\delta
\end{aligned} Pr ( Y ∈ / L p ) = Pr ( Y ∈ / L p , K = ∞ ) + t = 1 ∑ T Pr ( Y ∈ / L p , K = t ) = Pr ( K = ∞ ) + t = 1 ∑ T Pr ( Y ∈ / L p ∣ K = t ) Pr ( K = t ) ≤ Pr ( K = ∞ ) + 2 δ t = 1 ∑ T Pr ( K = t ) ≤ 2 δ + 2 δ ⋅ 1 ≤ δ
Each attempt uses at most B = ⌈ 4 M ⌉ B = \lceil4M\rceil B = ⌈ 4 M ⌉ tosses, and there are at most T T T attempts. Substituting η = δ 4 \eta= \frac{\delta}{4} η = 4 δ in the expression of B B B , the total sample count is bounded by
N ≤ B T = O ( d 2 ε 2 log 4 d δ ) [ log 2 2 δ ] = O ( d 2 ε 2 log d δ log 1 δ ) \begin{aligned}
N &\le BT \\
&= O\left(\frac{d^2}{\varepsilon^2}\log\frac{4d}{\delta}\right)\left[\log_2\frac{2}{\delta}\right] \\
&= O\left(\frac{d^2}{\varepsilon^2}\log\frac{d}{\delta}\log\frac{1}{\delta}\right)
\end{aligned} N ≤ B T = O ( ε 2 d 2 log δ 4 d ) [ log 2 δ 2 ] = O ( ε 2 d 2 log δ d log δ 1 )
General Lower Bound
In this section, we prove the lower bound result for arbitrary algorithms.
Theorem B.1 (Definition 5.7 Restated). Let ε , δ ∈ ( 0 , 1 / 8 ) \varepsilon, \delta\in(0,1/8) ε , δ ∈ ( 0 , 1/8 ) . For sufficiently large d ∈ N d \in\mathbb{N} d ∈ N , every ( d + 1 , ε , δ ) (d+1,\varepsilon,\delta) ( d + 1 , ε , δ ) -list replicable algorithm for the d-CoinBiasEstimationProblem requires N = Ω ( d 2 ε 2 log d ) N = \Omega\left(\frac{d^2}{\varepsilon^2 \log d}\right) N = Ω ( ε 2 l o g d d 2 ) samples.
Let A \mathcal{A} A be a randomized sampling-based algorithm that draws N N N samples from d d d coins with unknown bias and is ( d + 1 , ε , δ ) (d+1,\varepsilon,\delta) ( d + 1 , ε , δ ) -list replicable. The algorithm may choose which coin to toss based on its internal randomness and previous outcomes. Let Y Y Y be the random variable denoting the algorithm’s output, which belongs to the set Y \mathcal{Y} Y . Let W W W be the random variable denoting the algorithm’s internal randomness. Let H 0 = W H_0 = W H 0 = W and for t ∈ [ N ] t \in[N] t ∈ [ N ] we define the following random variables
I t = Coin selected at time t X t = Outcome of the toss at time t H t = ( W , I 1 , X 1 , … , I t , X t ) \begin{aligned}
I_t &= \text{Coin selected at time }t \\
X_t &= \text{Outcome of the toss at time }t \\
H_t &= (W,I_1,X_1,\ldots,I_t,X_t)
\end{aligned} I t X t H t = Coin selected at time t = Outcome of the toss at time t = ( W , I 1 , X 1 , … , I t , X t )
where H t H_t H t denotes the history till time t t t , the choice I t I_t I t only depends on H t − 1 H_{t-1} H t − 1 .
For a bias vector p ∈ [ 0 , 1 ] d \mathbf{p} \in[0,1]^d p ∈ [ 0 , 1 ] d , along with the distribution on W W W (which is independent of each coin), we let P P P denote the probability distribution on the full transcript H N = ( W , I 1 , X 1 , … , I N , X N ) H_N = (W,I_1,X_1,\ldots,I_N,X_N) H N = ( W , I 1 , X 1 , … , I N , X N ) when the coins have bias p \mathbf{p} p . Furthermore, for t ∈ [ N ] t \in[N] t ∈ [ N ] we let P t P_t P t be distribution on H t = ( W , I 1 , X 1 , … , I t , X t ) H_t = (W,I_1,X_1,\ldots,I_t,X_t) H t = ( W , I 1 , X 1 , … , I t , X t ) when the coins have bias p \mathbf{p} p , noting that P N = P P_N = P P N = P .
Similarly, for q ∈ [ 0 , 1 ] d \mathbf{q} \in[0,1]^d q ∈ [ 0 , 1 ] d we let Q Q Q denote the distribution on the full transcript induced when the coins have bias q \mathbf{q} q and for t ∈ [ N ] t \in[N] t ∈ [ N ] , we let Q t Q_t Q t be the distribution on H t = ( W , I 1 , X 1 , … , I t , X t ) H_t = (W,I_1,X_1,\ldots,I_t,X_t) H t = ( W , I 1 , X 1 , … , I t , X t ) when the coins have bias q \mathbf{q} q .
Because A \mathcal{A} A is ( d + 1 , ε , δ ) (d+1,\varepsilon,\delta) ( d + 1 , ε , δ ) -list replicable, for each p ∈ [ 0 , 1 ] d \mathbf{p} \in[0,1]^d p ∈ [ 0 , 1 ] d there exists a set L p ⊆ Y \mathcal{L}_{\mathbf{p}} \subseteq\mathcal{Y} L p ⊆ Y of size ∣ L p ∣ ≤ d + 1 |\mathcal{L}_{\mathbf{p}}| \le d+1 ∣ L p ∣ ≤ d + 1 such that each y ∈ L p \mathbf{y} \in\mathcal{L}_{\mathbf{p}} y ∈ L p it holds that ∥ p − y ∥ ∞ ≤ ε \|\mathbf{p}-\mathbf{y}\|_\infty\le\varepsilon ∥ p − y ∥ ∞ ≤ ε and
Pr ( Y ∈ L p ) ≥ 1 − δ \Pr(Y \in\mathcal{L}_{\mathbf{p}}) \ge1-\delta Pr ( Y ∈ L p ) ≥ 1 − δ
Lemma B.2. Let p , q ∈ [ 0 , 1 ] d \mathbf{p},\mathbf{q} \in[0,1]^d p , q ∈ [ 0 , 1 ] d . If 1 4 ≤ p ≤ 3 4 \frac{1}{4} \le\mathbf{p} \le\frac{3}{4} 4 1 ≤ p ≤ 4 3 then E P [ ( d Q d P ) 2 ] ≤ e 16 3 N ∥ p − q ∥ ∞ 2 \mathbb{E}_P\left[\left(\frac{dQ}{dP}\right)^2\right] \le e^{\frac{16}{3}N\|\mathbf{p}-\mathbf{q}\|_\infty^2} E P [ ( d P d Q ) 2 ] ≤ e 3 16 N ∥ p − q ∥ ∞ 2 Proof. Define Λ 0 ≡ 1 \Lambda_0 \equiv1 Λ 0 ≡ 1 and, for t ∈ [ N ] t \in[N] t ∈ [ N ] , define
Λ t = d Q t d P t \Lambda_t = \frac{dQ_t}{dP_t} Λ t = d P t d Q t
and let π t ( i ∣ H t − 1 ) \pi_t(i \mid H_{t-1}) π t ( i ∣ H t − 1 ) denote the algorithm’s probability of choosing coin i ∈ [ d ] i \in[d] i ∈ [ d ] at time t t t , given the history H t − 1 H_{t-1} H t − 1 up until that point. Conditioned on H t − 1 H_{t-1} H t − 1 , both I t I_t I t and Λ t − 1 ( H t − 1 ) \Lambda_{t-1}(H_{t-1}) Λ t − 1 ( H t − 1 ) are fixed. Since the algorithm uses the same policy π t \pi_t π t , we have
Pr P ( I t = i ∣ H t − 1 ) = π t ( i ∣ H t − 1 ) = Pr Q ( I t = i ∣ H t − 1 ) \Pr_P(I_t = i \mid H_{t-1}) = \pi_t(i \mid H_{t-1}) = \Pr_Q(I_t = i \mid H_{t-1}) P Pr ( I t = i ∣ H t − 1 ) = π t ( i ∣ H t − 1 ) = Q Pr ( I t = i ∣ H t − 1 )
Because by definition, the algorithm’s tosses can only depend on what it has seen so far. For any t ∈ [ N ] t \in[N] t ∈ [ N ] , we have
Λ t ( H t ) = Λ t − 1 ( H t − 1 ) π t ( I t ∣ H t − 1 ) ⋅ q I t X t ( 1 − q I t ) 1 − X t π t ( I t ∣ H t − 1 ) ⋅ p I t X t ( 1 − p I t ) 1 − X t = Λ t − 1 ( H t − 1 ) q I t X t ( 1 − q I t ) 1 − X t p I t X t ( 1 − p I t ) 1 − X t = { Λ t − 1 ( H t − 1 ) q I t p I t if X t = 1 Λ t − 1 ( H t − 1 ) 1 − q I t 1 − p I t if X t = 0 \begin{aligned}
\Lambda_t(H_t)
&= \Lambda_{t-1}(H_{t-1}) \frac{\pi_t(I_t \mid H_{t-1}) \cdot q_{I_t}^{X_t}(1-q_{I_t})^{1-X_t}}{\pi_t(I_t \mid H_{t-1}) \cdot p_{I_t}^{X_t}(1-p_{I_t})^{1-X_t}} \\
&= \Lambda_{t-1}(H_{t-1}) \frac{q_{I_t}^{X_t}(1-q_{I_t})^{1-X_t}}{p_{I_t}^{X_t}(1-p_{I_t})^{1-X_t}} \\
&= \begin{cases}
\Lambda_{t-1}(H_{t-1})\dfrac{q_{I_t}}{p_{I_t}} & \text{if } X_t = 1 \\
\Lambda_{t-1}(H_{t-1})\dfrac{1-q_{I_t}}{1-p_{I_t}} & \text{if } X_t = 0
\end{cases}
\end{aligned} Λ t ( H t ) = Λ t − 1 ( H t − 1 ) π t ( I t ∣ H t − 1 ) ⋅ p I t X t ( 1 − p I t ) 1 − X t π t ( I t ∣ H t − 1 ) ⋅ q I t X t ( 1 − q I t ) 1 − X t = Λ t − 1 ( H t − 1 ) p I t X t ( 1 − p I t ) 1 − X t q I t X t ( 1 − q I t ) 1 − X t = ⎩ ⎨ ⎧ Λ t − 1 ( H t − 1 ) p I t q I t Λ t − 1 ( H t − 1 ) 1 − p I t 1 − q I t if X t = 1 if X t = 0
Observe the recurrence
E P [ Λ t 2 ( H t ) ∣ H t − 1 ] = p I t ⋅ ( Λ t − 1 ( H t − 1 ) q I t p I t ) 2 + ( 1 − p I t ) ⋅ ( Λ t − 1 ( H t − 1 ) 1 − q I t 1 − p I t ) 2 = Λ t − 1 2 ( H t − 1 ) ( q I t 2 p I t + ( 1 − q I t ) 2 1 − p I t ) = Λ t − 1 2 ( H t − 1 ) ( 1 + ( p I t − q I t ) 2 p I t ( 1 − p I t ) ) ≤ Λ t − 1 2 ( H t − 1 ) e 16 3 ∥ p − q ∥ ∞ 2 . \begin{aligned}
\mathbb{E}_P[\Lambda_t^2(H_t) \mid H_{t-1}]
&= p_{I_t} \cdot\left(\Lambda_{t-1}(H_{t-1})\frac{q_{I_t}}{p_{I_t}}\right)^2
+ (1-p_{I_t}) \cdot\left(\Lambda_{t-1}(H_{t-1})\frac{1-q_{I_t}}{1-p_{I_t}}\right)^2 \\
&= \Lambda_{t-1}^2(H_{t-1})\left(\frac{q_{I_t}^2}{p_{I_t}}+\frac{(1-q_{I_t})^2}{1-p_{I_t}}\right) \\
&= \Lambda_{t-1}^2(H_{t-1})\left(1+\frac{(p_{I_t}-q_{I_t})^2}{p_{I_t}(1-p_{I_t})}\right) \\
&\leq\Lambda_{t-1}^2(H_{t-1})e^{\frac{16}{3}\lVert p-q\rVert_\infty^2}.
\end{aligned} E P [ Λ t 2 ( H t ) ∣ H t − 1 ] = p I t ⋅ ( Λ t − 1 ( H t − 1 ) p I t q I t ) 2 + ( 1 − p I t ) ⋅ ( Λ t − 1 ( H t − 1 ) 1 − p I t 1 − q I t ) 2 = Λ t − 1 2 ( H t − 1 ) ( p I t q I t 2 + 1 − p I t ( 1 − q I t ) 2 ) = Λ t − 1 2 ( H t − 1 ) ( 1 + p I t ( 1 − p I t ) ( p I t − q I t ) 2 ) ≤ Λ t − 1 2 ( H t − 1 ) e 3 16 ∥ p − q ∥ ∞ 2 .
The last three steps can be obtained by using a similar analysis to Definition 5.4. Finally, averaging over all possible histories and using the law of total expectation, we have
E P [ Λ t 2 ( H t ) ] = E P [ E P [ Λ t 2 ( H t ) ∣ H t − 1 ] ] ≤ E P [ Λ t − 1 2 ( H t − 1 ) ] e 16 3 ∥ p − q ∥ ∞ 2 . \begin{aligned}
\mathbb{E}_P[\Lambda_t^2(H_t)]
&= \mathbb{E}_P[\mathbb{E}_P[\Lambda_t^2(H_t) \mid H_{t-1}]] \\
&\leq\mathbb{E}_P[\Lambda_{t-1}^2(H_{t-1})]e^{\frac{16}{3}\lVert p-q\rVert_\infty^2}.
\end{aligned} E P [ Λ t 2 ( H t )] = E P [ E P [ Λ t 2 ( H t ) ∣ H t − 1 ]] ≤ E P [ Λ t − 1 2 ( H t − 1 )] e 3 16 ∥ p − q ∥ ∞ 2 .
A routine induction on t t t shows that
E P [ ( d Q d P ) 2 ] = E P [ Λ N 2 ( H N ) ] ≤ E P [ Λ 0 2 ( H 0 ) ] ∏ i = 1 N e 16 3 ∥ p − q ∥ ∞ 2 = 1 ⋅ e ∑ i = 1 N 16 3 ∥ p − q ∥ ∞ 2 = e 16 3 N ∥ p − q ∥ ∞ 2 . \begin{aligned}
\mathbb{E}_P\left[\left(\frac{dQ}{dP}\right)^2\right]
&= \mathbb{E}_P[\Lambda_N^2(H_N)] \\
&\leq\mathbb{E}_P[\Lambda_0^2(H_0)]\prod_{i=1}^{N}e^{\frac{16}{3}\lVert p-q\rVert_\infty^2} \\
&= 1 \cdot e^{\sum_{i=1}^{N}\frac{16}{3}\lVert p-q\rVert_\infty^2} \\
&= e^{\frac{16}{3}N\lVert p-q\rVert_\infty^2}.
\end{aligned} E P [ ( d P d Q ) 2 ] = E P [ Λ N 2 ( H N )] ≤ E P [ Λ 0 2 ( H 0 )] i = 1 ∏ N e 3 16 ∥ p − q ∥ ∞ 2 = 1 ⋅ e ∑ i = 1 N 3 16 ∥ p − q ∥ ∞ 2 = e 3 16 N ∥ p − q ∥ ∞ 2 .
The remaining analysis is identical to § 5.4 . Use A \mathcal{A} A to color R = [ 1 2 − 2 ε , 1 2 + 2 ε ] d ⊆ [ 1 4 , 3 4 ] d \mathcal{R} = [\frac{1}{2}-2\varepsilon,\frac{1}{2}+2\varepsilon]^d \subseteq[\frac{1}{4},\frac{3}{4}]^d R = [ 2 1 − 2 ε , 2 1 + 2 ε ] d ⊆ [ 4 1 , 4 3 ] d with the most likely output, i.e., define the coloring χ : R → Y \chi:\mathcal{R} \to\mathcal{Y} χ : R → Y as
χ ( p ) = arg max y ∈ L p Pr P ( Y = y ) \chi(p) = \underset{y \in L_p}{\arg\max}\Pr_P(Y=y) χ ( p ) = y ∈ L p arg max P Pr ( Y = y )
where ties are broken according to a fixed rule. Since χ \chi χ is a valid Sperner/KKM coloring, the Neighborhood Sperner/KKM, Definition 5.2, applies. Similar to the analysis from Definition 5.10, we get
16 3 N r 2 ≥ d r 10 ε − 2 ln ( 2 ( d + 1 ) ) \frac{16}{3}Nr^2 \ge\frac{dr}{10\varepsilon} - 2\ln(2(d+1)) 3 16 N r 2 ≥ 10 ε d r − 2 ln ( 2 ( d + 1 ))
Picking r = 40 ε d ln ( 2 ( d + 1 ) ) r=\frac{40\varepsilon}{d}\ln(2(d+1)) r = d 40 ε ln ( 2 ( d + 1 )) , for sufficiently large d d d , we again get
N ≥ 3 12800 ⋅ d 2 ε 2 ln ( 2 ( d + 1 ) ) = Ω ( d 2 ε 2 log d ) N \ge\frac{3}{12800}\cdot\frac{d^2}{\varepsilon^2\ln(2(d+1))}=\Omega\left(\frac{d^2}{\varepsilon^2\log d}\right) N ≥ 12800 3 ⋅ ε 2 ln ( 2 ( d + 1 )) d 2 = Ω ( ε 2 log d d 2 )
We can again generalize this result to lists of size k k k for arbitrary randomized algorithms.
Theorem B.3 (Definition 5.11 Restated). Let ε , δ ∈ ( 0 , 1 / 8 ) \varepsilon,\delta\in(0,1/8) ε , δ ∈ ( 0 , 1/8 ) and d , k ∈ N d,k\in\mathbb{N} d , k ∈ N . If k ∈ [ d + 1 , 2 d ] k\in[d+1,2^d] k ∈ [ d + 1 , 2 d ] then every ( k , ε , δ ) (k,\varepsilon,\delta) ( k , ε , δ ) -list replicable algorithm for the d-CoinBiasEstimationProblem requires N = Ω ( d 2 ε 2 log k ) N=\Omega\left(\frac{d^2}{\varepsilon^2\log k}\right) N = Ω ( ε 2 l o g k d 2 ) samples.
The argument is the same; the main bound that changes is
Pr P ( Y = y p ) ≥ 1 − δ ∣ L p ∣ ≥ 7 8 k ≥ 1 2 k = : β \Pr_P(Y=\mathbf{y}_p)\ge\frac{1-\delta}{|L_p|}\ge\frac{7}{8k}\ge\frac{1}{2k}=:\beta P Pr ( Y = y p ) ≥ ∣ L p ∣ 1 − δ ≥ 8 k 7 ≥ 2 k 1 =: β
Definition 5.10 now becomes
16 3 N r 2 ≥ d r 10 ε − 2 ln ( 2 k ) \frac{16}{3}Nr^2\ge\frac{dr}{10\varepsilon}-2\ln(2k) 3 16 N r 2 ≥ 10 ε d r − 2 ln ( 2 k )
If k ≤ 1 2 e d 20 k\le\frac{1}{2}e^{\frac{d}{20}} k ≤ 2 1 e 20 d then our choice r : = 40 ε d ln ( 2 k ) ≤ 2 ε r:=\frac{40\varepsilon}{d}\ln(2k)\le2\varepsilon r := d 40 ε ln ( 2 k ) ≤ 2 ε holds and therefore
N ≥ 3 12800 ⋅ d 2 ε 2 ln ( 2 k ) = Ω ( d 2 ε 2 log k ) N\ge\frac{3}{12800}\cdot\frac{d^2}{\varepsilon^2\ln(2k)}=\Omega\left(\frac{d^2}{\varepsilon^2\log k}\right) N ≥ 12800 3 ⋅ ε 2 ln ( 2 k ) d 2 = Ω ( ε 2 log k d 2 )
For k > 1 2 e d 20 k>\frac{1}{2}e^{\frac{d}{20}} k > 2 1 e 20 d , every ( k , ε , δ ) (k,\varepsilon,\delta) ( k , ε , δ ) -list replicable algorithm also solves the ( d , ε , δ ) (d,\varepsilon,\delta) ( d , ε , δ ) -CoinBiasEstimationProblem. Using Definition 3.2 gives
N = Ω ( d ε 2 ) = Ω ( d 2 ε 2 log k ) N=\Omega\left(\frac{d}{\varepsilon^2}\right)=\Omega\left(\frac{d^2}{\varepsilon^2\log k}\right) N = Ω ( ε 2 d ) = Ω ( ε 2 log k d 2 )
The last bound was by using the fact that k > 1 2 e d 20 k>\frac{1}{2}e^{\frac{d}{20}} k > 2 1 e 20 d .