English

Optimal Document Exchange and New Codes for Insertions and Deletions

Data Structures and Algorithms 2019-09-27 v3

Abstract

We give the first communication-optimal document exchange protocol. For any nn and k<nk < n our randomized scheme takes any nn-bit file FF and computes a Θ(klognk)\Theta(k \log \frac{n}{k})-bit summary from which one can reconstruct FF, with high probability, given a related file FF' with edit distance ED(F,F)kED(F,F') \leq k. The size of our summary is information-theoretically order optimal for all values of kk, giving a randomized solution to a longstanding open question of [Orlitsky; FOCS'91]. It also is the first non-trivial solution for the interesting setting where a small constant fraction of symbols have been edited, producing an optimal summary of size O(H(δ)n)O(H(\delta)n) for k=δnk=\delta n. This concludes a long series of better-and-better protocols which produce larger summaries for sub-linear values of kk and sub-polynomial failure probabilities. In particular, the recent break-through of [Belazzougui, Zhang; FOCS'16] assumes that k<nϵk < n^\epsilon, produces a summary of size O(klog2k+klogn)O(k\log^2 k + k\log n), and succeeds with probability 1(klogn)O(1)1-(k \log n)^{-O(1)}. We also give an efficient derandomized document exchange protocol with summary size O(klog2nk)O(k \log^2 \frac{n}{k}). This improves, for any kk, over a deterministic document exchange protocol by Belazzougui with summary size O(k2+klog2n)O(k^2 + k \log^2 n). Our deterministic document exchange directly provides new efficient systematic error correcting codes for insertions and deletions. These (binary) codes correct any δ\delta fraction of adversarial insertions/deletions while having a rate of 1O(δlog21δ)1 - O(\delta \log^2 \frac{1}{\delta}) and improve over the codes of Guruswami and Li and Haeupler, Shahrasbi and Vitercik which have rate 1Θ(δlogO(1)1ϵ)1 - \Theta\left(\sqrt{\delta} \log^{O(1)} \frac{1}{\epsilon}\right).

Keywords

Cite

@article{arxiv.1804.03604,
  title  = {Optimal Document Exchange and New Codes for Insertions and Deletions},
  author = {Bernhard Haeupler},
  journal= {arXiv preprint arXiv:1804.03604},
  year   = {2019}
}
R2 v1 2026-06-23T01:19:32.707Z