We study the sample complexity of list replicable algorithms for estimating the biases of d coins. An algorithm is (k,ε,δ)-list replicable if for every bias vector p∈[0,1]d, there is a set of outputs Lp⊆Rd of at most k elements such that every y∈Lp satisfies ∥y−p∥∞≤ε, and the algorithm output is in Lp with probability at least 1−δ. Prior work gave a (d+1,ε,δ)-list replicable algorithm with sample complexity O(ε2d3), but no nontrivial sample complexity lower bound was known.
We establish the first non-trivial sample complexity lower bound for this problem and give an improved algorithm that matches it up to polylogarithmic factors. Together, these results determine the optimal sample complexity for list size d+1 to be Θ(ε2d2), showing that the quadratic dependence on dimension is inherent up to polylogarithmic factors. More generally, for every k∈[d+1,2d], we establish matching upper and lower bounds of Θ(ε2logkd2) on the total sample complexity.
1 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 ρ-replicability, and the works of [DPVWV23] and [CMY23] 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-COINBIASESTIMATIONPROBLEM: given sample access to d coins with unknown biases, estimate every bias to within additive error ε. The 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 [DPVWV23, CMY23] algorithms for d-COINBIASESTIMATIONPROBLEM. Informally, an algorithm is k-list replicable if, given sample access to an unknown distribution D, it outputs with high probability an element of a set LD containing at most k correct answers. This captures replicability by restricting outputs to a small set that depends only on D, not on the observed samples; smaller k gives a stronger guarantee. Ideally, we want the list size to be k=1. However, as observed in [DPVWV23], such a strong notion of replicability is impossible even for the case of single coin bias estimation.
For the d-COINBIASESTIMATIONPROBLEM, it is known that there is no d-list replicable algorithm, but there is a (d+1)-list replicable algorithm [DPVWV23]. The (d+1)-list replicable algorithm obtains a 2dε-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)-list replicable algorithm is O(ε2d3). Note that if we do not require replicability, then there is a straightforward algorithm whose sample complexity is only O(ε2d): toss each coin Θ(ε21) times to obtain an ε-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 coins with ℓ∞ error at most ε in a (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-COINBIASESTIMATIONPROBLEM is Θ(ε2d2). In particular, our upper bound improves the polynomial dependence on d from cubic to quadratic [DPVWV23], 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 increase in sample complexity, up to polylogarithmic factors.
We generalize this result to arbitrary k∈[d+1,2d], by showing that the sample complexity of k-list replicable algorithms for the problem is Θ(ε2logkd2).
2 Related Works
List replicability. List replicability was introduced independently in [DPVWV23, CMY23], in the contexts of coin bias estimation and PAC learning. The works most closely related to ours are [DPVWV23, 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,ε,δ)-list replicable algorithm for d-COINBIASESTIMATIONPROBLEM with sample complexity O(ε2d3), 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 [BHH+26], multi-armed bandits [CPV+25], and reinforcement learning [ZCP+25].
ρ-replicability. The notion of ρ-replicability was introduced in [ILPS22]. Here, a learning algorithm observes samples from a distribution and has internal randomness. An algorithm is ρ-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−ρ. 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 [EKK+23, DGSB26], and reinforcement learning [EHKS23]. Of particular relevance, [HIK+24] establishes nearly matching sample complexity bounds for high-dimensional mean estimation under ℓ2 and ℓ∞ error. For d-COINBIASESTIMATIONPROBLEM, these results imply a lower bound of Ω(ε2ρ2d2) total coin tosses for nonadaptive algorithms, with a matching upper bound up to polylogarithmic factors in the relevant parameter regime. While ρ-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 [BLM20] 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 [CMY23]. For a broad class of statistical problems, [BGH+23] 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 [DPVWV23], 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 [GG11] and further developed in [GGR13]. A randomized algorithm A is pseudodeterministic if for every input x, there is a canonical value cx such that A on input x outputs cx with high probability. Multi-pseudodeterminism [Gol25] relaxes this requirement by allowing a small set of canonical answers: for every x, there is a canonical list Lx such that the output of A on input x belongs to Lx with high probability. If the list Lx is of size at most k, then A is a 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 [GL19]. Let A be a randomized algorithm that uses m random bits. Separate the randomness into two parts rs, where ∣r∣=ℓ and ∣s∣=m−ℓ. The algorithm A is ℓ-bit influential if for every input x, and for most choices of ℓ-bit strings r, there is a canonical value cx,r such that A(x,rs)=cx,r occurs with high probability when s is randomly chosen. The notion of pseudodeterminism has been investigated in streaming algorithms [GGMW20, BKKS23, GGS23, CCPV25], communication complexity [BHH+26, GHR+26], and complexity theory, including connections to probabilistic time, promise problems, and pseudodeterministic constructions [LOS21, DPWV22, CLO+26].
3 Preliminaries
3.1 Notation
We use bold lowercase letters to denote vectors p,q,x,y. We index them using their non-bold counterpart, e.g., p=(p1,…,pd). We say p^ is ε-close to p to denote the condition ∥p^−p∥∞≤ε. The condition p≤q means pointwise ≤, i.e., ∀i,pi≤qi. And when we say p≤43 we mean ∀i,pi≤43. For a vector p∈Rd and radius r>0, we use B∞∘(r,p) to denote an open ball of radius r with respect to ℓ∞ distance, i.e., B∞∘(r,p)={q∈Rd:∥p−q∥∞<r}. For n∈N we let [n]={1,…,n} and for a,b∈R we use [a,b], (a,b), [a,b], and (a,b] to represent the closed, open intervals, and their corresponding half-open intervals, respectively. We use O(⋅), Ω(⋅), Θ(⋅) to subsume polylogarithmic factors, while keeping the dependence on the list size k explicit.
For distributions P,Q on the same measurable space, we use dPdQ to denote the Radon-Nikodym derivative; e.g., if P,Q are discrete distributions on X then for all x∈X, it holds that dP^dQ(x)=P^(x)Q(x), i.e., it is simply the ratio of their probability mass functions. We use Q≪P to denote the condition that for all measurable sets A, if P(A)=0 then Q(A)=0.
3.2 Sampling Algorithms
We work in the sampling model and consider randomized algorithms that have sample access to d∈N coins with unknown bias vector p=(p1,…,pd)∈[0,1]d. At each stage, an algorithm A may choose a coin index I∈[d] based on its internal randomness, previous coin choices, and outcomes. Conditioned on the choice I, the algorithm receives an outcome X∼Bern(pI) that is independent of the algorithm's history. For i∈[d], we use Ni to denote the sample complexity of the ith coin, i.e., Ni is the number of times coin i was tossed. We let N=∑i=1dNi denote the total number of samples the algorithm has used across all d coins. We use Y to denote the output of the algorithm. To refer to this model, we say A has sample access to coins with unknown biases p∈[0,1]d.
Our main focus will be on the d-COINBIASESTIMATIONPROBLEM problem defined as follows.
Definition 3.1 ((d, ε, δ)-COINBIASESTIMATIONPROBLEM). Let d∈N and ε,δ>0. Given sample access to d coins with unknown biases p=(p1,…,pd)∈[0,1]d, the goal is to output an estimate p^∈Rd such that
Pr(∥p^−p∥∞≤ε)≥1−δ
The randomness is over coin tosses and the algorithm's internal randomness.
An upper bound for the (d,ε,δ)-COINBIASESTIMATIONPROBLEM follows directly from Chernoff Bound: sampling each coin Θ(ε21) times and outputting the empirical means gives a total sample complexity of O(ε2d). We state a corresponding lower bound. Interested readers may see [KCG16, Sca24].
Lemma 3.2. Let ε,δ∈(0,81). Every algorithm for the (d,ε,δ)-COINBIASESTIMATIONPROBLEM requires N=Ω(ε2d) samples.
We often drop (ε,δ) from the notation when they are clear from context and simply refer to it as d-COINBIASESTIMATIONPROBLEM.
3.3 List Replicable Algorithms
We now define the notion of list replicability in the context of d-COINBIASESTIMATIONPROBLEM [DPVWV23].
Definition 3.3. Let k,d∈N and ε,δ>0. An algorithm A is (k,ε,δ)-list replicable for the d-COINBIASESTIMATIONPROBLEM if for each bias vector p=(p1,…,pd)∈[0,1]d there exists a set of outputs Lp such that
∣Lp∣≤k
∀y∈Lp.∥y−p∥∞≤ε
Pr(Y∈Lp)≥1−δ
where Y is the random variable denoting the output of A when it has sample access to coins with bias vector p. For a fixed algorithm, Lp depends only on p and not the samples or the algorithm's internal randomness.
A 2d-list replicable algorithm is straightforward: estimate each bias to within 2ε, then round to the nearest point on an ε-spaced grid. This uses O(ε2d) total samples. The list size, however, can be reduced dramatically. We state the relevant results below.
Theorem 3.4 (Theorem 5.2 of [DPVWV23]). Let d∈N. For every ε,δ∈(0,1), there exists a (d+1,ε,δ)-list replicable algorithm for the d-COINBIASESTIMATIONPROBLEM using N=O(ε2d3logδd) samples.
Theorem 3.5 (Corollary 3.3 of [VWDP+24]). Let d,k∈N such that k∈[d+1,2d] and ε,δ∈(0,1). There exists a (k,ε,δ)-list replicable algorithm for the d-COINBIASESTIMATIONPROBLEM that uses N=O(ε2log2kd3log2dlogδd) samples.
As mentioned earlier, we would like the list size to be k=1 to ensure “perfect replicability”, i.e., for each bias vector p∈[0,1]d the algorithm outputs some fixed ε-close output yp∈Rd with probability at least 1−δ. However, such a strong notion of replicability is impossible; any k<d+1 is impossible, as shown in [DPVWV23].
Theorem 3.6 (Theorem 5.5 of [DPVWV23]). Let d,k∈N. For ε∈(0,21), δ∈(0,d+21) and k<d+1, there is no (k,ε,δ)-list replicable algorithm for the d-COINBIASESTIMATIONPROBLEM.
These results motivate our focus on the sample complexity of (d+1,ε,δ)-list replicable algorithms and their generalizations to (k,ε,δ)-list replicable algorithms.
We focus on list sizes k∈[d+1,2d], since lists of size k<d+1 are impossible, while for k≥2d, the sample complexity asymptotically matches that of (d,ε,δ)-COINBIASESTIMATIONPROBLEM.
4 Contributions
We establish tight upper and lower bounds on the sample complexity of (d+1,ε,δ)-list replicable algorithms for the d-COINBIASESTIMATIONPROBLEM. We also generalize the result and show matching upper and lower bounds for (k,ε,δ)-list replicable algorithms for the d-COINBIASESTIMATIONPROBLEM for any k∈[d+1,2d].
Our lower bound results can be stated as follows; the proof of which can be found in Section 5.
Theorem 4.1 (Definition 5.7 Restated). Let ε,δ∈(0,1/8). For sufficiently large d∈N, every (d+1,ε,δ)-list replicable algorithm for the d-COINBIASESTIMATIONPROBLEM requires N=Ω(ε2logdd2) samples.
Theorem 4.2 (Definition 5.11 Restated). Let ε,δ∈(0,1/8) and d,k∈N. If k∈[d+1,2d] then every (k,ε,δ)-list replicable algorithm for the d-COINBIASESTIMATIONPROBLEM requires N=Ω(ε2logkd2) 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 and ε,δ∈(0,1). There exists a (d+1,ε,δ)-list replicable algorithm for the d-COINBIASESTIMATIONPROBLEM that uses N=O(ε2d2logδdlogδ1) samples.
Theorem 4.4 (Definition 6.13 Restated). Let d,k∈N such that k∈[d+1,2d] and ε,δ∈(0,1). There exists a (k,ε,δ)-list replicable algorithm for the d-COINBIASESTIMATIONPROBLEM that uses N=O(ε2logkd2logdlog2δd) samples.
The following two tables summarize our contributions.
Reference
Lower bound on N
Upper bound on N
[DPVWV23]
—
O(ε2d3logδd)
This work
Ω(ε2logdd2)
O(ε2d2logδdlogδ1)
Table 1: Sample complexity N of (d+1,ε,δ)-list replicable d-COINBIASESTIMATIONPROBLEM. Our work is tight up to polylogarithmic factors. Definitions 5.7 and 6.8.
Reference
Lower bound on N
Upper bound on N
[VWDP+24]
—
O(ε2log2kd3log2dlogδd)
This work
Ω(ε2logkd2)
O(ε2logkd2logdlog2δd)
Table 2: Sample complexity N of (k,ε,δ)-list replicable d-COINBIASESTIMATIONPROBLEM where k∈[d+1,2d]. Our work is tight up to polylogarithmic factors. Definitions 5.11 and 6.13.
5 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,ε,δ)-list replicable algorithms requires N=Ω(ε2logdd2). Then in Section 5.5, we generalize it to every (k,ε,δ)-list replicable algorithms requires N=Ω(ε2logkd2) samples. The main tool we use is the neighborhood Sperner/KKM lemma [VWDP+24], which we describe next.
5.1 The Neighborhood KKM/Sperner Lemma
Definition 5.1 (Sperner/KKM Coloring). For a set of colors C, a coloring is a mapping χ:[0,1]d→C. For a color c∈C, let Xc denote the set of points assigned color c by χ, i.e., Xc=χ−1(c). A coloring χ is a Sperner/KKM coloring if no two points from opposite faces of the cube get the same color, i.e., for every c∈C the set Xc has the property that for each coordinate i∈[d], the projection πi(Xc)={pi:(p1,…,pd)∈Xc} does not contain both 0 and 1.
An analogous definition applies when we are coloring [a,b]d where a<b. Still requiring that no two points from opposite faces of the cube get the same color, i.e., for every c∈C the set Xc has the property that for each coordinate i∈[d], the projection πi(Xc)={pi:(p1,…,pd)∈Xc} does not contain both a and b.
In [VWDP+24], the authors proved the Neighborhood Sperner/KKM Lemma for colorings of [0,1]d. We state the corresponding version for [a,b]d obtained by translating and rescaling the cube.
Theorem 5.2 (Neighborhood Sperner/KKM Lemma [VWDP+24]). Let a<b and s=b−a. Given a Sperner/KKM coloring of [a,b]d for any r∈(0,2s], there exists a point p∈[a,b]d such that B∞∘(r,p) contains at least (1+32⋅sr)d points with distinct colors.
5.2 Proof Overview
We now provide a high-level overview of the lower-bound proof. Let A be a (d+1,ε,δ)-list replicable algorithm for d-COINBIASESTIMATIONPROBLEM and Y be the random variable denoting the output of A. For simplicity, we assume that A does not use any internal randomness and the sample complexity is N.
Given A, we color the region R=[21−2ε,21+2ε]d as follows: for a bias vector p∈R, we color it with the most likely output of A when given sample access to p, i.e., color p with argmaxy∈LPPrP(Y=y), where P is the distribution that algorithm A observes when given sample access to p. We first observe that this is a valid Sperner/KKM coloring. By the neighborhood Sperner/KKM lemma, for every radius r∈(0,2ε] there exists a point p∈R such that there are at least M:=(1+6εr)d distinct colors in 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 be the point from the Neighborhood Sperner/KKM Lemma, and let q1,⋯,qM∈B∞∘(r,p) be points with distinct colors y1,…,yM. This means that the most likely output of A when given sample access to pi is yi. Let Ei be the event that the output Y is yi. Let P be the distribution that algorithm A observes when given sample access to p, similarly Qi is the distribution A observes when given sample access to qi
Now, we want to look at the probability of Ei when A has sample access to p, let's denote this with PrP(Ei). We can relate this to the probability of Ei when A has sample access to qi, we denote this with PrQi(Ei). Our first approach was to relate them in an additive manner. Note that PrP(Ei)≥PrQi(Ei)−dTV(P,Qi), and by Pinsker's inequality PrP(Ei)≥PrQi(Ei)−21DKL(P∥Qi). Since the sample complexity of algorithm is N, this implies that PrP(Ei)≥PrQi(Ei)−38N∥p−qi∥∞2. So, we obtain the following inequality
Note that PrQi(Ei)≥d+11−δ (since most likely output has probability at least d+11−δ), and ∥p−qi∥≤r. From this, we obtain (ignoring the constant 8/3)
1≥d+1M(1−δ)−MrN
When we work out the details and solve the above inequality for N, we do not obtain any non-trivial lower bound on N. The main issue is that the inequality PrP(Ei)≥PrQi(Ei)−38N∥p−qi∥∞2 is too weak for our setting. Instead, we use a multiplicative version of the inequality PrP(Ei)≥(PrQi(E))2e−316N∥p−qi∥∞2, whose details we describe next.
5.3 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=R1⊗…⊗Rn and Q=S1⊗…⊗Sn be product distributions. If ∀i∈[n]. Si≪Ri then
EP[(dPdQ)2]=i=1∏nERi[(dRidSi)2]
Proof. We prove the case n=2, and for simplicity we assume a discrete sample space. By using the definition of expectation and the fact that P=R1⊗R2 and Q=S1⊗S2 are product distributions, we have
In particular, if p∈[41,43] then due to convexity of p(1−p)1 we have that p(1−p)1≤316 and therefore
ER[(dRdS)2]≤1+316(p−q)2≤e316(p−q)2(1+x≤ex)
This concludes the proof.
Let p,q∈[0,1]d, and also let N1,…,Nd∈N with N=∑i=1dNi. Here Ni denotes the number of times coin i was tossed, and N denotes the total number of tosses across all coins. Define the distributions
P=i=1⨂d(Bern(pi)⊗Ni)Q=i=1⨂d(Bern(qi)⊗Ni)
Thus P,Q are distributions on {0,1}N where the first N1 bits are from the first coin, the next N2 bits are from the second coin, and so on.
Lemma 5.5. If 41≤p≤43 then EP[(dPdQ)2]≤e316N∥p−q∥∞2
Rearranging the above gives us the desired bound, and substituting ∥p−q∥∞ with r gives us the second bound.
5.4 Lower Bound for (d+1)-List Replicable Algorithms
Theorem 5.7. Let ε,δ∈(0,1/8). For sufficiently large d∈N, every (d+1,ε,δ)-list replicable algorithm for the d-COINBIASESTIMATIONPROBLEM requires N=Ω(ε2logdd2) samples.
For simplicity’s sake, we assume that the algorithm is deterministic and the sample complexity of each coin i∈[d] is fixed to be Ni∈N in advance, i.e., the algorithm receives as input a binary string of length N=∑i=1dNi, where the first N1 bits are i.i.d. Bernoulli tosses according to the first coin, and the next N2 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 coins in Appendix B.
Let A:{0,1}N→Y be a deterministic algorithm that is (d+1,ε,δ)-list replicable algorithm such that each coin i∈[d] is tossed exactly Ni with total sample complexity of N=∑i=1dNi. Let Y be the random variable denoting the output of this algorithm. Because A is list replicable, for each bias vector p∈[0,1]d, there exists a set Lp⊆Y of size ∣Lp∣≤d+1 such that each y∈Lp it holds that ∥p−y∥∞≤ε and
PPr(Y∈Lp)≥1−δ
We let yp=argmaxy∈LpPrP(Y=y) denote the most likely output from Lp, breaking ties with some fixed rule. Using an averaging argument, the most likely output must appear with probability at least ∣Lp∣1−δ; otherwise, the sum of probabilities of outputs in Lp would fail to add up to 1−δ. Therefore
PPr(Y=yp)≥∣Lp∣1−δ≥8(d+1)7≥2(d+1)1=:α
The second inequality was obtained by using ∣Lp∣≤d+1 and δ<81.
If an output y is ε-close to p, and the distance between p and q is >2ε then y cannot be ε-close to q. In particular, this must also apply to the most likely output of Lp formalized below.
Lemma 5.8. Let p,q∈[0,1]d. If ∥p−q∥∞>2ε then yp∈/Lq.
Proof. Recall, by the definition of list replicability, we require that Lp consist only of points that are ε-close to p, i.e., if y∈Lp then ∥p−y∥∞≤ε. In particular, this must also hold for yp, yielding ∥p−yp∥∞≤ε. Using triangle inequality, we have
∥p−yp∥∞+∥yp−q∥∞≥∥p−q∥∞
Substituting ∥p−q∥∞>2ε and ∥p−yp∥∞≤ε and rearranging yields ∥yp−q∥∞>ε. Thus yp is not ε-close to q. Therefore yp∈/Lq.
We consider the region R=[21−2ε,21+2ε]d⊆[41,43]d and we color the region R with the coloring χ:R→Y defined as
χ(p)=yp
Lemma 5.9. χ is a Sperner/KKM coloring of R.
Proof. We now prove the Sperner/KKM coloring property. Consider any two points on opposite faces p,q∈R. Since they are on opposite faces, there exists a coordinate i∈[d] such that ∣pi−qi∣=4ε. In particular, this implies that ∥p−q∥∞≥4ε>2ε. Via Definition 5.8 we have that χ(p)=yp∈/Lq. In particular, χ(p)=yp=yq=χ(q). □
Since χ is a valid Sperner/KKM coloring, the Neighborhood Sperner/KKM, Definition 5.2, applies with a=21−2ε, b=21+2ε and s=b−a=4ε. Let r∈(0,2ε] to be decided later, and p∈[a,b]d be the point such that B∞∘(r,p) that contains at least M:=(1+6εr)d colors. Let C:={yq:q∈B∞∘(r,p)∩R} be the set of colors used to color B∞∘(r,p)∩R and for each c∈C let qc be some point in B∞∘(r,p)∩R for which χ(qc)=c.
Lemma 5.10. 316Nr2≥10εdr−2ln(2(d+1))
Proof. For any color c∈C, let qc∈B∞∘(r,p) be as described above, so we have ∥p−qc∥∞<r. We invoke Definition 5.6 with the event E={Y=c} yielding
PPr(Y=c)≥(QcPr(Y=c))2e−316Nr2≥α2e−316Nr2
The last inequality follows from our definition of the coloring χ, we colored qc with the most likely output yqc. Therefore PrQc(Y=c)=PrQc(Y=yqc)≥α.
Summing over all possible colors, of which there are at least M many, and because PrP is a probability measure, we have the following
Mα2e−316Nr2≤c∈C∑PPr(Y=c)≤1
Taking ln on both sides and rearranging and simplifying yields
316Nr2≥dln(1+6εr)−2lnα1
Using the fact that x∈(0,1)⟹ln(1+x)≥xln2 and r∈(0,2ε], thus 6εr∈(0,31] we have
ln(1+6εr)≥6εrln2≥10εr
Substituting α=2(d+1)1 yields
316Nr2≥10εdr−2ln(2(d+1))
Now pick r=d40εln(2(d+1)) so that 10εdr=4ln(2(d+1)), for sufficiently large d, we have r≤2ε as 40ln(2(d+1))≪d. Substituting r and simplifying the expression yields
N≥128003⋅ε2ln(2(d+1))d2=Ω(ε2logdd2)
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,I1,X1,…,IN,XN), where W is the internal randomness of the algorithm, for t∈[N], It is the coin selected at time t and Xt is the outcome of the toss at time t. Bias vectors p,q∈[0,1]d induce probability distributions P,Q on the transcript as described above. If p∈[41,43]d then the relation in Definition 5.5 also holds in this case EP[(dPdQ)2]≤e316N∥p−q∥∞2 and remaining argument is the same.
5.5 Lower Bound for k-List Replicable Algorithms
We now generalize Definition 5.7 to a list of size k as follows
Theorem 5.11. Let ε,δ∈(0,1/8) and d,k∈N. If k∈[d+1,2d] then every (k,ε,δ)-list replicable algorithm for the d-COINBIASESTIMATIONPROBLEM requires N=Ω(ε2logkd2) samples.
Proof. First assume k≤21e20d then the argument remains similar from Section 5; the main bound that changes is
PPr(Y=yp)≥∣Lp∣1−δ≥8k7≥2k1=:β
Definition 5.10 now becomes
316Nr2≥10εdr−2ln(2k)
If k≤21e20d then our choice r:=d40εln(2k)≤2ε holds and therefore
N≥128003⋅ε2ln(2k)d2=Ω(ε2logkd2)
For k>21e20d, every (k,ε,δ)-list replicable algorithm also solves the (d,ε,δ)-COINBIASESTIMATIONPROBLEM. Using Definition 3.2 gives
N=Ω(ε2d)=Ω(ε2logkd2)
The last bound was by using the fact that k>21e20d.
Note that, even obtaining a list size of k=poly(d) requires N=Ω(ε2logdd2) samples.
6 Upper Bound
In this section, we prove Definitions 6.8 and 6.13. We first introduce the main concepts intuitively in Section 6.1 and then formalize the notions in Section 6.2.
6.1 Proof Overview
Consider a simplified setting with d=2 coins and an ε-grid as depicted in Figure 1. Let p∈[0,1]d be a bias vector. A simple idea is to estimate the bias of each coin within 2ε. Then, we round the estimate to the bottom left of the ε-square in which it falls, this has the effect of rounding both coordinates down to the nearest integer multiple of ε. However, this algorithm is not 3-list replicable, because if p lies on a grid point, then the approximation can lie in any of the 4 adjacent ε-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, the (αx,αy)-confidence interval around q is the rectangle with corners from (x±αx,y±αy). Let u∈[0,ε) be a shift parameter that induces a line segment of length ε (in ℓ∞ sense) at a 45∘ 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 by adding u to each empirical mean obtained from the original coins. We will focus on the largest confidence interval (αx,αy) around p′=(x,y) that is strictly contained inside a single ε-grid cell. If we have an estimate x^ that is αx-close to x and an estimate y^ that is αy-close to y, then all possible estimates lie in a single cell with high probability. Thus, rounding the estimate (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(αx21+αy21). Since any line segment of length ε at 45∘ from p intersects at most three cells, this ensures that if we randomly pick u, the algorithm is 3-list replicable (provided we know αx and α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′ lies in a green region, the required confidence interval is αx≈ε and αy≈ε. In the orange region, the confidence interval needs to satisfy αx≪ε or αy≪ε. Finally, in the red region, a confidence interval of αx≈0 or α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 a priori, but will iteratively get smaller and smaller estimates until the confidence interval lies in a single cell.
In the case of d coins, our analysis shows that a uniformly at random selected U∼Unif([0,ε)) yields an expected sample complexity of O~(ε2d) per coin; thus the expected total sample complexity is O~(ε2d2). List Replicability follows from the fact that this line segment intersects at most d+1 grid cells in d dimensions.
6.2 Shifts, Rounding and Canonical List
To round down x∈R to the nearest ε, it can be done so by the mapping x↦⌊εx⌋ε. For example, if x=2.5ε then it maps to 2ε. So εx extracts what multiple of ε is x (in this case 2.5), and then we floor only the multiple part of ε to the nearest integer. This flooring process reduces the output by at most ε.
For our algorithm, before rounding, we perturb the initial x by a shift u∈[0,ε) and then round down to the nearest multiple of ε.
Figure 2: u is an α-good shift for p
Definition 6.1. Let α>0. A shift u∈[0,ε) is α-good for p∈[0,1] if the interval [p−α,p+α) when shifted by u is contained between some consecutive integer multiple of ε. Formally, there exists an integer k∈Z such that
[(p+u)−α,(p+u)+α)⊆[kε,(k+1)ε)
Definition 6.2. Let u∈[0,ε). The u-rounding of x∈R, denoted by Ru(x), is defined as
Ru(x)=⌊εx+u⌋ε
For a vector x∈Rd, the u-rounding of x, denoted by Ru(x), is obtained by applying index-wise u-rounding to x, i.e., if x=(x1,…,xd) then Ru(x)=(Ru(x1),…,Ru(xd))
Lemma 6.3. Let u∈[0,ε). For any x∈R,
∣Ru(x)−x∣<ε
For any x∈Rd,
∥Ru(x)−x∥∞<ε
Proof. For every y∈R, we have y−1<⌊y⌋≤y. Applying this with y=εx+u and multiplying by ε gives
x+u−ε<Ru(x)≤x+u
Since u∈[0,ε), it holds that
x−ε<Ru(x)<x+ε
and hence ∣Ru(x)−x∣<ε. Applying this bound to each coordinate gives
∥Ru(x)−x∥∞=i∈[d]max∣Ru(xi)−xi∣<ε
Consider an interval [p−α,p+α) of length 2α≤ε. This interval need not be contained between some [kε,(k+1)ε), however by shifting it by u that is α-good, [(p+u)−α,(p+u)+α) is now contained in some [kε,(k+1)ε). Crucially, all points in this shifted interval round down to 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,ε), α>0 and p,p^∈[0,1] such that ∣p^−p∣≤α.
If u is α-good for p then for any x,y∈[p−α,p+α) it holds that Ru(x)=Ru(y)
If u is 3α-good for p, then u is 2α-good for p^.
If u is 2α-good for p^, then Ru(p)=Ru(p^).
Proof.
It holds that x+u and y+u both belong to [kε,(k+1)ε) by definition of u being α-good for p, and therefore both shifted points lie in the same interval and round down to kε=Ru(x)=Ru(y).
Observe that
[(p^+u)−2α,(p^+u)+2α)⊆[(p+u)−3α,(p+u)+3α)
Thus assuming u is 3α-good for p implies that u is 2α-good for p^ by definition.
Since ∣p−p^∣≤α<2α, both p,p^∈[p^−2α,p^+2α). Because u is 2α-good for p^, using item 1 with center p^ and radius 2α, gives Ru(p^)=Ru(p).
Lemma 6.5. Let α∈(0,2ε] and p∈[0,1]. If U∼Unif([0,ε)) then
UPr(Uisnotα−goodforp)=ε2α
Furthermore, the equation above also holds when p is a random variable and is independent of U.
Proof. For simplicity assume p=kε for some k∈N. Observe that a shift u is α-good if and only if u∈[α,ε−α]. Thus we have
UPr(Uisnotα−goodforp)=UPr(U∈/[α,ε−α])=ε2α
In general, if p is not an exact multiple of ε, then u is α-good if and only if (p+u)modε∈[α,ε−α], we also have that (p+U)modε∼Unif([0,ε)), so the equality still holds.
For the furthermore part, averaging over all values of the random variable p yields the result.
Suppose we have a single coin with bias p∈[0,1]. Getting an estimate p^ such that p^∈[p−α,p+α) with high probability can be achieved by simply tossing the coin Θ(α21) times and outputting the empirical mean. We sample U∼Unif([0,ε)) and get iteratively better approximations αj=2j+1ε, till U is 2αj-good for p^, i.e., the interval [p^−2αj,p^+2αj) when shifted by U fits in some [kε,(k+1)ε), once this condition is met, and assuming our estimates are correct we have RU(p^)=RU(p), i.e., the u-rounding p^ is exactly the u-rounding of p, the unknown bias. If this procedure takes too many samples, we can cut it off early and output ⊥. Even though we don't know the bias p, we can with high probability get RU(p).
The rounded value of p crucially depends on U. Suppose p=2.5ε, if u∈[0,2ε) then Ru(p)=2ε, and if u∈[2ε,ε) then Ru(p)=3ε. We now extend this idea to higher dimensions.
Definition 6.6. Let p∈[0,1]d. The set Lp is defined as
Lp={Ru(p)∣u∈[0,ε)}
Lemma 6.7. For any p∈[0,1]d, the set Lp satisfies
∀y∈Lp.∥y−p∥∞<ε
∣Lp∣≤d+1
Proof.
Let y∈Lp, then we have y=Ru(p) for some u∈[0,ε), by Definition 6.3 we have
∥y−p∥∞=∥Ru(p)−p∥∞<ε
As u increases over [0,ε), each coordinate Ru(pi) changes at most once. Thus the vector changes at most d times and takes at most d+1 values.
Example. Consider d=4 and p=(5ε,52ε,53ε,54ε) then
If u∈[0,5ε) then Ru(p)=(0,0,0,0)
If u∈[5ε,52ε) then Ru(p)=(0,0,0,ε)
If u∈[52ε,53ε) then Ru(p)=(0,0,ε,ε)
If u∈[53ε,54ε) then Ru(p)=(0,ε,ε,ε)
If u∈[54ε,ε) then Ru(p)=(ε,ε,ε,ε)
Thus, in this example ∣Lp∣=d+1 exactly.
Our algorithms will attempt to output some element in the set Lp with high probability. Let Y be a random variable denoting the output of a list replicable algorithm which belongs to Rd∪{⊥}, where ⊥ is a failure symbol. The output can be categorized into 3 mutually exclusive cases
Y∈Lp, this is the desired event
Y=⊥, not a valid member of Rd
Y∈/Lp∪{⊥}, a valid member Rd but not in the list
For the purpose of analysis, we will be upper bounding the quantities Pr(Y=⊥) and Pr(Y∈/Lp∪{⊥}) as it is easier to argue over. However, it might be easier to interpret the bounds as follows: suppose
Pr(Y=⊥)≤41Pr(Y∈/Lp∪{⊥})≤η
This means that, with probability at least 3/4 the algorithm will return a vector in Rd, and conditioned on witnessing that Y=⊥, the probability that Y∈Lp is at least 1−34η. Formally,
Pr(Y∈/Lp∣Y=⊥)=Pr(Y=⊥)Pr(Y∈/Lp∪{⊥})≤34η
6.3 Upper Bound for (d+1)-List Replicable Algorithms
We prove the following theorem
Theorem 6.8. Let d∈N and ε,δ∈(0,1). There exists a (d+1,ε,δ)-list replicable algorithm for the d-COINBIASESTIMATIONPROBLEM that uses N=O(ε2d2logδdlogδ1) samples.
We first prove the existence of an algorithm whose expected sample complexity is E[N]=O(ε2d2). Then using standard boosting techniques, we get Definition 6.8.
Define the following parameters
ε∈(0,1)η∈(0,1/8)m=⌈log2(24d)⌉αj=2j+1ε
for j∈[m]
nj=⌈2αj21lnη2dm⌉
for j∈[m]
M=ε21536d2lnη2dm=O(ε2d2lnηd)
We now describe a (d+1,ε,O(1))-list replicable algorithm for the d-COINBIASESTIMATIONPROBLEM whose expected sample complexity is bounded above M=O(ε2d2lnηd). We use the same ε to perform rounding as described Section 6.2.
Algorithm 1: (d+1,ε,O(1))-List Replicable Algorithm with O(ε2d2) expected total sample complexity
1 Draw U∼Unif([0,ε));
2 (y1,…,yd)←(⊥,…,⊥)
3 m=⌈log2(24d)⌉
4 A←[d]
5 for j=1,…,m do
6 ⎩⎨⎧foreach i∈A doαj←2j+1εToss coin i independently nj=⌈2αj21lnη2dm⌉ times and let p^i(j) be the empirical meanif U is 2αj-good for p^i(j) then⌊yi←RU(p^i(j))A←A∖{i}
10
11
12 if A=∅ then
13 ⌊return (y1,…,yd)
14 return ⊥
Theorem 6.9. Algorithm 1 has the following properties
Pr(Y=⊥)≤41Pr(Y∈/Lp∪{⊥})≤η
The expected sample complexity of the algorithm is bounded above by
E[N]≤M=O(ε2d2logηd)
Suppose Algorithm 1 has sample access to d coins with bias vector p=(p1,…,pd). Further, let Ni denote the number of tosses of coin i and let N=∑i=1dNi denote the total number of tosses. Let Y be the random variable denoting the output of the algorithm.
For each coin i∈[d], we will get progressively smaller estimates αj as the number of rounds j increases. We will get at most dm estimates across the entire algorithm's execution, m estimates for each of the d coins. So we picked nj=⌈2αj21lnη2dm⌉ so that for the ith coin in jth round the estimate p^i(j) is αj close to pi with probability at least 1−dmη. Union bounding across all coins and rounds: every ∣p^i(j)−pi∣≤αj happens with probability at least 1−η.
For simplicity of analysis, we imagine that an independent block of nj tosses is assigned to every i∈[d] and j∈[m], independently of U, whether or not the algorithm uses it. Let 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
Gi={U is 3αm-good for pi}for i∈[d]Hi,j={p^i(j)∈[pi−αj,pi+αj]}fori∈[d],j∈[m]G=∩iGiH=∩i,jHi,j
i.e., G is the event that U is 3αm-good pi for all i and H is the event that p^i(j) is αj-close to pi for all i,j.
Lemma 6.10.
Pr(Gc)≤81
Pr(Hc)≤η
Pr(Gc∪Hc)≤81+η≤41
Proof.
By union bound and Definition 6.5 on Gic={U is not 3αm-good for pi}
Pr(Gc)≤i=1∑dPr(Gic)=d⋅ε2⋅(3αm)=2m3d≤81.
The last inequality is obtained by using m=⌈log2(24d)⌉≥log2(24d).
For a coin i∈[d], let Zi be the random variable denoting first round j for which U is 2αj-good for p^i(j), if it never happens we let Zi=∞. Observe that Zi∈{1,…,m}∪{∞}. We say coin i is successful if Zi=∞. Furthermore, for all rounds j≤Zi we say that coin i was active, meaning that we had to draw nj samples for coin i for that round. Note that the set A consists of indices of those coins that are active. If coin i is successful then yi=RU(p^i(Zi)). If some coin i was not successful, then yi=⊥ and consequently Y=⊥.
Lemma 6.11.
On H, it holds that Y∈{RU(p),⊥}. In particular,
Pr(Y∈/Lp∪{⊥})≤η
On G∩H, it holds that Y=RU(p). In particular,
Pr(Y=⊥)≤41
Proof.
First note that unconditionally, for every coin i∈[d],yi∈{RU(p^i(1)),…,RU(p^i(m)),⊥}. The exact value of yi depends on Zi: if Zi=∞ then yi=RU(p^i(Zi)). Even if a single coin is unsuccessful, we trivially have Y=⊥. Thus we assume all coins are successful and we show that Y=RU(p), i.e., we show that for all i, it holds that yi=RU(pi). Using this, we have that for all i, at round Zi, it holds that U is 2αZi-good for p^i(Zi) and yi=RU(p^i(Zi)) by construction of our algorithm.
Condition on H and fix a coin i; we have that ∣p^i(j)−pi∣≤αj for all j∈[m]. In particular in at round Zi, we have ∣p^i(Zi)−pi∣≤αZi. Using item 3 of Definition 6.4, we have that yi=RU(p^i(Zi))=RU(pi). Since this argument holds for all coins, we have Y=RU(p). If Y is non-⊥ output and was not in Lp, then some estimate p^i(j) was not αj-close to pi, thus we have
Pr(Y∈/Lp∪{⊥})≤Pr(Hc)≤η
Conditioning on H, yielded Y∈{RU(p),⊥}. We show that on G∩H, it holds that Y=⊥, thus yielding that Y=RU(p). Fix a coin i∈[d] and consider the last round m, in this round, because of conditioning on G we have that U is 3αm-good for pi, and because of conditioning on H we have that ∣p^i(m)−pi∣≤αm. Using item 2 of Definition 6.4 we have that U is also 2αm-good for p^i(m), which is exactly the definition of being successful at round m, thus if coin i wasn't successful by round m−1 on G∩H, on round m it becomes successful, i.e., Zi≤m, thus yi=⊥. Since this argument holds for all coins, we have that Y=⊥ and it holds that Y=RU(p)∈Lp. Thus we have
Pr(Y∈Lp)≥Pr(Y=RU(p))≥Pr(G∩H)≥43
Finally
Pr(Y=⊥)≤Pr(Y∈/Lp)≤41
□
Lemma 6.12. The expected sample complexity is bounded by
E[N]≤M=ε21536d2lnη2dm=O(ε2d2logηd)
Proof. Fix a coin i∈[d]. If coin i is active in round j≥2, then it was active in round j−1 and failed the test in that round, since p^i(j−1) is independent of U we have
The asymptotic upper bound is obtained by observing that m=O(logd)⊆O(d) and therefore ln(η2dm)=O(logηd).
We now conclude the Definition 6.8. We have an algorithm that is (d+1,ε,O(1))-list replicable for d-COINBIASESTIMATIONPROBLEM with expected sample complexity E[N]≤M=O~(ε2d2) satisfying Pr(Y=⊥)≤41 and Pr(Y∈/Lp∣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:=⌈4M⌉ increases the probability we see ⊥ by at most 41 by Markov's Inequality. Thus we repeat this capped algorithm T=⌈log2δ2⌉ times and return the first non-⊥ output. We see a non-⊥ output with probability at least 1−2δ, and pick η=4δ so that conditioned on seeing a non-⊥ output, the probability that it belongs to Lp is at least 1−2δ. A more detailed analysis can be found in Appendix A.
6.4 Upper Bound for k-List Replicable Algorithms
Theorem 6.13. Let d,k∈N such that k∈[d+1,2d] and ε,δ∈(0,1). There exists a (k,ε,δ)-list replicable algorithm for the d-COINBIASESTIMATIONPROBLEM that uses N=O(ε2logkd2logdlog2δd) samples.
Let ε∈(0,1), δ∈(0,21) and let ℓ∈N be decided later. Consider the standard partitioning P of [d] into ℓ consecutive blocks B1,…,Bℓ each of size di:=∣Bi∣≤⌈ℓd⌉. Run algorithm from Definition 6.8 independently for each block of di coins with parameters (di+1,ε,ℓδ). If any block returns ⊥, we return ⊥. Otherwise, we return the concatenation of the outputs of each block.
Let Y1,…,Yℓ be the outputs of each of the blocks. Also, let Y and N be the random variables denoting the output of this algorithm and the sample complexity.
Fix p∈[0,1]d and for i∈[ℓ], let p(i)=(pj)j∈Bi∈[0,1]di denote the bias vector in Bi. The list achieved by this algorithm is
Lp,P=Lp(1)×…×Lp(ℓ)
where Lp(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 Rd.
Fix i∈[ℓ], by Definition 6.7 each element of Lp(i) is still ε-close to p(i) and the size of this set is ∣Lp(i)∣≤di+1≤⌈ℓd⌉+1. Therefore, for each y∈Lp,P, it holds that ∥y−p∥∞<ε and the size of Lp,P is bounded above by
By Definition 6.8, we have ∀i∈[ℓ].Pr(Yi∈Lp(i))≥1−ℓδ. Taking a union bound over all ℓ blocks gives us Pr(∀i∈[ℓ].Yi∈Lp(i))≥1−δ. In particular, when ∀i∈[ℓ].Yi∈Lp(i) then Y∈Lp,P. Therefore
Pr(Y∈Lp,P)≥1−δ
Thus we pick ℓ:=⌊logd+1k⌋ so that the list size in Equation (1) simplifies to
∣Lp,P∣≤(⌈ℓd⌉+1)ℓ≤(d+1)ℓ≤(d+1)logd+1k≤k
(⌈ℓd⌉≤d)
Using ℓ=⌊logd+1k⌋≥21logd+1k, the sample complexity in Equation (2) simplifies to
In the second last step, we assumed k≤2d, thus log(d+1)logk≤d.
This concludes the proof of Definition 6.13.
7 Conclusion
Our results establish that the sample complexity of (d+1,ε,δ)-list replicable algorithms for the d-COINBIASESTIMATIONPROBLEM is Θ(ε2d2). More generally, we establish a sample complexity bound of Θ(ε2logkd2) for (k,ε,δ)-list replicable algorithms for the d-COINBIASESTIMATIONPROBLEM where k∈[d+1,2d]. Our upper bounds improve the polynomial dependence on d from cubic to quadratic compared with [DPVWV23, VWDP+24]. More generally, our upper and lower bounds determine the sample complexity throughout k∈[d+1,2d] up to polylogarithmic factors.
Open Problems. Section 6 exhibits algorithms whose sample complexity for each coin is adaptive in the sense that the sample complexity of each Ni is not fixed in advance. So the question of whether there exists a non-adaptive algorithm that is (d+1,ε,δ)-list replicable for the d-COINBIASESTIMATIONPROBLEM with sample complexity O(ε2d2) 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 Section 5.3 and Appendix B, and ideas from LLMs helped us to arrive at the upper results in Section 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.
References
[BGH+23] Mark Bun, Marco Gaboardi, Max Hopkins, Russell Impagliazzo, Rex Lei, Toniann Pitassi, Satchit Sivakumar, and Jessica Sorrell. Stability is stable: Connections between replicability, privacy, and adaptive generalization. In Proceedings of the 55th Annual ACM Symposium on Theory of Computing, STOC 2023, page 520–527, New York, NY, USA, 2023. Association for Computing Machinery.
[BHH+26] Ari Blondal, Hamed Hatami, Pooya Hatami, Chavdar Lalov, and Sivan Tretiak. Borsuk-ulam and replicable learning of large-margin halfspaces. In Proceedings of the 58th Annual ACM Symposium on Theory of Computing, STOC '26, page 529–540, New York, NY, USA, 2026. Association for Computing Machinery.
[BKKS23] Vladimir Braverman, Robert Krauthgamer, Aditya Krishnan, and Shay Sapir. Lower Bounds for Pseudo-Deterministic Counting in a Stream. In Kousha Etessami, Uriel Feige, and Gabriele Puppis, editors, 50th International Colloquium on Automata, Languages, and Programming (ICALP 2023), volume 261 of Leibniz International Proceedings in Informatics (LIPics), pages 30:1–30:14, Dagstuhl, Germany, 2023. Schloss Dagstuhl – Leibniz-Zentrum für Informatik.
[BLM20] Mark Bun, Roi Livni, and Shay Moran. An equivalence between private classification and online prediction. In 2020 IEEE 61st Annual Symposium on Foundations of Computer Science (FOCS), pages 389–402, 2020.
[CCPV25] Michael Chen, Sourav Chakraborty, A. Pavan, and N. V. Vinodchandran. Representation obliviousness and pseudodeterminism in streaming algorithms. Proc. ACM Manag. Data, 3(5), November 2025.
[CLO+26] Lijie Chen, Zhenjian Lu, Igor Oliveira, Hanlin Ren, and Rahul Santhanam. Polynomial-time pseudodeterministic construction of primes. J. ACM, 73(2), April 2026.
[CMY23] Zachary Chase, Shay Moran, and Amir Yehudayoff. Stability and Replicability in Learning. In 2023 IEEE 64th Annual Symposium on Foundations of Computer Science (FOCS), pages 2430–2439, Los Alamitos, CA, USA, November 2023. IEEE Computer Society.
[CPV +25] Michael Chen, A. Pavan, N. V. Vinodchandran, Ruosong Wang, and Lin Yang. Regret-optimal list replicable bandit learning: Matching upper and lower bounds. In Y. Yue, A. Garg, N. Peng, F. Sha, and R. Yu, editors, International Conference on Learning Representations, volume 2025, pages 5074–5089, 2025.
[DGSB26] Rohan Deb, Udaya Ghai, Karan Singh, and Arindam Banerjee. Replicable bandits with ucb based exploration, 2026.
[DPVWV23] Peter Dixon, A. Pavan, Jason Vander Woude, and N. V. Vinodchandran. List and certificate complexities in replicable learning. In A. Oh, T. Naumann, A. Globerson, K. Saenko, M. Hardt, and S. Levine, editors, Advances in Neural Information Processing Systems, volume 36, pages 30784–30806. Curran Associates, Inc., 2023.
[DPWV22] Peter Dixon, A. Pavan, Jason Vander Woude, and N. V. Vinodchandran. Pseudodeterminism: promises and lowerbounds. In Proceedings of the 54th Annual ACM SIGACT Symposium on Theory of Computing, STOC 2022, page 1552–1565, New York, NY, USA, 2022. Association for Computing Machinery.
[EHKS23] Eric Eaton, Marcel Hussing, Michael Kearns, and Jessica Sorrell. Replicable reinforcement learning. In A. Oh, T. Naumann, A. Globerson, K. Saenko, M. Hardt, and S. Levine, editors, Advances in Neural Information Processing Systems, volume 36, pages 15172–15185. Curran Associates, Inc., 2023.
[EKK +23] Hossein Esfandiari, Alkis Kalavasis, Amin Karbasi, Andreas Krause, Vahab Mirrokni, and Grigoris Velegkas. Replicable bandits. In The Eleventh International Conference on Learning Representations, ICLR 2023, Kigali, Rwanda, May 1-5, 2023. OpenReview.net, 2023.
[GG11] Erann Gat and Shafi Goldwasser. Probabilistic search algorithms with unique answers and their cryptographic applications. Electron. Colloquium Comput. Complex., TR11, 2011.
[GGMW20] Shafi Goldwasser, Ofer Grossman, Sidhanth Mohanty, and David P. Woodruff. Pseudo-Deterministic Streaming. In Thomas Vidick, editor, 11th Innovations in Theoretical Computer Science Conference (ITCS 2020), volume 151 of Leibniz International Proceedings in Informatics (LIPIcs), pages 79:1–79:25, Dagstuhl, Germany, 2020. Schloss Dagstuhl – Leibniz-Zentrum für Informatik.
[GGR13] Oded Goldreich, Shafi Goldwasser, and Dana Ron. On the possibilities and limitations of pseudodeterministic algorithms. In Proceedings of the 4th Conference on Innovations in Theoretical Computer Science, ITCS '13, page 127–138, New York, NY, USA, 2013. Association for Computing Machinery.
[GGS23] Ofer Grossman, Meghal Gupta, and Mark Sellke. Tight space lower bound for pseudo-deterministic approximate counting. In 2023 IEEE 64th Annual Symposium on Foundations of Computer Science (FOCS), pages 1496–1504, 2023.
[GHR +26] Mika Göös, Nathaniel Harms, Artur Riazanov, Anastasia Sofronova, Dmitry Sokolov, and Weiqiang Yuan. Pseudodeterministic communication complexity. In Proceedings of the 58th Annual ACM Symposium on Theory of Computing, STOC '26, page 2030–2039, New York, NY, USA, 2026. Association for Computing Machinery.
[GL19] Ofer Grossman and Yang P. Liu. Reproducibility and pseudo-determinism in log-space. In Proceedings of the Thirtieth Annual ACM-SIAM Symposium on Discrete Algorithms, pages 606–620, 2019.
[HIK+24] Max Hopkins, Russell Impagliazzo, Daniel Kane, Sihan Liu, and Christopher Ye. Replicability in High Dimensional Statistics. In 2024 IEEE 65th Annual Symposium on Foundations of Computer Science (FOCS), pages 1–8, Los Alamitos, CA, USA, October 2024. IEEE Computer Society.
[HM25] Max Hopkins and Shay Moran. The role of randomness in stability. In Aarti Singh, Maryam Fazel, Daniel Hsu, Simon Lacoste-Julien, Felix Berkenkamp, Tegan Maharaj, Kiri Wagstaff, and Jerry Zhu, editors, Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pages 23805–23827. PMLR, 13–19 Jul 2025.
[ILPS22] Russell Impagliazzo, Rex Lei, Toniann Pitassi, and Jessica Sorrell. Reproducibility in learning. In Proceedings of the 54th Annual ACM SIGACT Symposium on Theory of Computing, STOC 2022, page 818–831, New York, NY, USA, 2022. Association for Computing Machinery.
[KCG16] Emilie Kaufmann, Olivier Cappé, and Aurélien Garivier. On the complexity of best-arm identification in multi-armed bandit models. J. Mach. Learn. Res., 17(1):1–42, January 2016.
[LOS21] Zhenjian Lu, Igor C. Oliveira, and Rahul Santhanam. Pseudodeterministic algorithms and the structure of probabilistic time. In Proceedings of the 53rd Annual ACM SIGACT Symposium on Theory of Computing, STOC 2021, page 303–316, New York, NY, USA, 2021. Association for Computing Machinery.
[LSS14] Adeline Langlois, Damien Stehle, and Ron Steinfeld. GGHLite: More efficient multilinear maps from ideal lattices. Cryptology ePrint Archive, Paper 2014/487, 2014.
[VWDP+24] Jason Vander Woude, Peter Dixon, A. Pavan, Jamie Radcliffe, and N. V. Vinodchandran. Replicability in learning: Geometric partitions and kkm-sperner lemma. In A. Globerson, L. Mackey, D. Belgrave, A. Fan, U. Paquet, J. Tomczak, and C. Zhang, editors, Advances in Neural Information Processing Systems, volume 37, pages 78996–79028. Curran Associates, Inc., 2024.
[ZCP+25] Bohan Zhang, Michael Chen, A. Pavan, N. V. Vinodchandran, Lin F. Yang, and Ruosong Wang. List replicable reinforcement learning. CoRR, abs/2512.00553, 2025.
A Upper Bound with Fixed Sample Complexity
A.1 Capping the Sample Complexity
Let ε,η be the same parameters as in Algorithm 1. Define the parameters
M=ε21536d2lnη2dmB=⌈4M⌉
where m=⌈log2(24d)⌉ and M is the same upper bound on the expected number of samples from Algorithm 1.
Algorithm 2: (d+1,ε,O(1))-List Replicable Algorithm with sample complexity N=O(ε2d2)
1 Run Algorithm 1 with a cap of B=⌈4M⌉ samples;
2 if Algorithm 1 needs more than B samples then
3 | return ⊥
4 else
5 ⨆ return Output of the Algorithm 1
Theorem A.1. Algorithm 2 has the following properties
Pr(Y=⊥)≤21Pr(Y∈/Lp∪{⊥})≤η
The sample complexity of the algorithm is bounded above by
N≤B=⌈4M⌉=O(ε2d2logηd)
For Algorithm 2, let N be the random variable denoting the total number of samples and 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 samples. By Definition 6.12 and applying Markov's Inequality, we get
Pr(Algorithm1requiresmorethanBsamples)≤41
The probability that Algorithm 1 outputs ⊥ is at most 41, the probability Y=⊥ increases by at most 41 when the algorithm requires more than B samples. Thus we have
Pr(Y=⊥)≤41+41≤21
Let N be the sample complexity of Algorithm 2. We cap the algorithm's sample complexity bound at ⌈4M⌉, so trivially N≤⌈4M⌉ always holds. This cap can only change outputs from Rd to ⊥, but not the other way around. So the following still holds
Pr(Y∈/Lp∪{⊥})≤η
A.2 Boosting the Success Probability
Define the parameters
ε∈(0,1)δ∈(0,1/2)T=⌈log2δ2⌉η=4δ
So that η∈(0,1/8]. A single execution of Algorithm 2 may return ⊥, so we run the same algorithm independently up to T times till it produces an element of Rd. We return the first non-⊥ output, and return ⊥ only if all T attempts do so.
Algorithm 3 outputs ⊥ only if all T instances output ⊥, which happens with probability at most 2−T≤δ/2. Each instance returns a valid member of Rd with probability at least 1/2 and returns a vector outside Lp with probability at most η. Thus, among its non-⊥ outputs, the probability of being outside the list is at most 2η=δ/2. Therefore, the probability of returning ⊥ or a vector outside the list is at most δ. We now prove the correctness and sample complexity bound of this algorithm formally.
Algorithm 3: (d+1,ε,δ)-List Replicable Algorithm with sample complexity N=O(ε2d2)
1 for t=1,…,T do
2 Run an i.i.d. instance of Algorithm 2 with ε,η=4δ
3 Let Yt be its output
4 if Yt=⊥ then
5 ⨆ return Yt
6 return ⊥
Theorem A.2. Algorithm 3 is (d+1,ε,δ)-list replicable with list Lp, i.e.,
Pr(Y∈Lp)≥1−δ
where Lp={Ru(p)∣u∈[0,ε)} satisfies ∣Lp∣≤d+1 and each y∈Lp satisfies ∥y−p∥∞<ε.
The sample complexity of the algorithm is bounded above by
N≤BT=O(ε2d2logδdlogδ1)
Proof. The two properties of Lp follow directly from Definition 6.7. We prove the remaining properties. For simplicity of analysis, we imagine generating all T independent instances Y1,…,YT, the algorithm returns the first non-⊥ output.
Let K be the random variable denoting the first index t for which Yt=⊥; if it doesn't exist, then K=∞. By using properties of Algorithm 2, note that for any t∈[T]
Each attempt uses at most B=⌈4M⌉ tosses, and there are at most T attempts. Substituting η=4δ in the expression of B, the total sample count is bounded by
In this section, we prove the lower bound result for arbitrary algorithms.
Theorem B.1 (Definition 5.7 Restated). Let ε,δ∈(0,1/8). For sufficiently large d∈N, every (d+1,ε,δ)-list replicable algorithm for the d-COINBIASESTIMATIONPROBLEM requires N=Ω(ε2logdd2) samples.
Let A be a randomized sampling-based algorithm that draws N samples from d coins with unknown bias and is (d+1,ε,δ)-list replicable. The algorithm may choose which coin to toss based on its internal randomness and previous outcomes. Let Y be the random variable denoting the algorithm's output, which belongs to the set Y. Let W be the random variable denoting the algorithm's internal randomness. Let H0=W and for t∈[N] we define the following random variables
where Ht denotes the history till time t, the choice It only depends on Ht−1.
For a bias vector p∈[0,1]d, along with the distribution on W (which is independent of each coin), we let P denote the probability distribution on the full transcript HN=(W,I1,X1,…,IN,XN) when the coins have bias p. Furthermore, for t∈[N] we let Pt be distribution on Ht=(W,I1,X1,…,It,Xt) when the coins have bias p, noting that PN=P.
Similarly, for q∈[0,1]d we let Q denote the distribution on the full transcript induced when the coins have bias q and for t∈[N], we let Qt be the distribution on Ht=(W,I1,X1,…,It,Xt) when the coins have bias q.
Because A is (d+1,ε,δ)-list replicable, for each p∈[0,1]d there exists a set Lp⊆Y of size ∣Lp∣≤d+1 such that each y∈Lp it holds that ∥p−y∥∞≤ε and
Pr(Y∈Lp)≥1−δ
Lemma B.2. Let p,q∈[0,1]d. If 41≤p≤43 then EP[(dPdQ)2]≤e316N∥p−q∥∞2
Proof. Define Λ0≡1 and, for t∈[N], define
Λt=dPtdQt
and let πt(i∣Ht−1) denote the algorithm's probability of choosing coin i∈[d] at time t, given the history Ht−1 up until that point. Conditioned on Ht−1, both It and Λt−1(Ht−1) are fixed. Since the algorithm uses the same policy πt, we have
PPr(It=i∣Ht−1)=πt(i∣Ht−1)=QPr(It=i∣Ht−1)
Because by definition, the algorithm's tosses can only depend on what it has seen so far. For any t∈[N], we have
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
The remaining analysis is identical to Section 5.4. Use A to color R=[21−2ε,21+2ε]d⊆[41,43]d with the most likely output, i.e., define the coloring χ:R→Y as
χ(p)=argy∈LpmaxPPr(Y=y)
where ties are broken according to a fixed rule. Since χ is a valid Sperner/KKM coloring, the Neighborhood Sperner/KKM, Definition 5.2, applies. Similar to the analysis from Definition 5.10, we get
316Nr2≥10εdr−2ln(2(d+1))
Picking r=d40εln(2(d+1)), for sufficiently large d, we again get
N≥128003⋅ε2ln(2(d+1))d2=Ω(ε2logdd2)
We can again generalize this result to lists of size k for arbitrary randomized algorithms.
Theorem B.3 (Definition 5.11 Restated). Let ε,δ∈(0,1/8) and d,k∈N. If k∈[d+1,2d] then every (k,ε,δ)-list replicable algorithm for the d-COINBIASESTIMATIONPROBLEM requires N=Ω(ε2logkd2) samples.
The argument is the same; the main bound that changes is
PPr(Y=yp)≥∣Lp∣1−δ≥8k7≥2k1=:β
Definition 5.10 now becomes
316Nr2≥10εdr−2ln(2k)
If k≤21e20d then our choice r:=d40εln(2k)≤2ε holds and therefore
N≥128003⋅ε2ln(2k)d2=Ω(ε2logkd2)
For k>21e20d, every (k,ε,δ)-list replicable algorithm also solves the (d,ε,δ)-COINBIASESTIMATIONPROBLEM. Using Definition 3.2 gives
N=Ω(ε2d)=Ω(ε2logkd2)
The last bound was by using the fact that k>21e20d.