Cross-Bifix-Free Codes Within a Constant Factor of Optimality

Yeow Meng Chee, Han Mao Kiah, Punarbasu Purkayastha, Chengmin Wang

This paper, published in the IEEE Transactions on Information Theory, provides a significant advancement in the design of synchronization sequences for digital communications. The authors introduce a new method for constructing "cross-bifix-free codes" that are not only applicable to any alphabet size but are also mathematically proven to be nearly as large as theoretically possible.

TL;DR

The authors present a novel construction for cross-bifix-free codes—sets of sequences where no prefix of one word matches the suffix of another—generalizing previous work to any alphabet size and length. By linking these codes to generalized Fibonacci sequences, they prove their construction is "nearly optimal," staying within a constant factor of the theoretical maximum size.

What Problem Does This Paper Address?

In digital communication, a receiver needs to know exactly where a "frame" of data begins. To do this, transmitters insert specific synchronization words. However, if a prefix of a synchronization word is identical to its own suffix (a "bifix"), or if a prefix of one word in a set matches the suffix of another ("cross-bifix"), the receiver might misidentify the start of a frame, leading to synchronization errors.

While "bifix-free" words have been studied for decades, "cross-bifix-free" sets are more complex. They are essential for "distributed sequences," where synchronization symbols are interleaved with data. Previous constructions were often limited to binary alphabets (0s and 1s) or only worked for very short sequence lengths. The challenge addressed here is creating a general, high-capacity construction for any alphabet size ($q$) and any length ($n$).

Methods

The authors propose a construction denoted as $\mathcal{S}_{k,q}(n)$. The core idea is to define a set of words based on a parameter $k$ (the number of leading zeros). A word belongs to this set if:

  1. It starts with exactly $k$ zeros.
  2. The $(k+1)$-th symbol is non-zero.
  3. The very last symbol is non-zero.
  4. It contains no internal runs of $k$ or more consecutive zeros.

To analyze the size of these sets, the authors utilize $(q-1)$-weighted $k$-generalized Fibonacci sequences. This is a mathematical generalization of the standard Fibonacci sequence ($1, 1, 2, 3, 5...$) where each term is the sum of the previous $k$ terms, each multiplied by $(q-1)$.

By varying $k$, the authors can optimize the size of the code for any given length $n$ and alphabet size $q$.

Datasets

As a theoretical paper in coding theory, it does not use external "datasets" in the machine-learning sense. Instead, the authors evaluate their construction through:

  • Numerical Comparison: They compare their results against the previous state-of-the-art construction by Bilotta et al. (2012) for lengths up to $n=30$.
  • Computational Optimality: They used the MaxCliqueDyn algorithm to find the absolute maximum possible size of these codes for small $n$ to prove their construction's optimality in those cases.

Key Insights and Ideas

  • The Fibonacci Connection: The most elegant insight is that the cardinality (size) of these cross-bifix-free codes is directly governed by generalized Fibonacci recursions. This allows for precise asymptotic analysis using the roots of characteristic polynomials.
  • Nonexpandability: The authors prove their construction is "nonexpandable," meaning you cannot add a single extra word to the set without violating the cross-bifix-free property.
  • Constant Factor Optimality: They demonstrate that as the sequence length $n$ goes to infinity, the size of their code remains within a constant factor of the theoretical upper bound. Specifically, the ratio of their lower bound to the upper bound is approximately $0.736$ for large alphabets.

Key Results

  • Superiority at Scale: For binary codes, the new construction yields larger sets than previous methods for all lengths $n \ge 13$.
  • Small $n$ Optimality: For binary alphabets, the construction is proven to be perfectly optimal for lengths $n \le 14$ (with the sole exception of $n=9$).
  • Asymptotic Bounds: The authors establish a new upper bound for the maximum size $C(n,q)$ of any cross-bifix-free code: $$\limsup_{n \to \infty} \frac{C(n,q)}{q^n/n} \le 0.5$$ They then show their construction achieves a lower bound of: $$\liminf_{n \to \infty} \frac{S(n,q)}{q^n/n} \ge \frac{q-1}{qe} \approx 0.368 \frac{q-1}{q}$$ This proves that their simple "leading zeros" construction is remarkably efficient.

Limitations and Future Work

  • The $n=9$ Anomaly: The construction is not optimal for $n=9$ in the binary case. The authors don't provide a specific reason for this "dip," suggesting there may be edge cases for very specific lengths.
  • Closing the Gap: There is still a gap between the lower bound ($\approx 0.368$) and the upper bound ($0.5$). Future research could investigate if more complex constructions can bridge this remaining $\approx 13\%$ gap to reach true theoretical optimality.
  • Alphabet Generalization: While they generalized the construction to $q$-ary alphabets, the paper primarily focuses on the mathematical proof of size; practical implementation details for specific $q$-ary hardware systems remain an open area for engineers.

Summary updated

BibTeX
@article{chee2013cross,
  author = {Yeow Meng Chee and Han Mao Kiah and Punarbasu Purkayastha and Chengmin Wang},
  title = {{Cross-Bifix-Free Codes Within a Constant Factor of Optimality}},
  journal = {IEEE Trans. Information Theory},
  year = {2013},
  doi = {10.1109/tit.2013.2252952},
}
Figure