English

Efficient Linear and Affine Codes for Correcting Insertions/Deletions

Information Theory 2022-07-22 v4 Discrete Mathematics Data Structures and Algorithms Combinatorics math.IT

Abstract

This paper studies \emph{linear} and \emph{affine} error-correcting codes for correcting synchronization errors such as insertions and deletions. We call such codes linear/affine insdel codes. Linear codes that can correct even a single deletion are limited to have information rate at most 1/21/2 (achieved by the trivial 2-fold repetition code). Previously, it was (erroneously) reported that more generally no non-trivial linear codes correcting kk deletions exist, i.e., that the (k+1)(k+1)-fold repetition codes and its rate of 1/(k+1)1/(k+1) are basically optimal for any kk. We disprove this and show the existence of binary linear codes of length nn and rate just below 1/21/2 capable of correcting Ω(n)\Omega(n) insertions and deletions. This identifies rate 1/21/2 as a sharp threshold for recovery from deletions for linear codes, and reopens the quest for a better understanding of the capabilities of linear codes for correcting insertions/deletions. We prove novel outer bounds and existential inner bounds for the rate vs. (edit) distance trade-off of linear insdel codes. We complement our existential results with an efficient synchronization-string-based transformation that converts any asymptotically-good linear code for Hamming errors into an asymptotically-good linear code for insdel errors. Lastly, we show that the 12\frac{1}{2}-rate limitation does not hold for affine codes by giving an explicit affine code of rate 1ϵ1-\epsilon which can efficiently correct a constant fraction of insdel errors.

Keywords

Cite

@article{arxiv.2007.09075,
  title  = {Efficient Linear and Affine Codes for Correcting Insertions/Deletions},
  author = {Kuan Cheng and Venkatesan Guruswami and Bernhard Haeupler and Xin Li},
  journal= {arXiv preprint arXiv:2007.09075},
  year   = {2022}
}
R2 v1 2026-06-23T17:12:04.305Z