Improving Lossless Compression Rates via Monte Carlo Bits-Back Coding

Yangjun Ruan, Karen Ullrich, Daniel Severo, James Townsend, Ashish Khisti +3 more
2/22/2021
cs.LGcs.AIcs.IT

Official code: ryoungj/mcbits (14 stars, Python, LGPL-3.0, last commit 2021-06-10).

Abstract

Latent variable models have been successfully applied in lossless compression with the bits-back coding algorithm. However, bits-back suffers from an increase in the bitrate equal to the KL divergence between the approximate posterior and the true posterior.

Show full abstract

In this paper, we show how to remove this gap asymptotically by deriving bits-back coding algorithms from tighter variational bounds. The key idea is to exploit extended space representations of Monte Carlo estimators of the marginal likelihood. Naively applied, our schemes would require more initial bits than the standard bits-back coder, but we show how to drastically reduce this additional cost with couplings in the latent space. When parallel architectures can be exploited, our coders can achieve better rates than bits-back with little additional cost. We demonstrate improved lossless compression rates in a variety of settings, especially in out-of-distribution or sequential data compression.

View on arXivView PDF

Code Implementations(1)

ryoungj/mcbitsOfficial100%
LGPL-3.0

[ICML'21 Oral] Improving Lossless Compression Rates via Monte Carlo Bits-Back Coding

140Python, Jupyter NotebookJun 9, 20215 years agoLGPL-3.0

Similar Papers

Cite this paper

@article{ruan2021improving,
  title  = {Improving Lossless Compression Rates via Monte Carlo Bits-Back Coding},
  author = {Yangjun Ruan and Karen Ullrich and Daniel Severo and James Townsend and Ashish Khisti and Arnaud Doucet and Alireza Makhzani and Chris J. Maddison},
  year   = {2021},
  eprint = {2102.11086},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.11086}
}

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

Discussion