betaFeedback

WorksComputer Science

The Communication Complexity of the Coin Problem

Abstract

We study the two-player communication complexity of the \textsf{Coin} problem. Here, two players, denoted Alice and Bob, are given up to nn individual i.i.d. random coins, and asked to output whether there are more heads or tails. An immediate approach is for Alice to send Bob her exact numbers of heads and tails, yielding a deterministic protocol with one-way communication cost O(log⁡n)O(\log n) bits. Indeed, this is provably optimal in the related multi-player and streaming settings [Braverman, Garg, Woodruff, FOCS'20]. Our contribution is to show that this is not the right answer in the one-way two-player setting. Instead, we prove a Ω(log⁡log⁡n)Ω(\log\log n) bit lower bound for the constant error-rate regime, and a Ω(log⁡(1/δ))Ω(\log(1/δ)) bit lower bound for arbitrarily small error rates, δ≥n−0.1δ\geq n^{-0.1}. We also complement these with a tight one-way protocol using O(log⁡log⁡n+log⁡(1/δ))O(\log\log n + \log(1/δ)) bits of communication. Unlike the previous works, our lower bounds avoid intricate direct information-theoretic arguments. Instead, our Ω(log⁡(1/δ))Ω(\log(1/δ)) bound is via a standard fooling-set style argument, whilst our Ω(log⁡log⁡n)Ω(\log\log n) bound is via a novel yet simple reduction from the \textsf{Gap-Greater-Than} problem. This reduction is our main technical contribution, and can be seen as loosely inspired by the Robust Communication Complexity arguments of [Chakrabarti, Cormode, McGregor, STOC'08]. Finally, we also show that our constant-error lower bound and protocol can be adapted to the multi-round setting: up to polynomial factors in rr, the rr-round communication complexity of the coin problem is Θ((log⁡log⁡n)1/r)Θ\left((\log\log n)^{1/r}\right) bits.

Introduction

The coin problem is one of the most basic computational tasks: given nn independent unbiased coin tosses, determine whether there are more heads or tails. Whilst computing the answer is straightforward when all coin tosses are available in one place, the problem becomes considerably more subtle in non-centralized settings.

In this work, we primarily focus on the coin problem in the one-way two-player communication model [Yao79]. Here, the two players, Alice and Bob, each receive a subset of the up to nn coin tosses as their private inputs. Alice then sends a single message to Bob who must determine the majority outcome of the entire collection of coins. We denote this problem by Coinn\mathrm{Coin}_n. Our goal is to solve this with as little communication as possible1.

The coin problem admits a trivial zero-error protocol using O(log⁡n)O(\log n) bits of communication: Alice simply sends the exact numbers of heads and tails in her input, allowing Bob to determine the overall majority exactly. At the other extreme, Bob may ignore Alice’s message altogether and output a uniformly random guess, requiring no communication and succeeding with probability 1/21/2. In addition, a single bit of communication already suffices to achieve success probability 3/43/4: Alice sends the majority value among her own coin tosses, and Bob outputs this value whenever it agrees with the majority of his own input, breaking ties uniformly at random otherwise.

Beyond this, however, the communication complexity of the coin problem is not well-studied. For example, it is unclear how much success probability can be achieved using two bits of communication, or how many bits are required to achieve success probability, say, 0.76. Motivated by these questions, we set out to study the trade-off between communication and success probability.

To this end, our main contribution is an (almost) complete characterization of this trade-off. Our first result shows that 3/43/4 is indeed the sharp threshold beyond which super-constant communication becomes necessary.

Theorem 1.1. Any (potentially randomised) one-way two-player communication protocol for Coinn\mathrm{Coin}_n with success probability 3/4+ε3/4+\varepsilon, for any constant ε>0\varepsilon>0, must communicate Ω(log⁡log⁡n)\Omega(\log\log n) bits.

Beyond the constant-error regime, we also consider the low-error regime where the error probability δ\delta may be arbitrarily small, and here we prove a space dependency on δ\delta.

Theorem 1.2. Any (potentially randomised) one-way two-player communication protocol for Coinn\mathrm{Coin}_n with success probability 1−δ1-\delta, for any δ≥n−0.1\delta\ge n^{-0.1}, must communicate Ω(log⁡(1/δ))\Omega(\log(1/\delta)) bits.

We complement our lower bounds with a matching deterministic protocol. At a high level, our protocol shows that the two sources of difficulty identified by our lower bounds can be addressed independently: O(log⁡log⁡n)O(\log\log n) bits suffice to surpass the 3/43/4 barrier, and an additional O(log⁡(1/δ))O(\log(1/\delta)) bits are enough to amplify the success probability to 1−δ1-\delta.

Theorem 1.3. There is a deterministic one-way two-player communication protocol for Coinn\mathrm{Coin}_n with success probability 1−δ1-\delta, for any δ>0\delta>0, using O(log⁡log⁡n+log⁡(1/δ))O(\log\log n+\log(1/\delta)) bits of communication.

Combined, our results show that, for nn coin tosses, and error probability δ<1/4\delta<1/4, the coin problem has communication complexity Θ(log⁡log⁡n+log⁡(1/δ))\Theta(\log\log n+\log(1/\delta)).

Multi-Round Communication. Finally, we also extend our results to the more powerful multi-round communication setting, where Alice and Bob can take turns exchanging messages multiple times. In particular, we obtain a tradeoff between the communication required, and number of rounds allowed, and this tradeoff is also tight for any constant number of rounds.

Theorem 1.4. There is a deterministic rr-round two-player communication protocol for Coinn\mathrm{Coin}_n that succeeds with probability at least 99/10099/100 using O((log⁡log⁡n)1/r⋅rlog⁡r)O((\log\log n)^{1/r}\cdot r\log r) bits of communication. Conversely, every (possibly randomized) rr-round two-player communication protocol for Coinn\mathrm{Coin}_n that succeeds with probability at least 99/10099/100 must communicate Ω((log⁡log⁡n)1/r/r2)\Omega((\log\log n)^{1/r}/r^{2}) bits.

Whilst this is stated for the error-rate δ=1/100\delta=1/100, these bounds also trivially extend to any constant error rate δ<1/4\delta<1/4.

Finally, we remark that whilst our lower bounds are stated for potentially randomised algorithms, this is not actually required. Instead, by viewing a randomised algorithm as a distribution over deterministic algorithms, there must exist a fixing of a randomness (for which the algorithm becomes deterministic) which achieves the same success probability.

Connections to the Streaming Setting

While the coin problem has been studied extensively from the perspective of computational complexity [5 Ste13, 7 LV18], it has also attracted significant recent attention in the streaming setting. Here, the outcomes of the nn coin tosses are revealed sequentially, and the goal is to determine the majority outcome using as little memory as possible. The same simple algorithm as before maintains the exact number of heads and tails seen so far, yielding an O(log⁡n)O(\log n)-space upper bound.

Establishing matching lower bounds is considerably more challenging. The standard approach for proving one-pass streaming lower bounds is to reduce the problem to a one-way (multi-player) communication game, where the stream is partitioned among several players who take turns communicating sequentially. At the end, the final player must produce the desired answer.

The simplest such reductions involve only two players, Alice and Bob, which is precisely the setting primarily studied in this work. Unfortunately, this approach is insufficient for proving the optimal Ω(log⁡n)\Omega(\log n) streaming space lower bound for the coin problem in the constant error regime. Braverman, Garg, and Woodruff, in their breakthrough work [4], observed that when Alice and Bob each receive exactly half of the stream, the resulting two-player problem admits an O(1)O(1)-bit protocol with constant error probability. We stress that this is for the specific scenario where both players know exactly how many coins are held by the other. Thus, the standard two-player reduction does not initially seem capable of yielding any super-constant lower bounds. To overcome this barrier, they detoured to the multi-player communication model where they developed a novel information-theoretic argument, obtaining the first optimal Ω(log⁡n)\Omega(\log n) space lower bound.

The techniques introduced by [4] have had a lasting impact beyond the coin problem itself, and have since been adapted to establish a variety of fundamental streaming lower bounds [2, 3, 1 LWZ25, GHPS26, SY26]. Our work complements this line of research by revisiting the two-player communication perspective on the problem.

Precisely, our Theorem 1.1 shows that, in contrast to the equal-partition of the stream considered by [4], a super-constant lower bound of Ω(log⁡log⁡n)\Omega(\log\log n) for the streaming coin problem can already be obtained when the stream is partitioned unequally between Alice and Bob. While our lower bound is exponentially weaker than the optimal Ω(log⁡n)\Omega(\log n) bound of [4], our approach appears substantially simpler and, as a bonus, holds for a larger range of constant success probabilities4.

Our Approaches

The Ω(log⁡log⁡n)\Omega(\log\log n) Lower Bound. Our approach begins with a simple key lemma: if one player holds many more coins than the other, then this player’s majority element will also be the majority of all coins, with good probability over the coins. The proof of this is remarkably simple - we combine both a standard concentration and anti-concentration bound over two binomial distributions with very different numbers of trials (formalised in Lemma 3.1).

This directly leads to our proof approach: we can use the canonical Greater-Than problem to construct a reduction where the players are unaware who holds more coins. Here, Alice and Bob hold GA,GB∈[n]G_A,G_B \in[n] respectively, and are asked to determine whether GA>GBG_A > G_B. Then, via our key lemma, we can argue that when the players are able to determine the majority element with sufficient (constant) probability, then they can use this to also infer who has more coins, solving an underlying Greater-Than instance.

A priori, this would suggest a Ω(log⁡n)\Omega(\log n) lower bound, where each player simulates precisely as many coins as per their Greater-Than input. However, the devil is in the details, and this turns out not to be the full story. Instead, for our key lemma, and hence our reduction, to hold, we require the ratio GA/GBG_A/G_B to be sufficiently large (or small). I.e. we require a multiplicative difference, rather than a purely additive one. We overcome this hurdle in two ways:

  1. First, instead of simulating GAG_A and GBG_B coins respectively, the players will instead simulate 2GA2^{G_A} and 2GB2^{G_B} many.

  1. Next, instead of reducing from Greater-Than, we will reduce from the related Gap-Greater-Than problem. This is a promise version of Greater-Than where ∣GA−GB∣\lvert G_A-G_B\rvert is sufficiently large.

Together, these two steps are sufficient to guarantee the multiplicative difference required.

This is also precisely why we obtain a Ω(log⁡log⁡n)\Omega(\log\log n) lower bound. Our final reduction is from an instance of Gap-Greater-Than over the input range [m][m], which requires (one-way) communication Ω(log⁡m)\Omega(\log m). At the same time, the players simulate up to 2m+12^{m+1} distinct coins. This allows us to re-parameterize m=Θ(log⁡n)m=\Theta(\log n), with which the Ω(log⁡m)\Omega(\log m) lower bound translates to Ω(log⁡log⁡n)\Omega(\log\log n).

Our argument can be seen as inspired by the Robust Communication Complexity arguments of [6], particularly when it comes to the stochastic nature of the simulated coins. This is an approach to communication complexity where input elements are randomly partitioned between players. Without these arguments, we could obtain a bound on protocols with success probability 7/8+ε7/8+\varepsilon, but using these ideas allows us to boost this to 3/4+ε3/4+\varepsilon. However, unlike most robust communication complexity arguments, the randomness behind ours solely arises from the stochastic nature of the input, rather than through how the input elements are partitioned between players.

The Ω(log⁡(1/δ))\Omega(\log(1/\delta)) Lower Bound. Our second lower bound is considerably more standard, and follows from a fooling-set style argument. The key observation is that Alice’s message acts as a function whose pre-images form a partition of her input space. Then, upon receiving any particular message, Bob must produce an output that is simultaneously correct for (almost) every input in the corresponding pre-image.

More concretely, suppose Alice sends a CC-bit message and the protocol achieves error δ\delta. Then, it must be that her input space is partitioned into 2C2^C subsets, corresponding to each message, namely I1,…,I2CI_1,\ldots,I_{2^C}. Let ρ1,…,ρ2C\rho_1,\ldots,\rho_{2^C} denote the probability masses of these subsets respectively. In particular, conditioned on any particular message, Bob has no information about Alice’s input beyond the fact that it belongs to the corresponding subset. Then, as the crux of our proof, we show that under the condition that both Alice and Bob receive inputs from the same IjI_j (which occurs with probability ρj2\rho_j^2), Bob must err with constant probability. As a result, the total error rate must be at least Ω(1)⋅∑jρj2≥Ω(2−C)\Omega(1)\cdot\sum_j\rho_j^2\geq\Omega(2^{-C}) (by Cauchy-Schwarz), from which it follows that C=Ω(log⁡(1/δ))C=\Omega(\log(1/\delta)).

The Upper Bound. We now sketch our O(log⁡log⁡n)O(\log\log n)-bit protocol for any error-rate δ=O(1)\delta=O(1). Our protocol is inspired by the simple O(1)O(1)-bit protocol of [4] for the special case in which Alice and Bob each receive exactly half of the coins. In their protocol, Alice sends Bob the number of standard deviations by which the sum of her coin tosses deviates from its expectation, rounded to the nearest multiple of a small constant (e.g., 10−410^{-4}). To handle the more general setting in which Alice and Bob may receive arbitrary numbers of coins, we make two key modifications.

  1. Suppose Alice and Bob receive comparable numbers of coins, say within a factor of 100. We observe that a straightforward refinement of the protocol of [4], in which Alice rounds to a much finer precision (e.g., 10−1010^{-10}), continues to succeed. The finer rounding compensates for the discrepancy between Alice’s and Bob’s standard deviations, while increasing the message length by only a constant number of bits.

  1. Now suppose one player receives significantly more coins than the other, say by a factor of at least 100. Then, by the same key technical lemma we made earlier, the majority element of the player with more coins will also be the majority element of all coins (with good probability), and this is the idea we will lean on. In this case, Alice sends Bob her majority bit, together with an approximate count of her number of coins, rounded to the nearest power of two. Bob then compares this estimate to his own number of coins. If Alice appears to hold significantly more coins, he outputs her majority bit; otherwise, if he holds significantly more coins, he outputs his own majority bit.

Let us first reason about the communication cost. In the first case, the sum of Alice’s coin tosses lies within O(1)O(1) standard deviations of its expectation with high constant probability (via Chebyshev’s inequality). Given that this occurs, Alice’s rounded value requires only O(1)O(1) bits to encode. In the second case, Alice only needs to communicate an estimate of her number of coins, rounded to the nearest power of two. Since she holds at most nn coins, this can be encoded by O(log⁡log⁡n)O(\log\log n) bits.

The full implementation of this protocol (Section 6) extends to cover the remaining regime of δ>0\delta> 0. However, we remark that the high level ideas remain unchanged, and instead it is only the rounding schemes which are affected.

Multi-Round Communication Tradeoffs. Our multi-round results are obtained via minor adaptations of our one-way bounds. For the lower bound, we observe that our reduction also preserves the number of rounds. Thus, it suffices to invoke a previously known rr-round lower bound for Greater-Than [SV08], yielding our coin problem lower bound.

For the upper bound, we observe that, for constant error rates, the protocol developed above ultimately boils down to comparing the logarithms of the numbers of coins held by Alice and Bob. Therefore, replacing our one-way protocol with a more efficient rr-round protocol for Greater-Than yields the desired bound.

AI Declaration. AI tools were only used as a reference for grammar, and not for any mathematical work.

Preliminaries

Notations. Given a real number xx, we use sign⁡(x):=∣x∣x∈{±1}\operatorname{sign}(x) := \frac{|x|}{x} \in\{\pm1\} to denote its sign. If x=0x = 0, either sign is correct, but for our lower bounds it will also be useful to think of sign⁡(x)\operatorname{sign}(x) as not existing in this case. We use log⁡n\log n to denote the base-2 logarithm of nn, and ln⁡(n)\ln(n) to denote its natural logarithm. For any integers a,ba,b, we shorthand [a,b][a,b] for [a,a+1,…,b][a,a+1,\ldots,b]. We also denote [n]={1,…,n}[n] = \{1,\ldots,n\} for any positive integer nn.

The Coin Problem. The coin problem in the two-player communication setting is defined as follows. Let nn be a positive integer and let δ∈(0,12]\delta\in(0,\frac{1}{2}] be an error parameter. Alice is given a∈[n]a \in[n] i.i.d. fair coin tosses, while Bob is given b∈[n]b \in[n] i.i.d. fair coin tosses. The players may communicate back and forth, and in the end, they must determine the majority outcome of all tosses with probability at least 1−δ1-\delta over the randomness of the coin toss. We say that a protocol is one-way if it consists of a single message from Alice to Bob. More generally, a protocol is said to use rr rounds if it consists of at most rr alternating messages between Alice and Bob.

Associating heads with “+1+1” and tails with “−1-1”, we denote Alice’s and Bob’s sums of coin tosses by AA and BB, respectively. Then AA and BB are distributed according to 2⋅B(a,1/2)−a2 \cdot\mathcal{B}(a,1/2)-a and 2⋅B(b,1/2)−b2 \cdot\mathcal{B}(b,1/2)-b, respectively, where B(⋅)\mathcal{B}(\cdot) denotes the binomial distribution. Equivalently, the players’ objective is to determine sign⁡(A+B)\operatorname{sign}(A+B).

We denote by CAC_A and CBC_B the sets of coins given to Alice and Bob, and by CAB=CA∪CBC_{AB}=C_A\cup C_B the combined set of coins. We will occasionally abuse notation by writing sign⁡(CA)=sign⁡(A)\operatorname{sign}(C_A)=\operatorname{sign}(A), sign⁡(CB)=sign⁡(B)\operatorname{sign}(C_B)=\operatorname{sign}(B), and sign⁡(CAB)=sign⁡(A+B)\operatorname{sign}(C_{AB})=\operatorname{sign}(A+B) to refer to Alice’s local majority, Bob’s local majority, and the overall majority, respectively.

The Gaussian Distribution. For any variance parameter σ2>0\sigma^2>0, we denote by N(0,σ2)\mathcal{N}(0,\sigma^2) the Gaussian distribution with mean 00 and variance σ2\sigma^2. Its probability density function (pdf) and cumulative distribution function (cdf) are defined respectively as

ϕσ2(z):=12πσ⋅exp⁡(−z22σ2)andΦσ2(z):=∫−∞zϕσ2(t) dt.\phi_{\sigma^2}(z):=\frac{1}{\sqrt{2\pi}\sigma}\cdot\exp\left(-\frac{z^2}{2\sigma^2}\right) \qquad\text{and}\qquad \Phi_{\sigma^2}(z):=\int_{-\infty}^{z}\phi_{\sigma^2}(t)\,\mathrm{d}t.

Quantiles and ranks. For a distribution D\mathcal{D} supported over the reals and q∈[0,1]q\in[0,1], we define the qq-quantile of D\mathcal{D} as the smallest value x∈Rx\in\mathbb{R} such that Pr⁡y∼D(y≤x)≥q\Pr_{y\sim\mathcal{D}}(y\le x)\ge q. Equivalently, xx satisfies Pr⁡y∼D(y<x)<q\Pr_{y\sim\mathcal{D}}(y<x)<q and Pr⁡y∼D(y≤x)≥q\Pr_{y\sim\mathcal{D}}(y\le x)\ge q. Conversely, the rank of x∈Rx\in\mathbb{R} with respect to D\mathcal{D} is defined as Pr⁡y∼D(y<x)\Pr_{y\sim\mathcal{D}}(y<x).

Useful Inequalities

The following standard facts will also be useful to us.

Fact 2.1. For all x,y∈Rx,y\in\mathbb{R}, if ∣x∣≥∣y∣|x|\ge|y|, then sign⁡(x+y)=sign⁡(x)\operatorname{sign}(x+y)=\operatorname{sign}(x).

Fact 2.2. Pr⁡(sign⁡(A)=sign⁡(B))=1/2\Pr(\operatorname{sign}(A)=\operatorname{sign}(B))=1/2, and when this occurs, sign⁡(CAB)=sign⁡(CA)=sign⁡(CB)\operatorname{sign}(C_{AB})=\operatorname{sign}(C_A)=\operatorname{sign}(C_B).

Fact 2.3. For any 0<r≤s0<r\le s, we have ϕr(z)≤sr⋅ϕs(z)\phi_r(z)\le\sqrt{\frac{s}{r}}\cdot\phi_s(z).

Fact 2.4. For any positive integer nn, the Gaussian distribution N(0,n)\mathcal{N}(0,n) and the shifted binomial distribution 2⋅B(n,1/2)−n2\cdot\mathcal{B}(n,1/2)-n have statistical distance at most O(1/n)O(1/\sqrt{n}). Equivalently, for every z∈Rz\in\mathbb{R}, we have

∣Pr⁡[N(0,n)≤z]−Pr⁡[2⋅B(n,1/2)−n≤z]∣≤O(1n).\left|\Pr[\mathcal{N}(0,n)\le z]-\Pr[2\cdot\mathcal{B}(n,1/2)-n\le z]\right|\le O\left(\frac{1}{\sqrt{n}}\right).

Fact 2.5. For any integer n≥1n\ge1 and any 0≤k≤n0\le k\le n, we have

(nk)≤(n⌊n/2⌋)≤2π⋅2nn.\binom{n}{k}\le\binom{n}{\lfloor n/2\rfloor}\le\sqrt{\frac{2}{\pi}}\cdot\frac{2^n}{\sqrt{n}}.

Corollary 2.6. Let X∼2⋅B(n,1/2)−nX\sim2\cdot\mathcal{B}(n,1/2)-n. Then, for any z∈Rz\in\mathbb{R}, we have Pr⁡[X=z]≤O(1n)\Pr[X=z]\le O\left(\frac{1}{\sqrt{n}}\right).

Theorem 2.7 (Chernoff Bound). Let nn be a positive integer and X∼B(n,1/2)X\sim\mathcal{B}(n,1/2). Then, for any α∈(0,1)\alpha\in(0,1),

Pr⁡(∣X−n2∣≥αn2)≤2e−α2n/6.\Pr\left(\left|X-\frac{n}{2}\right|\ge\frac{\alpha n}{2}\right)\le2e^{-\alpha^2n/6}.

Theorem 2.8 (Anti-Concentration of the Binomial). Let nn be a positive integer and X∼B(n,1/2)X\sim\mathcal{B}(n,1/2). Then, for any α>0\alpha>0,

Pr⁡(∣X−n2∣≤αn)≤2eαπ.\Pr\left(\left|X-\frac{n}{2}\right|\le\alpha\sqrt{n}\right)\le\frac{2e\alpha}{\pi}.

The Key Technical Lemma

We now present the key lemma that will be used to prove both our lower and upper bounds.

Lemma 3.1. Let δ∈(0,1)\delta\in(0,1). If b≤0.02⋅aδ2/ln⁡(4/δ)b \le0.02 \cdot a\delta^2/\ln(4/\delta), then

Pr⁡(sign⁡(CAB)=sign⁡(CA))≥1−δ\Pr(\operatorname{sign}(C_{AB}) = \operatorname{sign}(C_A)) \ge1-\delta

Conversely, if a≤0.02⋅bδ2/ln⁡(4/δ)a \le0.02 \cdot b\delta^2/\ln(4/\delta), then

Pr⁡(sign⁡(CAB)=sign⁡(CB))≥1−δ.\Pr(\operatorname{sign}(C_{AB}) = \operatorname{sign}(C_B)) \ge1-\delta.

Proof. We will prove the first of these, the second follows by an identical argument. We first show that CBC_B is concentrated around 0. To do so, we use a Chernoff bound (Theorem 2.7) to write

Pr⁡(∣CB∣≥6bln⁡(4/δ))≤δ/2.(1)\Pr\left(\lvert C_B\rvert\ge\sqrt{6b\ln(4/\delta)}\right) \le\delta/2. \tag*{(1)}

Next, we turn to CAC_A and instead show that it is unlikely to be this close to 0. We do this via Theorem 2.8 to write

Pr⁡(∣CA∣≤6bln⁡(4/δ))≤2eπ3bln⁡(4/δ)2a≤2eπ0.03⋅δ2\begin{aligned} \Pr\left(\lvert C_A\rvert\le\sqrt{6b\ln(4/\delta)}\right) &\le\frac{2e}{\pi}\sqrt{\frac{3b\ln(4/\delta)}{2a}}\\ &\le\frac{2e}{\pi}\sqrt{0.03\cdot\delta^2} \end{aligned}

(By the assumption on bb.)

<δ/2.(2)<\delta/2. \tag*{(2)}

Thus, combining Equations (1) and (2) via a union bound, we can write

Pr⁡(∣CB∣≥6bln⁡(4/δ) or ∣CA∣≤6bln⁡(4/δ))≤δ,\Pr\left(\lvert C_B\rvert\ge\sqrt{6b\ln(4/\delta)}\ \text{or}\ \lvert C_A\rvert\le\sqrt{6b\ln(4/\delta)}\right) \le\delta,

and so, with probability at least 1−δ1-\delta, it follows that ∣CA∣>∣CB∣\lvert C_A\rvert> \lvert C_B\rvert. Thus, by Fact 2.1, we also get that sign⁡(CAB)=sign⁡(CA)\operatorname{sign}(C_{AB}) = \operatorname{sign}(C_A) with this probability. ■

The Ω(log⁡log⁡n)\Omega(\log\log n) Lower Bound

We now prove our main result, Theorem 1.1.

Theorem 1.1. Any (potentially randomised) one-way two-player communication protocol for Coinn\mathrm{Coin}_n with success probability 3/4+ε3/4+\varepsilon, for any constant ε>0\varepsilon> 0, must communicate Ω(log⁡log⁡n)\Omega(\log\log n) bits.

The Gap-Greater-Than Communication Problem

Our starting point is the canonical Gap-Greater-Than communication problem, and its well-known hardness.

Definition 4.1 (Gap-Greater-Than). In the Gap-Greater-Than(m,g)(m,g) problem, Alice and Bob are given GA,GB∈[m]G_A,G_B \in[m], with the promise that ∣GA−GB∣≥g\lvert G_A-G_B\rvert\ge g and asked to determine if GA>GBG_A > G_B.

Theorem 4.2. Any (potentially randomised) one-way two-player communication protocol which solves Gap-Greater-Than(m,m)(m,\sqrt{m}) with probability at least 1/2+ε1/2+\varepsilon, for any constant ε>0\varepsilon> 0, must send a message of size Ω(log⁡m)\Omega(\log m).

This one-way lower bound can be proven via a simple reduction from the canonical Augmented-Index problem. For completeness, we give this reduction in Appendix A, but do not claim any novelty in it. However, the following fact regarding it will be useful here.

Fact 4.3. With the choice of m=log⁡nm = \log n, the hard distribution of Gap-Greater-Than(m,m)(m,\sqrt{m}) which we implicitly use satisfies Pr⁡(GA≥log⁡n)=1−2log⁡(m)/2=1−o(1)\Pr(G_A \ge\sqrt{\log n}) = 1 - 2^{\log(m)/2} = 1 - o(1).

We also note that multi-round lower bounds can be obtained from more direct round elimination arguments [MNSW95].

The Reduction from Gap-Greater-Than

We now present our reduction to the coin problem. We point out that our earlier key observation (Lemma 3.1) directly motivates the design of our reduction: we will aim to create input streams of coins where one player holds far more than the other, so that solving the coin problem will also help reveal who holds more coins.

Protocol QQ for Gap-Greater-Than(m,m)(m,\sqrt{m}):

Input: Suppose Alice and Bob hold an instance of Gap-Greater-Than(m,m)(m,\sqrt{m}), with Alice holding GA∈[m]G_A \in[m], and Bob holding GB∈[m]G_B \in[m]. Let A\mathcal{A} denote any protocol for the Coin problem.

The Protocol:

  1. First, Alice uses private randomness to simulate 2GA2^{G_A} many i.i.d. coin tosses, denoting these CAC_A.

  1. Alice then runs A\mathcal{A} on these simulated coins, and sends the message from A\mathcal{A} on to Bob, together with the majority element of CAC_A (if it exists), denoted XX.

  1. Bob then continues by first using private randomness to simulate 2GB2^{G_B} many i.i.d. coins, denoted CBC_B, and then uses the message sent by Alice to continue the execution of A\mathcal{A} on these coins. Also, let YY denote the majority element of CBC_B.

The Output: Bob then produces the final output in the following way. If either XX does not exist, or X=YX = Y, then Bob outputs either GA>GBG_A > G_B or GB>GAG_B > G_A, each with probability 1/21/2 (i.e. a random guess). Otherwise, we have that XX exists and X≠YX \ne Y. Now, in this case, let ZZ denote the final output produced by A\mathcal{A}. Then, if Z=YZ = Y, Bob outputs that GB>GAG_B > G_A, and otherwise outputs that GA>GBG_A > G_B.

We are now ready to complete the proof of Theorem 1.1.

Theorem 1.1. Any (potentially randomised) one-way two-player communication protocol for Coinn\mathrm{Coin}_n with success probability 3/4+ε3/4 + \varepsilon, for any constant ε>0\varepsilon> 0, must communicate Ω(log⁡log⁡n)\Omega(\log\log n) bits.

Proof. For any nn, we consider an instance of Gap-Greater-Than(log⁡n,log⁡n)(\log n,\sqrt{\log n}) (i.e. m=log⁡nm = \log n), and consider running Protocol QQ. In doing so, suppose that A\mathcal{A} is any protocol for the Coin problem with success probability 3/4+ε3/4 + \varepsilon. We now first consider the event

E=“either X does not exist, or X=Y”.\mathcal{E} = \text{“either } X \text{ does not exist, or } X = Y\text{”.}

This is precisely the event under which Bob’s outputs is simply a random guess, which will be correct with probability 1/21/2. Then, we can write

Pr⁡(E)≤Pr⁡(X does not exist)+Pr⁡(X=Y)=Pr⁡(CA contains exactly a/2 many heads)+Pr⁡(X=Y)(3)\Pr(\mathcal{E}) \le\Pr(X\text{ does not exist})+\Pr(X=Y) = \Pr(C_A\text{ contains exactly }a/2\text{ many heads})+\Pr(X=Y) \tag*{(3)}
≤Pr⁡(CA contains exactly a/2 many heads∣GA≥log⁡n)⋅Pr⁡(GA≥log⁡n)+Pr⁡(GA<log⁡n)+Pr⁡(X=Y)=O(1/2log⁡n/2)⋅Pr⁡(GA≥log⁡n)+Pr⁡(GA<log⁡n)+Pr⁡(X=Y)(4)\begin{aligned} &\le\Pr\left(C_A\text{ contains exactly }a/2\text{ many heads}\mid G_A\ge\sqrt{\log n}\right)\cdot\Pr\left(G_A\ge\sqrt{\log n}\right)\\ &\quad+\Pr\left(G_A<\sqrt{\log n}\right)+\Pr(X=Y)\\ &=O\left(1/2^{\sqrt{\log n}/2}\right)\cdot\Pr\left(G_A\ge\sqrt{\log n}\right)+\Pr\left(G_A<\sqrt{\log n}\right)+\Pr(X=Y) \tag*{(4)} \end{aligned}
Pr⁡(CA contains exactly a/2 many heads)=(aa/2)/2a=O(1/a), and a=2GA≥2log⁡n.=O(1/2log⁡n/2)⋅(1−o(1))+o(1)+1/2(By xref‘Facts 2.2 and 4.3‘.)=o(1)⋅(1−o(1))+o(1)+1/2\begin{aligned} \Pr(C_A\text{ contains exactly }a/2\text{ many heads})=\binom{a}{a/2}/2^a=O(1/\sqrt{a}),\text{ and }a=2^{G_A}\ge2^{\sqrt{\log n}}. \\ &=O\left(1/2^{\sqrt{\log n}/2}\right)\cdot(1-o(1))+o(1)+1/2 \qquad\text{(By {xref}`Facts 2.2 and 4.3`.)} \\ &=o(1)\cdot(1-o(1))+o(1)+1/2 \end{aligned}
≤1/2+o(1).(5)\le1/2+o(1). \tag*{(5)}

Next, we turn to consider the event

F=“The majority element of the player with the larger inputis also the majority element of all coins collectively”.\mathcal{F}=\text{“The majority element of the player with the larger input}\\ \text{is also the majority element of all coins collectively”.}

We immediately see that this is precisely the event whose probability is bounded in our key lemma (Lemma 3.1), which is exactly how we will approach it here.

In order to bound Pr⁡(F)\Pr(\mathcal{F}), we first use that, by construction, ∣GA−GB∣≥log⁡n|G_A-G_B|\ge\sqrt{\log n}. Therefore, assuming that GA>GBG_A>G_B, we get that

2GA2GB≥2GA2GA−log⁡n=2log⁡n,(6)\frac{2^{G_A}}{2^{G_B}}\ge\frac{2^{G_A}}{2^{G_A-\sqrt{\log n}}}=2^{\sqrt{\log n}}, \tag*{(6)}

and vice-versa if GB>GAG_B>G_A. Now, to satisfy the conditions of Lemma 3.1, we set

δ=502log⁡n4=o(1),\delta=\sqrt[4]{\frac{50}{2^{\sqrt{\log n}}}}=o(1),

to obtain

δ2ln⁡(4/δ)≥δ3>δ4=502log⁡n,(7)\frac{\delta^2}{\ln(4/\delta)}\ge\delta^3>\delta^4=\frac{50}{2^{\sqrt{\log n}}}, \tag*{(7)}

and thus verify

2GB≤2GA/2log⁡n(Equation 6.)=2GA⋅150⋅502log⁡n\begin{aligned} 2^{G_B}\le2^{G_A}/2^{\sqrt{\log n}} \qquad\text{(Equation 6.)} \\ &=2^{G_A}\cdot\frac{1}{50}\cdot\frac{50}{2^{\sqrt{\log n}}} \end{aligned}
≤2GA⋅0.02⋅δ2ln⁡(4/δ),(Equation 7.)\le2^{G_A}\cdot0.02\cdot\frac{\delta^2}{\ln(4/\delta)}, \qquad\text{(Equation 7.)}

as desired (or vice-versa if GB>GAG_B > G_A). This then allows us to use Lemma 3.1 to obtain the bound

Pr⁡(F)≥1−δ=1−o(1).(8)\Pr(\mathcal{F}) \ge1-\delta= 1-o(1). \tag*{(8)}

and thus

Pr⁡(A is correct∧F)≥Pr⁡(A is correct)−Pr⁡(¬F)≥34+ε−o(1).\Pr(\mathcal{A}\text{ is correct} \wedge\mathcal{F}) \ge\Pr(\mathcal{A}\text{ is correct})-\Pr(\neg\mathcal{F}) \ge\frac{3}{4}+\varepsilon-o(1).

Now, using these bounds, we can determine the probability that QQ is correct to be:

Pr⁡(Protocol Q is correct)≥12⋅Pr⁡(E)+Pr⁡(¬E∧(A is correct∧F))≥12⋅Pr⁡(E)+Pr⁡(A is correct∧F)−Pr⁡(E)≥12⋅(12+o(1))+(34+ε−o(1))−(12+o(1))\begin{aligned} \Pr(\text{Protocol }Q\text{ is correct}) &\ge\frac{1}{2}\cdot\Pr(\mathcal{E})+\Pr(\neg\mathcal{E}\wedge(\mathcal{A}\text{ is correct}\wedge\mathcal{F}))\\ &\ge\frac{1}{2}\cdot\Pr(\mathcal{E})+\Pr(\mathcal{A}\text{ is correct}\wedge\mathcal{F})-\Pr(\mathcal{E})\\ &\ge\frac{1}{2}\cdot\left(\frac{1}{2}+o(1)\right)+\left(\frac{3}{4}+\varepsilon-o(1)\right)-\left(\frac{1}{2}+o(1)\right) \end{aligned}

(Equations 5 and 8.)

≥12+ε−o(1)≥12+ε/2,\begin{aligned} \ge\frac{1}{2}+\varepsilon-o(1) \\ &\ge\frac{1}{2}+\varepsilon/2, \end{aligned}

which is a constant larger than 1/21/2.

Then, since (by Theorem 4.2) solving Gap-Greater-Than(m,m)(m,\sqrt{m}) with this probability requires a message of size

Ω(log⁡m)=Ω(log⁡log⁡n),\Omega(\log m)=\Omega(\log\log n),

it must be that QQ, and hence A\mathcal{A}, sends a message of this size.

Now, as the final step, we verify that the total number of coins constructed is at most

2log⁡n+2log⁡n≤2⋅n2^{\log n}+2^{\log n}\le2\cdot n

completing the proof. ■

The Ω(log⁡(1/δ))\Omega(\log(1/\delta)) Lower Bound

We now prove Theorem 1.2.

Theorem 1.2. Any (potentially randomised) one-way two-player communication protocol for Coinn\mathrm{Coin}_n with success probability 1−δ1-\delta, for any δ≥n−0.1\delta\ge n^{-0.1}, must communicate Ω(log⁡(1/δ))\Omega(\log(1/\delta)) bits.

We note that it suffices to only consider the range of δ≥n−0.1\delta\ge n^{-0.1}, since this regime of δ\delta already implies the optimal Ω(log⁡n)\Omega(\log n) lower bound. Additionally, we may also assume δ<1/220\delta<1/220, as larger error probabilities only yield the trivial Ω(1)\Omega(1) lower bound.

We now set up the proof of Theorem 1.2. By Yao’s Lemma, it suffices to consider an arbitrary deterministic protocol P\mathcal{P} that uses CC bits of communication and errs with probability δ\delta under the specified input distribution. We assume that both Alice and Bob receive exactly nn coins, and let A,B∼S(n)A,B\sim S(n) denote the respective differences between the number of heads and tails they hold, where S(n)=2⋅B(n,1/2)−nS(n)=2\cdot\mathcal{B}(n,1/2)-n denotes the shifted binomial distribution. We make two simplifications that significantly ease the exposition. First, instead of computing sign⁡(A+B)\operatorname{sign}(A+B), we see that the players only need to decide whether A>−BA>-B or A<−BA<-B. Noting that −B-B and BB follow identical distributions, they can instead try to decide whether A>BA>B or B<AB<A. Second, we assume that Alice’s message MM depends only on AA, i.e., Alice’s message is governed by a function M:[−n,n]→{0,1}CM:[-n,n]\to\{0,1\}^{C}. In the original setting, this may not hold; for example, Alice may send different messages when her two coins are (−1,+1)(-1,+1) and (+1,−1)(+1,-1), despite having the same value of A=0A=0. Nevertheless, this assumption does not affect the validity of our argument, but simplifies the notation greatly. As a result, Alice’s input space is partitioned into 2C2^{C} subsets corresponding to each message, namely I1,…,I2CI_1,\ldots,I_{2^{C}}. By our assumption, we may view them as a partition of [−n,n][-n,n], where each IjI_j corresponds to the sum of Alice’s coins in its pre-image. Let p(I1),…,p(I2C)p(I_1),\ldots,p(I_{2^{C}}) denote the probability masses of these subsets respectively. For any z∈[−n,n]z\in[-n,n] and I⊆[−n,n]I\subseteq[-n,n], we shorthand p(z)=Pr⁡X∼S(n)(X=z)p(z)=\Pr_{X\sim S(n)}(X=z) and p(I)=∑z∈Ip(z)p(I)=\sum_{z\in I}p(z).

We now suppose, for a contradiction, that C≤0.1⋅log⁡(1/δ)C\leq0.1\cdot\log(1/\delta), which implies that 2C≤(1/δ)0.12^{C}\leq(1/\delta)^{0.1}. Denote the collection of subsets, as induced by Alice’s message, with high masses by:

Ihigh={Ij∣j∈[2C] and p(Ij)≥0.1⋅2−C}.\mathcal{I}^{\mathrm{high}}=\{I_j\mid j\in[2^{C}]\text{ and }p(I_j)\geq0.1\cdot2^{-C}\}.

We first show that Ihigh\mathcal{I}^{\mathrm{high}} contains a significant fraction of the probability mass.

Claim 5.1. p(Ihigh)≥0.9p(\mathcal{I}^{\mathrm{high}})\geq0.9.

Proof. Consider the random variable J∈[2C]J\in[2^{C}] sampled according to the distribution Pr⁡[J=j]=p(Ij)\Pr[J=j]=p(I_j). Then,

EJ[1p(IJ)]=∑j∈[2C]p(Ij)⋅1p(Ij)=2C.\mathbb{E}_{J}\left[\frac{1}{p(I_J)}\right]=\sum_{j\in[2^{C}]}p(I_j)\cdot\frac{1}{p(I_j)}=2^{C}.

By Markov’s inequality,

Pr⁡J[1p(IJ)>10⋅2C]≤0.1.\Pr_{J}\left[\frac{1}{p(I_J)}>10\cdot2^{C}\right]\leq0.1.

Therefore, with probability at least 0.90.9 over the choice of JJ, we have p(IJ)≥0.1⋅2−Cp(I_J)\geq0.1\cdot2^{-C}, which implies that IJ⊆IhighI_J\subseteq\mathcal{I}^{\mathrm{high}}. Hence, p(Ihigh)≥0.9p(\mathcal{I}^{\mathrm{high}})\geq0.9.

We now consider the case where both AA and BB belong to the same Ij∈IhighI_j\in\mathcal{I}^{\mathrm{high}}. We write S(n)∣IjS(n)\mid I_j to denote the conditional distribution of S(n)S(n) conditioned on the event that the realization lies in the subset IjI_j. Since AA and BB are independent, for any such jj we have Pr⁡(A,B∈Ij)=p(Ij)2\Pr(A,B\in I_j)=p(I_j)^2. Conditioned on this event and after receiving the message, Bob’s posterior view is that AA is distributed according to S(n)∣IjS(n)\mid I_j, which is identical to BB. Therefore, Bob’s optimal strategy is to compare BB against the distributional median of S(n)∣IjS(n)\mid I_j. In particular, Bob can proceed as follows:

  1. Let zz denote the median of IjI_j under the distribution S(n)∣IjS(n)\mid I_j.

  1. Partition IjI_j into Ij<∪{z}∪Ij>I_j^{<}\cup\{z\}\cup I_j^{>}, where

Ij<={z′∈Ij∣z′<z}andIj>={z′∈Ij∣z′>z}.I_j^{<}=\{z'\in I_j\mid z'<z\}\quad\text{and}\quad I_j^{>}=\{z'\in I_j\mid z'>z\}.
  1. If B∈Ij<B\in I_j^{<}, Bob outputs that A>BA>B.

  1. If B∈Ij>B\in I_j^{>}, Bob outputs that A<BA<B.

  1. If B=zB=z, Bob outputs a uniformly random guess.

We can now use this behavior to analyse the probability that P\mathcal{P} produces the correct output.

Claim 5.2. Suppose that Ij∈IhighI_j \in\mathcal{I}^{\mathrm{high}}. Then, Pr⁡(A,B∈Ij≶∧A≠B∣A,B∈Ij)≥0.2\Pr(A, B \in I_j^{\lessgtr} \wedge A \ne B \mid A, B \in I_j) \ge0.2.

Proof. Recall our assumption that C<0.1⋅log⁡(1/δ)C < 0.1 \cdot\log(1/\delta) and δ∈[n−0.1,1220]\delta\in[n^{-0.1}, \frac{1}{220}]. Since Ij∈IhighI_j \in\mathcal{I}^{\mathrm{high}}, we have p(Ij)≥0.1⋅2−C≥Ω(n−0.01)p(I_j) \ge0.1 \cdot2^{-C} \ge\Omega(n^{-0.01}). Therefore,

p(Ij≶)≥p(Ij)2−Pr⁡(B=z)≥p(Ij)2−O(1n)≥Ω(n−0.01),p(I_j^{\lessgtr}) \ge\frac{p(I_j)}{2} - \Pr(B=z) \ge\frac{p(I_j)}{2} - O\left(\frac{1}{\sqrt{n}}\right) \ge\Omega(n^{-0.01}),

where the second inequality follows from the fact that p(z)≤O(1/n)p(z) \le O(1/\sqrt{n}) via Corollary 2.6. Consequently, we also have

Pr⁡(A,B∈Ij≶∣A,B∈Ij)=(p(Ij≶)p(Ij))2≥(12−O(1p(Ij)n))2≥14−o(1).\Pr(A, B \in I_j^{\lessgtr} \mid A, B \in I_j) = \left(\frac{p(I_j^{\lessgtr})}{p(I_j)}\right)^2 \ge\left(\frac{1}{2} - O\left(\frac{1}{p(I_j)\sqrt{n}}\right)\right)^2 \ge\frac{1}{4} - o(1).

Next, we bound the probability that A=BA = B. It follows that

Pr⁡(A=B∣A,B∈Ij≶)=Pr⁡(A=B∧A,B∈Ij≶)Pr⁡(A,B∈Ij≶)=∑z∈Ij≶p(z)2p(Ij≶)2≤O(1p(Ij≶)n)≤o(1).\Pr(A = B \mid A, B \in I_j^{\lessgtr}) = \frac{\Pr(A = B \wedge A, B \in I_j^{\lessgtr})}{\Pr(A, B \in I_j^{\lessgtr})} = \frac{\sum_{z \in I_j^{\lessgtr}} p(z)^2}{p(I_j^{\lessgtr})^2} \le O\left(\frac{1}{p(I_j^{\lessgtr})\sqrt{n}}\right) \le o(1).

Here, the second inequality, again, follows from Corollary 2.6, together with ∑z∈Ij≶p(z)=p(Ij≶)\sum_{z \in I_j^{\lessgtr}} p(z) = p(I_j^{\lessgtr}). Combining all the bounds above, we obtain

Pr⁡(A,B∈Ij≶∧A≠B∣A,B∈Ij)≥Pr⁡(A,B∈Ij≶∣A,B∈Ij)−Pr⁡(A=B∣A,B∈Ij≶)\Pr(A, B \in I_j^{\lessgtr} \wedge A \ne B \mid A, B \in I_j) \ge\Pr(A, B \in I_j^{\lessgtr} \mid A, B \in I_j) - \Pr(A = B \mid A, B \in I_j^{\lessgtr})
≥14−o(1)\ge\frac{1}{4} - o(1)
≥0.2\ge0.2

as desired. ■

We now wrap up the proof of Theorem 1.2.

Proof of Theorem 1.2. Conditioned on the event A,B∈Ij≶A, B \in I_j^{\lessgtr} and A≠BA \ne B, Bob errs with probability 1/21/2. To see this, consider the symmetric event where Alice and Bob’s inputs are swapped. This event occurs with the same probability and induces exactly the same execution of the protocol, yet the correct output is reversed. Therefore, at least one of the two executions must result in an error. Using this observation, we can write

Pr⁡(P errs)≥∑Ij∈IhighPr⁡(P errs∧A,B∈Ij)≥∑Ij∈IhighPr⁡(P errs∣A,B∈Ij≶∧A≠B)⋅Pr⁡(A,B∈Ij≶∧A≠B∣A,B∈Ij)⋅Pr⁡(A,B∈Ij)≥∑Ij∈Ihigh12⋅0.2⋅p(Ij)2(Claim 5.2)=0.1∑Ij∈Ihighp(Ij)2(9)\begin{aligned} \Pr(\mathcal{P}\ \mathrm{errs}) \\ &\ge\sum_{I_j \in\mathcal{I}^{\mathrm{high}}} \Pr(\mathcal{P}\ \mathrm{errs} \wedge A, B \in I_j) \\ &\ge\sum_{I_j \in\mathcal{I}^{\mathrm{high}}} \Pr(\mathcal{P}\ \mathrm{errs} \mid A, B \in I_j^{\lessgtr} \wedge A \ne B) \cdot\Pr(A, B \in I_j^{\lessgtr} \wedge A \ne B \mid A, B \in I_j) \cdot\Pr(A, B \in I_j) \\ &\ge\sum_{I_j \in\mathcal{I}^{\mathrm{high}}} \frac{1}{2} \cdot0.2 \cdot p(I_j)^2 \qquad\text{(Claim 5.2)} \\ &= 0.1 \sum_{I_j \in\mathcal{I}^{\mathrm{high}}} p(I_j)^2 \tag*{(9)} \end{aligned}
≥0.01⋅2−C∑Ij∈Ihighp(Ij)(p(Ij)≥0.1⋅2−C for all Ij∈Ihigh)=0.01⋅2−C⋅p(Ihigh)(Definition of p(Ihigh))≥0.009⋅2−C(p(Ihigh)≥0.9 via Claim 5.1.)\begin{aligned} &\ge0.01 \cdot2^{-C} \sum_{I_j \in\mathcal{I}^{\mathrm{high}}} p(I_j) && \left(p(I_j) \ge0.1 \cdot2^{-C}\text{ for all }I_j \in\mathcal{I}^{\mathrm{high}}\right)\\ &= 0.01 \cdot2^{-C} \cdot p(\mathcal{I}^{\mathrm{high}}) && \left(\text{Definition of }p(\mathcal{I}^{\mathrm{high}})\right)\\ &\ge0.009 \cdot2^{-C} && \left(p(\mathcal{I}^{\mathrm{high}}) \ge0.9\text{ via Claim 5.1.}\right) \end{aligned}

Finally, since we assumed that Pr⁡(P errs)≤δ\Pr(\mathcal{P}\text{ errs}) \le\delta, the above inequality implies that C≥log⁡(1/δ)−7C \ge\log(1/\delta)-7, which contradicts our assumption that C≤0.1⋅log⁡(1/δ)C \le0.1 \cdot\log(1/\delta) (using δ<1/220\delta< 1/220). Therefore, we must have C≥0.1⋅log⁡(1/δ)=Ω(log⁡(1/δ))C \ge0.1 \cdot\log(1/\delta) = \Omega(\log(1/\delta)) which completes the proof of Theorem 1.2. ■

The Upper bound

We now prove our algorithmic result, Theorem 1.3. We remark that, whilst, on a high level, the proof follows the approach outlined in Section 1.2, implementing this approach boils down to essentially a case distinction.

Theorem 1.3. There is a deterministic one-way two-player communication protocol for Coin⁡n\operatorname{Coin}_n with success probability 1−δ1-\delta, for any δ>0\delta> 0, using O(log⁡log⁡n+log⁡(1/δ))O(\log\log n+\log(1/\delta)) bits of communication.

Alice’s Message. We first describe Alice’s part of the protocol and analyze the message length.

Protocol P\mathcal{P} for the coin problem: Alice’s turn

Input: Alice receives a∈[n]a \in[n] many i.i.d. coin tosses, and also the error parameter δ∈(0,1)\delta\in(0,1).

The Protocol:

  1. Let AA denote the total sum of Alice’s coins.

  2. If a≤δ−6a \le\delta^{-6}, Alice sends 1(a≤δ−6)=1\mathbb{1}(a \le\delta^{-6})=1 to indicate this case, together with AA.

  3. Otherwise, a>δ−6a > \delta^{-6}. Alice sends 1(a≤δ−6)=0\mathbb{1}(a \le\delta^{-6})=0 to indicate this case, together with the following information: (a) x=⌊log⁡2a⌋x=\lfloor\log_2 a\rfloor. (b) sign⁡(A)∈{±1}\operatorname{sign}(A)\in\{\pm1\}, indicating her majority element. (c) Let w=4δ2⋅2xw=\frac{4}{\delta^2}\cdot2^x and r=⌈4/δ3⌉r=\lceil4/\delta^3\rceil. Alice computes rA∈{1,…,r}r_A\in\{1,\ldots,r\} such that the rank of AA under N(0,w)\mathcal{N}(0,w) lies in the interval (rA−1r,rAr)\left(\frac{r_A-1}{r},\frac{r_A}{r}\right). She then sends rAr_A to Bob.

Lemma 6.1. Alice’s message is of size O(log⁡log⁡n+log⁡(1/δ))O(\log\log n+\log(1/\delta)) bits.

Proof. We proceed with two cases.

  1. First, if a≤δ−6a \le\delta^{-6}, Alice sends a single bit together with AA. Since AA is an integer with ∣A∣≤δ−6|A| \le\delta^{-6}, these can be encoded together using O(log⁡(1/δ))+1=O(log⁡(1/δ))O(\log(1/\delta))+1=O(\log(1/\delta)) bits.

  1. Otherwise, if a>δ−6a > \delta^{-6}, Alice’s message indicates this with a single bit. Then, since a∈[n]a \in[n], we have x=O(log⁡n)x = O(\log n), so the binary representation of xx requires only O(log⁡log⁡n)O(\log\log n) bits. Moreover, rA≤4δ3+1r_A \le\frac{4}{\delta^3} + 1 which can be encoded using O(log⁡(1/δ))O(\log(1/\delta)) bits.

Therefore, the total communication cost (in either case) is O(log⁡log⁡n+log⁡(1/δ))O(\log\log n + \log(1/\delta)) bits. ■

Bob’s Side. We now describe Bob’s side of the protocol.

Protocol P\mathcal{P} for the coin problem: Bob’s turn

Input: Bob receives b∈[n]b \in[n] many i.i.d. coin tosses, the error parameter δ∈(0,1)\delta\in(0,1), and also Alice’s message.

The Protocol:

  1. Let BB denote the total sum of Bob’s coins.

  1. If Bob receives 1(a≤δ−6)=1\mathbb{1}(a \le\delta^{-6}) = 1 from Alice, then he also receives the exact value of AA. In this case, he outputs sign⁡(A+B)\operatorname{sign}(A+B).

  1. Otherwise, Bob receives 1(a≤δ−6)=0\mathbb{1}(a \le\delta^{-6}) = 0 from Alice confirming a>δ−6a > \delta^{-6}, and then proceeds as follows: (a) If b≤δ−2b \le\delta^{-2}, he outputs sign⁡(A)\operatorname{sign}(A). (b) Otherwise, we have a>δ−6a > \delta^{-6} and b>δ−2b > \delta^{-2}. Bob then computes y=⌊log⁡2b⌋y = \lfloor\log_2 b \rfloor. i. If y≥x+⌈2log⁡2(1/δ)⌉+1y \ge x + \lceil2\log_2(1/\delta)\rceil+ 1, Bob outputs his own majority, denoted by sign⁡(B)∈{±1}\operatorname{sign}(B) \in\{\pm1\}. ii. If x≥y+⌈2log⁡2(1/δ)⌉+1x \ge y + \lceil2\log_2(1/\delta)\rceil+ 1, Bob outputs Alice’s majority sign⁡(A)\operatorname{sign}(A). iii. Otherwise, we have ∣x−y∣≤⌈2log⁡2(1/δ)⌉|x-y| \le\lceil2\log_2(1/\delta)\rceil. Bob reconstructs w=4δ2⋅2xw = \frac{4}{\delta^2} \cdot2^x and sets r=⌈4/δ3⌉r = \lceil4/\delta^3\rceil. He computes rB∈{1,…,r}r_B \in\{1,\ldots,r\} such that the rank of BB under N(0,w)\mathcal{N}(0,w) lies within [rB−1r,rBr)\left[\frac{r_B-1}{r},\frac{r_B}{r}\right). Bob then computes the output as follows: A. If rA+rB≤rr_A + r_B \le r, Bob answers “−1-1”. B. If rA+rB≥r+2r_A + r_B \ge r+2, Bob answers “+1+1”. C. If rA+rB=r+1r_A + r_B = r+1, Bob outputs a uniform random guess.

All that remains is to analyze the correctness of this protocol. This follows by combining Claims 6.2, 6.3, 6.4, and 6.5, each of which correspond to one of the possible ways in which Bob produces his output. Together, these claims imply that the protocol P\mathcal{P} fails with probability at most O(δ)≤cδO(\delta) \le c\delta, for some universal constant c>0c > 0. Then, rescaling the error parameter by setting δ′=δ/c\delta' = \delta/c yields a protocol with the desired error-rate δ\delta.

Claim 6.2. Suppose a≤δ−6a \le\delta^{-6}. Then Bob’s output in Step 2 is always correct.

Proof. If a≤δ−6a \le\delta^{-6}, Bob is informed of this fact and receives the exact value of AA. Since he also knows BB, he can compute A+BA+B exactly and therefore always outputs the correct answer. ■

Claim 6.3. Suppose a>δ−6a > \delta^{-6} and b≤δ−2b \le\delta^{-2}. Then Bob’s output in Step 3(a) errs with probability O(δ)O(\delta).

Proof. The probability that ∣A∣≤δ−2|A| \le\delta^{-2} is

∑∣i∣≤δ−2/22−a⋅(aa/2+i)≤δ−2⋅O(1a)≤O(δ),\sum_{|i|\le\delta^{-2}/2} 2^{-a}\cdot\binom{a}{a/2+i} \le\delta^{-2}\cdot O\left(\frac{1}{\sqrt{a}}\right) \le O(\delta),

where the first inequality follows from Fact 2.5.

Therefore, with probability at least 1−O(δ)1-O(\delta), we have ∣A∣>δ−2|A|>\delta^{-2}. Since b≤δ−2b\le\delta^{-2}, we must have ∣B∣≤δ−2|B|\le\delta^{-2}. Using Fact 2.1, Alice’s output sign⁡(A)\operatorname{sign}(A) must be correct.

Claim 6.4. Suppose x≥δ−6x\ge\delta^{-6} and y≥δ−2y\ge\delta^{-2}. If y≥x+⌈2log⁡2(1/δ)⌉+1y\ge x+\lceil2\log_{2}(1/\delta)\rceil+1, Bob’s answer in Step 3(b)(i) errs with probability O(δ)O(\delta). Similarly, if x≥y+⌈2log⁡2(1/δ)⌉+1x\ge y+\lceil2\log_{2}(1/\delta)\rceil+1, Bob’s answer in Step 3(b)(ii) errs with probability O(δ)O(\delta).

Proof. Assume that y≥x+⌈2log⁡2(1/δ)⌉+1y\ge x+\lceil2\log_{2}(1/\delta)\rceil+1. This means a≥2y≥2x+⌈2log⁡2(1/δ)⌉+1=2⌈2log⁡2(1/δ)⌉(2x+1)≥1δ4⋅ba\ge2^{y}\ge2^{x+\lceil2\log_{2}(1/\delta)\rceil+1}=2^{\lceil2\log_{2}(1/\delta)\rceil}(2^{x+1})\ge\frac{1}{\delta^{4}}\cdot b. Then, Bob’s answer is wrong if and only if sign⁡(A)≠sign⁡(AB)\operatorname{sign}(A)\ne\operatorname{sign}(AB). Using Lemma 3.1, this occurs with probability at most δ\delta. The symmetric case of x≥y+⌈2log⁡2(1/δ)⌉+1x\ge y+\lceil2\log_{2}(1/\delta)\rceil+1 can be shown analogously.

Claim 6.5. Suppose x≥δ−6x\ge\delta^{-6}, y≥δ−2y\ge\delta^{-2}, and ∣x−y∣≤⌈2log⁡2(1/δ)⌉|x-y|\le\lceil2\log_{2}(1/\delta)\rceil. Then Bob’s output in Step 3(b)(iii) errs with probability O(δ)O(\delta).

Proof. We first show that Bob is always correct if he enters Step 3(b)(iii)(A) with rA+rB≤rr_A+r_B\le r. Consider

A≤[quantile rAr of N(0,w)]=−[quantile r−rAr of N(0,w)]≤−[quantile rBr of N(0,w)]≤−B.A\le\left[\text{quantile }\frac{r_A}{r}\text{ of }\mathcal{N}(0,w)\right]=-\left[\text{quantile }\frac{r-r_A}{r}\text{ of }\mathcal{N}(0,w)\right]\le-\left[\text{quantile }\frac{r_B}{r}\text{ of }\mathcal{N}(0,w)\right]\le-B.

Hence A+B≤0A+B\le0, so Bob’s output is always correct. An analogous argument shows that Bob is also always correct if he enters Step 3(b)(iii)(B) with rA+rB≥r+2r_A+r_B\ge r+2.

It remains to analyze Step 3(b)(iii)(C), where rA+rB=r+1r_A+r_B=r+1. In this case, Bob might err, but we will show that Bob only enters this case with probability O(δ)O(\delta) which then concludes the proof. Specifically, fix any ℓ∈[r]\ell\in[r]. We will show that Pr⁡[rB=ℓ]=O(δ)\Pr[r_B=\ell]=O(\delta) where the probability is over the randomness of Bob’s coins.

Since w=4δ2⋅2xw=\frac{4}{\delta^{2}}\cdot2^x and ∣x−y∣≤⌈2log⁡2(1/δ)⌉|x-y|\le\lceil2\log_{2}(1/\delta)\rceil, we have

y≤2y+1≤4δ2⋅2x=wandδ22⋅w=2x+1≤4δ2⋅2y≤4δ2⋅y.y\le2^{y+1}\le\frac{4}{\delta^{2}}\cdot2^x=w \qquad\text{and}\qquad \frac{\delta^{2}}{2}\cdot w=2^{x+1}\le\frac{4}{\delta^{2}}\cdot2^y\le\frac{4}{\delta^{2}}\cdot y.

In other words, we have

1≤wy≤8δ4.1\le\frac{w}{y}\le\frac{8}{\delta^{4}}.

Let I=[p,q)⊆R\mathcal{I}=[p,q)\subseteq\mathbb{R} denote the interval corresponding to the quantile range [ℓ−1r,ℓr)\left[\frac{\ell-1}{r},\frac{\ell}{r}\right) of N(0,w)\mathcal{N}(0,w). By the width of this range, we have

∫Iϕw(z) dz=1r≤δ34.\int_{\mathcal{I}}\phi_w(z)\,dz=\frac{1}{r}\le\frac{\delta^3}{4}.

Moreover, we have

Pr⁡(B∈I)=Pr⁡(B≤q)−Pr⁡(B≤p)≤Φy(r)−Φy(ℓ)+O(1/y)≤∫Iϕy(z) dz+O(δ),\Pr(B\in\mathcal{I})=\Pr(B\le q)-\Pr(B\le p)\le\Phi_y(r)-\Phi_y(\ell)+O(1/\sqrt{y})\le\int_{\mathcal{I}}\phi_y(z)\,dz+O(\delta),

where the first two inequalities follow from Fact 2.4 and the fact that y≥δ−2y \ge\delta^{-2}. Finally, by Fact 2.3, we have

∫Iϕy(z) dz≤wy∫Iϕw(z) dz≤8δ4⋅δ34=O(δ).\int_{\mathcal{I}} \phi_y(z)\,dz \le\sqrt{\frac{w}{y}}\int_{\mathcal{I}} \phi_w(z)\,dz \le\sqrt{\frac{8}{\delta^4}}\cdot\frac{\delta^3}{4}=O(\delta).

Combining all inequalities, we shall have Pr⁡[rB=ℓ]=Pr⁡(B∈I)=O(δ)\Pr[r_B=\ell]=\Pr(B\in\mathcal{I})=O(\delta), completing the proof. ■

Round-Communication Tradeoffs of the Coin Problem

In this section, we prove our multi-round tradeoffs, Theorem 1.4.

Theorem 1.4. There is a deterministic rr-round two-player communication protocol for Coinn\mathrm{Coin}_n that succeeds with probability at least 99/10099/100 using O((log⁡log⁡n)1/r⋅rlog⁡r)O((\log\log n)^{1/r}\cdot r\log r) bits of communication.

Conversely, every (possibly randomized) rr-round two-player communication protocol for Coinn\mathrm{Coin}_n that succeeds with probability at least 99/10099/100 must communicate Ω((log⁡log⁡n)1/r/r2)\Omega((\log\log n)^{1/r}/r^2) bits.

Round-Communication Tradeoff of Greater-Than

As before, our starting point is the Greater-Than communication problem.

Definition 7.1 (Greater-Than). Let mm be a positive integer. In the Greater-Than(m)(m) problem, Alice and Bob are given GA,GB∈[m]G_A,G_B\in[m] respectively, and must determine whether GA>GBG_A>G_B.

We use the following upper bound, but defer its proof to Appendix B3^3. To simplify the proof, we show a protocol that succeeds with probability 999/1000999/1000. However, it can also be made to succeed with any constant probability.

Lemma 7.2. For any r∈Z+r\in\mathbb{Z}^+, there is a randomized rr-round two-player communication protocol for Greater-Than(m)(m) that succeeds with probability at least 999/1000999/1000 using O((log⁡m)1/r⋅rlog⁡r)O((\log m)^{1/r}\cdot r\log r) bits of communication.

We also note the following near-matching lower bound.

Theorem 7.3 ([SV08]). Let r∈Z+r\in\mathbb{Z}^+. Any rr-round randomized protocol for Greater-Than(m)(m) that succeeds with probability at least 2/32/3 must communicate at least Ω((log⁡m)1/r/r2)\Omega((\log m)^{1/r}/r^2) bits.

As before, we will also use the related Gap-Greater-Than problem. The same lower bound also holds for this variant via a reduction similar to that in Appendix A. We omit this proof for brevity.

Corollary 7.4. Let r∈Z+r\in\mathbb{Z}^+. Any rr-round randomized protocol for Gap-Greater-Than(m,m)(m,\sqrt{m}) that succeeds with probability at least 2/32/3 must communicate at least Ω((log⁡m)1/r/r2)\Omega((\log m)^{1/r}/r^2) bits.

Completing the Proof

We are now ready to prove Theorem 1.4.

Proof of Theorem 1.4. For the lower bound, observe that the reduction in Section 4 preserves the number of communication rounds. Consequently, any rr-round protocol for Coinn\mathrm{Coin}_n immediately yields an rr-round protocol for Gap-Greater-Than with the same communication complexity. Then, invoking Corollary 7.4 gives the Ω((log⁡log⁡n)1/r/r2)\Omega((\log\log n)^{1/r}/r^2) lower bound. For the upper bound, we modify the protocol P\mathcal{P} from § 6 taken with δ=1/1000\delta= 1/1000. Observe that the protocol remains correct provided the players can distinguish among the three cases y≥x+21y \ge x + 21, x≥y+21x \ge y + 21, or ∣x−y∣<21\lvert x-y\rvert< 21 in Line 3(b)(iii). We claim that this can be accomplished with error at most 1/5001/500 using rr rounds and O((log⁡log⁡n)1/r⋅rlog⁡r)O((\log\log n)^{1/r} \cdot r \log r) bits of communication. Indeed, the players simply invoke the rr-round protocol for Greater-Than (Lemma 7.2) twice in parallel: once to compare yy with x+21x + 21, and once to compare xx with y+21y + 21. By the union bound, the probability that either comparison is incorrect is at most 1/5001/500. Since xx and yy are both bounded by O(log⁡n)O(\log n), the total communication is O((log⁡log⁡n)1/r⋅rlog⁡r)O((\log\log n)^{1/r} \cdot r \log r) bits.

The remainder of the protocol is identical to that of the one-way protocol, and the correctness analysis is unchanged. In particular, in the final round, the players still also communicate extra information using O(log⁡(1/δ))=O(1)O(\log(1/\delta)) = O(1) bits of communication, corresponding to the case where they hold similar numbers of coins. The total error probability is therefore at most 11000+1500<1100\frac{1}{1000} + \frac{1}{500} < \frac{1}{100}. Hence the resulting protocol succeeds with probability at least 99/10099/100. Finally, although our protocol is randomized, it can be made deterministic by fixing its internal randomness for which it remains successful with probability 99/10099/100 over the distribution of the coin tosses. ■

Again, we remark that by choosing δ\delta appropriately, this bound can be made to work across a suitable range of constant error-rates.

The Hardness of Gap-Greater-Than

For completeness, we now prove Theorem 4.2, but stress that we consider this to be folklore, and do not claim it to be novel.

Theorem 4.2. Any (potentially randomised) one-way two-player communication protocol which solves Gap-Greater-Than(m,m)(m,\sqrt{m}) with probability at least 1/2+ε1/2+\varepsilon, for any constant ε>0\varepsilon>0, must send a message of size Ω(log⁡m)\Omega(\log m)*.

Our starting point is the canonical Augmented-Index two-player communication game.

Definition A.1. In the Augmented-Index(m)(m) communication game, Alice is given a uniform random bit string X∈{0,1}mX\in\{0,1\}^{m}, Bob is given a uniform random J∈[m]J\in[m] together with X[i]X[i] for all i<Ji<J, and the goal is to output X[J]X[J]*.

The one-way communication complexity of this problem is well known.

Theorem A.2. [MNSW95] Any (potentially randomised) one-way communication protocol which solves Augmented-Index(m)(m) with probability 1/2+ε1/2+\varepsilon, for any constant ε>0\varepsilon>0, must send a message of size Ω(m)\Omega(m)*.

Proof of Theorem 4.2

We now prove Theorem 4.2. During this proof, it will be useful to think of the zeroth bit of a bit-string as the most significant bit when interpreted as a binary number.

Let PGT\mathcal{P}_{\mathrm{GT}} denote any (potentially randomised) protocol which solves Gap-Greater-Than(m,m)(m,\sqrt{m}) with probability 1/2+ε1/2+\varepsilon. Our proof proceeds through a standard reduction from Augmented-Index to Gap-Greater-Than. Suppose that Alice and Bob begin with an instance of Augmented-Index(12⋅log⁡m)(\frac{1}{2}\cdot\log m). To begin, Alice constructs a number AA whose binary representation contains log⁡m\log m bits, given by

A[i]={X[i]if i<log⁡(m)/2,1if i≥log⁡(m)/2.A[i] = \begin{cases} X[i] & \text{if } i < \log(m)/2,\\ 1 & \text{if } i \ge\log(m)/2. \end{cases}

Alice then runs PGT\mathcal{P}_{\mathrm{GT}} on this input AA, and sends the resulting message to Bob.

Next, Bob uses their inputs, JJ and X<JX_{<J}, to construct the number BB corresponding to the log⁡m\log m bit string defined by

B[i]={X[i]if i<J,1if i=J,0if i>J.B[i] = \begin{cases} X[i] & \text{if } i < J,\\ 1 & \text{if } i = J,\\ 0 & \text{if } i > J. \end{cases}

Bob then uses the message to continue running PGT\mathcal{P}_{\mathrm{GT}} on BB before producing an output as follows: if PGT\mathcal{P}_{\mathrm{GT}} reports A>BA > B, then Bob outputs X[J]=1X[J] = 1, and otherwise outputs X[J]=0X[J] = 0.

We see that both AA and BB are upper bounded by mm, since they have binary representations of length log⁡m\log m. We also see that ∣A−B∣≥m\lvert A-B\rvert\ge\sqrt{m}, as required, since for all i≥log⁡(m)/2i \ge\log(m)/2, A[i]=1A[i] = 1 whilst B[i]=0B[i] = 0.

We now analyse Bob’s success probability in this reduction.

Claim A.3. If X[J]=0X[J] = 0, then B>AB > A, and otherwise A>BA > B with probability 1−1/2log⁡(m)/2−J−11 - 1/2^{\log(m)/2-J-1} over the randomness of XX.

Proof. By construction, B[J]=1B[J] = 1, and all more significant bits between AA and BB are identical, so it is clear that if X[J]=0X[J] = 0, then B>AB > A.

Otherwise, it must be that X[J]=1X[J] = 1, and so the only differing bits in the binary representations of AA and BB must be less significant than this one. Then, since all such bits are set to zero in the construction of BB, A>BA > B as long as at least one of these bits is set to one in XX, which occurs with probability 1−1/2log⁡(m)/2−J−11 - 1/2^{\log(m)/2-J-1}.

Now, we turn to see that

Pr⁡(Bob is correct∣X[J]=0)≥Pr⁡(PGT is correct∣X[J]=0,B>A)⋅Pr⁡(B>A∣X[J]=0)≥(1/2+ε)⋅1=1/2+ε.\begin{aligned} \Pr(\text{Bob is correct}\mid X[J] = 0) &\ge\Pr(\mathcal{P}_{\mathrm{GT}}\text{ is correct}\mid X[J] = 0, B > A)\cdot\Pr(B > A\mid X[J] = 0)\\ &\ge(1/2+\varepsilon)\cdot1\\ &= 1/2+\varepsilon. \end{aligned}

Next, by the uniform distribution of JJ, we see that

Pr⁡(J≤log⁡(m)/2−log⁡log⁡(m)−1)=1−log⁡log⁡m+1log⁡(m)/2=1−o(1).\Pr(J \le\log(m)/2-\log\log(m)-1)=1-\frac{\log\log m+1}{\log(m)/2}=1-o(1).

Then, conditioning on this,

Pr⁡(A>B∣X[J]=1,J≤log⁡(m)/2−log⁡log⁡m−1)=1−1/2log⁡(m)/2−log⁡log⁡m−1\Pr(A > B\mid X[J] = 1, J \le\log(m)/2-\log\log m-1)=1-1/2^{\log(m)/2-\log\log m-1}
≥1−12Ω(log⁡m)=1−o(1).\ge1 - \frac{1}{2^{\Omega(\log m)}} \\ = 1 - o(1).

Thus, we can write

Pr⁡(A>B∣X[J]=1)≥Pr⁡(A>B∣X[J]=1,J≤n−log⁡n−1)⋅Pr⁡(J≤n−log⁡n−1)≥(1−o(1))⋅(1−o(1))=1−o(1),\begin{aligned} \Pr(A > B \mid X[J] = 1) &\ge\Pr(A > B \mid X[J] = 1, J \le n - \log n - 1) \cdot\Pr(J \le n - \log n - 1) \\ &\ge(1 - o(1)) \cdot(1 - o(1)) \\ &= 1 - o(1), \end{aligned}

and so

Pr⁡(Bob is correct∣X[J]=1)≥Pr⁡(PGT is correct∣X[J]=1,A>B)⋅Pr⁡(A>B∣X[J]=1)=(1/2+ε)⋅(1−o(1))≥1/2+ε/2.\begin{aligned} \Pr(\text{Bob is correct} \mid X[J] = 1) &\ge\Pr(P_{\mathrm{GT}}\text{ is correct} \mid X[J] = 1, A > B) \cdot\Pr(A > B \mid X[J] = 1) \\ &= (1/2 + \varepsilon) \cdot(1 - o(1)) \\ &\ge1/2 + \varepsilon/2. \end{aligned}

(For sufficiently large nn.)

Now, finally, using that X[J]X[J] is a uniform random bit, we can combine these to write

Pr⁡(Bob is correct)=Pr⁡(Bob is correct∣X[J]=0)⋅Pr⁡(X[J]=0)+Pr⁡(Bob is correct∣X[J]=1)⋅Pr⁡(X[J]=1)≥(1/2+ε)⋅(1/2)+(1/2+ε/2)⋅(1/2)=1/2+3ε/4,\begin{aligned} \Pr(\text{Bob is correct}) &= \Pr(\text{Bob is correct} \mid X[J] = 0) \cdot\Pr(X[J] = 0) + \Pr(\text{Bob is correct} \mid X[J] = 1) \cdot\Pr(X[J] = 1) \\ &\ge(1/2 + \varepsilon) \cdot(1/2) + (1/2 + \varepsilon/2) \cdot(1/2) \\ &= 1/2 + 3\varepsilon/4, \end{aligned}

which is a constant greater than 1/21/2. Therefore, by Theorem A.2, it must have been that the protocol, and thus PGTP_{\mathrm{GT}}, sent a message of size Ω(log⁡(m)/2)=Ω(log⁡m)\Omega(\log(m)/2) = \Omega(\log m).

Bounded-Round Protocol for Greater-Than

We now prove Lemma 7.2 for completeness.

Lemma 7.2. For any r∈Z+r \in\mathbb{Z}^{+}, there is a randomized rr-round two-player communication protocol for Greater-Than(m)(m) that succeeds with probability at least 999/1000999/1000 using O((log⁡m)1/r⋅rlog⁡r)O((\log m)^{1/r} \cdot r \log r) bits of communication.

Proof. Let N=log⁡mN = \log m. Alice and Bob first interpret their inputs as NN-bit strings. Their objective is to identify the first location (i.e. most significant) at which their strings differ.

Initially, there are k0=Nk_0 = N possible locations for the first difference. The goal of each round t∈[r]t \in[r] is to narrow it down to kt=kt−1/N1/rk_t = k_{t-1}/N^{1/r} possible locations. After rr rounds, only a single location remains after which the players answer.

For the first round, players partition the k0=Nk_0 = N locations into N1/rN^{1/r} consecutive blocks of size N1−1/r=k1N^{1-1/r} = k_1. Using public randomness, Alice and Bob agree on N1/rN^{1/r} independent uniform hash functions mapped to [1000r][1000r]. For every block j∈[N1/r]j \in[N^{1/r}], Alice sends the jj-th hash of her jj-th block to Bob. Bob then performs the “equality tests” by comparing them to the hashes of his own blocks, and identifies the first block whose hashes differ. In the second round, Alice and Bob recurse on this block with their roles reversed. This continues for rr rounds until there is only kr=1k_r = 1 possible location remaining. We now analyze the success probability. Each equality test is one-sided. If Alice and Bob have the same string, they always pass. And if they have different strings, they will fail the test with probability 1−11000r1 - \frac{1}{1000r}. Let ii denote the first location at which Alice’s and Bob’s inputs differ. The protocol is correct provided that, in every round, the block containing location ii “correctly” fails the test. Since there is one relevant equality test per round, the union bound implies that this event occurs with probability at least 0.999.

Finally, observe that there are a total of r⋅N1/rr \cdot N^{1/r} equality tests. Each one costs O(log⁡r)O(\log r) bits of communication. As N=log⁡mN = \log m, the total communication is O((log⁡m)1/r⋅rlog⁡r)O((\log m)^{1/r} \cdot r \log r) as wished. ■

References

  1. [1][AAHNY24] Ishaq Aden-Ali, Yanjun Han, Jelani Nelson, and Huacheng Yu. On the Amortized Complexity of Approximate Counting. In Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques (APPROX/RANDOM 2024), volume 317 of Leibniz International Proceedings in Informatics (LIPIcs), pages 33:1–33:17. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2024.
  2. [2][BBS22] Gavin Brown, Mark Bun, and Adam Smith. Strong memory lower bounds for learning natural models. In Conference on Learning Theory, pages 4989–5029. PMLR, 2022.arxiv.org/abs/2206.04743
  3. [3][BGL+24] Mark Braverman, Sumegha Garg, Qian Li, Shuo Wang, David P. Woodruff, and Ji-apeng Zhang. A new information complexity measure for multi-pass streaming with applications. In 56th Annual ACM Symposium on Theory of Computing, STOC 2024, page 1781–1792. ACM, 2024.arxiv.org/abs/2403.20283
  4. [4][BGW20] Mark Braverman, Sumegha Garg, and David P. Woodruff. The coin problem with applications to data streams. In 2020 ieee 61st annual symposium on foundations of computer science (FOCS), pages 318–329. IEEE, 2020.DOI
  5. [5][BV10] Joshua Brody and Elad Verbin. The coin problem and pseudorandomness for branching programs. In 2010 IEEE 51st Annual Symposium on Foundations of Computer Science, pages 30–39. IEEE, 2010.DOI
  6. [6][CCM08] Amit Chakrabarti, Graham Cormode, and Andrew McGregor. Robust lower bounds for communication and stream computation. In Proceedings of the fortieth annual ACM symposium on Theory of computing, pages 641–650, 2008.
  7. [7][CGR14] Gil Cohen, Anat Ganor, and Ran Raz. Two sides of the coin problem. In Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques (APPROX/RANDOM 2014), pages 618–629. Schloss Dagstuhl–Leibniz-Zentrum für Informatik, 2014.DOI

Paper details

vlnc:W_9c6v6dku
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents