Lossless Compression with Probabilistic Circuits

Anji Liu, Stephan Mandt, Guy Van den Broeck
11/23/2021
cs.LGcs.IT

Official code: Tractables/PressedJuice.jl (16 stars, Julia, last commit 2022-03-10).

Abstract

Despite extensive progress on image generation, common deep generative model architectures are not easily applied to lossless compression. For example, VAEs suffer from a compression cost overhead due to their latent variables.

Show full abstract

This overhead can only be partially eliminated with elaborate schemes such as bits-back coding, often resulting in poor single-sample compression rates. To overcome such problems, we establish a new class of tractable lossless compression models that permit efficient encoding and decoding: Probabilistic Circuits (PCs). These are a class of neural networks involving $|p|$ computational units that support efficient marginalization over arbitrary subsets of the $D$ feature dimensions, enabling efficient arithmetic coding. We derive efficient encoding and decoding schemes that both have time complexity $\mathcal{O} (\log(D) \cdot |p|)$, where a naive scheme would have linear costs in $D$ and $|p|$, making the approach highly scalable. Empirically, our PC-based (de)compression algorithm runs 5-40 times faster than neural compression algorithms that achieve similar bitrates. By scaling up the traditional PC structure learning pipeline, we achieve state-of-the-art results on image datasets such as MNIST. Furthermore, PCs can be naturally integrated with existing neural compression algorithms to improve the performance of these base models on natural image datasets. Our results highlight the potential impact that non-standard learning architectures may have on neural data compression.

View on arXivView PDF

Code Implementations(1)

Lossless compression using Probabilistic Circuits

161JuliaMar 10, 20224 years ago

Similar Papers

Cite this paper

@article{liu2021lossless,
  title  = {Lossless Compression with Probabilistic Circuits},
  author = {Anji Liu and Stephan Mandt and Guy Van den Broeck},
  year   = {2021},
  eprint = {2111.11632},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.11632}
}

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

Discussion