On Bounded-Weight Error-Correcting Codes

Russell Bent, Michael Schear, Lane A. Hemaspaandra, Gabriel IstratearXiv 1999

Introduction

In the field of coding theory, significant research has been dedicated to constant-weight codes, where every codeword contains an identical number of non-zero elements. This paper explores a relaxation of this constraint: bounded-weight error-correcting codes. In these codes, the weight of each codeword is upper-bounded by a value $w$, rather than being strictly equal to it. By expanding the set of permissible codewords, researchers aim to identify larger codebooks that maintain a specified minimum Hamming distance.

Problem Formulation

The efficiency of error-correcting codes is typically measured by the maximum size of a code for given parameters. Two standard metrics are:

  1. $A(n, d)$: The maximum size of a binary code of length $n$ with minimum Hamming distance $d$.
  2. $A(n, d, w)$: The maximum size of a constant-weight binary code of length $n$, distance $d$, and weight exactly $w$.

This study investigates the bounded-weight counterpart, which seeks the maximum size of a code where every codeword $x$ satisfies $weight(x) \le w$. The primary objective is to determine if the increased flexibility in codeword selection yields substantial gains in code size compared to traditional constant-weight constructions.

Methodology

The authors frame the search for optimal bounded-weight codes as a Maximum Clique Problem in graph theory. The construction process involves three steps:

  1. Graph Representation: Each binary string of length $n$ with weight $\le w$ is represented as a vertex.
  2. Edge Definition: An edge connects two vertices if the Hamming distance between their corresponding binary strings is at least $d$.
  3. Clique Identification: A clique in this graph represents a valid error-correcting code. Finding the maximum clique identifies the largest possible code for the given parameters.

Due to the NP-hard nature of the Maximum Clique Problem, the researchers employed a dual-algorithmic approach. For smaller search spaces, a Branch and Bound exact algorithm was used to guarantee optimality. For larger parameters where exact solutions were computationally prohibitive, a Randomized Greedy Heuristic provided lower bounds on the maximum code size.

Results and Discussion

The empirical results reveal several critical insights into the behavior of bounded-weight codes compared to their constant-weight counterparts.

Comparison of constant-weight vs. bounded-weight code sizes for distance d=4.

As seen in the results for distance $d=4$ (Figure 1), bounded-weight codes often provide only marginal improvements over constant-weight codes for lower weight limits. A common phenomenon is the "Zero-Word Patch": if $w \ge d$, one can simply add the all-zeros vector to an optimal constant-weight code. Since the distance from the zero vector to any vector of weight $w$ is $w$, the minimum distance $d$ is preserved, resulting in a code size of $A(n, d, w) + 1$.

Significant "non-trivial" gains appear as the weight limit $w$ exceeds $n/2$. For instance, at $n=8, w=6, d=4$, the bounded-weight code size reaches 16, a fourfold increase over the constant-weight size of 4.

Comparison of constant-weight vs. bounded-weight code sizes for distance d=6.

For distance $d=6$ (Figure 2), the trends remain consistent. At $n=10, w=7$, the code size doubles from 3 to 6. However, these gains come at a cost: bounded-weight codes sacrifice the inherent error-detection capability of constant-weight codes, where any received word with an incorrect weight immediately signals a transmission error.

Conclusion

While bounded-weight codes theoretically offer larger codebooks, the practical gains are often limited unless the weight constraint is relatively loose. Furthermore, the computational complexity of finding optimal codes grows exponentially with $n$ and $w$, posing a significant challenge for high-dimensional spaces. Bounded-weight codes may find specialized applications in environments where "on" bits are physically expensive or damaging to the medium, necessitating a weight upper bound for physical rather than purely mathematical reasons.

Summary updated

BibTeX
@misc{bent1999bounded,
  author = {Russell Bent and Michael Schear and Lane A. Hemaspaandra and Gabriel Istrate},
  title = {{On Bounded-Weight Error-Correcting Codes}},
  year = {1999},
  eprint = {cs/9906001},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/cs/9906001},
}
Figure