Soft then Hard: Rethinking the Quantization in Neural Image Compression
Not on the map. Why?
Abstract (arXiv)
Quantization is one of the core components in lossy image compression. For neural image compression, end-to-end optimization requires differentiable approximations of quantization, which can generally be grouped into three categories: additive uniform noise, straight-through estimator and soft-to-hard annealing. Training with additive uniform noise approximates the quantization error variationally but suffers from the train-test mismatch. The other two methods do not encounter this mismatch but, as shown in this paper, hurt the rate-distortion performance since the latent representation ability is weakened. We thus propose a novel soft-then-hard quantization strategy for neural image compression that first learns an expressive latent space softly, then closes the train-test mismatch with hard quantization. In addition, beyond the fixed integer quantization, we apply scaled additive uniform noise to adaptively control the quantization granularity by deriving a new variational upper bound on actual rate. Experiments demonstrate that our proposed methods are easy to adopt, stable to train, and highly effective especially on complex compression models.
Key facts. Cited by 51 papers in the map (data through 14 Oct 2026). Builds on 34 of its 48 references that are in the map. First posted on arXiv 12 Apr 2021.
Builds on
34 of 48 references.
References · 34
- 2017Neural Discrete Representation Learningcited by 4,712
- 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,739
- 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,079
- 2019Generating Diverse High-Fidelity Images with VQ-VAE-2cited by 1,387
- 2018Variational image compression with a scale hyperpriorcited by 935
- 2016Pixel Recurrent Neural Networkscited by 816
- 2016End-to-end Optimized Image Compressioncited by 696
- 2018Joint Autoregressive and Hierarchical Priors for Learned Image Compressioncited by 664
- 2016Improving Variational Inference with Inverse Autoregressive Flowcited by 640
- 2020Learned Image Compression with Discretized Gaussian Mixture Likelihoods and Attention Modulescited by 590
- 2020High-Fidelity Generative Image Compressioncited by 338
- 2017Lossy Image Compression with Compressive Autoencoderscited by 294
22 more
- 2019Flow++: Improving Flow-Based Generative Models with Variational Dequantization and Architecture Designcited by 262
- 2019Understanding Straight-Through Estimator in Training Activation Quantized Neural Netscited by 231
- 2019Rethinking Lossy Compression: The Rate-Distortion-Perception Tradeoffcited by 211
- 2019Diagnosing and Enhancing VAE Modelscited by 193
- 2016Variational Lossy Autoencodercited by 176
- 2016Full Resolution Image Compression with Recurrent Neural Networkscited by 175
- 2015Variable Rate Image Compression with Recurrent Neural Networkscited by 173
- 2017Soft-to-Hard Vector Quantization for End-to-End Learning Compressible Representationscited by 152
- 2018Context-adaptive Entropy Model for End-to-end Optimized Image Compressioncited by 143
- 2018Conditional Probability Models for Deep Image Compressioncited by 133
- 2019From Variational to Deterministic Autoencoderscited by 133
- 2017Real-Time Adaptive Image Compressioncited by 130
- 2019Variable Rate Deep Image Compression With a Conditional Autoencodercited by 114
- 2019Integer Discrete Flows and Lossless Compressioncited by 83
- 2020Improving Inference for Neural Image Compressioncited by 83
- 2017Learning Convolutional Networks for Content-weighted Image Compressioncited by 76
- 2020Universally Quantized Neural Compressioncited by 64
- 2018Minimal Random Code Learning: Getting Bits Back from Compressed Model Parameterscited by 58
- 2020Hierarchical Quantized Autoencoderscited by 57
- 2020Compressing Images by Encoding Their Latent Representations with Relative Entropy Codingcited by 39
- 2020IDF++: Analyzing and Improving Integer Discrete Flows for Lossless Compressioncited by 36
- 20203-D Context Entropy Model for Improved Practical Image Compressioncited by 11
Built on by
Citing papers per year: 2021: 5; 2022: 9; 2023: 9; 2024: 14; 2025: 8; 2026: 6.
51 papers.
Sort:
By area:
- 2022ELIC: Efficient Learned Image Compression with Unevenly Grouped Space-Channel Contextual Adaptive Codingcited by 301
- 2022MLIC: Multi-Reference Entropy Model for Learned Image Compressioncited by 84
- 2023A Residual Diffusion Model for High Perceptual Quality Codec Augmentationcited by 35
- 2022Image Coding for Machines with Omnipotent Feature Learningcited by 31
- 2024NVRC: Neural Video Representation Compressioncited by 29
- 2023Compression with Bayesian Implicit Neural Representationscited by 25
- 2024Spatial Decomposition and Temporal Fusion based Inter Prediction for Learned Video Compressioncited by 23
- 2025Learned Image Compression with Hierarchical Progressive Context Modelingcited by 21
- 2024HybridFlow: Infusing Continuity into Masked Codebook for Extreme Low-Bitrate Image Compressioncited by 14
- 2021Learning Cross-Scale Weighted Prediction for Efficient Neural Video Compressioncited by 13
- 2022Optimally Controllable Perceptual Lossy Compressioncited by 13
- 2023MobileNVC: Real-time 1080p Neural Video Compression on a Mobile Devicecited by 13
38 more
- 2023Semantically Structured Image Compression via Irregular Group-Based Decouplingcited by 12
- 2023QVRF: A Quantization-error-aware Variable Rate Framework for Learned Image Compressioncited by 11
- 2024SPAC: Sampling-based Progressive Attribute Compression for Dense Point Cloudscited by 11
- 2023ECSIC: Epipolar Cross Attention for Stereo Image Compressioncited by 8
- 2024Generalized Gaussian Model for Learned Image Compressioncited by 8
- 2021Versatile Learned Video Compressioncited by 7
- 2021Rate Distortion Characteristic Modeling for Neural Image Compressioncited by 6
- 2022Multi-Sample Training for Neural Image Compressioncited by 5
- 2022TeViS:Translating Text Synopses to Video Storyboardscited by 5
- 2023Comprehensive Comparisons of Uniform Quantization in Deep Image Compressioncited by 4
- 2024STanH : Parametric Quantization for Variable Rate Learned Image Compressioncited by 4
- 2021Online Meta Adaptation for Variable-Rate Learned Image Compressioncited by 3
- 2022Region-of-Interest Based Neural Video Compressioncited by 2
- 2023Exploring the Rate-Distortion-Complexity Optimization in Neural Image Compressioncited by 2
- 2024Robustly overfitting latents for flexible neural image compressioncited by 2
- 2024Wavelet-Like Transform-Based Technology in Response to the Call for Proposals on Neural Network-Based Image Codingcited by 2
- 2024Survey on Visual Signal Coding and Processing with Generative Models: Technologies, Standards and Optimizationcited by 2
- 2024Learned HDR Image Compression for Perceptually Optimal Storage and Displaycited by 2
- 2025Scaling Learned Image Compression Models up to 1 Billioncited by 2
- 2026CADC: Content Adaptive Diffusion-Based Generative Image Compressioncited by 2
- 2022Improving Multi-generation Robustness of Learned Image Compressioncited by 1
- 2023Neural-based Compression Scheme for Solar Image Datacited by 1
- 2024Rethinking Learned Image Compression: Context is All You Needcited by 1
- 2024An Information-Theoretic Regularizer for Lossy Neural Image Compressioncited by 1
- 2025FD-LSCIC: Frequency Decomposition-based Learned Screen Content Image Compressioncited by 1
- 2025Bitstream Collisions in Neural Image Compression via Adversarial Perturbationscited by 1
- 2021Learned Image Compression with Separate Hyperprior Decoderscited by 0
- 2022Transformations in Learned Image Compression from a Modulation Perspectivecited by 0
- 2024Neural Image Compression with Quantization Rectifiercited by 0
- 2024Neural-based Video Compression on Solar Dynamics Observatory Imagescited by 0
- 2025Exploiting Latent Properties to Optimize Neural Codecscited by 0
- 2025Interleaved Block-based Learned Image Compression with Feature Enhancement and Quantization Error Compensationcited by 0
- 2025Optimizing Learned Image Compression on Scalar and Entropy-Constraint Quantizationcited by 0
- 2025Comp-X: On Defining an Interactive Learned Image Compression Paradigm With Expert-driven LLM Agentcited by 0
- 2026Layerwise Progressive Freezing Enables STE-Free Training of Deep Binary Neural Networkscited by 0
- 2026Control Your View: High-Resolution Global Semantic Manipulation in Learned Image Compressioncited by 0
- 2026Layerwise Progressive Freezing: A Training Scaffold for Depth-Scalable Binary Networkscited by 0
- 2026Fast Test-Time Refinement for Robust Learned Image Compressioncited by 0
50 most cited of 51 All 51 (JSON)
- 2026PIC: Revisiting INR for Image Coding with Fast Encoding and Sub-Millisecond Decoding8 Sep 2026
- 2026Fast Test-Time Refinement for Robust Learned Image Compression15 Aug 2026
- 2026Layerwise Progressive Freezing: A Training Scaffold for Depth-Scalable Binary Networks26 Jun 2026
- 2026Control Your View: High-Resolution Global Semantic Manipulation in Learned Image Compression9 May 2026
- 2026CADC: Content Adaptive Diffusion-Based Generative Image Compression25 Feb 2026
- 2026Layerwise Progressive Freezing Enables STE-Free Training of Deep Binary Neural Networks30 Jan 2026
- 2025Comp-X: On Defining an Interactive Learned Image Compression Paradigm With Expert-driven LLM Agent21 Aug 2025
- 2025Scaling Learned Image Compression Models up to 1 Billion12 Aug 2025
- 2025Learned Image Compression with Hierarchical Progressive Context Modeling25 Jul 2025
- 2025Optimizing Learned Image Compression on Scalar and Entropy-Constraint Quantization10 Jun 2025
- 2025Bitstream Collisions in Neural Image Compression via Adversarial Perturbations25 Mar 2025
- 2025Interleaved Block-based Learned Image Compression with Feature Enhancement and Quantization Error Compensation21 Feb 2025
38 more
- 2025FD-LSCIC: Frequency Decomposition-based Learned Screen Content Image Compression21 Feb 2025
- 2025Exploiting Latent Properties to Optimize Neural Codecs2 Jan 2025
- 2024Generalized Gaussian Model for Learned Image Compression28 Nov 2024
- 2024An Information-Theoretic Regularizer for Lossy Neural Image Compression23 Nov 2024
- 2024STanH : Parametric Quantization for Variable Rate Learned Image Compression1 Oct 2024
- 2024SPAC: Sampling-based Progressive Attribute Compression for Dense Point Clouds16 Sep 2024
- 2024NVRC: Neural Video Representation Compression11 Sep 2024
- 2024Learned HDR Image Compression for Perceptually Optimal Storage and Display18 Jul 2024
- 2024Rethinking Learned Image Compression: Context is All You Need16 Jul 2024
- 2024Neural-based Video Compression on Solar Dynamics Observatory Images12 Jul 2024
- 2024Survey on Visual Signal Coding and Processing with Generative Models: Technologies, Standards and Optimization23 May 2024
- 2024HybridFlow: Infusing Continuity into Masked Codebook for Extreme Low-Bitrate Image Compression20 Apr 2024
- 2024Neural Image Compression with Quantization Rectifier25 Mar 2024
- 2024Wavelet-Like Transform-Based Technology in Response to the Call for Proposals on Neural Network-Based Image Coding9 Mar 2024
- 2024Robustly overfitting latents for flexible neural image compression31 Jan 2024
- 2024Spatial Decomposition and Temporal Fusion based Inter Prediction for Learned Video Compression29 Jan 2024
- 2023Neural-based Compression Scheme for Solar Image Data6 Nov 2023
- 2023MobileNVC: Real-time 1080p Neural Video Compression on a Mobile Device2 Oct 2023
- 2023ECSIC: Epipolar Cross Attention for Stereo Image Compression18 Jul 2023
- 2023Compression with Bayesian Implicit Neural Representations30 May 2023
- 2023Exploring the Rate-Distortion-Complexity Optimization in Neural Image Compression12 May 2023
- 2023Semantically Structured Image Compression via Irregular Group-Based Decoupling4 May 2023
- 2023QVRF: A Quantization-error-aware Variable Rate Framework for Learned Image Compression10 Mar 2023
- 2023Comprehensive Comparisons of Uniform Quantization in Deep Image Compression1 Mar 2023
- 2023A Residual Diffusion Model for High Perceptual Quality Codec Augmentation13 Jan 2023
- 2022TeViS:Translating Text Synopses to Video Storyboards31 Dec 2022
- 2022MLIC: Multi-Reference Entropy Model for Learned Image Compression14 Nov 2022
- 2022Improving Multi-generation Robustness of Learned Image Compression31 Oct 2022
- 2022Multi-Sample Training for Neural Image Compression28 Sep 2022
- 2022Image Coding for Machines with Omnipotent Feature Learning5 Jul 2022
- 2022Optimally Controllable Perceptual Lossy Compression21 Jun 2022
- 2022ELIC: Efficient Learned Image Compression with Unevenly Grouped Space-Channel Contextual Adaptive Coding21 Mar 2022
- 2022Transformations in Learned Image Compression from a Modulation Perspective4 Mar 2022
- 2022Region-of-Interest Based Neural Video Compression3 Mar 2022
- 2021Learning Cross-Scale Weighted Prediction for Efficient Neural Video Compression26 Dec 2021
- 2021Online Meta Adaptation for Variable-Rate Learned Image Compression16 Nov 2021
- 2021Versatile Learned Video Compression5 Nov 2021
- 2021Learned Image Compression with Separate Hyperprior Decoders31 Oct 2021
50 newest of 51 All 51 (JSON)
- 2022ELIC: Efficient Learned Image Compression with Unevenly Grouped Space-Channel Contextual Adaptive Codingcited by 301
- 2022MLIC: Multi-Reference Entropy Model for Learned Image Compressioncited by 84
- 2022Image Coding for Machines with Omnipotent Feature Learningcited by 31
- 2024NVRC: Neural Video Representation Compressioncited by 29
- 2023Compression with Bayesian Implicit Neural Representationscited by 25
- 2024Spatial Decomposition and Temporal Fusion based Inter Prediction for Learned Video Compressioncited by 23
- 2025Learned Image Compression with Hierarchical Progressive Context Modelingcited by 21
- 2024HybridFlow: Infusing Continuity into Masked Codebook for Extreme Low-Bitrate Image Compressioncited by 14
- 2021Learning Cross-Scale Weighted Prediction for Efficient Neural Video Compressioncited by 13
- 2022Optimally Controllable Perceptual Lossy Compressioncited by 13
- 2023MobileNVC: Real-time 1080p Neural Video Compression on a Mobile Devicecited by 13
- 2023Semantically Structured Image Compression via Irregular Group-Based Decouplingcited by 12
12 most cited of 48 All 48 (JSON)
- 2026PIC: Revisiting INR for Image Coding with Fast Encoding and Sub-Millisecond Decoding8 Sep 2026
- 2026Fast Test-Time Refinement for Robust Learned Image Compression15 Aug 2026
- 2026Layerwise Progressive Freezing: A Training Scaffold for Depth-Scalable Binary Networks26 Jun 2026
- 2026Control Your View: High-Resolution Global Semantic Manipulation in Learned Image Compression9 May 2026
- 2026Layerwise Progressive Freezing Enables STE-Free Training of Deep Binary Neural Networks30 Jan 2026
- 2025Scaling Learned Image Compression Models up to 1 Billion12 Aug 2025
- 2025Learned Image Compression with Hierarchical Progressive Context Modeling25 Jul 2025
- 2025Optimizing Learned Image Compression on Scalar and Entropy-Constraint Quantization10 Jun 2025
- 2025Bitstream Collisions in Neural Image Compression via Adversarial Perturbations25 Mar 2025
- 2025Interleaved Block-based Learned Image Compression with Feature Enhancement and Quantization Error Compensation21 Feb 2025
- 2025FD-LSCIC: Frequency Decomposition-based Learned Screen Content Image Compression21 Feb 2025
- 2025Exploiting Latent Properties to Optimize Neural Codecs2 Jan 2025
12 newest of 48 All 48 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2023On Uniform Scalar Quantization for Learned Image Compression
- 2026Soft Quantization: Model Compression Via Weight Coupling
- 2024Approaching Rate-Distortion Limits in Neural Compression with Lattice Transform Coding
- 2026SoftBinary Coding: A New Information-Theoretic Neural Compression Paradigm
- 2025Reducing Storage of Pretrained Neural Networks by Rate-Constrained Quantization and Entropy Coding
- 2022Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and Pruning
- 2023QARV: Quantization-Aware ResNet VAE for Lossy Image Compression
- 2024Efficient Neural Compression with Inference-time Decoding