Practical Lossless Compression with Latent Variables using Bits Back Coding

James Townsend, Tom Bird, David Barber
1/15/2019
234 citations
cs.LGcs.AIcs.IT

Official code: bits-back/bits-back (156 stars, Python, last commit 2022-07-22).

Abstract

Deep latent variable models have seen recent success in many data domains. Lossless compression is an application of these models which, despite having the potential to be highly useful, has yet to be implemented in a practical manner.

Show full abstract

We present `Bits Back with ANS' (BB-ANS), a scheme to perform lossless compression with latent variable models at a near optimal rate. We demonstrate this scheme by using it to compress the MNIST dataset with a variational auto-encoder model (VAE), achieving compression rates superior to standard methods with only a simple VAE. Given that the scheme is highly amenable to parallelization, we conclude that with a sufficiently high quality generative model this scheme could be used to achieve substantial improvements in compression rate with acceptable running time. We make our implementation available open source at https://github.com/bits-back/bits-back .

View on arXivView PDF

Code Implementations(1)

15623PythonSep 25, 20184 years ago

Similar Papers

Cite this paper

@article{townsend2019practical,
  title  = {Practical Lossless Compression with Latent Variables using Bits Back Coding},
  author = {James Townsend and Tom Bird and David Barber},
  year   = {2019},
  eprint = {1901.04866},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1901.04866}
}

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

Discussion