The generalized inner product #
The generalized inner product of k strings x i of n bits, one on each player's forehead, is
the parity of the number of positions at which all the strings have a 1:
GIP(x) = ⊕_r ∧_i x i r (NOF.gip). With two players it is the inner product modulo two
(NOF.gip_fin_two).
Babai, Nisan and Szegedy [BNS92] proved an Ω(n / 4 ^ k) lower bound for it by
discrepancy, which holds for protocols with public coins and constant error below 1 / 2
Jukna, Section 5.6. We follow
the cube-bound proof (CslibFrontier.Computability.Communication.NOF.Cube). Over the corners of a
cube
spanned by a and b, the generalized inner product adds up to its value at a + b. This follows
from the distributive law ∏ i, (b i + a i) = ∑ S, ∏_{i ∈ S} b i ∏_{i ∉ S} a i in the two-element
Boolean ring. So the cube expectation of GIP equals its bias 𝔼 (-1) ^ GIP
(NOF.cubeExpectation_gip). By independence of the positions, the bias is
(1 - 2 / 2 ^ k) ^ n (NOF.expect_signVal_gip), so
disc(GIP) ^ (2 ^ k) ≤ (1 - 2 / 2 ^ k) ^ n under the uniform distribution
(NOF.discrepancy_gip_pow_le). With the discrepancy bound and 1 - x ≤ exp (-x), a public-coin
protocol with error 1 / 2 - γ sending c bits has
(2 γ) ^ (2 ^ k) ≤ 2 ^ (c 2 ^ k) (1 - 2 / 2 ^ k) ^ n
(NOF.PublicCoin.pow_le_of_ecomplexityFun_gip_le). For error 1 / 3 this gives
2 n < 4 ^ k (c + 2) (NOF.PublicCoin.two_mul_lt_four_pow_mul_of_ecomplexityFun_gip_le), and
deterministic protocols give 2 n ≤ 4 ^ k c
(NOF.Protocol.two_mul_le_four_pow_mul_of_ecomplexityFun_gip_le).
With one player the bias is 0 for n ≥ 1, so no protocol beats error 1 / 2. That player
sees nothing.
Main definitions #
Cslib.Communication.NOF.gip: the generalized inner product.
Main results #
Cslib.Communication.NOF.cubeExpectation_gip,Cslib.Communication.NOF.expect_signVal_gip: the cube expectation of the generalized inner product is its bias(1 - 2 / 2 ^ k) ^ n.Cslib.Communication.NOF.discrepancy_gip_pow_le:disc(GIP) ^ (2 ^ k) ≤ (1 - 2 / 2 ^ k) ^ n.Cslib.Communication.NOF.two_mul_le_of_pow_le,Cslib.Communication.NOF.two_mul_le_four_pow_mul_of_cube_discrepancy: exponential trade-off from a cube-discrepancy bound to communication depthΩ(n / 4 ^ k).Cslib.Communication.NOF.PublicCoin.two_mul_lt_four_pow_mul_of_ecomplexityFun_gip_le,Cslib.Communication.NOF.Protocol.two_mul_le_four_pow_mul_of_ecomplexityFun_gip_le: the Babai–Nisan–Szegedy lower boundΩ(n / 4 ^ k).
References #
The generalized inner product of k strings of n bits held by the players ι: the parity
of the number of positions r at which every string has a 1, ⊕_r ∧_i x i r, computed in the
two-element Boolean ring.
The cube expectation of the generalized inner product is its bias: over the corners of a
cube, the generalized inner product adds up to its value at a + b, by the distributive law
∏ i, (b i + a i) = ∑ S, ∏_{i ∈ S} b i ∏_{i ∉ S} a i in the Boolean ring, and a + b is
uniform.
The bias of the generalized inner product of k strings of n bits is
(1 - 2 / 2 ^ k) ^ n: the positions are independent, and at each the bits of the players are all
1 with probability 2 ^ (-k).
The discrepancy of the generalized inner product under the uniform distribution:
disc(GIP) ^ (2 ^ k) ≤ (1 - 2 / 2 ^ k) ^ n for k ≥ 1 players holding n bits each, by the cube
bound.
From a bound A ^ (2 ^ k) ≤ 2 ^ (c 2 ^ k) (1 - 2 / 2 ^ k) ^ n with A⁻¹ ≤ exp m, using
1 - x ≤ exp (-x): 2 n ≤ 4 ^ k (c + m).
Deterministic cube-discrepancy trade-off: from 1 ≤ 2 ^ c * D and
D ^ (2 ^ k) ≤ (1 - 2 / 2 ^ k) ^ n (k ≠ 0), deduce 2 * n ≤ 4 ^ k * c.
Randomized protocols for the generalized inner product: if k ≥ 1 players holding n
bits each compute the generalized inner product by a public-coin NOF protocol with error at most
1 / 2 - γ, for γ ≥ 0, sending at most c bits, then
(2 γ) ^ (2 ^ k) ≤ 2 ^ (c 2 ^ k) (1 - 2 / 2 ^ k) ^ n.
Babai–Nisan–Szegedy lower bound for the generalized inner product [BNS92]:
public-coin NOF protocols of k ≥ 1 players holding n bits each that compute the generalized
inner product with error at most 1 / 3, sending at most c bits, have 2 n < 4 ^ k (c + 2):
R_{1/3}(GIP) = Ω(n / 4 ^ k). The proof gives 2 n ≤ 4 ^ k (c + 3 / 2), from 3 ≤ exp (3 / 2).
Deterministic protocols for the generalized inner product: a deterministic NOF protocol of
k ≥ 1 players holding n bits each computing the generalized inner product exactly, sending at
most c bits, has 2 n ≤ 4 ^ k c. This cannot be strict: with n = 0 the function is constant
and c = 0.