Compressing Multisets with Large Alphabets using Bits-Back Coding

Daniel Severo, James Townsend, Ashish Khisti, Alireza Makhzani, Karen Ullrich
7/15/2021
cs.ITcs.LGeess.SP

Official code: facebookresearch/multiset-compression (30 stars, Python, MIT, last commit 2021-09-22).

Abstract

Current methods which compress multisets at an optimal rate have computational complexity that scales linearly with alphabet size, making them too slow to be practical in many real-world settings. We show how to convert a compression algorithm for sequences into one for multisets, in exchange for an additional complexity term that is quasi-linear in sequence length.

Show full abstract

This allows us to compress multisets of exchangeable symbols at an optimal rate, with computational complexity decoupled from the alphabet size. The key insight is to avoid encoding the multiset directly, and instead compress a proxy sequence, using a technique called `bits-back coding'. We demonstrate the method experimentally on tasks which are intractable with previous optimal-rate methods: compression of multisets of images and JavaScript Object Notation (JSON) files. Code for our experiments is available at https://github.com/facebookresearch/multiset-compression.

View on arXivView PDF

Code Implementations(1)

MIT

Official code accompanying the arXiv paper Compressing Multisets with Large Alphabets

303PythonJul 14, 20215 years agoMIT

Similar Papers

Cite this paper

@article{severo2021compressing,
  title  = {Compressing Multisets with Large Alphabets using Bits-Back Coding},
  author = {Daniel Severo and James Townsend and Ashish Khisti and Alireza Makhzani and Karen Ullrich},
  year   = {2021},
  eprint = {2107.09202},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2107.09202}
}

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

Discussion