Spectrum of Sizes for Perfect Deletion-Correcting Codes

Yeow Meng Chee, Gennian Ge, Alan C. H. Ling

Abstract

In traditional error-correction theory, perfect codes are characterized by a fixed size determined by the uniform geometry of the Hamming space. However, deletion-correcting codes operate within the non-uniform Levenshtein distance space, where the size of a "ball" depends on the codeword itself. This paper investigates the resulting phenomenon where perfect deletion-correcting codes of the same length and alphabet size can possess varying numbers of codewords. By establishing an equivalence between these codes and combinatorial objects known as Directed Packings, the authors map the "spectrum" of possible code sizes for lengths $n=3$ and $n=4$, resolving long-standing questions regarding the structural diversity of deletion-correcting systems.

Introduction

In the study of error-correcting codes, a "perfect" code is one that optimally partitions the space of all possible sequences. In the standard Hamming metric, every codeword is surrounded by a "ball" of a fixed radius, and a perfect code ensures these balls fill the space without overlap or gaps. Because every ball in Hamming space is identical in size, the number of codewords in a perfect code is always a constant determined by the code's parameters.

This predictability vanishes when moving to the deletion channel. Deletion-correcting codes, which are vital for applications in DNA sequencing, magnetic recording, and packet-switched networks, utilize the Levenshtein distance. In this space, an error consists of the deletion of symbols. The fundamental challenge is that the number of possible descendants created by deleting $t$ symbols from a codeword—the "deletion ball"—is not uniform. For instance, deleting one character from the sequence "AAAA" yields only one possible descendant ("AAA"), whereas deleting one character from "ABCD" yields four distinct descendants ("BCD", "ACD", "ABD", "ABC").

Because of this non-uniformity, perfect deletion-correcting codes can exist in multiple sizes for the same length $n$ and alphabet size $q$. This paper seeks to define the spectrum: the complete set of integers $K$ such that a perfect code of size $K$ exists for given parameters.

Methodology: Coding as Combinatorial Design

The authors' primary contribution is bridging the gap between coding theory and combinatorial design theory. They prove that finding a perfect $(n, n-2)$ deletion-correcting code is mathematically equivalent to constructing a Directed Packing (DP). This realization allows the application of sophisticated design-theoretic tools to a coding problem.

To map the spectrum of possible sizes, the researchers employed several constructive techniques:

  1. Direct Constructions: For small alphabet sizes ($q$), the authors used exhaustive computational searches and manual designs to identify base cases for various code sizes.
  2. Recursive "Filling-in-Groups": Utilizing Directed Group Divisible Designs (DGDDs), the authors developed a method to "stitch together" larger codes. By taking a large structure with "holes" (groups) and filling those holes with smaller known perfect codes or incomplete designs, they could generate codes of intermediate sizes.
  3. Averaging Constructions: A novel technique was introduced to create new directed designs by mathematically combining existing designs of different types.
  4. Theoretical Bounds: The authors established Johnson-type lower ($DL$) and upper ($DU$) bounds to define the theoretical limits of the spectrum, providing a range within which all possible code sizes must fall.

Key Insights and Results

The core finding of the research is that the "perfectness" of a code—its ability to partition the space—is a structural property independent of the code's optimality or maximum size. This leads to a surprisingly dense spectrum of possible sizes.

Length $n=3$, 1-Deletion-Correction

The authors achieved a complete characterization for length-3 codes. They proved that for any alphabet size $q$, the spectrum is continuous between the established lower and upper bounds. Specifically, every integer between $DL(q, 3)$ and $DU(q, 3)$ corresponds to a valid size for a perfect 1-deletion-correcting code.

Length $n=4$, 2-Deletion-Correction

For length-4 codes, the characterization is nearly complete. The authors determined the spectrum for almost all values of $q$. Out of the infinite set of possible alphabet sizes, only 19 specific cases remain unresolved (specifically $q \in \{9, 10, 11, \dots, 52\}$). In these cases, the underlying combinatorial designs required for the recursive proofs have not yet been proven to exist.

Extremal Scaling

The paper provides concrete formulas for the minimum and maximum sizes of these codes, demonstrating how the boundaries of the spectrum scale as the alphabet size $q$ increases. This provides a roadmap for understanding the density of perfect codes in large-scale systems.

Conclusion and Future Work

This work provides the most comprehensive mapping to date of the spectrum of perfect deletion-correcting codes for short lengths. By identifying the equivalence between these codes and Directed Packings, the authors have provided a framework for future explorations into higher-order codes.

The primary remaining challenges involve the 19 unresolved cases for $n=4$ and the exponential increase in complexity for codes of length $n \ge 5$. While the current study masters the $n=3$ and $n=4$ cases, the non-uniformity of the deletion space suggests that as $n$ grows, the geometry becomes significantly more intricate. Additionally, while the existence of these sizes is now largely proven, the practical implementation of encoders and decoders for the more complex designs remains an open area for applied research.

Summary updated

BibTeX
@article{chee2010spectrum,
  author = {Yeow Meng Chee and Gennian Ge and Alan C. H. Ling},
  title = {{Spectrum of Sizes for Perfect Deletion-Correcting Codes}},
  journal = {SIAM J. Discret. Math.},
  year = {2010},
  doi = {10.1137/090751311},
}
Figure