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

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

Abstract

This paper presents a novel construction for cross-bifix-free codes, which are essential for frame synchronization in digital communications. The proposed method generalizes previous work to any alphabet size and sequence length. By establishing a mathematical link between these codes and generalized Fibonacci sequences, the authors prove that the construction is nearly optimal, remaining within a constant factor of the theoretical maximum size. Numerical results demonstrate that for binary alphabets, the construction achieves optimality for most small sequence lengths and outperforms previous state-of-the-art methods as length increases.

1. Introduction

In digital communication systems, receivers must accurately identify the start of data frames. This is typically achieved by inserting synchronization words. However, the presence of "bifixes"—where a prefix of a word matches its own suffix—or "cross-bifixes"—where a prefix of one word matches the suffix of another—can lead to synchronization errors. While bifix-free words have been extensively studied, the construction of cross-bifix-free sets is more complex, particularly for distributed sequences where synchronization symbols are interleaved with data. This paper introduces a general and high-capacity construction for cross-bifix-free codes across arbitrary alphabet sizes ($q$) and lengths ($n$).

2. Methodology: The $\mathcal{S}_{k,q}(n)$ Construction

The authors define a code set $\mathcal{S}_{k,q}(n)$ based on a parameter $k$, representing a required number of leading zeros. A sequence belongs to this set if it satisfies the following criteria:

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

The size (cardinality) of these sets is governed by $(q-1)$-weighted $k$-generalized Fibonacci sequences. This connection allows for a rigorous asymptotic analysis using the roots of characteristic polynomials, enabling the optimization of $k$ for any given $n$ and $q$.

3. Performance and Optimality

The construction was evaluated against the previous state-of-the-art method by Bilotta et al. (2012) and tested for absolute optimality using the MaxCliqueDyn algorithm for small $n$.

Extracted table from page 4 of Cross-Bifix-Free Codes Within a Constant Factor of Optimality

As illustrated in the table above, the new construction (Eq. 5) yields larger sets than previous methods for binary codes for all lengths $n \ge 13$. Notably, the construction is perfectly optimal for lengths $n \le 14$, with the sole exception of $n=9$.

4. Asymptotic Bounds

A significant theoretical contribution of this work is the establishment of 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$$ The authors demonstrate that 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 the "leading zeros" construction is remarkably efficient, staying within a constant factor (approximately 0.736 for large alphabets) of the theoretical limit as $n$ approaches infinity.

5. Conclusion

The proposed construction for cross-bifix-free codes offers a significant advancement in synchronization sequence design. Its mathematical elegance, rooted in generalized Fibonacci recursions, provides both a practical method for generating high-capacity codes and a framework for proving near-optimality. Future research may explore bridging the remaining $\approx 13\%$ gap to the theoretical upper bound and implementing these codes in specific $q$-ary hardware environments.

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