paper-with-me

홈 › Papers

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

2022-01-05 · Robert Bamler

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.

📄 PDF Abstract BibTeX arXiv:2201.01741

Code (2)

bamler-lab/understanding-ans 공식 구현
bamler-lab/constriction

Tasks

BIG-bench Machine LearningData Compression

Similar Papers 제목 키워드 기반

A tutorial on the range variant of asymmetric numeral systems

2020-01-24 · James Townsend

This paper is intended to be an accessible introduction to the range variant of Asymmetric Numeral Systems (rANS). This version of ANS can be used as a drop in replacement for traditional arithmetic coding (AC). Implemen…

Range Asymmetric Numeral Systems-Based Lightweight Intermediate Feature Compression for Split Computing of Deep Neural Networks

2025-11-11 · Mingyu Sung, Suhwan Im, Vikas Palakonda, Jae-Mo Kang arxiv

Split computing distributes deep neural network inference between resource-constrained edge devices and cloud servers but faces significant communication bottlenecks when transmitting intermediate features. To this end, …

Annotating and Inferring Compositional Structures in Numeral Systems Across Languages

2025-03-03 · Arne Rubehn, Christoph Rzymski, Luca Ciucci, Kellen Parker van Dam 외

Numeral systems across the world's languages vary in fascinating ways, both regarding their synchronic structure and the diachronic processes that determined how they evolved in their current shape. For a proper comparis…

Bit-Swap: Recursive Bits-Back Coding for Lossless Compression with Hierarchical Latent Variables

2019-05-16 · Friso H. Kingma, Pieter Abbeel, Jonathan Ho

The bits-back argument suggests that latent variable models can be turned into lossless compression schemes. Translating the bits-back argument into efficient and practical lossless compression schemes for general latent…

反義詞「多」和「少」在數量名結構中的不對稱現象--以語料庫為本的分析 (The Asymmetric Occurences of \textitDou1 and \textitShao3 in the [Numeral + Measure Word/Classifier + Noun] Construction: A Corpus-based Analysis) [In Chinese]

2017-06-01 · ROCLINGIJCLCLP 2017 6 · Wei-Yu Chen, Siaw-Fong Chung