English

Optimal Almost-Balanced Sequences

Information Theory 2024-05-15 v1 math.IT

Abstract

This paper presents a novel approach to address the constrained coding challenge of generating almost-balanced sequences. While strictly balanced sequences have been well studied in the past, the problem of designing efficient algorithms with small redundancy, preferably constant or even a single bit, for almost balanced sequences has remained unsolved. A sequence is ε(n)\varepsilon(n)-almost balanced if its Hamming weight is between 0.5n±ε(n)0.5n\pm \varepsilon(n). It is known that for any algorithm with a constant number of bits, ε(n)\varepsilon(n) has to be in the order of Θ(n)\Theta(\sqrt{n}), with O(n)O(n) average time complexity. However, prior solutions with a single redundancy bit required ε(n)\varepsilon(n) to be a linear shift from n/2n/2. Employing an iterative method and arithmetic coding, our emphasis lies in constructing almost balanced codes with a single redundancy bit. Notably, our method surpasses previous approaches by achieving the optimal balanced order of Θ(n)\Theta(\sqrt{n}). Additionally, we extend our method to the non-binary case considering qq-ary almost polarity-balanced sequences for even qq, and almost symbol-balanced for q=4q=4. Our work marks the first asymptotically optimal solutions for almost-balanced sequences, for both, binary and non-binary alphabet.

Keywords

Cite

@article{arxiv.2405.08625,
  title  = {Optimal Almost-Balanced Sequences},
  author = {Daniella Bar-Lev and Adir Kobovich and Orian Leitersdorf and Eitan Yaakobi},
  journal= {arXiv preprint arXiv:2405.08625},
  year   = {2024}
}

Comments

Accepted to The IEEE International Symposium on Information Theory (ISIT) 2024