This paper presents an optimal construction of $N$-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 $N$-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 $N\ge 3$ than the conventional AIFV-$m$ 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.
翻译:本文提出了延迟N比特的几乎瞬时固定到变长码的最优构造方法,这类码是允许有限比特解码延迟时所能构造的二进制码的一般形式。与传统FV码和AIFV码相比,本文方法能在更广泛的码类中优化无损码。文章首先讨论了码构造问题,该问题包含若干本质子问题,并定义了三种最优性类别以明确问题可解决的程度。从理论上分析了最优码的性质,给出了达到最优的充分条件。随后,针对给定平稳无记忆信源,提出了构造延迟N比特AIFV码的算法。从理论和实验两方面讨论了所构造码的最优性。当N≥3时,这些码的平均码长比传统AIFV-m码和扩展霍夫曼码更短。此外,在随机数模拟实验中,在合理条件下,它们比32位精度区间码实现了更高的压缩效率。