Encoding of probability distributions for Asymmetric Numeral Systems

Jarek Duda
6/11/2021
cs.IT

Official code: JarekDuda/AsymmetricNumeralSystemsToolkit (81 stars, C++, GPL-2.0, last commit 2023-12-23).

Abstract

Many data compressors regularly encode probability distributions for entropy coding - requiring minimal description length type of optimizations. Canonical prefix/Huffman coding usually just writes lengths of bit sequences, this way approximating probabilities with powers-of-2.

Show full abstract

Operating on more accurate probabilities usually allows for better compression ratios, and is possible e.g. using arithmetic coding and Asymmetric Numeral Systems family. Especially the multiplication-free tabled variant of the latter (tANS) builds automaton often replacing Huffman coding due to better compression at similar computational cost - e.g. in popular Facebook Zstandard and Apple LZFSE compressors. There is discussed encoding of probability distributions for such applications, especially using Pyramid Vector Quantizer(PVQ)-based approach with deformation, bucket approximation, prefix trees, improving accuracy with additional bits, also tuned symbol spread for tANS.

View on arXivView PDF

Code Implementations(1)

GPL-2.0

Testing various methods for choosing tANS entropy coding automata

8117C++Jul 26, 20142 years agoGPL-2.0

Similar Papers

Cite this paper

@article{duda2021encoding,
  title  = {Encoding of probability distributions for Asymmetric Numeral Systems},
  author = {Jarek Duda},
  year   = {2021},
  eprint = {2106.06438},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.06438}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2106.06438.svg)](https://codeofpaper.com/paper/2106.06438)

Discussion