arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.17015cs.ITcs.DSmath.IT
收藏

基于区间的编码方法中算法选择的研究

Investigations on Algorithm Selection for Interval-Based Coding Methods

Tilo Strutz, Nico Schreiber

AI总结:

本文研究基于区间的熵编码方法中的算法选择问题,通过伪代码分析符号搜索与区间边界更新策略,证明二进制索引方法在自适应压缩中整体更优,并提出一种更灵活且复杂度部分更低的变体。

摘要:

存在一类熵编码方法,它们不使用码字替换符号(如哈夫曼编码),而是在区间或范围上进行操作。这一类方法包括三个重要成员:传统算术编码、区间编码(range coding)以及基于非对称数字系统(asymmetric numeral systems)的编码。为了在解码器中确定正确的符号,这些方法都需要将状态变量与子区间边界进行比较。在自适应操作中,考虑到变化的符号统计特性,还必须额外维护并更新一个区间边界数组。符号字母表越大,查找正确子区间和更新区间边界就越耗时。本文使用详细的伪代码讨论了在解码器中加速符号搜索以及加速区间边界数组自适应的不同方法,这两种操作都取决于所选择的字母表大小。结果表明,如果字母表大小过小,降低$\mathcal{O}$复杂度并不会在实际实现中带来加速。在自适应压缩模式下,从整体处理时间来看,二进制索引方法(binary indexing method)被证明更具优势。尽管(解码器中的)符号搜索比其他算法耗时更长,但区间边界数组的更快更新足以弥补这一劣势。本文还提出了二进制索引方法的一种变体,它比原始方法更灵活,并且具有部分更低的复杂度。

英文摘要:

There is a class of entropy-coding methods which do not substitute symbols by code words (such as Huffman coding), but operate on intervals or ranges. This class includes three prominent members: conventional arithmetic coding, range coding, and coding based on asymmetric numeral systems. To determine the correct symbol in the decoder, each of these methods requires the comparison of a state variable with subinterval boundaries. In adaptive operation, considering varying symbol statistics, an array of interval boundaries must additionally be kept up to date. The larger the symbol alphabet, the more time-consuming both the search for the correct subinterval and the updating of interval borders become. Detailed pseudo-code is used to discuss different approaches to speed up the symbol search in the decoder and the adaptation of the array of interval borders, both depending on the chosen alphabet size. It is shown that reducing the $\mathcal{O}$-complexity does not lead to an acceleration in practical implementations if the alphabet size is too small. In adaptive compression mode, the binary indexing method proves to be superior when considering the overall processing time. Although the symbol search (in the decoder) takes longer than with other algorithms, the faster updating of the array of interval borders more than compensates for this disadvantage. A variant of the binary indexing method is proposed, which is more flexible and has a partially lower complexity than the original approach.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑