Lune

ICML2022Top-tier venue

Fast Relative Entropy Coding with A* coding

Gergely Flamich, Stratis Markou, José Miguel Hernández-Lobato

2022Year
41Citations
12Top-tier citations

Abstract

Relative entropy coding (REC) algorithms encode a sample from a target distribution QQ using a proposal distribution PP, such that the expected codelength is O(DKL[Q ∣∣ P])\mathcal{O}(D_{KL}[Q \,||\, P]). REC can be seamlessly integrated with existing learned compression models since, unlike entropy coding, it does not assume discrete QQ or PP, and does not require quantisation. However, general REC algorithms require an intractable Ω(eDKL[Q ∣∣ P])\Omega(e^{D_{KL}[Q \,||\, P]}) runtime. We introduce AS* and AD* coding, two REC algorithms based on A* sampling. We prove that, for continuous distributions over R\mathbb{R}, if the density ratio is unimodal, AS* has O(D∞[Q ∣∣ P])\mathcal{O}(D_{\infty}[Q \,||\, P]) expected runtime, where D∞[Q ∣∣ P]D_{\infty}[Q \,||\, P] is the Rényi ∞\infty-divergence. We provide experimental evidence that AD* also has O(D∞[Q ∣∣ P])\mathcal{O}(D_{\infty}[Q \,||\, P]) expected runtime. We prove that AS* and AD* achieve an expected codelength of O(DKL[Q ∣∣ P])\mathcal{O}(D_{KL}[Q \,||\, P]). Further, we introduce DAD*, an approximate algorithm based on AD* which retains its favourable runtime and has bias similar to that of alternative methods. Focusing on VAEs, we propose the IsoKL VAE (IKVAE), which can be used with DAD* to further improve compression efficiency. We evaluate A* coding with (IK)VAEs on MNIST, showing that it can losslessly compress images near the theoretically optimal limit.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

Cited by top-tier papers12

Ask how each one uses it

Builds on6

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines