BREAKING NEWS
Gap-Hamming problem

## Summary

In communication complexity, the gap-Hamming problem asks, if Alice and Bob are each given a (potentially different) string, what is the minimal number of bits that they need to exchange in order for Alice to approximately compute the Hamming distance between their strings. The solution to the problem roughly states that, if Alice and Bob are each given a string, then any communication protocol used to compute the Hamming distance between their strings does (asymptotically) no better than Bob sending his whole string to Alice. More specifically, if Alice and Bob are each given ${\displaystyle n}$-bit strings, there exists no communication protocol that lets Alice compute the hamming distance between their strings to within ${\displaystyle \pm {\sqrt {n}}}$ using less than ${\displaystyle \Omega (n)}$ bits.

The gap-Hamming problem has applications to proving lower bounds for many streaming algorithms, including moment frequency estimation[1] and entropy estimation.[2]

## Formal statement

In this problem, Alice and Bob each receive a string, ${\displaystyle x\in \{\pm 1\}^{n}}$  and ${\displaystyle y\in \{\pm 1\}^{n}}$ , respectively, while Alice is required to compute the (partial) function,

${\displaystyle \operatorname {GHD} (x,y)={\begin{cases}+1&D_{H}(x,y)\geq {\frac {n}{2}}+{\sqrt {n}}\\-1&D_{H}(x,y)\leq {\frac {n}{2}}-{\sqrt {n}}\\*&{\text{otherwise}},\end{cases}}}$

using the least amount of communication possible. Here, ${\displaystyle *}$  indicates that Alice can return either of ${\displaystyle \pm 1}$  and ${\displaystyle D_{H}(x,y)}$  is the Hamming distance between ${\displaystyle x}$  and ${\displaystyle y}$ . In other words, Alice needs to return whether Bob's string is significantly similar or significantly different from hers while minimizing the number of bits she exchanges with Bob.

The problem's solution states that computing ${\displaystyle \operatorname {GHD} }$  requires at least ${\displaystyle \Omega (n)}$  communication. In particular, it requires ${\displaystyle \Omega (n)}$  communication even when ${\displaystyle x}$  and ${\displaystyle y}$  are chosen uniformly at random from ${\displaystyle \{\pm 1\}^{n}}$ .

## History

The gap-Hamming problem was originally proposed by Indyk and Woodruff in the early 2000's, who initially proved a linear lower bound on the one-way communication complexity of the problem (where Alice is only allowed to receive data from Bob) and conjectured a linear lower bound in the general case.[3] The question of the infinite-round case (in which Alice and Bob are allowed to exchange as many messages as desired) remained open until Chakrabarti and Regev proved, via an anti-concentration argument, that the general problem also has linear lower bound complexity, thus settling the original question completely.[4] This result was followed by a series of other papers that sought to simplify or find new approaches to proving the desired lower bound, notably first by Vidick[5] and later by Sherstov,[6] and, recently, with an information-theoretic approach by Hadar, Liu, Polyanskiy, and Shayevitz.[7]

## References

1. ^ Indyk, Piotr; Woodruff, David (2005). "Optimal approximations of the frequency moments of data streams". Proceedings of the thirty-seventh annual ACM symposium on Theory of computing - STOC '05. p. 202. doi:10.1145/1060590.1060621. ISBN 9781581139600. S2CID 7911758.
2. ^ Chakrabarti, Amit; Cormode, Graham; Mcgregor, Andrew (2010). "A Near-optimal Algorithm for Estimating the Entropy of a Stream". ACM Transactions on Algorithms. 6 (3): 1–21. CiteSeerX 10.1.1.190.5419. doi:10.1145/1798596.1798604. ISSN 1549-6325. S2CID 6733816.
3. ^ Indyk, P.; Woodruff, D. (2003). "Tight lower bounds for the distinct elements problem". 44th Annual IEEE Symposium on Foundations of Computer Science, 2003. Proceedings. pp. 283–288. doi:10.1109/SFCS.2003.1238202. ISBN 9780769520407. S2CID 7648045.
4. ^ Chakrabarti, Amit; Regev, Oded (2011). "An optimal lower bound on the communication complexity of gap-hamming-distance". Proceedings of the 43rd annual ACM symposium on Theory of computing - STOC '11. p. 51. arXiv:1009.3460. doi:10.1145/1993636.1993644. ISBN 9781450306911. S2CID 10274326.
5. ^ Vidick, Thomas (2012). "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". Chicago Journal of Theoretical Computer Science. 18: 1–12. doi:10.4086/cjtcs.2012.001.
6. ^ Sherstov, Alexander A. (2012-05-17). "The Communication Complexity of Gap Hamming Distance". Theory of Computing. 8 (1): 197–208. doi:10.4086/toc.2012.v008a008. ISSN 1557-2862.
7. ^ Shayevitz, Ofer; Polyanskiy, Yury; Liu, Jingbo; Hadar, Uri (2019-01-25). "Communication Complexity of Estimating Correlations". arXiv:1901.09100v2 [cs.IT].