Gap-Majority Lemmas in Communication Complexity


Abstract

We prove an information-theoretically optimal gap-majority lemma in the two-player randomized communication model. For a base function \(f: \mathcal{X} \to \{\pm 1\}\), its \(n\)-fold gap-majority composition, denoted \(\mathsf{GapMAJ} \circ f^n\), takes \(n\) inputs \((X_1, \ldots, X_n)\) and distinguishes whether \(f^{+n}(X_1,\ldots,X_n) := f(X_1) + \ldots + f(X_n)\) is at least \(0.01\sqrt{n}\) or at most \(-0.01\sqrt{n}\). We show that if computing \(f\) with success probability \(0.501\) requires \(I\) bits of information, then computing \(\mathsf{GapMAJ} \circ f^n\) with success probability \(0.99\) requires \(n \cdot (I - O(1))\) bits of information. This result is asymptotically optimal in two aspects: it achieves the correct linear scaling of information cost and the correct constant-constant tradeoff between error rates. This makes \(\mathsf{GapMAJ}\), to our knowledge, only the third explicit outer gadget that admits a strong composition theorem in the two-player communication setting, following the identity and XOR gadgets.

From an application side, our gap-majority lemma can be viewed as a generic amplification tool that lifts the hardness of deciding \(f\) into the hardness of approximating \(f^{+n}\). Using this framework, we give a new proof to the communication lower bound of Gap-Hamming and derive a tight streaming lower bound of triangle counting, demonstrating the versatility of the gap-majority lemma.

1 Introduction↩︎

Given a base function \(f\), consider the task of computing its \(n\)-fold product function \(f^n(x_1, \ldots, x_n) := (f(x_1), \ldots, f(x_n)).\) A natural approach is to apply an optimal algorithm for \(f\) independently to each input, using \(n\) times the cost of computing a single instance. But is this optimal?

This problem is known as the direct-sum question, and it is among the most central in computational complexity theory. It has been studied extensively across a variety of computational models such as circuit complexity [1][4], communication complexity [5][10], information complexity [7], [11], [12], and query complexity [13][18], to name just a few.

In parallel, another line of research investigates the complexity of composition functions \(g \circ f^n\). For an arbitrary “outer gadget” \(g\), the optimal bounds (i.e. proportional to the complexity of \(f\) and \(g\)) are known under certain complexity measures such as deterministic query complexity [19][21] and quantum query complexity [22], [23]. However, for general complexity measures, a starting point is to understand the complexity of \(g\circ f^n\) when \(g\) is an explicit gadget. That is, to study how the cost of computing \(g \circ f^n\) scales with the cost of computing \(f\) and with \(n\), for a specific \(g\). Naively, one could still compute \(f\) on each input and then apply \(g\) to the outputs. In the spirit of the direct-sum question, we may ask whether this simple strategy is optimal.

Question 1 (Composition Theorem). For a prescribed \(n\)-ary gadget \(g\), how does the cost of computing \(g \circ f^n\) scale with the cost of computing \(f\), and with \(n\)?

Besides the identity gadget for which 1 becomes the direct-sum problem, perhaps the most extensively studied gadget is the \(\mathsf{XOR}\) function, which computes the parity of its \(n\)-bit input. Results of this type, often called the XOR lemma, have also been well-established in various computational models, e.g. [4], [7], [24][28]. Beyond the XOR lemma, however, our understanding of 1 is relatively limited and is mostly contained to query complexity with respect to the \(\mathsf{OR}\), \(\mathsf{GapOR}\), and \(\mathsf{MAJ}\) gadgets [29][31].

1.0.0.1 Gap-Majority Lemma.

We focus on the gap-majority gadget which computes the majority of \(n\) binary inputs if the bias is \(\Omega(\sqrt{n})\). Formally, define the gadget \(\mathsf{GapMAJ}_n: \{\pm1\}^n \rightarrow \{\pm1\}\) as: \[\begin{align} \mathsf{GapMAJ}_n(z_1,\ldots,z_n) := \begin{cases} +1 & \text{if } \sum_{i=1}^{n} z_i \geq 0.01 \sqrt{n}, \\ -1 & \text{if } \sum_{i=1}^{n} z_i \leq -0.01 \sqrt{n}. \end{cases} \end{align}\] Given a base function \(f: \mathcal{X} \rightarrow \{\pm 1\}\), we aim, with probability at least \(0.99\), to compute the composite function \[\begin{align} \mathsf{GapMAJ}_n \circ f^n(X_1,\ldots,X_n) := \begin{cases} +1 & \text{if } \sum_{i=1}^{n} f(X_i) \geq 0.01 \sqrt{n},\\ -1 & \text{if } \sum_{i=1}^{n} f(X_i) \leq -0.01 \sqrt{n}. \end{cases} \end{align}\]

At first glance, it is even unclear what the naive approach should be. One natural attempt is as follows: suppose there exists an algorithm \(\mathcal{A}\) that computes \(f(X)\) with error \(1/(100n)\). We can estimate \(\sum_{i=1}^n f(X_i)\) by applying \(\mathcal{A}\) independently to each input and summing the results. By the union bound, this recovers the exact sum with probability \(0.99\), yielding the correct output.

However, we can exploit the generous margin of \(\pm 0.01\sqrt{n}\) to do better. Suppose \(\mathcal{A}\) computes \(f(X)\) with a small constant error, say \(10^{-100}\). By standard concentration bounds, the estimate of \(\sum_{i=1}^n f(X_i)\) is within \(\pm 10^{-10}\sqrt{n}\) of the true value with high constant probability, which suffices to distinguish between the “\(+1\)” and “\(-1\)” cases of \(\mathsf{GapMAJ}_n \circ f^n\). Thus, the naive approach requires only \(n\) times the resources needed to compute \(f\) with low “constant” error.

With this benchmark established, the natural question is whether such linear scaling is optimal. We refer to this as the gap-majority lemma question.

Question 2 (Gap-Majority Lemma). Does computing \(\mathsf{GapMAJ}_n \circ f^n\) with success probability \(0.99\) require \(\Omega(n)\) times the cost of computing \(f\) with success probability \(0.501\)?

1.1 Main Results↩︎

We study the gap-majority lemma in the realm of two-player randomized communication. In this setting, two players hold separated parts of inputs of a function \(f: \mathcal{X} \times \mathcal{Y} \to \{\pm 1\}\), namely Alice has \(X \in \mathcal{X}\), Bob has \(Y \in \mathcal{Y}\), and they exchange a (possibly randomized) sequence of messages to compute \(f(X, Y)\) with reasonable constant success probability. The scheme by which the players exchange messages and produce an output is called a communication protocol.

Correspondingly, the gap-majority composition problem of a base function \(f\), denoted \(\mathsf{GapMAJ}_n \circ f^n\), assigns \(X = (X_1, \ldots, X_n)\) to Alice and \(Y = (Y_1, \ldots, Y_n)\) to Bob. The players then must, with high constant probability, jointly compute \[\begin{align} \mathsf{GapMAJ}_n \circ f^n(X_1,\ldots,X_n, Y_1,\ldots,Y_n) := \begin{cases} +1 & \text{if } \sum_{i=1}^{n} f(X_i, Y_i) \geq 0.01 \sqrt{n}, \\ -1 & \text{if } \sum_{i=1}^{n} f(X_i, Y_i) \leq -0.01 \sqrt{n}. \end{cases} \end{align}\]

Our main result establishes the gap-majority lemma in this setting when the notion of cost is internal information, denoted \(\IC(\cdot)\), which quantifies the amount of information revealed by the protocol.3 In particular, we show that computing \(\mathsf{GapMAJ}_n \circ f^n\) requires \(\Omega(n)\) times the information needed to compute a single instance of \(f\), up to a small additive loss.

Theorem 3 (Gap-Majority Lemma). Let \(f: \mathcal{X} \times \mathcal{Y} \rightarrow \{\pm 1\}\) and \(\mu\) be an input distribution to \(f\) such that \(\mathbb{E}_\mu[f(x,y)] = 0\). Let \(\pi\) be a protocol that computes \(\mathsf{GapMAJ}_n \circ f^n\) correctly with probability \(0.99\) over \(\mu^n\). Then, there exists a protocol \(\eta\) that computes \(f\) correctly with probability \(0.501\) over \(\mu\) and \(\IC(\eta) \le \frac{\IC(\pi)}{n} + O(1).\)

We make a few remarks regarding this theorem. First, we may even relax the range of \(f\) so that it only requires \(f(x,y) \in \{\pm 1\}\) over the support of \(\mu\). Second, the \(O(1)\)-additive “loss” in information cost is in fact unavoidable. To see this, consider the simple example \(f(x,y) := x - y\) with respect to the input distribution \(\mu\) which is uniform over \((x,y) \in [10^4] \times [10^4]\) conditioned on \(x - y \in \{\pm 1\}\). In this example, any protocol \(\eta\) that computes \(f(x,y)\) over \(\mu\) with probability \(0.501\) must reveal \(\Omega(1)\) bits of information.4 On the other hand, there is a deterministic protocol \(\pi\) which computes \(\mathsf{GapMAJ}_n \circ f^n\) while communicating only \(O(\log{n})\) bits: Alice sends the value \(\sum_{i=1}^n x_i\) to Bob, who then can compute \(f^{+n}(x_1,\ldots,x_n,y_1,\ldots,y_n) = \sum_{i=1}^n x_i - \sum_{i=1}^n y_i\) and decides if it is at least \(0.01\sqrt{n}\) or at most \(-0.01\sqrt{n}\).

More importantly, although the \(O(1)\)-additive loss is small and oftentimes negligible, it comes at the expense of round complexity: in our proof of 3, the protocol \(\eta\) uses \(O(\log n)\) more rounds than \(\pi\) does. Such a mismatch in the number of rounds can be undesirable in certain applications. For example, a standard approach to proving single-pass streaming lower bounds is to reduce a streaming algorithm to a one-way communication problem and then prove a communication lower bound. The one-way restriction is typically the primary source of hardness, and as a result, losing an additional \(O(\log n)\) rounds in the reduction may lead to a significantly weaker lower bound.

To remedy this, we also provide a variant of the gap-majority lemma which also preserves the number of rounds!

Theorem 4 (Round-Preserving Gap-Majority Lemma). Let \(f: \mathcal{X} \times \mathcal{Y} \rightarrow \{\pm 1\}\) and \(\mu\) be an input distribution to \(f\) such that \(\mathbb{E}_\mu[f(x,y)] = 0\). Let \(\pi\) be an \(r\)-round protocol that computes \(\mathsf{GapMAJ}_n \circ f^n\) correctly with probability \(0.99\) over \(\mu^n\). Then, there exists an \(r\)-round protocol \(\eta\) that computes \(f\) correctly with probability \(0.501\) over \(\mu\) and \(\IC(\eta) \le \frac{\IC(\pi)}{n} + O(\log n).\)

It is helpful to view 4 as a counterpart to 3: one can preserve the number of rounds at the cost of \(O(\log n)\) extra bits, as opposed to \(O(1)\) in the unbounded-round setting. It remains an open question whether the best of both worlds can be achieved; that is, whether there exists an \(r\)-round protocol \(\eta\) with only \(O(1)\) bits of information loss. We conjecture this is possible.

Finally, we emphasize that both of our gap-majority lemmas are strong, in the sense that they achieve asymptotic optimality in both the scaling of information cost and the error tradeoffs, as witnessed by the naive approach. This makes \(\mathsf{GapMAJ}\), to our knowledge, only the third explicit gadget known to admit a strong composition theorem in two-player communication, following the identity gadget (i.e., the direct-sum theorem) [7], [9] and the XOR gadget (i.e., the XOR lemma) [25], [27], [28].

1.2 Implication↩︎

1.2.0.1 Why Gap-Majority?

Gap-type problems have long served as fundamental tools for proving lower bounds for approximation problems. The underlying reason is simple yet powerful: many approximation tasks can be reduced to distinguishing between two well-separated cases of a decision problem—precisely the scenario highlighted by a “gap” function.

A particularly important instance of the gap-majority lemma arises when the base function is \(f: \{\pm 1\} \times \{\pm 1\} \rightarrow \{\pm 1\}\) is the XOR function (with basis change), defined as \(f(x,y) := xy\). In this case, the composition \(\mathsf{GapMAJ}_n \circ f^n\) translates to the well-celebrated Gap-Hamming problem in the two-player communication setting: Alice and Bob each hold a vector in \(\{\pm 1\}^n\), and their goal is to decide whether the inner product between their vectors is at least \(0.01\sqrt{n}\) or at most \(-0.01\sqrt{n}\). The problem was formally introduced by Indyk and Woodruff [32] who also proved the optimal lower bound of \(\Omega(n)\) in one-way communication. The complete unbounded round lower bound, however, only arrived a decade later [33][35]. Regardless, since its inception (or even prior to that), Gap-Hamming has quickly become a cornerstone of communication complexity which, both explicitly and implicitly, leads to countless lower bounds across multiple computational models [32], [36][41].

1.2.0.2 A new framework for proving lower bounds.

While the Gap-Hamming problem alone has already yielded a rich array of lower bounds results, our gap-majority lemmas provide an even more generic framework for amplifying the hardness of “any” base decision problem \(f(x,y)\) into the hardness of an associated approximation problem \(f^{+n}(x_1,\ldots,x_n,y_1,\ldots,y_n) := f(x_1,y_1) + \ldots + f(x_n,y_n)\). By a standard reduction from our main results (3 and 4), we obtain the following corollaries.

Corollary 1. Let \(f: \mathcal{X} \times \mathcal{Y} \rightarrow \left\{\pm 1\right\}\) and \(\mu\) be an input distribution to \(f\) such that \(\mathbb{E}_\mu[f(x,y)] = 0\). Let \(\pi\) be a protocol that computes a \(\pm 0.01 \sqrt{n}\) approximation to \(f^{+n}\) with probability 0.99 over \(\mu^n\). Then, there is a protocol \(\eta\) which decides \(f\) with probability 0.501 over \(\mu\) and \(\IC(\eta) \leq \frac{\IC(\pi)}{n}+O(1)\).

Corollary 2. Let \(f: \mathcal{X} \times \mathcal{Y} \rightarrow \left\{\pm 1\right\}\) and \(\mu\) be an input distribution to \(f\) such that \(\mathbb{E}_\mu[f(x,y)] = 0\). Let \(\pi\) be an \(r\)-round protocol that computes a \(\pm 0.01 \sqrt{n}\) approximation to \(f^{+n}\) with probability 0.99 over \(\mu^n\). Then, there is an \(r\)-round protocol \(\eta\) which decides \(f\) with probability 0.501 over \(\mu\) and \(\IC(\eta) \leq \frac{\IC(\pi)}{n}+O(\log n)\).

These corollaries yield a clean framework for proving communication lower bounds for approximation problems. Conceptually, this framework plays a role analogous to that of direct-sum theorems, which lift lower bounds from a base problem to its \(n\)-fold product version, a technique that has seen frequent success in the literature. In our setting, however, the emphasis is on systematically lifting hardness from a decision problem to an approximation problem via the following recipe:

  1. Reduction. Show that an algorithm for approximating the target problem \(\mathcal{P}\) can be used to approximate \(f^{+n}\) within \(\pm 0.01\sqrt{n}\), for some appropriate choices of a base decision problem \(f\) and \(n \in \mathbb{Z}^+\).

  2. Base lower bound. Prove that any protocol that decides \(f\) with probability \(0.501\) requires at least \(\mathcal{I}\) bits of information.

Then, by applying either 1 or 2 as a black box, we obtain an information and communication lower bound of roughly \(\Omega(n \cdot \mathcal{I})\) for the approximation problem \(\mathcal{P}\).

1.2.0.3 Lower Bound Applications.

For completeness, we showcase the power of the gap-majority lemma through a few of its quick applications.

  • Communication Complexity of Gap-Hamming. As previously noted, the Gap-Hamming problem is a particularly important instance of the gap-majority composition. While the optimal communication lower bound of \(\Omega(n)\) bits has long been established [33][35], it is only natural to recover such bound through the lens of our gap-majority framework. We present this proof in 6.1. Indeed, treating the gap-majority lemma as a “black-box” amplification tool, our proof proceeds through a very simple and clean reduction to the classical set-disjointness problem.

  • Streaming Complexity of Triangle Counting. Given an \(n\)-vertex, \(m\)-edge graph with \(T\) triangles presented as an edge-arrival stream, the triangle counting problem asks for a \((1 \pm \varepsilon)\)-approximation to the number of triangles in \(G\), that is, to output an estimate \(\widetilde{T}\) satisfying \(|\widetilde{T}-T|\leq \varepsilon T\). A naive solution is to store the entire graph and use \(\widetilde{O}(m)\) space. This bound turns out to be beatable subjected to the range of parameters. For instance, Buriol et al. [42] gave a sampling-based algorithm using \(\widetilde{O}\left(\frac{mn}{\varepsilon^2 T}\right)\) space, surpassing the naive algorithm when \(G\) has many triangles.

    To this end, we show, via gap-majority framework, that these two quantitative upper bounds are jointly optimal: any randomized single-pass streaming algorithm for \((1 \pm \varepsilon)\)-approximate triangle counting requires \(\Omega\left(\min\left\{m,\;\frac{mn}{\varepsilon^2 T}\right\}\right)\) bits of space, for a reasonable range of \(T\). Prior to our work, the best-known space lower bound is \(\Omega\left(\min\left\{m,\;\frac{mn}{T}\right\}\right)\) bits due to Braverman, Ostrovsky, and Vilenchik [43].5 Hence, our contribution lies in bringing up the missing \(1/\varepsilon^2\) factor of these existing lower bounds. We present this proof in 6.2.

For brevity, we defer the extended introduction and complete lower bound proof of both problems to 6. We leave it as an intriguing direction whether our gap-majority lemmas can be applied (either in a black-box or white-box manner) to derive lower bounds beyond those listed here.

2 Preliminaries↩︎

2.0.0.1 Notations.

For a base function \(f\) with real-valued outputs, we define its \(n\)-fold summation as \(f^{+n}(X_1,\ldots,X_n) := f(X_1) + \ldots + f(X_n)\). We may occasionally write \(f^{+n}\) simply as \(f^{+}\), omitting the number of summands.

Following standard convention in probability, we use uppercase letters to denote random variables and lowercase letters for their realization. For a joint distribution \(\pi\) over multiple random variables, \(\pi(A)\) denotes the marginal distribution of \(A\), and \(\pi(a)\) its probability mass at \(A=a\). Similarly, \(\pi(A \mid B)\) denotes the conditional distribution of \(A\) given \(B\), and \(\pi(A \mid b)\) the distribution of \(A\) conditioned on \(B=b\). We write \(\mathbb{E}[A]\) and \(\textrm{Var}[A]\) for the expectation and variance of \(A\), respectively, and use subscripts to indicate the variable of integration, e.g. \(\mathbb{E}_A[f(A)]\). When clear from context, we omit the subscript. We will also frequently use the following simple fact which can be proven via the Cauchy-Schwarz inequality.

Fact 5. \(\underset{B}{\mathbb{E}} \;\underset{A}{\textrm{Var}} \left[f(A)\mid B\right] = \underset{A}{\mathbb{E}}\left[f(A)^2\right] - \underset{B}{\mathbb{E}}\left[\underset{A}{\mathbb{E}}\left[f(A)\mid B\right]^2\right] \leq \underset{A}{\textrm{Var}}\left[f(A)\right].\)

2.0.0.2 Communication Protocol.

We adopt the distributional view of randomized communication protocols. A protocol \(\pi\) is represented as a joint distribution \((X,Y,M,R)\), where \((X,Y) \sim \mu\) is the input pair given to Alice and Bob, \(M= (M_1,M_2,\ldots)\) is the transcript, and \(R\) denotes public randomness. The protocol operates as follows. Alice and Bob receive inputs \((X,Y) \sim \mu\) respectively. Assume Alice speaks first. She draws the first message \(M_1 \sim \pi(M_1 \mid XR)\) and sends it to Bob. Bob then draws the second message \(M_2 \sim \pi(M_2 \mid M_1YR)\) and sends it back to Alice. The communication between players goes on as needed, and thereby forms a transcript \(M\). Without restricting the number of rounds (i.e. the number of messages), if the protocol is designated to compute a function \(f\), we may assume that the final message of the protocol is the players’ answer to \(f(X,Y)\). We can always enforce this assumption, e.g. if Alice is responsible for computing \(f(X,Y)\), she simply sends an extra (short) message to Bob indicating the answer. The communication cost of \(\pi\), denoted \(\mathsf{CC}(\pi)\), is measured by the worst-case length of the message \(M\).

2.0.0.3 Protocol with Bounded Rounds.

A special case of communication protocols occurs when we restrict the number of rounds of communication to \(r\). We may assume wlog that \(r\) is odd. In this setting, Alice and Bob can communicate for \(r\) rounds and towards the end of their conversation, Bob is asked to produce an answer to \(f(X,Y)\). Note that Alice may not know this answer. We denote an \(r\)-round protocol by \(\pi = (X,Y,M,A,R)\), where \(M = (M_1,\ldots,M_r)\) is the sequence of \(r\) messages, \(R\) is shared public randomness, and \(A\) is Bob’s output computed from \(MYR\). Denote \(\mathcal{A}\) to be the space of all possible answers \(A\). For instance, we use \(\mathcal{A} = \{\pm 1\}\) for decision problems.

2.0.0.4 Information Cost.

The information cost of a protocol \(\pi = (X,Y,M,R)\) is given by the quantity: \[\IC(\pi) := I(M:X \mid YR) + I(M:Y \mid XR)\] where \(I(\cdot:\cdot)\) denotes mutual information. It is helpful to interpret \(\mathsf{IC}(\pi)\) as the amount of information that \(\pi\) reveals about the players’ inputs. To see this, from Alice’s view at the end of \(\pi\), she learns the transcript \(M\) while already knowing her own input \(X\) and randomness \(R\). Hence, the term \(I(M:Y \mid XR)\) quantifies the information she gains about Bob’s input \(Y\) after running \(\pi\).

The information cost is also defined by the same quantity even if \(\pi = (X,Y,M,A,R)\) is bounded-round. Note that we always have \(\mathsf{IC}(\pi) \leq \mathsf{CC}(\pi)\).

2.0.0.5 Rectangle Property.

Rectangle property is one of the defining features of communication protocols. It asserts that in a communication protocol whose inputs consist of multiple coordinates drawn from a product distribution, conditioned on a set of disjoint inputs and the message \(M\) (and randomness \(R\)), the remaining portions of players’ input are independent.

Proposition 6 (Rectangle property; Section 3.4 of [25]). Let \(\pi = (X,Y,M,R)\) be a protocol over \(n\)-coordinate inputs \((X,Y) \sim \mu^n\). For any partition of coordinate \([n] = P \cup Q\), we have \(X_P \perp Y_Q \mid MRX_QY_P\). If \(\pi = (X,Y,M,A,R)\) is a bounded-round protocol, then \(X_P \perp Y_Q \mid MRAX_QY_P\).

3 Approach↩︎

In this section, we outline the roadmap toward our two main results (3 and 4), with the proof of key technical lemmas deferred to later sections.

3.1 Gap-Majority Lemma↩︎

Our proof of 3 proceeds by introducing a new measure called the observer’s variance.

Definition 1 (Observer’s variance). Let \(\pi = (X,Y,M,R)\) be a communication protocol, and let \(f\) be a function on the input \((X,Y)\). The observer’s variance* of \(\pi\) with respect to \(f\) is defined as \[\Phi_{\textrm{obs}}(\pi @ f) := \underset{MR}{\mathbb{E}} \;\underset{XY}{\textrm{Var}} \;[f(X,Y) \mid MR].\]*

In words, the observer’s variance measures, from the perspective of an external observer, the uncertainty of \(f(X,Y)\) after the protocol concludes. Particularly from an external view, they see only the transcript \(M\) and the public randomness \(R\), but not the players’ private inputs. For each realization of \(MR\), the observer considers the posterior distribution of \(f(X,Y)\) conditioned on these values and evaluates the uncertainty \(f(X,Y)\) via its variance. Averaging over all \(MR\) then yields \(\Phi_{\textrm{obs}}(\pi @ f)\), representing the expected variance of \(f\) given the protocol’s external view.

With this definition in place, we now state the two key ingredients that together establish the gap-majority lemma (3).

3.1.0.1 Ingredient #1: Gap-majority implies low variance.

We first show that any protocol that computes gap-majority with high constant probability must admit low linear observer’s variance, say at most \(0.99n\). This phenomenon was previously observed in a streaming setting by Braverman, Garg, and Woodruff [45], who showed that any streaming algorithm capable of computing the exact majority necessarily has low linear variance. For our purposes, we strengthen this result to the communication setting for gap-majority composition, as stated in [lem:gapmaj95then95low95variance]. We emphasize that our proof follows closely from [45] to which we defer to the appendix.

lemvariancebound Let \(f: \mathcal{X} \times \mathcal{Y} \to \{\pm 1\}\) and let \(\mu\) be an input distribution to \(f\) satisfying \(\mathbb{E}_\mu[f(x,y)] = 0\). Suppose \(\pi\) is a protocol that computes \(\mathsf{GapMAJ}_n \circ f^n\) with probability \(0.99\) over \(\mu^n\). Then \(\Phi_{\textrm{obs}}(\pi @ f^{+n}) \le 0.99n\).

3.1.0.2 Ingredient #2: A new direct-sum theorem.

To motivate our second ingredient, it is best to discuss the following toy question: How should the information cost and observer’s variance for \(f^{+n}\) scale relative to those for a single instance of \(f\)?

In an easy direction, suppose that we have a protocol \(\theta\) for computing \(f\) using \(\mathcal{I}\) bits of information, and with variance \(\sigma^2\). We can then employ a naive approach by applying \(\theta\) on the \(n\) pairs of inputs independently, and then sum up the answers. This approach simply use \(n \cdot \mathcal{I}\) bits of information. But how does the variance of \(f^{+n}\) scale? The key observation is that each execution of \(\theta\) is independent; thus, we can directly sum up the variance to \(n\sigma^2\). Notice that the optimality question of this naive protocol is exactly the direct-sum problem: we may ask if the scaling factor \(n\) of information costs and variances are tight, or even stronger, are they simultaneously tight?

Our second ingredient is a direct-sum theorem that answers this question in an affirmative, barring a small additive loss. We state the result here and present its proof in 4.

lemmainlemma Let \(f: \mathcal{X} \times \mathcal{Y} \rightarrow \{\pm 1\}\) be an arbitrary function, and let \(\mu\) be any input distribution over \(\mathcal{X} \times \mathcal{Y}\). Suppose \(\pi\) is a protocol over the input distribution \(\mu^n\). Then, for any \(\Delta \in (0,1)\), there exists a protocol \(\eta\) over the input distribution \(\mu\) such that \[\IC(\eta) \leq \frac{\IC(\pi)}{n} + O\Big(1 + \log \frac{1}{\Delta}\Big)\text{ and }\Phi_{\textrm{obs}}(\eta @ f) \leq \frac{\Phi_{\textrm{obs}}(\pi @ f^{+n})}{n} + \Delta.\]

Crucially, we view this lemma as a central technical contribution of our work. Note that unlike [lem:gapmaj95then95low95variance], the condition \(\mathbb{E}_\mu[f(x,y)] = 0\) is not required here. Whether [lem:main95lemma] has further applications beyond the gap-majority setting, in our opinion, is a direction worth exploring.

As a remark, [lem:main95lemma] extends naturally to the setting where \(f\) maps to the interval \([-d,d]\) and \(\Delta \in (0,d^2)\) for some \(d \in \mathbb{R}^+\). In this case, the statement remains the same except that the additive loss in the information cost becomes \(O(1+\log{\frac{d^2}{\Delta}})\). For brevity, we omit this proof.

3.1.0.3 Putting all together.

We now combine both ingredients to recover the gap-majority lemma.

Proof of 3. Recall that \(\pi\) is a protocol that computes \(\mathsf{GapMAJ}_n \circ f^n\) over \(\mu^n\) with probability \(0.99\). By [lem:gapmaj95then95low95variance], we have \(\Phi_{\textrm{obs}}(\pi @ f^{+n}) \leq 0.99n.\) Then, applying [lem:main95lemma] with \(\Delta = 0.008\) yields a protocol \(\eta = (X,Y,M,R)\) over inputs \((X,Y) \sim \mu\) such that \(\IC(\eta) \leq \frac{\IC(\pi)}{n}+O(1)\) and \(\Phi_{\textrm{obs}}(\eta @ f) \leq \frac{ \Phi_{\textrm{obs}}(\pi @ f^{+n})}{n} + 0.008 \leq 0.998\). Expanding the observer’s variance, we have \[\underset{MR}{\mathbb{E}} \;\underset{XY}{\textrm{Var}} \;[f(X,Y) \mid MR] \leq 0.998.\]

Now consider the following protocol over inputs \((X,Y) \sim \mu\): the players first execute \(\eta\), and then outputs their answer to \(f(X,Y)\) as the more-likely answer between \(\{\pm 1\}\) among the posterior distribution \(\eta(f(X,Y) \mid MR)\). The information cost of this protocol remains at \(\IC(\eta) \leq \frac{\IC(\pi)}{n}+O(1)\).

It only remains to argue the correctness probability of such protocol. With probability \(\eta(mr)\), the protocol realizes \(MR = mr\). Denote \(0 \leq p_{mr} \leq 1/2\) be such that the distribution of \(\eta(f(X,Y) \mid mr)\) is \(\{\pm 1\}\) with probabilities \(\{p_{mr},1-p_{mr}\}\). Then, we have \[0.998 \geq \underset{MR}{\mathbb{E}} \;\underset{XY}{\textrm{Var}} \;[f(X,Y) \mid MR] = \sum_{mr} \eta(mr) \cdot 4p_{mr}(1-p_{mr}) \geq 2 \cdot \sum_{mr} \eta(mr) \cdot p_{mr}.\] Meanwhile, the distributional error is \(\underset{mr}{\sum} \;\eta(mr) \cdot p_{mr} \leq 0.499.\) In other words, the protocol produces a correct answer with probability \(0.501\). ◻

3.2 Round-Preserving Gap-Majority Lemma↩︎

We now sketch the proof of 4 which is an analogue of 3 restricted to the class of \(r\)-round communication. As outlined in 2, we may assume that \(r\) is odd and write an \(r\)-round protocol as \(\pi = (X,Y,M,A,R)\), where \(M = (M_1,\ldots,M_r)\) is the sequence of \(r\) messages, and \(A\) is the output produced solely by Bob after the \(r\) rounds of communication. Since Bob can no longer communicate the answer \(A\) back to Alice (otherwise it would have taken an extra round), the observer’s variance is no longer a reliable proxy for distributional error. To accommodate this, we refine the notion of variances by distinguishing it into two types: observer’s and Bob’s.

Definition 2 (Variances in \(r\)-round communication). Given an \(r\)-round protocol \(\pi = (X,Y,M,A,R)\) and a function \(f\) over input pair \((X,Y)\). Define the observer’s variance* of \(\pi\) with respect to \(f\) by the quantity: \[\overline{\Phi}_{\textrm{obs}}(\pi @ f) := \underset{MRA}{\mathbb{E}} \;\underset{XY}{\textrm{Var}} \;[f(X,Y) \mid MRA]\] and Bob’s variance of \(\pi\) with respect to \(f\) by the the quantity: \[\overline{\Phi}_{\textrm{Bob}}(\pi @ f) := \underset{MRAY}{\mathbb{E}} \;\underset{X}{\textrm{Var}} \;[f(X,Y) \mid MRAY].\]*

In principle, the observer’s variance remains the same as before, only now adapted to the bounded round setting: an external observer sees \(MRA\) and measures the expected variance of \(f(X,Y)\) conditioned on this view. Bob’s variance, however, is new: it quantifies the expected variance of \(f(X,Y)\) from Bob’s perspective at the end of the protocol, given that he sees \(MRAY\). When \(f\) is a decision problem, this quantity turns out to be related to the distributional error.

Following the same avenue, we introduce the two key ingredients tailored to \(r\)-round communication. The variance bound ([lem:gapmaj95then95low95variance951way]) parallels [lem:gapmaj95then95low95variance], and for brevity, we omit its proof. The round-preserving direct-sum theorem ([lem:main95lemma95oneway]) is analogous to [lem:main95lemma], except for a slightly larger additive loss in the information cost. Notably, the proof of [lem:main95lemma95oneway] is more technically involved than that of [lem:main95lemma] due to the round constraint. We present this proof in 5.

lemvarianceboundoneway Let \(f: \mathcal{X} \times \mathcal{Y} \to \{\pm 1\}\) and let \(\mu\) be an input distribution to \(f\) satisfying \(\mathbb{E}_\mu[f(x,y)] = 0\). Suppose \(\pi\) is an \(r\)-round protocol that computes \(\mathsf{GapMAJ}_n \circ f^n\) with probability \(0.99\) over \(\mu^n\). Then \(\overline{\Phi}_{\textrm{obs}}(\pi @ f^{+n}) \leq 0.99n\).

lemmainlemmaoneway Let \(f: \mathcal{X} \times \mathcal{Y} \rightarrow \{\pm 1\}\) be an arbitrary function, and let \(\mu\) be any input distribution over \(\mathcal{X} \times \mathcal{Y}\). Suppose \(\pi\) is an \(r\)-round protocol over the input distribution \(\mu^n\) which Bob produces an answer from a discrete set \(\mathcal{A}\). Then, for any \(\Delta \in (0,1)\), there is an \(r\)-round protocol \(\eta\) for computing \(f\) over the input distribution \(\mu\) such that \[\IC(\eta) \leq \frac{\IC(\pi)}{n}+O(|\mathcal{A}|\cdot \log{\frac{n}{\Delta}})\text{ and } \overline{\Phi}_{\textrm{Bob}}(\eta @ f) \leq \frac{\overline{\Phi}_{\textrm{obs}}(\pi @ f^{+n})}{n} + \Delta.\]

We conclude by combining [lem:gapmaj95then95low95variance951way] and [lem:main95lemma95oneway] to prove our second main result.

Proof of 4. Recall that \(\pi\) is an \(r\)-round protocol that computes \(\mathsf{GapMAJ}_n \circ f^n\) over \(\mu^n\) with probability \(0.99\). By [lem:gapmaj95then95low95variance951way], we have \(\overline{\Phi}_{\textrm{obs}}(\pi @ f^{+n}) \leq 0.99n\). Then, applying [lem:main95lemma95oneway] with \(\Delta = 0.008\) yields an \(r\)-round protocol \(\eta = (X,Y,M,A,R)\) over inputs \((X,Y) \sim \mu\) such that \(\IC(\eta) \leq \frac{\IC(\pi)}{n} + O(\log{n})\) and \(\overline{\Phi}_{\textrm{Bob}}(\eta @ f) \leq \frac{\overline{\Phi}_{\textrm{Bob}}(\pi @ f^{+n})}{n} + 0.008 \leq 0.998\). Here, we use the fact that the answer space is \(\mathcal{A}= \{\pm 1\}\) (i.e. output to \(\mathsf{GapMAJ}_n \circ f^n\)). Expanding Bob’s variance, we have \[\underset{MRAY}{\mathbb{E}} \;\underset{X}{\textrm{Var}} \;[f(X,Y) \mid MRAY] \leq 0.998.\]

Now consider the following \(r\)-round protocol over inputs \((X,Y) \sim \mu\): the players first execute \(\eta\), then Bob outputs \(f(X,Y)\) as the more-likely answer between \(\{\pm1\}\) among the posterior distribution \(\eta(f(X,Y) \mid MRAY)\). The information cost of this protocol remains at \(\IC(\eta) \leq \frac{\IC(\pi)}{n} + O(\log{n})\).

It only remains to argue the correctness probability of such protocol. With probability \(\eta(mray)\), the protocol realizes \(MRAY=mray\). Denote \(0 \leq p_{mray} \leq 1/2\) be such that the distribution \(\eta(f(X,Y) \mid MRAY)\) is \(\{\pm 1\}\) with probabilities \(\{ p_{mray}, 1- p_{mray}\}\). Then, we have \[0.998 \geq \underset{MRAY}{\mathbb{E}} \;\underset{X}{\textrm{Var}} \;[f(X,Y) \mid MRAY] = \sum_{mray} \eta(mray) \cdot 4p_{mray}(1-p_{mray}) \geq 2 \cdot \sum_{mray} \eta(mray) \cdot p_{mray}.\] Meanwhile, the distributional error is \(\underset{mray}{\sum} \eta(mray) \cdot p_{mray} \leq 0.499.\) In other words, the protocol produces a correct answer with probability at least \(0.501\). ◻

3.3 Proof Outline↩︎

Three proofs are deferred from this section. The proof of [lem:gapmaj95then95low95variance] is provided in Appendix 8. The proof of [lem:main95lemma] and [lem:main95lemma95oneway] are provided in 4 and 5 respectively.

4 Direct-Sum for Variance and Information↩︎

In this section, we prove [lem:main95lemma], thereby completing the proof of the gap-majority lemma (3). We adopt the setting of the lemma: let \(f: \mathcal{X} \times \mathcal{Y} \rightarrow \{\pm 1\}\) be an arbitrary base function, and let \(\mu\) be an arbitrary input distribution. Denote by \(\pi = (X,Y,M,R)\) a protocol over the product distribution \(\mu^n\), where \(X = (X_1,\ldots,X_n)\) and \(Y = (Y_1,\ldots,Y_n)\) with each \((X_i,Y_i)\) drawn independently from \(\mu\). Let \(\Delta \in (0,1)\) be an arbitrary additive loss parameter.

A key component of our proof is an adaptation of the protocol decomposition technique [25], [28]. Given a protocol \(\pi\) operating on \(n\) input pairs drawn according to \(\mu^n\), a decomposition is a procedure that yields two smaller-yet-meaningful subprotocols, \(\pi_0\) and \(\pi_1\), each operating on \(n/2\) input pairs drawn according to \(\mu^{n/2}\). As employed in [25], [28], their decompositions are carefully designed to trace how information is distributed across different parts of the input. A key distinction in our work is that our decomposition is tailored to handle not only the distribution of information, but also the distribution of observer’s variances across all the \(n\) input pairs.

Particularly, we describe the protocols \(\pi_0\) and \(\pi_1\) (yielded by our decomposition) in [pi0,pi1]. Each protocol operates on \(n/2\) pairs of input, denoted \((X', Y')\), drawn from \(\mu^{n/2}\).

Figure 1: The protocol \pi_0 resulting from decomposing \pi.
Figure 2: The protocol \pi_1 resulting from decomposing \pi.

Equivalently, we may adopt the following distributional view of each protocol. Note that we write \((M,Z_i)\) to denote a transcript \(M\) followed by an extra message \(Z_i\).

  • \(\pi_0 = (X_0, Y_0, (M,Z_0), RY_1)\) where \(Z_0 = \underset{Y_0}{\mathbb{E}}\left[f^+(X_0, Y_0) \mid MRX_0Y_1\right]\) computable by Alice. This is because \(Z_0\) is a deterministic function of \(MRX_0Y_1\) in which she knows by the end of \(\pi\).

  • \(\pi_1 = (X_1, Y_1, (M,Z_1), RX_0)\) where \(Z_1 = \underset{X_1}{\mathbb{E}}\left[f^+(X_1, Y_1) \mid MRX_0Y_1\right]\) computable by Bob. This is because \(Z_1\) is a deterministic function of \(MRX_0Y_1\) in which he knows by the end of \(\pi\).

For the moment, we assume that Alice and Bob can communicate the exact values of \(Z_0\) and \(Z_1\), and that these variables take values from some discrete space \(\mathcal{Z}\). Of course, this assumption does not necessarily hold in general. The purpose of this simplification is purely expository; we will remove this assumption shortly, incurring only minor losses.

The primary advantage of this decomposition is that it enables a clean algebraic decomposition of our two key measures of interest: the information cost and the observer’s variance.

4.0.0.1 Decomposition of Information Costs.

We first show that under the decomposition, the information costs decompose linearly with some small additive loss.

Claim 7. \(\IC(\pi_0) + \IC(\pi_1) \leq \IC(\pi) + 4 \cdot \log_2{|\mathcal{Z}|}\).

Proof. Recall that \(\pi_0 = (X_0, Y_0, (M,Z_0), RY_1)\). We can then write: \[\begin{align} \IC(\pi_0) &= I(MZ_0 : X_0 \mid RY) + I(MZ_0 : Y_0 \mid RX_0Y_1) \\ &\le I(M : X_0 \mid RY) + I(M : Y_0 \mid RX_0Y_1) + 2 \log_2 |\mathcal{Z}| \\ &= I(M : X_0 \mid RY) + I(M : Y_0 \mid RXY_1) + 2 \log_2 |\mathcal{Z}|, \end{align}\] where the last equality follows because \(X_1 \perp Y_0 \mid MRX_0Y_1\).

Similarly, we also have \(\IC(\pi_1) \le I(M : X_1 \mid RX_0Y) + I(M : Y_1 \mid RX) + 2 \log_2 |\mathcal{Z}|.\) Adding the two bounds and applying the chain rule for mutual information yields \(\IC(\pi_0) + \IC(\pi_1) \le I(M : X \mid RY) + I(M : Y \mid RX) + 4 \log_2 |\mathcal{Z}| = \IC(\pi) + 4 \log_2 |\mathcal{Z}|\). ◻

4.0.0.2 Decomposition of Variances.

Next, we show that the observer’s variance decomposes linearly. We begin by reinterpreting the observer’s variance of each protocol.

Claim 8. We have \[\Phi_{\textrm{obs}}(\pi_0 @ f^{+n/2}) = \underset{MRX_0Y_1}{\mathbb{E}} \;\underset{Y_0}{\textrm{Var}}\left[f^+(X_0,Y_0) \mid MRX_0Y_1\right]\] and \[\Phi_{\textrm{obs}}(\pi_1 @ f^{+n/2}) = \underset{MRX_0Y_1}{\mathbb{E}} \;\underset{X_1}{\textrm{Var}}\left[f^+(X_1,Y_1) \mid MRX_0Y_1\right].\]

Proof. By symmetry, we will only derive the first equation. Recall that \(\pi_0 = (X_0, Y_0, (M,Z_0), RY_1)\). We first expand \[\begin{align} \Phi_{\textrm{obs}}(\pi_0 @ f^{+n/2}) & = \underset{MRY_1Z_0}{\mathbb{E}} \;\underset{X_0Y_0}{\textrm{Var}} \left[ f^{+}(X_0, Y_0)\mid MRY_1Z_0\right] \nonumber \\ & = \underset{X_0Y_0}{\mathbb{E}} \left[f^+(X_0, Y_0)^2\right] - \sum_{mry_1z_0} \pi(mry_1z_0) \cdot \left[\underset{X_0Y_0}{\mathbb{E}} \left[f^+(X_0, Y_0) \mid mry_1z_0 \right]\right]^2 \label{eq:expand95gamma0} \end{align}\tag{1}\] We further unpack the final expectation term: \[\begin{align} \underset{X_0Y_0}{\mathbb{E}} \left[f^+(X_0, Y_0) \mid mry_1z_0\right] & = \sum_{x_0} \pi(x_0 \mid mry_1z_0) \cdot \underset{Y_0}{\mathbb{E}} \left[f^+(x_0, Y_0) \mid mrx_0y_1z_0\right] \\ & = \sum_{x_0} \pi(x_0 \mid mry_1z_0) \cdot \underset{Y_0}{\mathbb{E}} \left[f^+(x_0, Y_0) \mid mrx_0y_1\right]\\ & = \sum_{x_0} \pi(x_0 \mid mry_1z_0) \cdot z_0\\ & = z_0. \end{align}\] Plugging this back into 1 , we obtain \[\begin{align} \Phi_{\textrm{obs}}(\pi_0 @ f^{+n/2}) & = \underset{X_0Y_0}{\mathbb{E}} \left[f^+(X_0, Y_0)^2\right] - \sum_{mry_1z_0} \pi(mry_1z_0) \cdot z_0^2 \nonumber \\ & = \underset{X_0Y_0}{\mathbb{E}} \left[f^+(X_0, Y_0)^2\right] - \mathbb{E}\left[Z_0^2\right] \label{eq:varfinal} \end{align}\tag{2}\]

Recall again that \(Z_0= \underset{Y_0}{\mathbb{E}}\left[f^+(X_0, Y_0) \mid MRX_0Y_1\right]\) is a deterministic function of \(MRX_0Y_1\). Hence, we can instead write \(\mathbb{E}\left[Z_0^2\right] = \underset{mrx_0y_1}{\sum} \pi(mrx_0y_1) \cdot \left[\underset{Y_0}{\mathbb{E}}\left[f(x_0,Y_0) \mid mrx_0y_1\right]\right]^2.\) Plugging this back into 2 , we achieve the claim. ◻

As a result, we obtain a linear decomposition of observer’s variances.

Claim 9. \(\Phi_{\textrm{obs}}(\pi_0 @ f^{+n/2}) +\Phi_{\textrm{obs}}(\pi_1 @ f^{+n/2}) \leq \Phi_{\textrm{obs}}(\pi @ f^{+n})\)

Proof. Following 8, we derive: \[\begin{align} & \Phi_{\textrm{obs}}(\pi_0 @ f^{+n/2}) + \Phi_{\textrm{obs}}(\pi_1 @ f^{+n/2}) \\ & = \underset{MRX_0Y_1}{\mathbb{E}} \;\underset{Y_0}{\textrm{Var}}\left[f^+(X_0,Y_0) \mid MRX_0Y_1\right] + \underset{MRX_0Y_1}{\mathbb{E}} \;\underset{X_1}{\textrm{Var}}\left[f^+(X_1,Y_1) \mid MRX_0Y_1\right] \\ & = \underset{MRX_0Y_1}{\mathbb{E}} \left[\underset{Y_0}{\textrm{Var}}\left[f^+(X_0,Y_0) \mid MRX_0Y_1\right] + \underset{X_1}{\textrm{Var}}\left[f^+(X_1,Y_1) \mid MRX_0Y_1\right]\right] \end{align}\] Using the rectangle property (6), we have \(X_1 \perp Y_0 \mid MRX_0Y_1\), therefore \(f^+(X_0,Y_0) \perp f^+(X_1,Y_1) \mid MRX_0Y_1\). We then finish the derivation: \[\begin{align} & = \underset{MRX_0Y_1}{\mathbb{E}} \;\underset{X_1Y_0}{\textrm{Var}}\left[f^+(X,Y) \mid MRX_0Y_1\right]\\ & \leq \underset{MR}{\mathbb{E}} \;\underset{XY}{\textrm{Var}} \left[f^+(X,Y) \mid MR\right] } \\ & = \Phi_{\textrm{obs}}(\pi @ f^{+n}) \end{align}\] as desired. ◻

4.0.0.3 Lifting the assumptions about \(Z_0, Z_1\).

Recall that in the protocol \(\pi_0\), we require Alice to compute \(Z_0 = \underset{Y_0}{\mathbb{E}}\left[f^+(X_0, Y_0) \mid MRX_0Y_1\right]\) and communicate it exact value to Bob. To lift the assumptions, we now instead let Alice sends the value of \(Z_0^2\) rounded down to the nearest multiple of \(\frac{\Delta}{32}\). We denote such value by a random variable \(\hat{Z}_0^2\). Bob also replaces \(Z_1\) with \(\hat{Z}_1^2\), defined analogously. The implications of such rounding scheme are as follows.

  • Observe that the range of \(Z_0^2\) and \(Z_1^2\) is \([0,n^2]\). This allows us to set a discrete space \(\mathcal{Z}\) to be \(\{0, \frac{\Delta}{32}, \ldots \frac{\Delta}{32}, \ldots, \frac{\Delta}{32} \cdot \lfloor n^2 \cdot \frac{32}{\Delta}\rfloor\}\). As a result, \(|\mathcal{Z}| = O(\frac{n^2}{\Delta})\). Plugging this into 7, the decomposition of information costs may incur an additive loss of at most \(O(\log{\frac{n}{\Delta}})\) bits.

  • In the variance analysis of 8, the exact value of \(Z_0^2\) (and symmetrically, \(Z_1^2\)) was only used in 2 . Replacing \(Z_0^2\) by \(\hat{Z}_0^2\) introduces at most an additive error of \(\frac{\Delta}{32}\) to \(\Phi_{\textrm{obs}}(\pi_0 @ f^{+n/2})\). The same argument applies to \(\pi_1\), giving a total additive loss of at most \(\frac{\Delta}{16}\) to the combined variance decomposition.

In summary, replacing the exact values \(Z_0\) and \(Z_1\) by their squared and rounded counterparts \(\hat{Z}_0^2\) and \(\hat{Z}_1^2\) preserves the linear decomposition properties, at the cost of an additive \(O(\log \tfrac{n}{\Delta})\) in information and \(\tfrac{\Delta}{16}\) in variance. This yields the following decomposition lemma.

Lemma 1 (One-step decomposition lemma). Let \(f: \mathcal{X} \times \mathcal{Y} \rightarrow \{\pm 1\}\) be an arbitrary function, and let \(\mu\) be any input distribution over \(\mathcal{X} \times \mathcal{Y}\). Suppose \(\pi\) is a protocol over the input distribution \(\mu^n\). Then, for any \(\Delta \in (0,1)\), there exist protocols \(\pi_0\) and \(\pi_1\) over input distribution \(\mu^{n/2}\) such that \[\begin{align} \IC(\pi_0) + \IC(\pi_1) \leq \IC(\pi) + O(\log{\frac{n}{\Delta}})\text{ and }\Phi_{\textrm{obs}}(\pi_0@f^{+n/2}) + \Phi_{\textrm{obs}}(\pi_1@f^{+n/2}) \leq \Phi_{\textrm{obs}}(\pi@f^{+n}) + \frac{\Delta}{16}. \end{align}\]

We are now ready to prove the main result of this section.

Proof. Starting from \(\pi\), we perform the decomposition recursively until we reach the leaf level. More formally, we may assume that \(n\) is a power of two. Let the starting protocol be \(\pi_\emptyset := \pi\) over the input distribution \(\mu^n\). We first decompose \(\pi\) into \(\pi_0\) and \(\pi_1\), each over the input distribution \(\mu^{n/2}\). We then further decompose \(\pi_0\) into \(\pi_{00}\) and \(\pi_{01}\), and \(\pi_1\) into \(\pi_{10}\) and \(\pi_{11}\), each over the input distribution \(\mu^{n/4}\). This process continues recursively until the leaf level, yielding \(n\) protocols \(\{\pi_S\}_{S \in \{0,1\}^{\log_2{n}}}\), each operates over the input distribution \(\mu\).

Consider a level \(\ell \in [\log_2{n}]\) of the decomposition where we decompose \(2^{\ell-1}\) protocols \(\{\pi_S\}_{S \in \{0,1\}^{\ell-1}}\) into \(2^{\ell}\) protocols \(\{\pi_{S}\}_{S \in \{0,1\}^{\ell}}\). There are \(2^{\ell-1}\) decompositions at this level, each introducing an additive loss of \(O\!\left(\log{\frac{n \cdot 2^{-\ell}}{\Delta}}\right)\) bits for information and an additive loss of \(\frac{\Delta}{16}\) for variances. Summing over all levels gives \[\sum_{S \in \{0,1\}^{\log_2 n}} \Phi_{\textrm{obs}}(\pi_S@f) \leq \Phi_{\textrm{obs}}(\pi@f^{+n}) + \sum_{\ell=1}^{\log_2 n} 2^{\ell-1} \cdot \frac{\Delta}{16} \leq \Phi_{\textrm{obs}}(\pi@f^{+n}) + n\Delta,\] and \[\sum_{S \in \{0,1\}^{\log_2 n}} \IC(\pi_S) \leq \IC(\pi) + \sum_{\ell=1}^{\log_2 n} 2^{\ell-1} \cdot O\!\left(\log{\frac{n \cdot 2^{-\ell}}{\Delta}}\right) \leq \IC(\pi) + O\!\left(n + n \log{\frac{1}{\Delta}}\right).\]

This means an average protocol \(\eta := \pi_S\) where \(S\) is a uniformly random string in \(\{0,1\}^{\log_2{n}}\) has \(\IC(\eta) \leq \frac{\IC(\pi)}{n} + O(1+\log\frac{1}{\Delta})\) and \(\Phi_{\textrm{obs}}(\eta@f) \leq \frac{\Phi_{\textrm{obs}}(\pi@f^{+n})}{n} + \Delta\). This concludes the proof. ◻

5 Round-Preserving Direct-Sum for Variance and Information↩︎

We now prove [lem:main95lemma95oneway], thereby completing the proof of the round-preserving gap-majority lemma (4). We adopt the setting of the lemma: let \(f: \mathcal{X} \times \mathcal{Y} \rightarrow \{\pm 1\}\) be an arbitrary function, and let \(\mu\) be an arbitrary input distribution. Denote by \(\pi = (X,Y,M,A,R)\) an \(r\)-round protocol over the product distribution \(\mu^n\), where \(X = (X_1,\ldots,X_n)\) and \(Y = (Y_1,\ldots,Y_n)\) with each \((X_i,Y_i)\) drawn independently from \(\mu\). We also write \(M = (M_1,\ldots,M_r)\) as a sequence of \(r\) messages. We may assume \(r\) is odd so that Alice sends the last message \(M_r\) and Bob is responsible for outputting the answer \(A\) from the answer space \(\mathcal{A}\). Note that Alice may not know this answer \(A\). Let \(\Delta \in (0,1)\) be an arbitrary additive error parameter.

In a nutshell, the exact decomposition procedure from 4 fails here for two reasons. First, in the protocol \(\pi_1\) (2), Bob must send \(Z_1\) back to Alice. This takes an extra round of communication to which we cannot afford. To overcome this, we change the structure of our decomposition. Specifically, we instead decompose the protocol \(\pi\) operating on \(n\) input coordinates into two subprotocols: \(\pi^{<n}\) which operates on the first \(n-1\) input pairs, and \(\pi^{n}\) which operates on the single final input pair. Additionally, after simulating \(\pi\) in \(\pi^{<n}\) (similar to Line 5 in 1), Alice will send an extra auxiliary message to Bob simultaneously with her last message \(M_r\) (note that this does not cost an extra round), whereas in \(\pi^{n}\), Bob will no longer send any extra message back to Alice! This modification preserves the number of rounds of both subprotocols at \(r\) while introducing only a larger-yet-manageable additive loss in the information cost.

Second, in \(r\)-round protocols (when \(r\) is odd), only Bob is required to produce the output. Consequently, the observer’s variance is no longer an accurate proxy for the error, since Bob cannot use an additional round to relay the answer to Alice, preventing the external observer from seeing it. To address this, we use the reformulation of variances that is tailored to \(r\)-round protocols (recall 2). Precisely, we show that the decomposition of variances similar to 10 still hold, if we instead measure the variance of \(\pi^n\) from Bob’s perspective.

5.0.0.1 Decomposition.

We now describe the modified decomposition scheme. Given an \(r\)-round protocol \(\pi\), the decomposition produces two smaller \(r\)-round subprotocols \(\pi^{<n}\) and \(\pi^n\) described in 3 and 4. Note that \(\pi^{<n}\) operates on an input distribution \((X',Y') \sim \mu^{n-1}\) and \(\pi^{n}\) operates on an input distribution \((X',Y') \sim \mu\).

Figure 3: The protocol \pi^{<n} resulting from decomposing \pi
Figure 4: The protocol \pi^n resulting from decomposing \pi.

Equivalently, we may adopt the following distributional view of each protocol.

  • \(\pi^n = (X_n, Y_n, M, A, RX_{<n})\).

  • \(\pi^{<n} = (X_{<n}, Y_{<n}, M \odot Z_n, A, RY_{n})\) where \(Z_n\) consists of \(Z_n^a = \underset{Y_{<n}}{\mathbb{E}} \left[f^+(X_{<n}, Y_{<n}) \mid MRX_{<n}Y_n, A=a\right]\) for each \(a \in \mathcal{A}\) computable solely by Alice. Here we write \(M \odot Z_n\) to denote the \(r\)-round transcript \(M\) with Alice appending \(Z_n\) to her last message \(M_r\). Note further that for a fixed value of \(a\in \mathcal{A}\), \(Z^a_n\) is a deterministic function of \(MRX_0Y_1\).

For convenience, we make the same assumption as in the previous section: each \(Z_n^{a}\) takes values from a discrete set \(\mathcal{Z}\). As before, we will lift this assumption shortly.

5.0.0.2 Decomposition of Information Costs.

Analogous to the proof of 7, without the \(Z_n\) in \(\pi^{<n}\), the information costs of \(\pi^n\) and \(\pi^{<n}\) sums up to the information cost of \(\pi\). The extra message \(Z_n\) of \(\pi^{<n}\) incurs additional \(O(|\mathcal{A}| \cdot \log{|\mathcal{Z}|})\) bits, as there are \(|\mathcal{A}|\) choices of \(a\), and each \(Z_n^{a}\) can be represented with \(O(\log{|\mathcal{Z}|})\) bits. This yields the following information cost decomposition. We omit its formal proof for brevity.

Claim 10. \(\IC(\pi^{n}) + \IC(\pi^{<n}) \leq \IC(\pi) + O(|\mathcal{A}| \cdot \log{|\mathcal{Z}|})\).

5.0.0.3 Decomposition of Variances.

Analogous to 11, we show that the decomposition of variance still holds, if the variance of \(\pi^n\) is now evaluated from Bob’s perspective.

Claim 11. \(\overline{\Phi}_{\textrm{Bob}}(\pi^n @ f) + \overline{\Phi}_{\textrm{obs}}(\pi^{<n} @ f^{+(n-1)}) \leq \overline{\Phi}_{\textrm{obs}}(\pi @ f^{+n})\).

Proof. By definition, with \(\pi^n = (X_n, Y_n, M, A, RX_{<n})\), we have \[\overline{\Phi}_{\textrm{Bob}}(\pi^n @ f) = \underset{MRAX_{<n}Y_n}{\mathbb{E}} \;\underset{X_n}{\textrm{Var}} \left[f(X_n,Y_n) \mid MRAX_{<n}Y_n\right] \label{eq:gamma95Bob95pi95n}\tag{3}\] and with and \(\pi^{<n} = (X_{<n}, Y_{<n}, M \odot Z_n, A, RY_{n})\), we have \[\begin{align} \overline{\Phi}_{\textrm{obs}}(\pi^{<n} @ f^{+(n-1)}) & = \underset{MRAY_nZ_n}{\mathbb{E}} \;\underset{X_{<n}Y_{<n}}{\textrm{Var}} \left[f^+(X_{<n},Y_{<n}) \mid MRAY_nZ_n\right] \nonumber \\ & = \sum_{a \in \mathcal{A}} \pi(a) \cdot \underset{MY_nZ_n}{\mathbb{E}} \;\underset{X_{<n}Y_{<n}}{\textrm{Var}} \left[f^+(X_{<n},Y_{<n}) \mid MRY_nZ_na\right] \nonumber\\ & \leq \sum_{a \in \mathcal{A}} \pi(a) \cdot \underset{MY_nZ^a_n}{\mathbb{E}} \;\underset{X_{<n}Y_{<n}}{\textrm{Var}} \left[f^+(X_{<n},Y_{<n}) \mid MRY_nZ^a_na\right] \label{eq:gamma9560n95obs951} \end{align}\tag{4}\] where the final inequality follows 5 with \(Z^a_n \in Z_n\). Now fix \(a \in \mathcal{A}\) and expand the expectation. \[\begin{align} & \underset{MRY_nZ^a_n}{\mathbb{E}} \;\underset{X_{<n}Y_{<n}}{\textrm{Var}} \left[f^+(X_{<n},Y_{<n}) \mid MRY_nZ^a_na\right] \nonumber \\ & = \underset{X_{<n}Y_{<n}}{\mathbb{E}} \left[f^+(X_{<n}, Y_{<n})^2 \mid a\right] - \sum_{mry_nz_n^a} \pi(mry_nz_n^a\mid a) \cdot \left[\underset{X_{<n}Y_{<n}}{\mathbb{E}} \left[f(X_{<n},Y_{<n}) \mid mry_nz_n^a a\right]\right]^2 \label{eq:gamma9560n95obs952} \end{align}\tag{5}\] We further unpack the final expectation term. \[\begin{align} \underset{X_{<n}Y_{<n}}{\mathbb{E}} \left[f(X_{<n},Y_{<n}) \mid mry_nz_n^a a\right] & = \sum_{x_{<n}} \pi(x_{<n} \mid mry_nz_n^a a) \cdot \underset{Y_{<n}}{\mathbb{E}} \left[f^+(x_{<n}, Y_{<n}) \mid mrx_{<n}y_nz_n^a a\right] \\ & = \sum_{x_{<n}} \pi(x_{<n} \mid mry_nz_n^a a) \cdot \underset{Y_{<n}}{\mathbb{E}} \left[f^+(x_{<n}, Y_{<n}) \mid mrx_{<n}y_n a\right] y_na} \\ & = \sum_{x_{<n}} \pi(x_{<n} \mid mry_nz_n^a a) \cdot z_n^a\\ & = z_n^a. \end{align}\] Plugging this into 5 , we obtain: \[\begin{align} \underset{MRY_nZ^a_n}{\mathbb{E}} \;\underset{X_{<n}Y_{<n}}{\textrm{Var}} \left[f^+(X_{<n},Y_{<n}) \mid MRY_nZ^a_na\right] & = \underset{X_{<n}Y_{<n}}{\mathbb{E}} \left[f^+(X_{<n}, Y_{<n})^2 \mid a\right] - \sum_{mry_nz_n^a} \pi(mry_nz_n^a\mid a) \cdot (z^a_n)^2 \nonumber \\ & = \underset{X_{<n}Y_{<n}}{\mathbb{E}} \left[f^+(X_{<n}, Y_{<n})^2 \mid a\right] - \underset{Z_n^a}{\mathbb{E}} \left[(Z^a_n)^2 \mid a\right] \label{eq:gamma9560n95obs953} \end{align}\tag{6}\] Recall again that for a fixed \(a \in \mathcal{A}\), \(Z_n^{a} = \underset{Y_{<n}}{\mathbb{E}} \left[f^+(X_{<n}, Y_{<n}) \mid MRX_{<n}Y_n, A=a\right]\) is a deterministic function of \(MRX_{<n}Y_n\). Thus, we can write : \[\begin{align} \underset{Z_n^a}{\mathbb{E}} \left[(Z^a_n)^2 \mid a\right] = \sum_{mrx_{<n}y_n} \pi(mrx_{<n}y_n \mid a) \cdot \left[\underset{Y_{<n}}{\mathbb{E}} \left[f^+(X_{<n}, Y_{<n}) \mid mrx_{<n}y_na\right]\right]^2 \label{eq:gamma9560n95obs954} \end{align}\tag{7}\] Combining 4 , (6 ), and (7 ), we derive: \[\begin{align} & \overline{\Phi}_{\textrm{obs}}(\pi^{<n} @ f^{+(n-1)}) \nonumber \\ & \leq \sum_{a \in \mathcal{A}} \pi(a) \cdot \underset{MRY_nZ^a_n}{\mathbb{E}} \;\underset{X_{<n}Y_{<n}}{\textrm{Var}} \left[f^+(X_{<n},Y_{<n}) \mid MY_nZ^a_na\right] \nonumber \\ & = \underset{X_{<n}Y_{<n}}{\mathbb{E}}\left[f^+(X_{<n}, Y_{<n})^2\right] - \sum_{mrx_{<n}y_na} \pi(mrx_{<n}y_n a) \cdot \left[\underset{Y_{<n}}{\mathbb{E}} \left[f^+(X_{<n}, Y_{<n}) \mid mrx_{<n}y_na\right]\right]^2 \nonumber \\ & = \underset{MRX_{<n}Y_nA}{\mathbb{E}} \;\underset{Y_{<n}}{\textrm{Var}} \left[f^+(X_{<n}Y_{<n}) \mid MRX_{<n}Y_nA\right] \label{eq:gamma9560n95obs95final} \end{align}\tag{8}\]

Finally, combining 3 and (8 ), we obtain: \[\begin{align} & \overline{\Phi}_{\textrm{Bob}}(\pi^n @ f) + \overline{\Phi}_{\textrm{obs}}(\pi^{<n} @ f^{+(n-1)}) \\ & = \left[\underset{MRAX_{<n}Y_n}{\mathbb{E}} \;\underset{X_n}{\textrm{Var}} \left[f(X_n,Y_n) \mid MRAX_{<n}Y_n\right]\right] + \left[ \underset{MRAX_{<n}Y_n}{\mathbb{E}} \;\underset{Y_{<n}}{\textrm{Var}} \left[f^+(X_{<n},Y_{<n}) \mid MRAX_{<n}Y_n\right]\right] \\ & = \underset{MRAX_{<n}Y_n}{\mathbb{E}} \;\underset{X_nY_{<n}}{\textrm{Var}} \left[f^+(X,Y) \mid MRAX_{<n}Y_n\right]\\ & \leq \underset{MRA}{\mathbb{E}} \;\underset{XY}{\textrm{Var}} \left[f^+(X,Y) \mid MRA\right] } \\ & = \overline{\Phi}_{\textrm{obs}}(\pi @ f^{+n}) \end{align}\] as desired. ◻

5.0.0.4 Lifting the assumptions about \(Z_n\).

We now lift the assumptions of exact communication of \(Z_n\) in the same fashion as we did in 4. For each \(a \in \mathcal{A}\), instead of Alice sending each \(Z_n^a\) exactly, she sends the value of \((Z_n^a)^2\) rounded down to closest multiple of \(\frac{\Delta}{32}\). The implications of such rounding scheme are as follows.

  • Observe that the range of each \(Z_n^{a}\) is \([0,n^2]\). This allows us to set a discrete space \(\mathcal{Z}\) to be \(\{0, \frac{\Delta}{32}, \ldots \frac{\Delta}{32}, \ldots, \frac{\Delta}{32} \cdot \lfloor n^2 \cdot \frac{32}{\Delta}\rfloor\}\). As a result, \(|\mathcal{Z}| = O(\frac{n^2}{\Delta})\). Plugging this into 10, the decomposition of information costs may incur an additive loss of \(O(|\mathcal{A}| \cdot \log{\frac{n}{\Delta}})\) bits.

  • Similar to before, such rounding scheme introduces an additive loss to observer variance of \(\pi^{<n}\) by \(\frac{\Delta}{32}\). Here, though, Bob’s variace does not suffer any losses. As a result, the decomposition of variances may incur an additive loss of \(\frac{\Delta}{32}\).

In summary, by replacing the exact communication of \(Z_n\) by its squared and rounded version, we obtain the following round-preserving decomposition lemma.

Lemma 2 (One-step round-preserving decomposition lemma). Let \(f: \mathcal{X} \times \mathcal{Y} \rightarrow \{\pm 1\}\) be an arbitrary function and let \(\mu\) be an arbitrary input distribution over \(\mathcal{X} \times \mathcal{Y}\). Suppose \(\pi\) is an \(r\)-round protocol over input distribution \(\mu^n\) which Bob produces an answer from a discrete space \(\mathcal{A}\). For any \(\Delta \in (0,1)\), there exists \(r\)-round protocols \(\pi^n\) over input distribution \(\mu\) and \(\pi^{<n}\) over input distribution \(\mu^{n-1}\) such that \[\IC(\pi^n) + \IC(\pi^{<n}) \leq \IC(\pi) + O(|\mathcal{A}| \cdot \log{\frac{n}{\Delta}})\] and \[\overline{\Phi}_{\textrm{Bob}}(\pi^n@f) + \overline{\Phi}_{\textrm{obs}}(\pi^{<n}@f^{+(n-1)}) \leq \overline{\Phi}_{\textrm{obs}}(\pi@f^{+n}) + \frac{\Delta}{32}.\]

We are now ready to prove the main result of this section.

Proof. Consider the following recursive decomposition procedure. We first decompose \(\pi\) into \(\pi^{n}\) and \(\pi^{<n}\). Next, we decompose \(\pi^{<n}\) into \(\pi^{n-1}\) and \(\pi^{<n-1}\). This process is repeated \(n-1\) times, until we obtain \(n\) protocols \(\{\pi^i\}_{i \in [n]}\), each operating over a single input pair drawn from \(\mu\). Note further that every decomposition preserves the number of rounds. Thus, each protocol has \(r\) rounds of communication.

Applying 2 recursively, we obtain \[\sum_{i \in [n]} \overline{\Phi}_{\textrm{Bob}}(\pi^{i} @ f) \leq \overline{\Phi}_{\textrm{obs}}(\pi @ f^{+n}) + \frac{n \Delta}{16}\text{ and }\sum_{i \in [n]} \IC(\pi^i) \leq \IC(\pi) + O(|\mathcal{A}| \cdot n \log{\frac{n}{\Delta}}).\]

This means an average protocol \(\eta := \pi^i\), where \(i\) is chosen uniformly at random from \([n]\), satisfies \(\IC(\eta) \leq \frac{\IC(\pi)}{n} + O(|\mathcal{A}| \cdot \log{\frac{n}{\Delta}})\) and \(\overline{\Phi}_{\textrm{Bob}}(\eta@f) \leq \frac{\overline{\Phi}_{\textrm{obs}}(\pi@f^{+n})}{n} + \Delta\). This concludes the proof. ◻

6 Lower Bound Applications↩︎

Finally, we demonstrate the power of the gap-majority lemma by using it to derive lower bounds for the communication complexity of Gap-Hamming and the streaming complexity of triangle counting. We begin by revisiting a few fundamental communication problems and their information lower bounds. These problems, throughout this section, will serve as the base functions for our gap-majority reduction. The first problem is set-disjointness.

Definition 3 (Set-Disjointness). Let \(k\) be a positive integer. The communication problem (unique) set-disjointness, denoted \(\mathsf{DISJ}_k\), is defined as follows. Alice receives a set \(X \subseteq [k]\) and Bob receives a set \(Y \subseteq [k]\) such that either \(|X \cap Y| = 0\) or \(|X \cap Y| = 1\). They must decide whether their sets are disjoint, i.e. they wish to compute \[\mathsf{DISJ}_k(X,Y) := \begin{cases} -1 & \text{ if } |X \cap Y| = 0, \\ +1 & \text{ if } |X \cap Y| = 1. \end{cases}\] Alternatively, we may write \(|X \cap Y| = \frac{1}{2} \cdot \left(\mathsf{DISJ}_k(X,Y) + 1\right).\)

Theorem 12. There is an input distribution \(\mathcal{D}_{\mathsf{DISJ}_k}\) such that any protocol \(\pi\) that computes \(\mathsf{DISJ}_k\) with probability \(0.501\) over the distribution \(\mathcal{D}_{\mathsf{DISJ}_k}\) requires \(\IC(\pi) \ge \Omega(k)\). In addition, the distribution \(\mathcal{D}_{\mathsf{DISJ}_k}\) is balanced, meaning \(\mathbb{E}\left[{\mathsf{DISJ}_k}(X,Y)\right] = 0\) under the randomness of \(\mathcal{D}_{\mathsf{DISJ}_k}\).

The next problem is indexing. In fact, we will use a slightly non-standard variant of indexing which restricts the support size.

Definition 4 (Indexing). Let \(N,k\) be positive integers such that \(k \le \frac{N}{2}\). The one-way* communication problem indexing, denoted \(\mathsf{IND}_{N,k}\), is defined as follows. Alice receives an \(N\)-digit string \(S \in \{\pm 1\}^N\) which contains exactly \(k\) \(1\)’s, and Bob receives an index \(\ell \in [N]\). Alice sends a single message to Bob, who then wishes to compute the \(\ell^{\text{th}}\) digit of \(S\), namely \(\mathsf{IND}_{N,k}(S,\ell) := S_\ell.\)*

Theorem 13. There is an input distribution \(\mathcal{D}_{\mathsf{IND}_{N,k}}\) such that any protocol \(\pi\) that computes \(\mathsf{IND}_{N,k}\) with probability \(0.501\) over the distribution \(\mathcal{D}_{\mathsf{IND}_{N,k}}\) requires \(\IC(\pi) \ge \Omega(k)\). In addition, the distribution \(\mathcal{D}_{\mathsf{IND}_{N,k}}\) is balanced, meaning \(\mathbb{E}\left[{\mathsf{IND}_{N,k}}(X,Y)\right] = 0\) under the randomness of \(\mathcal{D}_{\mathsf{IND}_{N,k}}\).

We note that there are many known information-theoretic proofs of these lower bounds; see, for example, the folklore arguments of [46], [47] or the comprehensive textbook by Rao and Yehudayoff [48].

6.1 Gap-Hamming↩︎

Consider the following Gap-Hamming problem in the two-player communication setting.

Definition 5 (Gap-Hamming). Let \(n\) be a positive integer. The communication problem Gap-Hamming, denoted \(\mathsf{GH}_n\), is defined as follows: Alice and Bob receives \(X,Y \in \{\pm 1\}^n\) respectively, and they wish to distinguish whether the inner product of their input vectors is more than \(0.01 \sqrt{n}\) or less than \(-0.01\sqrt{n}\). Formally, they wish to compute \[\mathsf{GH}_n(X,Y) := \begin{cases} +1 & \text{ if \langle X, Y \rangle \geq 0.01\sqrt{n}} \\ -1 & \text{ if \langle X, Y \rangle \leq -0.01\sqrt{n}} \end{cases}\]

Since its formal introduction by Indyk and Woodruff [32], Gap-Hamming has quickly become one of the central problems in communication complexity. Due to its “gap” structure, it has served as a key tool for proving lower bounds for a variety of problems, such as streaming frequency moment estimation [36][38], [40], sketching complexity of graph cuts [41], testing of boolean function properties [39], to name just a few. Notably, early applications of the Gap-Hamming problem were restricted to the one-way communication in which the optimal lower bound \(\Omega(n)\) was quickly established in the original paper of [32]. It was only in 2012 that Chakrabarti and Regev [33] proved that \(\Omega(n)\) bits of communication are required even for protocols with unbounded rounds. Though their original proof was quite technically involved, a sequence of follow-up works [34], [35] provided significantly simpler proofs. Another set of milestones was achieved by [49][51], who obtained the explicit information lower bound: they showed that, under various distributions, any protocol computing \(\mathsf{GH}_n\) must reveal \(\Omega(n)\) bits of information about the players’ inputs.

As briefly discussed earlier, \(\mathsf{GH}_n\) is in fact a special case of the gap-majority composition obtained by taking \(f(x,y) := xy\). Therefore, it is almost mandatory for us to recover its optimal \(\Omega(n)\) lower bound through our gap-majority framework. We remark although the lower bound result is not quantitatively novel, we consider our proof strategy to be the main takeaway message: utilizing the gap-majority lemma as a “black-box” tool, our lower bound proof of \(\mathsf{GH}_n\) is merely a simple and clean reduction from the classical set-disjointness problem.

Theorem 14. Any randomized protocol that computes \(\mathsf{GH}_n\) with probability \(0.99\) requires \(\Omega(n)\) bits of communication.

The rest of this subsection will prove 14. We first describe its hard distribution in which we will prove an information lower bound against.

6.1.0.1 Hard distribution \(\mathcal{D}_{\mathsf{GH}}\) for \(\mathsf{GH}_n\).

Let \(n = 4k^{2}t\) for a sufficiently large constant \(k\). We partition the \(n\) coordinates into \(t\) disjoint blocks of size \(4k^{2}\). For each block \(i \in [t]\), Alice receives \(X_i \in \{\pm 1\}^{4k^{2}}\) and Bob receives \(Y_i \in \{\pm 1\}^{4k^{2}}\), jointly drawn from the following distribution \(\mathcal{D}_{\text{block}}\).

  1. Sample \((X'_i, Y'_i) \sim \mathcal{D}_{\mathsf{DISJ}_k}\).

  2. The first \(3k^{2}\) coordinates of \(X_i\) and \(Y_i\) are indexed by \([k] \times [3k]\) and constructed as follows. For each \(l \in [k]\):

    • If \(l \in X'_{i}\), set \(X_i(l,j) = -1\) for \(1 \le j \le k\), and \(+1\) otherwise.

    • If \(l \notin X'_{i}\), set \(X_i(l,j) = -1\) for \(k+1 \le j \le 2k\), and \(+1\) otherwise.

    • If \(l \in Y'_{i}\), set \(Y_i(l,j) = -1\) for \(1 \le j \le k\), and \(+1\) otherwise.

    • If \(l \notin Y'_{i}\), set \(Y_i(l,j) = -1\) for \(2k+1 \le j \le 3k\), and \(+1\) otherwise.

  3. The next \(k^{2}-k\) coordinates of both \(X_i\) and \(Y_i\) are set to \(+1\).

  4. The final \(k\) coordinates of \(X_i\) are set to \(+1\), and the final \(k\) coordinates of \(Y_i\) are set to \(-1\).

We now prove the linear lower bound of gap-hamming.

Proof of 14.. Our strategy is to prove an \(\Omega(n)\) information lower bound against the distribution \(\mathcal{D}_{\mathsf{GH}}\), which directly implies 14. Let \(\pi\) be a protocol for \(\mathsf{GH}_n\) that succeeds with probability \(0.99\). When run on inputs drawn from \(\mathcal{D}_{\mathsf{GH}} \equiv \mathcal{D}_{\text{block}}^{t}\), the protocol still succeeds with probability \(0.99\).

Observe that by the construction of \(\mathcal{D}_{\text{block}}\), we have \(\langle X_i, Y_i \rangle = 2k\) if \(|X'_i \cap Y'_i| = 1\), and \(\langle X_i, Y_i \rangle = -2k\) if \(|X'_i \cap Y'_i| = 0\). In other words, we can write \(\langle X_i, Y_i \rangle = 2k \cdot \mathsf{DISJ}_k(X'_i, Y'_i)\), and therefore \(\langle X, Y \rangle = \sum_{i=1}^{t} \langle X_i, Y_i \rangle = 2k \cdot \sum_{i=1}^{t} \mathsf{DISJ}_k(X'_i, Y'_i),\) where the terms \(\mathsf{DISJ}_k(X'_i, Y'_i)\) are drawn i.i.d. from \(\mathcal{D}_{\mathsf{DISJ}_k}\) and each takes values in \(\{\pm 1\}\) with \(0\) mean.

Since \(\pi\) distinguishes \(\langle X, Y \rangle\) between \(\geq 0.01\sqrt{n}\) and \(\leq -0.01\sqrt{n}\) with probability 0.99, it also distinguishes \(\sum_{i \in [t]} \mathsf{DISJ}_k(X'_i, Y'_i)\) from \(\geq \frac{0.01\sqrt{n}}{2k} = 0.01\sqrt{t}\) and \(\leq -\frac{0.01\sqrt{n}}{2k} = -0.01\sqrt{t}\) with probability 0.99. Thus, the premises of our gap-majority lemma (3) are met.

Applying the gap-majority lemma, we obtain a protocol \(\eta\) for computing \(\mathsf{DISJ}_k\) over \(\mathcal{D}_{\mathsf{DISJ}_k}\) with sucesss probability \(0.501\) and \(\IC(\eta) \leq \frac{1}{t} \cdot \IC(\pi) + O(1)\). By 12, this protocol \(\eta\) must have \(\IC(\eta) \geq \Omega(k)\). Combining these inequalities, we obtain \(\IC(\pi) \geq t \cdot \left(\Omega(k) - O(1)\right)\) which implies \(\IC(\pi) \geq \Omega(kt) = \Omega(n)\) using that \(k\) is a sufficiently large constant and \(kt = \frac{n}{4k} = \Theta(n)\). ◻

6.2 Triangle Counting↩︎

Consider the following triangle counting problem in a single-pass streaming setting.

Definition 6 (Streaming triangle counting). The streaming problem triangle counting, denoted \(\mathsf{TC}\), is defined as follows. An \(n\)-vertex \(m\)-edge graph \(G = (V,E)\) is given as a stream of edge arrival and let \(\varepsilon \in (0,1)\) be a multiplicative error parameter. Let \(T\) be the number of triangles in \(G\) unknown to us. As a courtesy, we are given \(\tau\) which is an \(O(1)\)-approximation of \(T\) at the beginning of the stream. At the end of the stream, we wish compute \(\widetilde{T}\) such that \(|\widetilde{T}-T| \leq \varepsilon T\).

A naive streaming algorithm for triangle counting simply stores the entire graph as the stream progresses, which requires \(\widetilde{O}(m)\) bits of memory. Beyond this trivial approach, a long line of work has culminated in a randomized algorithm that uses \(\widetilde{O}\!\left(\frac{mn}{\varepsilon^2 T}\right)\) space [42][44], [52][54]. In this section, we show that, up to \(\operatorname{polylog}(n)\) factors, these two upper bounds taken together are in fact optimal even with respect to the dependence on \(\varepsilon\).

Theorem 15. There exist absolute constants \(c_1,c_2 >0\) such that the following statement is true. For any \(\tau \leq c_1 \cdot \min\{m,\frac{n^3}{m}\}\) and \(\varepsilon\in (0,c_2)\), any streaming algorithms that answer \(\mathsf{TC}\) with \(\widetilde{T}\) such that \(|\widetilde{T}-T| \leq \varepsilon T\) with probability \(0.999\) must use \(\Omega\left(\min\{m, \frac{mn}{\varepsilon^2T}\}\right)\) bits of space.

Our proof of 15 follows a standard approach by reducing \(\mathsf{TC}\) to a new one-way communication problem \(\mathcal{P}\) (state shortly). We assume the setting of parameters \(m,n,\tau,T\) as stated in 15, and may assume further that \(\varepsilon^2 T \geq n\). Let \(\mathcal{A}\) be a streaming algorithm with space \(S\) and succeeds for \(\mathsf{TC}\) with probability \(0.999\). Our ultimate goal is to show that \(S \geq \Omega\left(\frac{mn}{\varepsilon^2T}\right)\). We note that in our upcoming reduction, we shall construct a graph with \(\Theta(n)\) vertices, \(\Theta(m)\) edges, and \(\Theta(T)\) triangles instead of exactly \(n\) vertices, \(m\) edges and \(T\) triangles. These numbers can then be scaled as needed.

Set \(t = \Theta(1/\varepsilon^{2})\), \(k = \Theta(\sqrt{\frac{mn}{\tau}})\), and \(b = \Theta(\varepsilon^2 \tau/n)\) for suitable leading constants. We also ensure that \(t,k,b \geq 1\) which is possible due to the set-up of our parameters. Consider the following one-way (distributional) communication problem \(\mathcal{P}\) which can be interpreted as a \(\pm 0.01\sqrt{t}\) approximation of \(\mathsf{IND}_{k^2, k^2/10}^{+t}\) over the distribution \(\mathcal{D}_{\mathsf{IND}_{k^2, k^2/10}}^{t}\).

  1. Sample \(t\) i.i.d. instances of \(\mathcal{D}_{\mathsf{IND}_{k^2, k^2/10}}\), namely \((S_{i}, \ell_{i})\) for each \(i,j \in [t]\).

  2. Alice receives all the \(\{S_{i}\}_{i \in [t]}\) and Bob receives all the \(\{\ell_{i}\}_{i \in [t]}\).

  3. Alice sends one message \(M\) to Bob, who then are asked to compute \(\sum_{i \in [t]} \mathsf{IND}_{k^2, k^2/10}(S_{i}, \ell_{i})\) within \(\pm 0.01\sqrt{t}\) error.

We will first prove the lower bound of \(\mathcal{P}\) via our round-preserving gap-majority lemma taken with \(r=1\).

Claim 16. Assume the setting of parameters \(m,n,T,\) and \(\varepsilon\). Then, any one-way communication protocol that solves \(\mathcal{P}\) with probability \(0.99\) requires \(\Omega\left(\frac{mn}{\varepsilon^2T}\right)\) bits of communication.

Proof. Let \(\pi\) be such protocol using \(C\) bits of communication. Using 4 with \(r=1\), we obtain a one-way protocol \(\eta\) for computing \(\mathsf{IND}_{k^2, k^2/10}\) over the distribution \(\mathcal{D}_{\mathsf{IND}_{k^2, k^2/10}}\) that succeeds with probability \(0.501\) and \(\IC(\eta) \leq \frac{1}{t} \cdot \IC(\pi) + O(\log{t})\). By 13, we have \(\IC(\eta) \geq \Omega(k^2) = \Omega\left(\frac{mn}{T}\right)\). Combining all with \(t = \Theta(1/\varepsilon^2)\), we have: \[C \geq \IC(\pi) \geq \frac{1}{\varepsilon^2} \cdot \left(\Omega\left(\frac{mn}{T}\right) - O\left(\log{(1/\varepsilon)}\right)\right) \geq \Omega\left(\frac{mn}{\varepsilon^2 T}\right)\] where the final inequality uses the fact that \(T \leq O(\tau) \leq \Theta(m)\). ◻

We now make the reduction by constructing a one-way protocol \(\pi\) for \(\mathcal{P}\) that succeeds with probability \(0.99\). To do so, the players use their input to construct a graph \(G\) of \(\Theta(n)\) vertices, \(\Theta(m)\) edges, and \(\Theta(T)\) triangles, and then invoke the streaming algorithm \(\mathcal{A}\) for \(\mathsf{TC}\).

6.2.0.1 Vertices.

\(G\) has \(n+2tkb = \Theta(n)\) vertices where the first \(n\) vertices are labeled \(z_{1},...,z_{n}\), and the remaining \(2tkb\) vertices are split into \(2t\) disjoint blocks of size \(kb\) named \(X_{1},\ldots,X_{t}\) and \(Y_{1},\ldots,Y_{t}\). Each block \(X_i\) and \(Y_i\) is further split into \(b\) mini-blocks of size \(k\) named \(X_{i,1},\ldots,X_{i,b}\), and \(Y_{i,1},\ldots,Y_{i,b}\) respectively. There are no edges within the \(X\)’s parts nor within the \(Y\)’s parts.

6.2.0.2 Edges and edge-partition.

For each \(i \in [t]\), consider the input pair \((S_{i}, \ell_{i}) \in \{\pm 1\}^{k^2} \times [k^2]\) given to Alice and Bob respectively. For each \(j \in [b]\), Alice views the induced subgraph \(X_{i,j} \cup Y_{i,j}\) as a vector of dimension \(k^2\). She then encodes \(S_{i} \in \{\pm 1\}^{k^2}\) by drawing the \(k^2/10\) edges corresponding to the positions of 1s. For a pair of vertices \(x \in X_{i,j}\) and \(y \in Y_{i,j}\) that \((x,y)\) encodes \(\ell_{i}\), Bob draws \((z_q,x)\) and \((z_q,y)\) for every \(q \in [n]\). Note that the graph contains \(2nbt + (k^2/10) \cdot bt = \Theta(m)\) edges.

6.2.0.3 Protocol \(\pi\).

Alice starts the streaming algorithm \(\mathcal{A}\) with an empty graph. She then inserts all of her edges and send the memory content to Bob. Bob then continues inserting all of his edges. In the end, Bob queries \(\mathcal{A}\) for \(\widetilde{T}\) such that \(|T-\widetilde{T}| \leq \varepsilon T\) with probability \(0.99\) and answers \(\frac{2\widetilde{T}}{bn}-t\).

Claim 17. The protocol \(\pi\) computes \(\mathcal{P}\) with probability \(0.99\).

Proof. Consider the graph \(G\) induced by blocks \((X_{i}, Y_{i})\) and \(z_1,\ldots,z_n\). If its corresponding instance \(\mathsf{IND}(S_{i}, \ell_{i})\) answers \(+1\), we shall discover \(bn\) triangles as each of the \(b\) mini-block produces exactly \(n\) triangles. On the other hand, if the answer is \(-1\), there is no triangles at all. Hence, we can write the number of triangles of \(G\) as \(T = \frac{bn}{2} \cdot \sum_{i \in [t]} \left(1+\mathsf{IND}_{k^2, k^2/10}(S_i, \ell_i)\right).\)

The graph \(G\) that Alice and Bob jointly constructs has \(\Theta(n)\) vertices, \(\Theta(m)\) edges, and the number of triangles in \(G\) is \(bn \cdot B(t,\frac{1}{2})\) which is \(\Theta(bnt) = \Theta(\tau) = \Theta(T)\) with high constant probability. All of these satisfy the setting of \(\mathsf{TC}\). Thus, using \(\mathcal{A}\), with probability 0.999, Bob answers \(\widetilde{T}\) such that \(|T - \widetilde{T}| \leq \varepsilon T\). In other words, the additive error to \(\mathcal{P}\) is \(O\left(\frac{\varepsilon T}{bn}\right) = O(1/\varepsilon) \leq 0.01 \sqrt{t}\), using the fact that \(\tau\) is a \(O(1)\)-approximation of \(T\) and that we set \(t = \Theta(1/\varepsilon^2)\) for an appropriate leading constant. This means the protocol \(\pi\) is correct with probability \(0.99\), as we desired. ◻

6.2.0.4 Wrapping-up.

By chaining 16 and 17, \(\pi\) must use \(\Omega\left(\frac{mn}{\varepsilon^2T}\right)\) bits of communication. Since the sole message from Alice is the memory content of \(\mathcal{A}\) which is \(S\) bits, we have \(S \geq \Omega\left(\frac{mn}{\varepsilon^2T}\right)\) as desired.

7 Acknowledgement↩︎

The authors thank Elena Gribelyuk, Cheng Jiang, Yang Hu, Yinchen Liu, and Santhoshini Velusamy for helpful discussions that inspired this work. We are especially grateful to and credit Sepehr Assadi for pointing out the potential application of gap-majority lemmas to streaming triangle counting in 6.2. We also thank anonymous FOCS 2026 reviewers for their valuable feedback and for identifying typographical errors in an earlier draft.

AI Disclosure. Numerical calculations in the proof of [lem:gapmaj95then95low95variance] (shown in Appendix 8) were assisted by ChatGPT.

8 Proof of [lem:gapmaj95then95low95variance]↩︎

We give the missing proof of [lem:gapmaj95then95low95variance], which closely follows Claim 6 of [45].

Proof. Denote \(\pi = (X,Y,M,R)\) where \(X = (X_1,\ldots,X_n)\) and \(Y = (Y_1,\ldots,Y_n)\) such that each \((X_i,Y_i) \sim \mu\) i.i.d. We may assume that the final message of \(M\) is \(A \in \{\pm 1\}\) indicating the players’ answer to \(\mathsf{GapMAJ}_n \circ f^n(X,Y)\). We start by expanding the observer’s variance of \(\pi\) on \(f^{+n}\). \[\begin{align} \Phi_{\textrm{obs}}(\pi @ f^{+n}) & = \underset{MR}{\mathbb{E}} \;\underset{XY}{\textrm{Var}}\left[f^+(X,Y) \mid MR\right] \nonumber \\ & \leq \underset{A}{\mathbb{E}} \;\underset{XY}{\textrm{Var}}\left[f^+(X,Y) \mid A\right]and M contains A} \nonumber \\ & = \underset{XY}{\mathbb{E}}\left[f^+(X,Y)^2\right] - \underset{A}{\mathbb{E}} \left[\underset{XY}{\mathbb{E}}\left[f^+(X,Y) \mid A\right]^2\right] \nonumber \\ & = n - \underset{A}{\mathbb{E}} \left[\underset{XY}{\mathbb{E}}\left[f^+(X,Y) \mid A\right]^2\right]i.i.d.}\nonumber \\ & = n - \underset{A}{\mathbb{E}} \left[\underset{Z}{\mathbb{E}}\left[\langle Z,\mathbf{1}_n\rangle \mid A\right]^2\right] \label{eq:boundvar1} \end{align}\tag{9}\] where we denote \(Z = (Z_1,\ldots,Z_n)\) such that each \(Z_i = f(X_i,Y_i)\) is i.i.d. equally likely to take values \(\{\pm 1\}\) under \(\mu\). This also mean for any \(z \in \{\pm 1\}^n\), we have \(\pi(z) = 2^{-n}\). Also denote \(p_z := \pi(A=1 \mid z)\). As \(\pi\) correct with probability 0.99, we have: \[\begin{align} 0.01 & \geq 2^{-n} \cdot \left(\sum_{\langle z, \mathbf{1}_n\rangle \geq 0.01\sqrt{n}} (1-p_z) + \sum_{\langle z, \mathbf{1}_n\rangle \leq -0.01\sqrt{n}}p_z\right) \end{align}\] which implies \(\left(\sum_{\langle z, \mathbf{1}_n\rangle \geq 0.01\sqrt{n}} p_z - \sum_{\langle z, \mathbf{1}_n\rangle \leq -0.01\sqrt{n}}p_z\right) \geq 0.486 \cdot 2^n\) using the fact that \(|\{z \mid \langle z, \mathbf{1}_n\rangle \geq 0.01\sqrt{n}\} \geq 0.496 \cdot 2^n\). This further gives: \[\sum_{\langle z, \mathbf{1}_n\rangle \geq 0.01\sqrt{n}}p_z \geq 0.486 \cdot 2^n\text{ and }\sum_{\langle z, \mathbf{1}_n\rangle \leq -0.01\sqrt{n}}p_z \leq 0.014 \cdot 2^n \label{eq:bound95pzs}\tag{10}\]

Our next step is to show \(\underset{z}{\mathbb{E}}\left[\langle z, \mathbf{1}_n\rangle \mid A=1\right] \geq \Omega(\sqrt{n})\). We begin by expanding the expectation. \[\begin{align} \underset{Z}{\mathbb{E}}\left[\langle Z, \mathbf{1}_n\rangle \mid A=1\right] & = \frac{\sum_{z} p_z \langle z, \mathbf{1}_n\rangle}{ \sum_{z} p_z} \geq 2^{-n} \cdot \sum_{z} p_z \langle z, \mathbf{1}_n\rangle \label{eq:exp95A1} \end{align}\tag{11}\] where the final inequality follows \(\sum_{z} p_z \cdot 2^{-n} = \pi(A = 1) \leq 1\). We then expand \[\begin{align} \sum_{z} p_z \langle z,\mathbf{1}_n\rangle & = \underbrace{\sum_{\langle z,\mathbf{1}_n\rangle \geq 0.01 \sqrt{n}} p_z \langle z,\mathbf{1}_n\rangle}_{\Phi_1} + \underbrace{\sum_{\langle z,\mathbf{1}_n\rangle \leq -0.01 \sqrt{n}} p_z \langle z,\mathbf{1}_n\rangle }_{\Phi_2} \\ & + \underbrace{\sum_{0 \leq \langle z,\mathbf{1}_n\rangle < 0.01 \sqrt{n}} p_z \langle z,\mathbf{1}_n\rangle}_{\Phi_3} + \underbrace{\sum_{-0.01 \sqrt{n} \leq \langle z,\mathbf{1}_n\rangle \leq 0} p_z \langle z,\mathbf{1}_n\rangle}_{\Phi_4}. \end{align}\] Notice that \(\Phi_3 \geq 0\). Utilizing 10 along with the facts that \(\sum_{i = 0.005\sqrt{n}}^{1.162\sqrt{n}} \binom{n}{n/2+i} \leq 0.486 \cdot 2^n\) and \(\sum_{i = 0}^{n/2-1.098\sqrt{n}} \binom{n}{i} \geq 0.014 \cdot 2^n\), we obtain the following bounds: \[\Phi_4 \geq - \sum_{0 \leq \langle z,\mathbf{1}_n\rangle < 0.01 \sqrt{n}} \langle z,\mathbf{1}_n\rangle = - \sum_{i=0}^{0.005 \sqrt{n}} \binom{n}{n/2+i} \cdot 2i\] \[\Phi_1 \geq \sum_{i = 0.005 \sqrt{n}}^{1.162\sqrt{n}} \binom{n}{n/2+i} \cdot 2i\] \[\Phi_2 \geq - \sum_{i = 0}^{n/2-1.098\sqrt{n}} \binom{n}{i} \cdot (n-2i) = \sum_{i = 1.098\sqrt{n}}^{n/2} \binom{n}{n/2+i} \cdot 2i\]

Combining these terms, we have: \[\begin{align} \sum_{z} p_z \langle z,\mathbf{1}_n\rangle & \geq \sum_{i = 0.005 \sqrt{n}}^{1.162\sqrt{n}} \binom{n}{n/2+i} \cdot 2i - \sum_{i = 1.098\sqrt{n}}^{n/2} \binom{n}{n/2+i} \cdot 2i - \sum_{i=0}^{0.005 \sqrt{n}} \binom{n}{n/2+i} \cdot 2i \\ & = 2^n \cdot \sqrt{\frac{n}{2\pi}} \cdot \left[\phi(0.005) -\phi(1.162) - \phi(1.098) - \phi(0) + \phi(0.005)\right] - o(2^n \sqrt{n}) }\\ & \geq 0.6724 \cdot 2^n \cdot \sqrt{n} \end{align}\]

Plugging this back into 11 , we have \(\underset{Z}{\mathbb{E}}\left[\langle Z, \mathbf{1}_n\rangle \mid A=1\right] \geq 0.6724\sqrt{n}.\) A symmetric argument gives \(\underset{Z}{\mathbb{E}}\left[\langle Z, \mathbf{1}_n\rangle \mid A=-1\right] \geq 0.6724\sqrt{n}.\) These imply \(\underset{A}{\mathbb{E}} \;\underset{Z}{\mathbb{E}}\left[\langle Z,\mathbf{1}_n\rangle \mid A \right] \geq 0.6724\sqrt{n}\). Combining with 9 , we achieve \(\Phi_{\textrm{obs}}(\pi @ f^{+n}) \leq n - (0.6724\sqrt{n})^2 \leq 0.99n\). ◻

Fact 18. For any constant \(c > 0\), we have \(\sum_{i = 0}^{c \sqrt{n}} \binom{n}{n/2+i} \cdot i = 2^n \cdot \sqrt{\frac{n}{8 \pi}} \cdot (1-\phi(c)) + o(2^n\sqrt{n})\) where \(\phi(c) := e^{-2c^2}.\)

References↩︎

[1]
A. C.-C. Yao, “Theory and applications of trapdoor functions (extended abstract),” in 23rd annual symposium on foundations of computer science, 1982, pp. 80–91, doi: 10.1109/SFCS.1982.45.
[2]
L. A. Levin, “One-way functions and pseudorandom generators,” Comb., vol. 7, no. 4, pp. 357–363, 1987, doi: 10.1007/BF02579323.
[3]
R. Impagliazzo, “Hard-core distributions for somewhat hard problems,” in 36th annual symposium on foundations of computer science, 1995, pp. 538–545, doi: 10.1109/SFCS.1995.492584.
[4]
R. Impagliazzo and A. Wigderson, P = BPP if e requires exponential circuits: Derandomizing the XOR lemma,” in 29th ACM symposium on the theory of computing, 1997, pp. 220–229, doi: 10.1145/258533.258590.
[5]
T. Feder, E. Kushilevitz, M. Naor, and N. Nisan, “Amortized communication complexity,” SIAM J. Comput., vol. 24, no. 4, pp. 736–750, 1995, doi: 10.1137/S0097539792235864.
[6]
Z. Bar-Yossef, T. S. Jayram, R. Kumar, and D. Sivakumar, “An information statistics approach to data stream and communication complexity,” J. Comput. Syst. Sci., vol. 68, no. 4, pp. 702–732, 2004, doi: 10.1016/J.JCSS.2003.11.006.
[7]
B. Barak, M. Braverman, X. Chen, and A. Rao, “How to compress interactive communication,” in 42nd ACM symposium on theory of computing, 2010, pp. 67–76, doi: 10.1145/1806689.1806701.
[8]
R. Jain, A. Pereszlényi, and P. Yao, “A direct product theorem for the two-party bounded-round public-coin communication complexity,” in 53rd annual IEEE symposium on foundations of computer science, 2012, pp. 167–176, doi: 10.1109/FOCS.2012.42.
[9]
M. Braverman, A. Rao, O. Weinstein, and A. Yehudayoff, “Direct products in communication complexity,” in 54th annual IEEE symposium on foundations of computer science, 2013, pp. 746–755, doi: 10.1109/FOCS.2013.85.
[10]
S. Mackenzie and A. Saffidine, “Refuting the direct sum conjecture for total functions in deterministic communication complexity,” in 57th annual ACM symposium on theory of computing, 2025, pp. 572–583, doi: 10.1145/3717823.3718148.
[11]
M. Braverman and A. Rao, “Information equals amortized communication,” in IEEE 52nd annual symposium on foundations of computer science, 2011, pp. 748–757, doi: 10.1109/FOCS.2011.86.
[12]
M. Braverman, “Interactive information complexity,” SIAM J. Comput., vol. 44, no. 6, pp. 1698–1739, 2015, doi: 10.1137/130938517.
[13]
R. Jain, H. Klauck, and M. Santha, “Optimal direct sum results for deterministic and randomized decision tree complexity,” Inf. Process. Lett., vol. 110, no. 20, pp. 893–897, 2010, doi: 10.1016/J.IPL.2010.07.020.
[14]
A. Drucker, “Improved direct product theorems for randomized query complexity,” Comput. Complex., vol. 21, no. 2, pp. 197–244, 2012, doi: 10.1007/S00037-012-0043-7.
[15]
S. Ben-David and R. Kothari, “Randomized query complexity of sabotaged and composed functions,” Theory Comput., vol. 14, no. 1, pp. 1–27, 2018, doi: 10.4086/TOC.2018.V014A005.
[16]
E. Blais and J. Brody, “Optimal separation and strong direct sum for randomized query complexity,” in 34th computational complexity conference, 2019, vol. 137, pp. 29:1–29:17, doi: 10.4230/LIPICS.CCC.2019.29.
[17]
S. Ben-David and E. Blais, “Direct product theorems for randomized query complexity,” in 66th IEEE annual symposium on foundations of computer science, 2025, pp. 710–733, doi: 10.1109/FOCS63196.2025.00038.
[18]
T. Besselman, M. Göös, S. Guo, G. Maystre, and W. Yuan, “Direct sums for parity decision trees,” in 40th computational complexity conference, 2025, vol. 339, pp. 16:1–16:38, doi: 10.4230/LIPICS.CCC.2025.16.
[19]
P. Savický, “On determinism versus unambiquous nondeterminism for decision trees,” Electron. Colloquium Comput. Complex., vol. TR02–9, 2002, [Online]. Available: https://eccc.weizmann.ac.il/eccc-reports/2002/TR02-009/index.html.
[20]
A. Tal, “Properties and applications of boolean function composition,” in Innovations in theoretical computer science, 2013, pp. 441–454, doi: 10.1145/2422436.2422485.
[21]
A. Montanaro, “A composition theorem for decision tree complexity,” Chic. J. Theor. Comput. Sci., vol. 2014, 2014, [Online]. Available: http://cjtcs.cs.uchicago.edu/articles/2014/6/contents.html.
[22]
T. Lee, R. Mittal, B. W. Reichardt, R. Spalek, and M. Szegedy, “Quantum query complexity of state conversion,” in IEEE 52nd annual symposium on foundations of computer science, 2011, pp. 344–353, doi: 10.1109/FOCS.2011.75.
[23]
B. Reichardt, “Reflections for quantum query algorithms,” in 22nd annual ACM-SIAM symposium on discrete algorithms, 2011, pp. 560–569, doi: 10.1137/1.9781611973082.44.
[24]
J. Brody, J. T. Kim, P. Lerdputtipongporn, and H. Srinivasulu, “A strong XOR lemma for randomized query complexity,” CoRR, vol. abs/2007.05580, 2020, [Online]. Available: https://arxiv.org/abs/2007.05580.
[25]
H. Yu, “Strong XOR lemma for communication with bounded rounds: (Extended abstract),” in 63rd IEEE annual symposium on foundations of computer science, 2022, pp. 1186–1192, doi: 10.1109/FOCS54457.2022.00114.
[26]
S. Iyer and A. Rao, “An XOR lemma for deterministic communication complexity,” in 65th IEEE annual symposium on foundations of computer science, 2024, pp. 429–432, doi: 10.1109/FOCS61266.2024.00034.
[27]
S. Iyer and A. Rao, XOR lemmas for communication via marginal information,” in 56th annual ACM symposium on theory of computing, 2024, pp. 652–658, doi: 10.1145/3618260.3649726.
[28]
P. Sawettamalya and H. Yu, “Strong XOR lemma for information complexity,” in 57th annual ACM symposium on theory of computing, 2025, pp. 1626–1637, doi: 10.1145/3717823.3718258.
[29]
U. Feige, P. Raghavan, D. Peleg, and E. Upfal, “Computing with noisy information,” SIAM J. Comput., vol. 23, no. 5, pp. 1001–1018, 1994, doi: 10.1137/S0097539791195877.
[30]
S. Ben-David, M. Göös, R. Kothari, and T. Watson, “When is amplification necessary for composition in randomized query complexity?” in Approximation, randomization, and combinatorial optimization, 2020, vol. 176, pp. 28:1–28:16, doi: 10.4230/LIPICS.APPROX/RANDOM.2020.28.
[31]
M. Göös and G. Maystre, “A majority lemma for randomised query complexity,” in 36th computational complexity conference, 2021, vol. 200, pp. 18:1–18:15, doi: 10.4230/LIPICS.CCC.2021.18.
[32]
P. Indyk and D. P. Woodruff, “Tight lower bounds for the distinct elements problem,” in 44th symposium on foundations of computer science, 2003, pp. 283–288, doi: 10.1109/SFCS.2003.1238202.
[33]
A. Chakrabarti and O. Regev, “An optimal lower bound on the communication complexity of gap-hamming-distance,” SIAM J. Comput., vol. 41, no. 5, pp. 1299–1317, 2012, doi: 10.1137/120861072.
[34]
T. Vidick, “A concentration inequality for the overlap of a vector on a large set, with application to the communication complexity of the gap-hamming-distance problem,” Chic. J. Theor. Comput. Sci., vol. 2012, 2012, [Online]. Available: http://cjtcs.cs.uchicago.edu/articles/2012/1/contents.html.
[35]
A. A. Sherstov, “The communication complexity of gap hamming distance,” Theory Comput., vol. 8, no. 1, pp. 197–208, 2012, doi: 10.4086/TOC.2012.V008A008.
[36]
N. Alon, Y. Matias, and M. Szegedy, “The space complexity of approximating the frequency moments,” J. Comput. Syst. Sci., vol. 58, no. 1, pp. 137–147, 1999, doi: 10.1006/JCSS.1997.1545.
[37]
D. P. Woodruff, “Optimal space lower bounds for all frequency moments,” in 15th annual ACM-SIAM symposium on discrete algorithms, 2004, pp. 167–175, [Online]. Available: http://dl.acm.org/citation.cfm?id=982792.982817.
[38]
P. Indyk and D. P. Woodruff, “Optimal approximations of the frequency moments of data streams,” in 37th annual ACM symposium on theory of computing, 2005, pp. 202–208, doi: 10.1145/1060590.1060621.
[39]
E. Blais, J. Brody, and K. Matulef, “Property testing lower bounds via communication complexity,” Comput. Complex., vol. 21, no. 2, pp. 311–358, 2012, doi: 10.1007/S00037-012-0040-X.
[40]
T. S. Jayram and D. P. Woodruff, “Optimal bounds for johnson-lindenstrauss transforms and streaming problems with subconstant error,” ACM Trans. Algorithms, vol. 9, no. 3, pp. 26:1–26:17, 2013, doi: 10.1145/2483699.2483706.
[41]
A. Andoni, J. Chen, R. Krauthgamer, B. Qin, D. P. Woodruff, and Q. Zhang, “On sketching quadratic forms,” in Innovations in theoretical computer science, 2016, pp. 311–319, doi: 10.1145/2840728.2840753.
[42]
L. S. Buriol, G. Frahling, S. Leonardi, A. Marchetti-Spaccamela, and C. Sohler, “Counting triangles in data streams,” in 25th ACM SIGACT-SIGMOD-SIGART symposium on principles of database systems, 2006, pp. 253–262, doi: 10.1145/1142351.1142388.
[43]
V. Braverman, R. Ostrovsky, and D. Vilenchik, “How hard is counting triangles in the streaming model?” in 40th international colloquium on automata, languages, and programming, 2013, vol. 7965, pp. 244–254, doi: 10.1007/978-3-642-39206-1\_21.
[44]
R. Jayaram and J. Kallaugher, “An optimal algorithm for triangle counting in the stream,” in Approximation, randomization, and combinatorial optimization, 2021, vol. 207, pp. 11:1–11:11, doi: 10.4230/LIPICS.APPROX/RANDOM.2021.11.
[45]
M. Braverman, S. Garg, and D. P. Woodruff, “The coin problem with applications to data streams,” in 61st IEEE annual symposium on foundations of computer science, 2020, pp. 318–329, doi: 10.1109/FOCS46700.2020.00038.
[46]
B. Kalyanasundaram and G. Schnitger, “The probabilistic communication complexity of set intersection,” SIAM J. Discret. Math., vol. 5, no. 4, pp. 545–557, 1992, doi: 10.1137/0405044.
[47]
A. A. Razborov, “On the distributional complexity of disjointness,” Theor. Comput. Sci., vol. 106, no. 2, pp. 385–390, 1992, doi: 10.1016/0304-3975(92)90260-M.
[48]
A. Rao and A. Yehudayoff, Communication complexity: And applications. Cambridge University Press, 2020.
[49]
A. Chakrabarti, R. Kondapally, and Z. Wang, “Information complexity versus corruption and applications to orthogonality and gap-hamming,” in Approximation, randomization, and combinatorial optimization, 2012, vol. 7408, pp. 483–494, doi: 10.1007/978-3-642-32512-0\_41.
[50]
I. Kerenidis, S. Laplante, V. Lerays, J. Roland, and D. Xiao, “Lower bounds on information complexity via zero-communication protocols and applications,” SIAM J. Comput., vol. 44, no. 5, pp. 1550–1572, 2015, doi: 10.1137/130928273.
[51]
M. Braverman, A. Garg, D. Pankratov, and O. Weinstein, “Information lower bounds via self-reducibility,” Theory Comput. Syst., vol. 59, no. 2, pp. 377–396, 2016, doi: 10.1007/S00224-015-9655-Z.
[52]
Z. Bar-Yossef, R. Kumar, and D. Sivakumar, “Reductions in streaming algorithms, with an application to counting triangles in graphs,” in 30th ACM-SIAM symposium on discrete algorithms, 2002, pp. 623–632, [Online]. Available: http://dl.acm.org/citation.cfm?id=545381.545464.
[53]
H. Jowhari and M. Ghodsi, “New streaming algorithms for counting triangles in graphs,” in 11th annual international computing and combinatorics conference, 2005, vol. 3595, pp. 710–716, doi: 10.1007/11533719\_72.
[54]
J. Kallaugher and E. Price, “A hybrid sampling scheme for triangle counting,” in 28th annual ACM-SIAM symposium on discrete algorithms, 2017, pp. 1778–1797, doi: 10.1137/1.9781611974782.116.

  1. Department of Computer Science, Princeton University. Supported by NSF CAREER award CCF-233994.  [ps3122@princeton.edu](ps3122@princeton.edu){.uri}↩︎

  2. Department of Computer Science, Princeton University. Supported by NSF CAREER award CCF-233994.  [yuhch123@gmail.com](yuhch123@gmail.com){.uri}↩︎

  3. We will formally define the information cost in 2.↩︎

  4. To see this, consider the protocol \(\eta\) from Alice’s perspective. Knowing \(x\), her prior view of \(y\) is equally likely to be \(x-1\) or \(x+1\). After the communication, she gains a small constant advantage in predicting \(y\). Hence, her posterior view of \(y\) shifts from her prior view by \(\Omega(1)\), meaning that she must have learned \(\Omega(1)\) bits of information.↩︎

  5. In fact, there are other known lower bounds parameterized by additional structural parameters. We omit these bounds since our regime is parameterized solely by \(n,m,T\), and \(\varepsilon\). Readers may consult [44] for further references.↩︎