Pith. sign in

REVIEW 2 cited by

Understanding Entropy Coding With Asymmetric Numeral Systems (ANS): a Statistician's Perspective

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2201.01741 v2 pith:LGU7I57F submitted 2022-01-05 stat.ML cs.ITcs.LGmath.IT

classification stat.MLcs.ITcs.LGmath.IT
keywords entropycodingcompressionadvancedasymmetricbits-backnumeraloften
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Entropy coding is the backbone data compression. Novel machine-learning based compression methods often use a new entropy coder called Asymmetric Numeral Systems (ANS) [Duda et al., 2015], which provides very close to optimal bitrates and simplifies [Townsend et al., 2019] advanced compression techniques such as bits-back coding. However, researchers with a background in machine learning often struggle to understand how ANS works, which prevents them from exploiting its full versatility. This paper is meant as an educational resource to make ANS more approachable by presenting it from a new perspective of latent variable models and the so-called bits-back trick. We guide the reader step by step to a complete implementation of ANS in the Python programming language, which we then generalize for more advanced use cases. We also present and empirically evaluate an open-source library of various entropy coders designed for both research and production use. Related teaching videos and problem sets are available online.

Discussion (0). Sign in to comment.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Reducing Storage of Pretrained Neural Networks by Rate-Constrained Quantization and Entropy Coding

    cs.LG 2025-05 conditional novelty 6.0 of 10

    CERWU adds a quadratic rate estimate to the layer-wise loss and uses Optimal Brain Surgeon updates to produce quantized weights that entropy-code 20-40% smaller than NNCodec at equal accuracy on CNNs.

  2. GSCodec Studio: A Modular Framework for Gaussian Splat Compression

    cs.CV 2025-06 conditional novelty 5.0 of 10

    GSCodec Studio is a modular open-source framework for Gaussian Splat compression, and its composed Static and Dynamic GSCodec pipelines report competitive rate-distortion results against several baselines.

Pith tools