Gap-Hamming problem explained

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

n

-bit strings, there exists no communication protocol that lets Alice compute the hamming distance between their strings to within

\pm\sqrt{n}

using less than

\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,

x\in\{\pm1\}n

and

y\in\{\pm1\}n

, respectively, while Alice is required to compute the (partial) function,

\operatorname{GHD}(x,y)=\begin{cases} +1&DH(x,y)\ge

n
2

+\sqrt{n}\\ -1&DH(x,y)\le

n
2

-\sqrt{n}\\ *&otherwise, \end{cases}

using the least amount of communication possible. Here,

*

indicates that Alice can return either of

\pm1

and

DH(x,y)

is the Hamming distance between

x

and

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

\operatorname{GHD}

requires at least

\Omega(n)

communication. In particular, it requires

\Omega(n)

communication even when

x

and

y

are chosen uniformly at random from

\{\pm1\}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]

Notes and References

  1. Book: 10.1145/1060590.1060621. 9781581139600. Optimal approximations of the frequency moments of data streams. Proceedings of the thirty-seventh annual ACM symposium on Theory of computing - STOC '05. 202. 2005. Indyk. Piotr. Woodruff. David. 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. 10.1145/1798596.1798604. 1549-6325. 10.1.1.190.5419. 6733816.
  3. Book: 10.1109/SFCS.2003.1238202. 9780769520407. Tight lower bounds for the distinct elements problem. 44th Annual IEEE Symposium on Foundations of Computer Science, 2003. Proceedings. 283–288. 2003. Indyk. P.. Woodruff. D.. 7648045.
  4. Book: 10.1145/1993636.1993644. 9781450306911. 1009.3460. 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. 51. 2011. Chakrabarti. Amit. Regev. Oded. 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. 10.4086/cjtcs.2012.001. free.
  6. Sherstov. Alexander A.. 2012-05-17. The Communication Complexity of Gap Hamming Distance. Theory of Computing. EN. 8. 1. 197–208. 10.4086/toc.2012.v008a008. 1557-2862. free.
  7. Shayevitz. Ofer. Polyanskiy. Yury. Liu. Jingbo. Hadar. Uri. 2019-01-25. Communication Complexity of Estimating Correlations. en. 1901.09100v2. cs.IT.