Reproduce “Lossless Compression with Latent Variable Models” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

James Townsend

James Townsend's dissertation introduces Bits Back with Asymmetric Numeral Systems (BB-ANS) and Hierarchical Latent Lossless Compression (HiLLoC), providing an efficient framework for lossless data compression using deep latent variable models. This approach achieves state-of-the-art compression rates on challenging datasets like ImageNet by resolving long-standing issues with bits-back coding and integrating advanced generative models.

Key insights

  • The stack-like nature of Asymmetric Numeral Systems (ANS) is uniquely suited for the chaining mechanism of bits-back coding, enabling optimal-rate implementations that were not possible with Arithmetic Coding.
  • Continuous latent variables can be efficiently coded within the bits-back framework by dynamically partitioning their space into equal-mass intervals, where discretization errors effectively cancel out.
  • Fully convolutional deep generative models, even when trained on smaller image subsets, exhibit robust generalization capabilities to larger image sizes and different datasets, indicating they learn strong, transferable priors.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.