Constrained de Bruijn Codes: Properties, Enumeration, Constructions, and Applications

Yeow Meng Chee, Tuvi Etzion, Han Mao Kiah, Alexander Vardy, Van Khu Vu, Eitan YaakobiarXiv 2020

Abstract

Constrained de Bruijn codes represent a significant advancement in sequence design for synchronization-sensitive environments. By ensuring that any $k$-tuple appears at most once within a sliding window of length $b$, these codes provide a robust mathematical framework for error correction in technologies like racetrack memory. This paper explores the properties, enumeration, and construction of these codes, proving their efficiency and superiority over existing methods for handling deletions and "sticky" insertions.

Introduction

In classical information theory, a de Bruijn sequence of order $k$ over an alphabet of size $\sigma$ is a cyclic sequence in which every possible string of length $k$ occurs exactly once as a substring. While mathematically elegant, these sequences lack the "local uniqueness" required by modern storage systems. In racetrack memory and $\ell$-symbol read channels, synchronization errors—where bits are deleted or duplicated—can lead to catastrophic failures if the reader cannot re-synchronize.

This paper introduces constrained de Bruijn codes, which generalize the classical concept by requiring that any $k$-tuple can only reappear after a minimum distance $b$. This property ensures that small shifts in the sequence do not result in ambiguous patterns, enabling reliable error recovery.

Methodology

The authors analyze constrained de Bruijn codes through three complementary perspectives:

1. Graph-Theoretic Representation

The sequences are modeled as paths in a modified de Bruijn graph $G_{\sigma,k}$. To enforce the $(b, k)$ constraint, the graph is pruned to remove cycles shorter than $b$. For instance, a $(2, k)$ constraint requires removing self-loops, while a $(3, k)$ constraint requires removing 2-cycles. In more complex cases, node splitting is employed to ensure that the history of the path informs valid future transitions.

2. Constrained Coding and Capacity

By defining the sequences via forbidden patterns, the authors apply Perron-Frobenius theory to determine the code's capacity. The capacity, or maximum asymptotic rate, is calculated as the base-$\sigma$ logarithm of the largest eigenvalue of the graph's adjacency matrix. This allows for a systematic evaluation of how the parameters $b$ and $k$ affect information density.

3. Shift-Register Constructions

For regimes where the constraint distance $b$ is large, the authors utilize m-sequences (maximal length linear feedback shift register sequences). They propose a construction method that concatenates these sequences with specific zero-buffer runs, ensuring the global constraint is maintained while providing a practical implementation path.

Key Insights

  • The Equivalence Theorem: Theorem 4 establishes that defining these codes through local constraints, limited-length periods, or forbidden patterns yields identical sets of sequences. This unification simplifies the theoretical analysis.
  • Low Redundancy Cost: A surprising result is that the "cost" of adding the $(b, k)$ constraint is minimal. For sufficiently large $k$, the redundancy required is at most a single symbol, making these codes highly efficient.
  • Synchronization Recovery: The core advantage of these codes is their ability to localize shift errors. If a $k$-tuple is unique within a window of size $b$, any shift error of magnitude less than $b$ can be identified and corrected by examining the surrounding context.

Results and Applications

The paper provides the first systematic calculation of asymptotic rates for various $(b, k)$ configurations. For example, a $(3,3)$-constrained code achieves a rate of approximately 0.7946.

In terms of error correction, the authors prove that these codes can successfully mitigate:

  • Sticky Insertions: Any number of duplicated symbols.
  • Deletion Bursts: Bursts of deletions up to length $b-2$.

When applied to racetrack memory with multiple read heads, these codes demonstrate higher asymptotic rates than previously known synchronization-error-correcting codes, proving their practical utility in next-generation hardware.

Conclusion

Constrained de Bruijn codes offer a powerful solution for synchronization challenges in modern memory systems. While the paper establishes strong theoretical foundations and constructions for large $b$, future work remains in optimizing computational methods for eigenvalue calculation in massive graphs and developing high-rate constructions for the regime where $b$ is proportional to $q^k$. Additionally, the development of low-complexity hardware decoders will be essential for the widespread adoption of these codes.

Summary updated

BibTeX
@misc{chee2020constrained,
  author = {Yeow Meng Chee and Tuvi Etzion and Han Mao Kiah and Alexander Vardy and Van Khu Vu and Eitan Yaakobi},
  title = {{Constrained de Bruijn Codes: Properties, Enumeration, Constructions, and Applications}},
  year = {2020},
  eprint = {2005.03102},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2005.03102},
}
Figure