Bit-Swap: Recursive Bits-Back Coding for Lossless Compression with Hierarchical Latent Variables
Not on the map. Why?
Abstract (arXiv)
The bits-back argument suggests that latent variable models can be turned into lossless compression schemes. Translating the bits-back argument into efficient and practical lossless compression schemes for general latent variable models, however, is still an open problem. Bits-Back with Asymmetric Numeral Systems (BB-ANS), recently proposed by Townsend et al. (2019), makes bits-back coding practically feasible for latent variable models with one latent layer, but it is inefficient for hierarchical latent variable models. In this paper we propose Bit-Swap, a new compression scheme that generalizes BB-ANS and achieves strictly better compression rates for hierarchical latent variable models with Markov chain structure. Through experiments we verify that Bit-Swap results in lossless compression rates that are empirically superior to existing techniques. Our implementation is available at https://github.com/fhkingma/bitswap.
Key facts. Cited by 51 papers in the map (data through 7 Oct 2026). First posted on arXiv 16 May 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 16; 2022: 16; 2023: 7; 2024: 8; 2025: 3; 2026: 1.
51 papers.
Sort:
By area:
- 2021Variational Diffusion Modelscited by 1,145
- 2023Language Modeling Is Compressioncited by 225
- 2021On the Out-of-distribution Generalization of Probabilistic Image Modellingcited by 32
- 2022Lossy Image Compression with Quantized Hierarchical VAEscited by 32
- 2021iVPF: Numerical Invertible Volume Preserving Flow for Efficient Lossless Compressioncited by 27
- 2022A Fast Transformer-based General-Purpose Lossless Compressorcited by 26
- 2021iFlow: Numerically Invertible Flows for Efficient Lossless Compression via a Uniform Codercited by 25
- 2024What is the Relationship between Tensor Factorizations and Circuits (and How Can We Exploit it)?cited by 22
- 2022Deep Lossy Plus Residual Coding for Lossless and Near-lossless Image Compressioncited by 21
- 2021Lossless Compression with Probabilistic Circuitscited by 20
- 2021Improving Lossless Compression Rates via Monte Carlo Bits-Back Codingcited by 19
- 2022Sparse Probabilistic Circuits via Pruning and Growingcited by 17
38 more
- 2021Learning Scalable ℓ_∞-constrained Near-lossless Image Compression via Joint Lossy Image and Residual Compressioncited by 16
- 2021Towards Empirical Sandwich Bounds on the Rate-Distortion Functioncited by 13
- 2024Compression via Pre-trained Transformers: A Study on Byte-Level Multimodal Datacited by 13
- 2021Partition and Code: learning how to compress graphscited by 10
- 2022Understanding Entropy Coding With Asymmetric Numeral Systems (ANS): a Statistician's Perspectivecited by 10
- 2022Generalization Gap in Amortized Inferencecited by 10
- 2021IB-DRR: Incremental Learning with Information-Back Discrete Representation Replaycited by 9
- 2024Scaling Continuous Latent Variable Models as Probabilistic Integral Circuitscited by 9
- 2023Probabilistic Integral Circuitscited by 8
- 2023Approximating Human-Like Few-shot Learning with GPT-based Compressioncited by 7
- 2021Lossless compression with state space models using bits back codingcited by 6
- 2024GroupedMixer: An Entropy Model with Group-wise Token-Mixers for Learned Image Compressioncited by 6
- 2024CALLIC: Content Adaptive Learning for Lossless Image Compressioncited by 6
- 2022PILC: Practical Image Lossless Compression with an End-to-end GPU Oriented Neural Frameworkcited by 5
- 2022Few-Shot Non-Parametric Learning with Deep Latent Variable Modelcited by 5
- 2021Lossless Compression with Latent Variable Modelscited by 4
- 2021Compressing Multisets with Large Alphabets using Bits-Back Codingcited by 4
- 2022Parallel Neural Local Lossless Compressioncited by 4
- 2022Practical Learned Lossless JPEG Recompression with Multi-Level Cross-Channel Entropy Model in the DCT Domaincited by 4
- 2022Split Hierarchical Variational Compressioncited by 4
- 2024Entropy Coding of Unordered Data Structurescited by 3
- 2025WISE: A Framework for Gigapixel Whole-Slide-Image Lossless Compressioncited by 3
- 2021Discrete Denoising Flowscited by 2
- 2023Random Edge Coding: One-Shot Bits-Back Coding of Large Labeled Graphscited by 2
- 2025LVPNet: A Latent-variable-based Prediction-driven End-to-end Framework for Lossless Compression of Medical Imagescited by 2
- 2023Learned Lossless Compression for JPEG via Frequency-Domain Predictioncited by 1
- 2023Inferring Population Dynamics in Macaque Cortexcited by 1
- 2024Learned Image Transmission with Hierarchical Variational Autoencodercited by 1
- 2025SEEC: Segmentation-Assisted Multi-Entropy Models for Learned Lossless Image Compressioncited by 1
- 2021Bayesian Attention Networks for Data Compressioncited by 0
- 2021OSOA: One-Shot Online Adaptation of Deep Generative Models for Lossless Compressioncited by 0
- 2022Learned Lossless JPEG Transcoding via Joint Lossy and Residual Compressioncited by 0
- 2022Multi-Scale Architectures Matter: On the Adversarial Robustness of Flow-based Lossless Compressioncited by 0
- 2022GOLLIC: Learning Global Context beyond Patches for Lossless High-Resolution Image Compressioncited by 0
- 2022Verified Reversible Programming for Verified Lossless Compressioncited by 0
- 2022Latent Discretization for Continuous-time Sequence Compressioncited by 0
- 2023Unified learning-based lossy and lossless JPEG recompressioncited by 0
- 2024FLLIC: Functionally Lossless Image Compressioncited by 0
50 most cited of 51 All 51 (JSON)
- 2026End-to-End Image Compression with Segmentation Guided Dual Coding for Wind Turbines31 Mar 2026
- 2025SEEC: Segmentation-Assisted Multi-Entropy Models for Learned Lossless Image Compression9 Sep 2025
- 2025LVPNet: A Latent-variable-based Prediction-driven End-to-end Framework for Lossless Compression of Medical Images22 Jun 2025
- 2025WISE: A Framework for Gigapixel Whole-Slide-Image Lossless Compression23 Mar 2025
- 2024CALLIC: Content Adaptive Learning for Lossless Image Compression23 Dec 2024
- 2024Compression via Pre-trained Transformers: A Study on Byte-Level Multimodal Data7 Oct 2024
- 2024What is the Relationship between Tensor Factorizations and Circuits (and How Can We Exploit it)?12 Sep 2024
- 2024Learned Image Transmission with Hierarchical Variational Autoencoder29 Aug 2024
- 2024Entropy Coding of Unordered Data Structures16 Aug 2024
- 2024Scaling Continuous Latent Variable Models as Probabilistic Integral Circuits10 Jun 2024
- 2024GroupedMixer: An Entropy Model with Group-wise Token-Mixers for Learned Image Compression2 May 2024
- 2024FLLIC: Functionally Lossless Image Compression24 Jan 2024
38 more
- 2023Unified learning-based lossy and lossless JPEG recompression5 Dec 2023
- 2023Probabilistic Integral Circuits25 Oct 2023
- 2023Language Modeling Is Compression19 Sep 2023
- 2023Approximating Human-Like Few-shot Learning with GPT-based Compression14 Aug 2023
- 2023Random Edge Coding: One-Shot Bits-Back Coding of Large Labeled Graphs16 May 2023
- 2023Inferring Population Dynamics in Macaque Cortex5 Apr 2023
- 2023Learned Lossless Compression for JPEG via Frequency-Domain Prediction5 Mar 2023
- 2022Latent Discretization for Continuous-time Sequence Compression28 Dec 2022
- 2022Sparse Probabilistic Circuits via Pruning and Growing22 Nov 2022
- 2022Verified Reversible Programming for Verified Lossless Compression2 Nov 2022
- 2022GOLLIC: Learning Global Context beyond Patches for Lossless High-Resolution Image Compression7 Oct 2022
- 2022Deep Lossy Plus Residual Coding for Lossless and Near-lossless Image Compression11 Sep 2022
- 2022Lossy Image Compression with Quantized Hierarchical VAEs27 Aug 2022
- 2022Multi-Scale Architectures Matter: On the Adversarial Robustness of Flow-based Lossless Compression26 Aug 2022
- 2022Learned Lossless JPEG Transcoding via Joint Lossy and Residual Compression24 Aug 2022
- 2022Few-Shot Non-Parametric Learning with Deep Latent Variable Model23 Jun 2022
- 2022PILC: Practical Image Lossless Compression with an End-to-end GPU Oriented Neural Framework10 Jun 2022
- 2022Generalization Gap in Amortized Inference23 May 2022
- 2022Split Hierarchical Variational Compression5 Apr 2022
- 2022Practical Learned Lossless JPEG Recompression with Multi-Level Cross-Channel Entropy Model in the DCT Domain30 Mar 2022
- 2022A Fast Transformer-based General-Purpose Lossless Compressor30 Mar 2022
- 2022Parallel Neural Local Lossless Compression13 Jan 2022
- 2022Understanding Entropy Coding With Asymmetric Numeral Systems (ANS): a Statistician's Perspective5 Jan 2022
- 2021Towards Empirical Sandwich Bounds on the Rate-Distortion Function23 Nov 2021
- 2021Lossless Compression with Probabilistic Circuits23 Nov 2021
- 2021OSOA: One-Shot Online Adaptation of Deep Generative Models for Lossless Compression2 Nov 2021
- 2021iFlow: Numerically Invertible Flows for Efficient Lossless Compression via a Uniform Coder1 Nov 2021
- 2021On the Out-of-distribution Generalization of Probabilistic Image Modelling4 Sep 2021
- 2021Discrete Denoising Flows24 Jul 2021
- 2021Compressing Multisets with Large Alphabets using Bits-Back Coding15 Jul 2021
- 2021Partition and Code: learning how to compress graphs5 Jul 2021
- 2021Variational Diffusion Models1 Jul 2021
- 2021IB-DRR: Incremental Learning with Information-Back Discrete Representation Replay21 Apr 2021
- 2021Lossless Compression with Latent Variable Models21 Apr 2021
- 2021Learning Scalable ℓ_∞-constrained Near-lossless Image Compression via Joint Lossy Image and Residual Compression31 Mar 2021
- 2021iVPF: Numerical Invertible Volume Preserving Flow for Efficient Lossless Compression30 Mar 2021
- 2021Bayesian Attention Networks for Data Compression29 Mar 2021
- 2021Lossless compression with state space models using bits back coding18 Mar 2021
50 newest of 51 All 51 (JSON)
- 2021Variational Diffusion Modelscited by 1,145
- 2021Variational Diffusion Models1 Jul 2021
- 2023Language Modeling Is Compressioncited by 225
- 2021On the Out-of-distribution Generalization of Probabilistic Image Modellingcited by 32
- 2022Lossy Image Compression with Quantized Hierarchical VAEscited by 32
- 2021iVPF: Numerical Invertible Volume Preserving Flow for Efficient Lossless Compressioncited by 27
- 2022A Fast Transformer-based General-Purpose Lossless Compressorcited by 26
- 2021iFlow: Numerically Invertible Flows for Efficient Lossless Compression via a Uniform Codercited by 25
- 2024What is the Relationship between Tensor Factorizations and Circuits (and How Can We Exploit it)?cited by 22
- 2022Deep Lossy Plus Residual Coding for Lossless and Near-lossless Image Compressioncited by 21
- 2021Lossless Compression with Probabilistic Circuitscited by 20
- 2021Improving Lossless Compression Rates via Monte Carlo Bits-Back Codingcited by 19
- 2022Sparse Probabilistic Circuits via Pruning and Growingcited by 17
- 2021Learning Scalable ℓ_∞-constrained Near-lossless Image Compression via Joint Lossy Image and Residual Compressioncited by 16
12 most cited of 50 All 50 (JSON)
- 2026End-to-End Image Compression with Segmentation Guided Dual Coding for Wind Turbines31 Mar 2026
- 2025SEEC: Segmentation-Assisted Multi-Entropy Models for Learned Lossless Image Compression9 Sep 2025
- 2025LVPNet: A Latent-variable-based Prediction-driven End-to-end Framework for Lossless Compression of Medical Images22 Jun 2025
- 2025WISE: A Framework for Gigapixel Whole-Slide-Image Lossless Compression23 Mar 2025
- 2024CALLIC: Content Adaptive Learning for Lossless Image Compression23 Dec 2024
- 2024Compression via Pre-trained Transformers: A Study on Byte-Level Multimodal Data7 Oct 2024
- 2024What is the Relationship between Tensor Factorizations and Circuits (and How Can We Exploit it)?12 Sep 2024
- 2024Learned Image Transmission with Hierarchical Variational Autoencoder29 Aug 2024
- 2024Entropy Coding of Unordered Data Structures16 Aug 2024
- 2024Scaling Continuous Latent Variable Models as Probabilistic Integral Circuits10 Jun 2024
- 2024GroupedMixer: An Entropy Model with Group-wise Token-Mixers for Learned Image Compression2 May 2024
- 2024FLLIC: Functionally Lossless Image Compression24 Jan 2024
12 newest of 50 All 50 (JSON)