Variable Rate Image Compression Method with Dead-zone Quantizer

Jing Zhou, Akira Nakagawa, Keizo Kato, Sihan Wen, Kimihiko Kazui, Zhiming TanWorkshops @ CVPR 2020

Abstract

Deep learning based image compression methods have achieved superior performance compared with transform based conventional codec. With end-to-end Rate-Distortion Optimization (RDO) in the codec, compression model is optimized with Lagrange multiplier $\lambda$. For conventional codec, signal is decorrelated with orthonormal transformation, and uniform quantizer is introduced. We propose a variable rate image compression method with dead-zone quantizer. Firstly, the autoencoder network is trained with RaDOGAGA framework, which can make the latents isometric to the metric space, such as SSIM and MSE. Then the conventional dead-zone quantization method with arbitrary step size is used in the common trained network to provide the flexible rate control. With dead-zone quantizer, the experimental results show that our method performs comparably with independently optimized models within a wide range of bitrate.

Introduction

In traditional image compression standards like JPEG, users can adjust the file size versus quality tradeoff through a simple quality setting. However, modern neural codecs typically require training separate models for each desired quality level, as they are optimized using a specific Lagrange multiplier ($\lambda$) to balance rate and distortion. This approach is computationally expensive and impractical for storage-constrained edge devices. This paper introduces a method to achieve variable-rate compression using a single deep-learning model by bridging the gap between traditional signal processing and neural architectures.

Methodology

The proposed method relies on two core components to enable flexible rate control without retraining:

1. RaDOGAGA Framework

The researchers utilize the RaDOGAGA training regime to ensure the autoencoder's latent space is orthonormal and isometric to the target metric (e.g., MSE or MS-SSIM). This forces the neural network to behave like a traditional mathematical transform, where changes in the compressed representation have a predictable, linear impact on the reconstructed image quality.

2. Dead-zone Quantizer

Instead of standard rounding, a dead-zone quantizer is implemented. This quantizer, common in traditional codecs like H.264, features a wider range around zero that maps to zero, effectively exploiting data sparsity. By adjusting the quantization step size ($Q$) during inference, the model can achieve nearly continuous rate control using a single set of trained weights.

Visualization of the dead-zone quantization process mapping latent values y to quantized values y_enc and reconstructed values y_hat.

Experimental Results

The model was trained on over 6,000 images from CLIC, DIV2K, and Flickr datasets and evaluated on the standard Kodak dataset.

Rate-Distortion Performance

Experimental results demonstrate that a single model using this method performs comparably to a suite of independently optimized models (the standard Ballé 2017 benchmark) across a wide range of bitrates. The flexibility of the scalar $Q$ allows for fine-grained rate control that is not possible with fixed-$\lambda$ models.

Extracted figure from page 4 of Variable Rate Image Compression Method with Dead-zone Quantizer

Visual Quality

Qualitatively, the model preserves fine details like skin texture and eyelashes. At very high compression levels, it tends to introduce "mosquito noise"—a characteristic similar to traditional JPEG artifacts—rather than the excessive smoothing often seen in other neural codecs.

Conclusion

By enforcing an isometric latent space, this research demonstrates that traditional quantization techniques can be successfully applied to state-of-the-art AI models. While the current implementation uses a simple one-layer architecture, future work will explore scaling this concept to more complex multi-layer and hyperprior models to further improve performance and mitigate low-bitrate artifacts.

Summary updated

BibTeX
@inproceedings{zhou2020variable,
  author = {Jing Zhou and Akira Nakagawa and Keizo Kato and Sihan Wen and Kimihiko Kazui and Zhiming Tan},
  title = {{Variable Rate Image Compression Method with Dead-zone Quantizer}},
  booktitle = {Workshops @ CVPR},
  year = {2020},
  url = {https://openreview.net/forum?id=cJUGeGtWXe},
}
Figure