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

Friso H. Kingma, Pieter Abbeel, Jonathan Ho
5/16/2019
cs.LGcs.AIcs.IT

Official code: fhkingma/bitswap (274 stars, Python, last commit 2023-01-14).

Abstract

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 variable models, however, is still an open problem.

Show full abstract

Bits-Back with Asymmetric Numeral Systems (BB-ANS), recently proposed by Townsend et al. (2019), makes bits-back coding practically feasible for latent variable models with one latent layer, but it is inefficient for hierarchical latent variable models. In this paper we propose Bit-Swap, a new compression scheme that generalizes BB-ANS and achieves strictly better compression rates for hierarchical latent variable models with Markov chain structure. Through experiments we verify that Bit-Swap results in lossless compression rates that are empirically superior to existing techniques. Our implementation is available at https://github.com/fhkingma/bitswap.

View on arXivView PDF

Code Implementations(1)

fhkingma/bitswapOfficial100%

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

27440PythonMay 2, 20193 years ago

Similar Papers

Cite this paper

@article{kingma2019bitswap,
  title  = {Bit-Swap: Recursive Bits-Back Coding for Lossless Compression with Hierarchical Latent Variables},
  author = {Friso H. Kingma and Pieter Abbeel and Jonathan Ho},
  year   = {2019},
  eprint = {1905.06845},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1905.06845}
}

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/1905.06845.svg)](https://codeofpaper.com/paper/1905.06845)

Discussion