mlsanityData to 14 Oct 2026

Soft then Hard: Rethinking the Quantization in Neural Image Compression

arXiv 2104.05168 ↗First posted 12 Apr 2021eess.IVcited by 51

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

  1. 2017Neural Discrete Representation Learningcited by 4,712
  2. 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,739
  3. 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,079
  4. 2019Generating Diverse High-Fidelity Images with VQ-VAE-2cited by 1,387
  5. 2018Variational image compression with a scale hyperpriorcited by 935
  6. 2016Pixel Recurrent Neural Networkscited by 816
  7. 2016End-to-end Optimized Image Compressioncited by 696
  8. 2018Joint Autoregressive and Hierarchical Priors for Learned Image Compressioncited by 664
  9. 2016Improving Variational Inference with Inverse Autoregressive Flowcited by 640
  10. 2020Learned Image Compression with Discretized Gaussian Mixture Likelihoods and Attention Modulescited by 590
  11. 2020High-Fidelity Generative Image Compressioncited by 338
  12. 2017Lossy Image Compression with Compressive Autoencoderscited by 294
22 more
  1. 2019Flow++: Improving Flow-Based Generative Models with Variational Dequantization and Architecture Designcited by 262
  2. 2019Understanding Straight-Through Estimator in Training Activation Quantized Neural Netscited by 231
  3. 2019Rethinking Lossy Compression: The Rate-Distortion-Perception Tradeoffcited by 211
  4. 2019Diagnosing and Enhancing VAE Modelscited by 193
  5. 2016Variational Lossy Autoencodercited by 176
  6. 2016Full Resolution Image Compression with Recurrent Neural Networkscited by 175
  7. 2015Variable Rate Image Compression with Recurrent Neural Networkscited by 173
  8. 2017Soft-to-Hard Vector Quantization for End-to-End Learning Compressible Representationscited by 152
  9. 2018Context-adaptive Entropy Model for End-to-end Optimized Image Compressioncited by 143
  10. 2018Conditional Probability Models for Deep Image Compressioncited by 133
  11. 2019From Variational to Deterministic Autoencoderscited by 133
  12. 2017Real-Time Adaptive Image Compressioncited by 130
  13. 2019Variable Rate Deep Image Compression With a Conditional Autoencodercited by 114
  14. 2019Integer Discrete Flows and Lossless Compressioncited by 83
  15. 2020Improving Inference for Neural Image Compressioncited by 83
  16. 2017Learning Convolutional Networks for Content-weighted Image Compressioncited by 76
  17. 2020Universally Quantized Neural Compressioncited by 64
  18. 2018Minimal Random Code Learning: Getting Bits Back from Compressed Model Parameterscited by 58
  19. 2020Hierarchical Quantized Autoencoderscited by 57
  20. 2020Compressing Images by Encoding Their Latent Representations with Relative Entropy Codingcited by 39
  21. 2020IDF++: Analyzing and Improving Integer Discrete Flows for Lossless Compressioncited by 36
  22. 20203-D Context Entropy Model for Improved Practical Image Compressioncited by 11

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2021: 5; 2022: 9; 2023: 9; 2024: 14; 2025: 8; 2026: 6.

51 papers.

Sort:

By area:

  1. 2022ELIC: Efficient Learned Image Compression with Unevenly Grouped Space-Channel Contextual Adaptive Codingcited by 301
  2. 2022MLIC: Multi-Reference Entropy Model for Learned Image Compressioncited by 84
  3. 2023A Residual Diffusion Model for High Perceptual Quality Codec Augmentationcited by 35
  4. 2022Image Coding for Machines with Omnipotent Feature Learningcited by 31
  5. 2024NVRC: Neural Video Representation Compressioncited by 29
  6. 2023Compression with Bayesian Implicit Neural Representationscited by 25
  7. 2024Spatial Decomposition and Temporal Fusion based Inter Prediction for Learned Video Compressioncited by 23
  8. 2025Learned Image Compression with Hierarchical Progressive Context Modelingcited by 21
  9. 2024HybridFlow: Infusing Continuity into Masked Codebook for Extreme Low-Bitrate Image Compressioncited by 14
  10. 2021Learning Cross-Scale Weighted Prediction for Efficient Neural Video Compressioncited by 13
  11. 2022Optimally Controllable Perceptual Lossy Compressioncited by 13
  12. 2023MobileNVC: Real-time 1080p Neural Video Compression on a Mobile Devicecited by 13
38 more
  1. 2023Semantically Structured Image Compression via Irregular Group-Based Decouplingcited by 12
  2. 2023QVRF: A Quantization-error-aware Variable Rate Framework for Learned Image Compressioncited by 11
  3. 2024SPAC: Sampling-based Progressive Attribute Compression for Dense Point Cloudscited by 11
  4. 2023ECSIC: Epipolar Cross Attention for Stereo Image Compressioncited by 8
  5. 2024Generalized Gaussian Model for Learned Image Compressioncited by 8
  6. 2021Versatile Learned Video Compressioncited by 7
  7. 2021Rate Distortion Characteristic Modeling for Neural Image Compressioncited by 6
  8. 2022Multi-Sample Training for Neural Image Compressioncited by 5
  9. 2022TeViS:Translating Text Synopses to Video Storyboardscited by 5
  10. 2023Comprehensive Comparisons of Uniform Quantization in Deep Image Compressioncited by 4
  11. 2024STanH : Parametric Quantization for Variable Rate Learned Image Compressioncited by 4
  12. 2021Online Meta Adaptation for Variable-Rate Learned Image Compressioncited by 3
  13. 2022Region-of-Interest Based Neural Video Compressioncited by 2
  14. 2023Exploring the Rate-Distortion-Complexity Optimization in Neural Image Compressioncited by 2
  15. 2024Robustly overfitting latents for flexible neural image compressioncited by 2
  16. 2024Wavelet-Like Transform-Based Technology in Response to the Call for Proposals on Neural Network-Based Image Codingcited by 2
  17. 2024Survey on Visual Signal Coding and Processing with Generative Models: Technologies, Standards and Optimizationcited by 2
  18. 2024Learned HDR Image Compression for Perceptually Optimal Storage and Displaycited by 2
  19. 2025Scaling Learned Image Compression Models up to 1 Billioncited by 2
  20. 2026CADC: Content Adaptive Diffusion-Based Generative Image Compressioncited by 2
  21. 2022Improving Multi-generation Robustness of Learned Image Compressioncited by 1
  22. 2023Neural-based Compression Scheme for Solar Image Datacited by 1
  23. 2024Rethinking Learned Image Compression: Context is All You Needcited by 1
  24. 2024An Information-Theoretic Regularizer for Lossy Neural Image Compressioncited by 1
  25. 2025FD-LSCIC: Frequency Decomposition-based Learned Screen Content Image Compressioncited by 1
  26. 2025Bitstream Collisions in Neural Image Compression via Adversarial Perturbationscited by 1
  27. 2021Learned Image Compression with Separate Hyperprior Decoderscited by 0
  28. 2022Transformations in Learned Image Compression from a Modulation Perspectivecited by 0
  29. 2024Neural Image Compression with Quantization Rectifiercited by 0
  30. 2024Neural-based Video Compression on Solar Dynamics Observatory Imagescited by 0
  31. 2025Exploiting Latent Properties to Optimize Neural Codecscited by 0
  32. 2025Interleaved Block-based Learned Image Compression with Feature Enhancement and Quantization Error Compensationcited by 0
  33. 2025Optimizing Learned Image Compression on Scalar and Entropy-Constraint Quantizationcited by 0
  34. 2025Comp-X: On Defining an Interactive Learned Image Compression Paradigm With Expert-driven LLM Agentcited by 0
  35. 2026Layerwise Progressive Freezing Enables STE-Free Training of Deep Binary Neural Networkscited by 0
  36. 2026Control Your View: High-Resolution Global Semantic Manipulation in Learned Image Compressioncited by 0
  37. 2026Layerwise Progressive Freezing: A Training Scaffold for Depth-Scalable Binary Networkscited by 0
  38. 2026Fast Test-Time Refinement for Robust Learned Image Compressioncited by 0

50 most cited of 51 All 51 (JSON)

Similar, not cited

Close in wording, no citation either way

  1. 2023On Uniform Scalar Quantization for Learned Image Compression
  2. 2026Soft Quantization: Model Compression Via Weight Coupling
  3. 2024Approaching Rate-Distortion Limits in Neural Compression with Lattice Transform Coding
  4. 2026SoftBinary Coding: A New Information-Theoretic Neural Compression Paradigm
  5. 2025Reducing Storage of Pretrained Neural Networks by Rate-Constrained Quantization and Entropy Coding
  6. 2022Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and Pruning
  7. 2023QARV: Quantization-Aware ResNet VAE for Lossy Image Compression
  8. 2024Efficient Neural Compression with Inference-time Decoding