English

A Family of Low-Complexity Binary Codes with Constant Hamming Weights

Information Theory 2024-07-02 v2 Combinatorics math.IT

Abstract

In this paper, we focus on the design of binary constant weight codes that admit low-complexity encoding and decoding algorithms, and that have a size M=2kM=2^k. For every integer 3\ell \geq 3, we construct a (n=2,M=2k,d=2)(n=2^\ell, M=2^{k_{\ell}}, d=2) constant weight code C[]{\cal C}[\ell] of weight \ell by encoding information in the gaps between successive 11's. The code is associated with an integer sequence of length \ell with a constraint defined as {\em anchor-decodability} that ensures low complexity for encoding and decoding. The complexity of the encoding is linear in the input size kk, and that of the decoding is poly-logarithmic in the input size nn, discounting the linear time spent on parsing the input. Both the algorithms do not require expensive computation of binomial coefficients, unlike the case in many existing schemes. Among codes generated by all anchor-decodable sequences, we show that C[]{\cal C}[\ell] has the maximum size with k2log2+log20.2790.721k_{\ell} \geq \ell^2-\ell\log_2\ell + \log_2\ell - 0.279\ell - 0.721. As kk is upper bounded by 2log2+O()\ell^2-\ell\log_2\ell +O(\ell) information-theoretically, the code C[]{\cal C}[\ell] is optimal in its size with respect to two higher order terms of \ell. In particular, kk_\ell meets the upper bound for =3\ell=3 and one-bit away for =4\ell=4. On the other hand, we show that C[]{\cal C}[\ell] is not unique in attaining kk_{\ell} by constructing an alternate code C^[]{\cal \hat{C}}[\ell] again parameterized by an integer 3\ell \geq 3 with a different low-complexity decoder, yet having the same size 2k2^{k_{\ell}} when 373 \leq \ell \leq 7. Finally, we also derive new codes by modifying C[]{\cal C}[\ell] that offer a wider range on blocklength and weight while retaining low complexity for encoding and decoding. For certain selected values of parameters, these modified codes too have an optimal kk.

Keywords

Cite

@article{arxiv.2401.16647,
  title  = {A Family of Low-Complexity Binary Codes with Constant Hamming Weights},
  author = {Birenjith Sasidharan and Emanuele Viterbo and Son Hoang Dau},
  journal= {arXiv preprint arXiv:2401.16647},
  year   = {2024}
}

Comments

Submitted to Designs, Codes and Cryptography

R2 v1 2026-06-28T14:31:01.714Z