加载中…
Range coders and ANS replace empirical probabilities with integer frequencies summing to a fixed ; the resulting per-symbol code-length redundancy is exactly the KL divergence of the empirical distribution from the quantized one. Existing normalizers (Giesen, Bloom, Collet) are heuristic or only partially marginal-optimal. We give three provably KL-optimal algorithms: a bottom-up archetype, a bidirectional exchange repair of Bloom’s heap correction, and a top-down window method that runs in , asymptotically optimal in , where is the number of positive-count symbols.

生成讲解博客的中文版本

生成AI智能校验的中文版本