QVRF: A Quantization-error-aware Variable Rate Framework for Learned Image Compression

Kedeng Tong, Yaojun Wu, Yue Li, Kai Zhang, Li Zhang, Xin Jin · DOI

Learned Image Compression (LIC) has demonstrated superior performance over traditional codecs like JPEG and HEVC. However, a significant barrier to the widespread adoption of LIC models—typically based on Variational Autoencoders (VAEs)—is their fixed-rate nature. Unlike traditional codecs that allow for a "quality slider," standard LIC models usually require a separate set of weights for every desired bitrate. This "one model, one bitrate" constraint leads to prohibitive storage and memory requirements in practical deployments.

Addressing the Limitations of Variable-Rate LIC

Previous attempts to introduce variable-rate capabilities into LIC have faced two primary challenges: complexity and performance degradation. Some methods utilize conditional subnetworks, which significantly increase the total parameter count. Others employ "amplitude modulation," scaling the latent representations to adjust the rate. However, scaling latents often distorts the probability distributions that the entropy model relies on, leading to suboptimal compression efficiency, particularly at the extremes of the bitrate range.

The QVRF Methodology

The Quantization-error-aware Variable Rate Framework (QVRF) addresses these issues by introducing a univariate quantization regulator, denoted as $a$. Instead of modifying network weights or scaling latent amplitudes directly, QVRF controls the quantization bin size.

To ensure compatibility with standard hardware that utilizes simple rounding operations, the authors propose a reparameterization trick. The latent values ($y$), the predicted mean ($u$), and the scale ($\sigma$) are scaled by $a$ prior to quantization and then inverse-scaled afterward. This approach ensures that the input to the probability modeling network remains stable, preserving the model's compression efficiency across a continuous range of bitrates.

A critical theoretical contribution of the paper is the discovery of a linear relationship between the regulator $a$ and the square root of the Lagrange multiplier ($\sqrt{\lambda}$), which governs the rate-distortion (RD) trade-off. This discovery allows for precise, continuous rate adaptation without the need for retraining or complex look-up tables.

Experimental Evaluation

The framework was evaluated using several standard benchmarks. The models were trained on a subset of 8,000 images from ImageNet and 584 images from the CLIC2020 training set. Performance was tested on the Kodak dataset (24 images), the CLIC validation set (41 high-resolution images), and the JEPGAI test set (16 high-quality images).

Key Results and Insights

QVRF demonstrates significant advantages over both fixed-rate and existing variable-rate methods:

  • RD Performance: QVRF consistently outperforms previous variable-rate frameworks across multiple baseline architectures, including Ballé 2018, Minnen 2018, and Cheng 2020.
  • Efficiency: By using a single scalar regulator, QVRF adds virtually no parameters to the base model. It is approximately 200 times more parameter-efficient than competing variable-rate solutions.
  • BD-Rate Gains: On the Kodak dataset, QVRF achieved a BD-Rate reduction of up to 1.21% compared to training multiple specialized fixed-rate models. This indicates that a single QVRF-enabled model can actually outperform a suite of dedicated models.
  • Continuous Control: The framework enables Continuous Variable Rate (CVR) control, allowing users to smoothly adjust quality levels rather than being restricted to discrete, predefined steps.

Conclusion

QVRF provides a robust and efficient solution to the variable-rate problem in LIC. By focusing on quantization regulation and maintaining the stability of probability modeling, it achieves state-of-the-art performance with minimal overhead. While future work may extend this framework to non-VAE architectures like Vision Transformers or diffusion models, QVRF currently stands as a highly practical advancement for deploying learned compression in real-world applications.

Summary updated

BibTeX
@inproceedings{tong2023qvrf,
  author = {Kedeng Tong and Yaojun Wu and Yue Li and Kai Zhang and Li Zhang and Xin Jin},
  title = {{QVRF: A Quantization-error-aware Variable Rate Framework for Learned Image Compression}},
  booktitle = {ICIP},
  year = {2023},
  doi = {10.1109/icip49359.2023.10222717},
}
Figure