Codes Correcting a Burst of Deletions or Insertions

Clayton Schoeny, Antonia Wachter-Zeh, Ryan Gabrys, Eitan Yaakobi

Abstract

This paper investigates the construction of codes designed to correct bursts of deletions, specifically $b$-burst-correcting codes capable of recovering from the loss of $b$ consecutive bits. While the theoretical lower bound for the redundancy of such codes was established by Levenshtein as approximately $\log(n) + b - 1$, existing constructions, such as those by Cheng et al., required significantly higher redundancy ($b \log(n/b + 1)$). This research successfully narrows this gap, introducing a new code construction with redundancy at most $\log(n) + (b - 1) \log(\log(n)) + b - \log(b)$. Furthermore, the study extends these results to bursts of at most $b$ consecutive bits and non-consecutive bursts of size $b=3, 4$, while demonstrating that the correction of deletion bursts is mathematically equivalent to correcting insertion bursts.

Introduction

In modern digital communication and data storage systems, synchronization errors—specifically deletions and insertions—pose a more significant challenge than traditional bit-flip errors. When a bit is deleted or inserted, it causes a "timing" shift in the remaining sequence, rendering standard error-correcting codes ineffective. A particularly common and damaging scenario is the "burst" error, where multiple consecutive bits are lost or added simultaneously.

While single-deletion-correcting codes, such as the Varshamov-Tenengolts (VT) codes, have been understood since the 1960s, scaling these solutions to handle bursts of size $b$ has historically been inefficient. This paper addresses the discrepancy between the theoretical limits of redundancy and the practical constructions available to researchers.

The Redundancy Gap

The efficiency of an error-correcting code is measured by its redundancy—the number of extra bits required to ensure data integrity. For a burst of $b$ deletions in a sequence of length $n$, the Levenshtein lower bound suggests that roughly $\log(n) + b$ bits should suffice. However, prior to this work, the state-of-the-art construction by Cheng et al. scaled linearly with the burst size, requiring $b \log(n/b + 1)$ bits. This paper provides a construction that moves from linear scaling to a logarithmic scaling, nearly reaching the theoretical optimum.

Proposed Methodology: The Array Construction

The authors utilize a "divide and conquer" approach by treating a codeword of length $n$ as a $b \times (n/b)$ array. In this model, a burst of $b$ consecutive deletions results in exactly one bit being removed from each of the $b$ rows. This structure allows the authors to decompose the problem into two distinct roles:

1. The Anchor Row (Row 1)

The first row is encoded using a combination of a VT code and a Run-Length Limited (RLL) constraint. The RLL constraint ensures that the sequence does not contain excessively long runs of identical bits (0s or 1s). By correcting the deletion in this first row, the decoder can determine a very narrow "window" of indices where the deletions must have occurred in the subsequent rows.

2. The Follower Rows (Rows 2 through $b$)

Because the anchor row provides a localized search area for the errors in the remaining rows, these rows do not require the full power of a standard VT code. Instead, the authors introduce Shifted VT (SVT) codes. These are "position-aware" codes that use a significantly smaller modulus ($P$ instead of $n+1$). This allows the follower rows to pinpoint and correct their respective missing bits with minimal additional redundancy.

Key Results and Theoretical Contributions

Redundancy Breakthrough

The primary contribution of the paper is the achievement of a new redundancy upper bound: $$\log(n) + (b - 1) \log(\log(n)) + b - \log(b)$$ This result represents a major improvement over previous constructions, as the $(b-1) \log(\log(n))$ term grows much more slowly than the $b \log(n)$ term found in earlier work.

Equivalence of Deletions and Insertions

The paper provides a rigorous mathematical proof that any code capable of correcting a burst of $b$ deletions is also capable of correcting a burst of $b$ insertions. This equivalence simplifies the design of robust communication protocols, as a single code architecture can handle both types of synchronization errors.

Extension to Non-Consecutive Bursts

The authors also explore more complex error models, such as bursts where $b$ bits are deleted within a localized window but are not necessarily adjacent. They provide specific, practical constructions for these scenarios when $b=3$ and $b=4$, establishing a foundation for future generalized solutions.

Conclusion

By leveraging the correlation between errors in a burst and employing a novel combination of RLL and Shifted VT codes, this paper significantly advances the efficiency of synchronization error correction. While a small gap remains between the new construction and the absolute Levenshtein lower bound, this work provides the most efficient practical codes to date for burst deletions and insertions. Future research may focus on generalizing the non-consecutive burst constructions for larger values of $b$ and extending these techniques to handle multiple bursts within a single codeword.

Summary updated

Abstract

This paper studies codes that correct bursts of deletions. Namely, a code will be called a b-burst-correcting code if it can correct a deletion of any b consecutive bits. While the lower bound on the redundancy of such codes was shown by Levenshtein to be asymptotically log(n) + b - 1, the redundancy of the best code construction by Cheng et al. is b(log(n/b + 1)). In this paper we close on this gap and provide codes with redundancy at most log(n) + (b - 1) log(log(n)) + b - log(b). We also extend the burst deletion model to two more cases: 1. a deletion burst of at most b consecutive bits and 2. a deletion burst of size at most b (not necessarily consecutive). We extend our code construction for the first case and study the second case for b = 3, 4. The equivalent models for insertions are also studied and are shown to be equivalent to correcting the corresponding burst of deletions.
BibTeX
@article{schoeny2017codes,
  author = {Clayton Schoeny and Antonia Wachter-Zeh and Ryan Gabrys and Eitan Yaakobi},
  title = {{Codes Correcting a Burst of Deletions or Insertions}},
  journal = {IEEE Trans. Information Theory},
  year = {2017},
  url = {https://openreview.net/forum?id=AaO5eyfK__-},
}
Figure