English

Accelerating Relative Entropy Coding with Space Partitioning

Information Theory 2024-10-30 v3 Machine Learning math.IT

Abstract

Relative entropy coding (REC) algorithms encode a random sample following a target distribution QQ, using a coding distribution PP shared between the sender and receiver. Sadly, general REC algorithms suffer from prohibitive encoding times, at least on the order of 2DKL[QP]2^{D_{\text{KL}}[Q||P]}, 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 DKL[QP]D_{\text{KL}}[Q||P] 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.

Keywords

Cite

@article{arxiv.2405.12203,
  title  = {Accelerating Relative Entropy Coding with Space Partitioning},
  author = {Jiajun He and Gergely Flamich and José Miguel Hernández-Lobato},
  journal= {arXiv preprint arXiv:2405.12203},
  year   = {2024}
}

Comments

NeurIPS 2024 camera-ready version. 31 pages, 12 figures, 5 algorithms

R2 v1 2026-06-28T16:33:22.621Z