Lune

NeurIPS2024Top-tier venue

Accelerating Relative Entropy Coding with Space Partitioning

Jiajun He, Gergely Flamich, José Miguel Hernández-Lobato

Abstract

Relative entropy coding (REC) algorithms encode a random sample following a target distribution Q, using a coding distribution P shared between the sender and receiver. Sadly, general REC algorithms suffer from prohibitive encoding times, at least on the order of 2 DKLrQ||P s , and faster algorithms are limited to very specific settings. This work addresses this issue by introducing a REC scheme utilizing space partitioning to reduce runtime in practical scenarios. We provide theoretical analyses of our method and demonstrate its effectiveness with both toy examples and practical applications. Notably, our method successfully handles REC tasks with D KL rQ||P s about three times greater than what previous methods can manage, and reduces the bitrate by approximately 5-15% in VAE-based lossless compression on MNIST and INR-based lossy compression on CIFAR-10, compared to previous methods, significantly improving the practicality of REC for neural compression. 1 To avoid notation overload, we will use Q for the posterior, omitting its dependence on X unless needed. 2 Throughout this paper, unless otherwise stated, we use log 2 to calculate the log density ratio, the Kullback-Leibler (KL) divergence DKL, the mutual information I and the Rényi-8 divergence D8. We use upper-case letters (e.g., Q and P ) to represent probability measures and lower-case letters (e.g., q and p) for their densities.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Compression with Bayesian Implicit Neural Representations cites Fast Relative Entropy Coding with A coding
  • Compression with Bayesian Implicit Neural Representations cites Modality-Agnostic Variational Compression of Implicit Neural Representations
  • Compression with Bayesian Implicit Neural Representations cites Compressing Images by Encoding Their Latent Representations with Relative Entropy Coding
  • Training-Free Vector Quantization via Gaussian VAEs cites Fast Relative Entropy Coding with A coding
  • Training-Free Vector Quantization via Gaussian VAEs cites Compressing Images by Encoding Their Latent Representations with Relative Entropy Coding
  • Fast Relative Entropy Coding with A coding cites Compressing Images by Encoding Their Latent Representations with Relative Entropy Coding
  • Compression as Adaptation: Implicit Visual Representation with Diffusion Foundation Models cites Compression with Bayesian Implicit Neural Representations
  • Compression as Adaptation: Implicit Visual Representation with Diffusion Foundation Models cites Fast Relative Entropy Coding with A coding
  • Compression as Adaptation: Implicit Visual Representation with Diffusion Foundation Models cites Greedy Poisson Rejection Sampling
  • Greedy Poisson Rejection Sampling cites Compression with Bayesian Implicit Neural Representations
  • Greedy Poisson Rejection Sampling cites Fast Relative Entropy Coding with A coding
  • Greedy Poisson Rejection Sampling cites Compressing Images by Encoding Their Latent Representations with Relative Entropy Coding
  • Channel Simulation and Distributed Compression with Ensemble Rejection Sampling cites Fast Relative Entropy Coding with A coding
  • Channel Simulation and Distributed Compression with Ensemble Rejection Sampling cites Greedy Poisson Rejection Sampling
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. Channel Simulation and Distributed Compression with Ensemble Rejection SamplingBuu Phan, Ashish KhistiNeurIPS 2025 · 5 citations
  2. Compression as Adaptation: Implicit Visual Representation with Diffusion Foundation ModelsZongyu Guo, Jiajun He, Zhaoyang Jia, Xiaoyi Zhang et al.ICML 2026 · 1 citation
  3. Training-Free Vector Quantization via Gaussian VAEsTongda Xu, Wendi Zheng, Jiajun He, Jose Miguel Hernandez-Lobato et al.ICML 2026

Builds on9

  1. Compressing Images by Encoding Their Latent Representations with Relative Entropy CodingGergely Flamich, Marton Havasi, José Miguel Hernández-LobatoNeurIPS 2020 · 78 citations
  2. Fast Relative Entropy Coding with A* codingGergely Flamich, Stratis Markou, José Miguel Hernández-LobatoICML 2022 · 41 citations
  3. Compression with Bayesian Implicit Neural RepresentationsZongyu Guo, Gergely Flamich, Jiajun He, Zhibo Chen et al.NeurIPS 2023 · 38 citations
  4. Greedy Poisson Rejection SamplingGergely FlamichNeurIPS 2023 · 32 citations
  5. Modality-Agnostic Variational Compression of Implicit Neural RepresentationsJonathan Richard Schwarz, Jihoon Tack, Yee Whye Teh, Jaeho Lee et al.ICML 2023 · 28 citations

Related papers

  1. Faster Relative Entropy Coding with Greedy Rejection CodingGergely Flamich, Stratis Markou, José Miguel Hernández-LobatoNeurIPS 2023 · 17 citations
  2. Improving Lossless Compression Rates via Monte Carlo Bits-Back CodingYangjun Ruan, Karen Ullrich, Daniel Severo, James Townsend et al.ICML 2021 · 25 citations
  3. Lossless Compression with Probabilistic CircuitsAnji Liu, Stephan Mandt, Guy Van den BroeckICLR 2022 · 29 citations
  4. Differentiable Vector Quantization for Rate-Distortion Optimization of Generative Image CompressionShiyin Jiang, Wei Long, Minghao Han, Zhenghao Chen et al.CVPR 2026 · 3 citations
  5. Scalable Model Compression by Entropy Penalized ReparameterizationDeniz Oktay, Johannes Ballé, Saurabh Singh, Abhinav ShrivastavaICLR 2020 · 46 citations
Dusk over the sea between two cliffs drawn in fine vertical lines