Compressing Images by Encoding Their Latent Representations with Relative Entropy Coding
Gergely Flamich, Marton Havasi, José Miguel Hernández-Lobato
Abstract
Variational Autoencoders (VAEs) have seen widespread use in learned image compression. They are used to learn expressive latent representations on which downstream compression methods can operate with high efficiency. Recently proposed 'bits-back' methods can indirectly encode the latent representation of images with codelength close to the relative entropy between the latent posterior and the prior. However, due to the underlying algorithm, these methods can only be used for lossless compression, and they only achieve their nominal efficiency when compressing multiple images simultaneously; they are inefficient for compressing single images. As an alternative, we propose a novel method, Relative Entropy Coding (REC), that can directly encode the latent representation with codelength close to the relative entropy for single images, supported by our empirical results obtained on the Cifar10, ImageNet32 and Kodak datasets. Moreover, unlike previous bits-back methods, REC is immediately applicable to lossy compression, where it is competitive with the state-of-the-art on the Kodak dataset.
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.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext f0876eae-ddd2-444c-9d1c-1f74327bbc33Cited by top-tier papers21
- Lossy Image Compression with Conditional Diffusion ModelsRuihan Yang, Stephan MandtNeurIPS 2023 · 268 citations
- Universally Quantized Neural CompressionEirikur Agustsson, Lucas TheisNeurIPS 2020 · 118 citations
- Soft then Hard: Rethinking the Quantization in Neural Image CompressionZongyu Guo, Zhizheng Zhang, Runsen Feng, Zhibo ChenICML 2021 · 94 citations
- Lossy Compression for Lossless PredictionYann Dubois, Benjamin Bloem-Reddy, Karen Ullrich, Chris J. MaddisonNeurIPS 2021 · 82 citations
- Computationally-Efficient Neural Image Compression with Shallow DecodersYibo Yang, Stephan MandtICCV 2023 · 43 citations
Builds on1
Related papers
- Improving Inference for Neural Image CompressionYibo Yang, Robert Bamler, Stephan MandtNeurIPS 2020 · 151 citations
- Fast Relative Entropy Coding with A* codingGergely Flamich, Stratis Markou, José Miguel Hernández-LobatoICML 2022 · 41 citations
- Efficient Learned Image Compression without Entropy CodingHao Cao, Wenqi Guo, Zhijin Qin, Jungong HanICML 2026
- Accelerating Relative Entropy Coding with Space PartitioningJiajun He, Gergely Flamich, José Miguel Hernández-LobatoNeurIPS 2024 · 6 citations
- Enhanced Invertible Encoding for Learned Image CompressionYueqi Xie, Ka Leong Cheng, Qifeng ChenACM MM 2021 · 195 citations
