arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2605.00579cs.ITmath.IT
收藏

快速而精确:渐近线性KL最优频率归一化

Linear KL-Optimal Frequency Normalisation

Saarland University(萨尔兰州立大学)

Kamila Szewczyk

AI总结:

本文提出三种可证明的KL最优算法,解决现有归一化方法的不足,实现渐近最优的频率归一化。

摘要:

范围编码器和ANS将经验概率替换为整数频率总和为固定M;由此得到的每个符号编码冗余度恰好是经验分布与量化分布之间的KL散度。现有归一化器(Giesen、Bloom、Collet)均为启发式或仅部分边际最优。我们给出三种可证明的KL最优算法:一种自底向上的原型,一种双向交换修复Bloom堆校正的方法,以及一种自顶向下的窗口方法,其运行时间为O(r),在r(正计数符号数量)方面渐近最优。

英文摘要:

Fast implementations of range coding and asymmetric numeral systems (ANS) owe their excellent performance to replacing slow division instructions by bit-shifts in their encoding and decoding algorithms. This is possible when the frequency distribution of symbols is normalised such that it sums to a power of two. However, such normalisation typically introduces a marginal increase in the Kullback-Leibler divergence between the original and the normalised distribution, leading to a worse compression ratio. We show that the currently used methods for frequency normalisation are suboptimal in both their running time and the achieved Kullback-Leibler divergence. We propose a new method for frequency normalisation that is asymptotically linear in the number of symbols and achieves the smallest possible Kullback-Leibler divergence between the original and the normalised distribution. The method is based on a solution to a separable concave optimisation problem, which may be of independent interest.

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

↑