English

Optimal Construction of N-bit-delay Almost Instantaneous Fixed-to-Variable-Length Codes

Information Theory 2025-08-29 v3 math.IT

Abstract

This paper presents an optimal construction of NN-bit-delay almost instantaneous fixed-to-variable-length (AIFV) codes, the general form of binary codes we can make when finite bits of decoding delay are allowed. The presented method enables us to optimize lossless codes among a broader class of codes compared to the conventional FV and AIFV codes. The paper first discusses the problem of code construction, which contains some essential partial problems, and defines three classes of optimality to clarify how far we can solve the problems. The properties of the optimal codes are analyzed theoretically, showing the sufficient conditions for achieving the optimum. Then, we propose an algorithm for constructing NN-bit-delay AIFV codes for given stationary memory-less sources. The optimality of the constructed codes is discussed both theoretically and empirically. They showed shorter expected code lengths when N3N\ge 3 than the conventional AIFV-mm and extended Huffman codes. Moreover, in the random numbers simulation, they performed higher compression efficiency than the 32-bit-precision range codes under reasonable conditions.

Keywords

Cite

@article{arxiv.2311.02797,
  title  = {Optimal Construction of N-bit-delay Almost Instantaneous Fixed-to-Variable-Length Codes},
  author = {Ryosuke Sugiura and Masaaki Nishino and Norihito Yasuda and Yutaka Kamamoto and Takehiro Moriya},
  journal= {arXiv preprint arXiv:2311.02797},
  year   = {2025}
}

Comments

submitted to IEEE Trans. IT on 31st Oct. 2023

R2 v1 2026-06-28T13:12:13.593Z