Autoencoder Based Image Compression: Can the Learning be Quantization Independent?

Thierry Dumas, Aline Roumy, Christine GuillemotICASSP 2018

Abstract

This paper explores the problem of learning transforms for image compression via autoencoders. Usually, the rate-distortion performances of image compression are tuned by varying the quantization step size. In the case of autoencoders, this in principle would require learning one transform per rate-distortion point at a given quantization step size. Here, we show that comparable performances can be obtained with a unique learned transform. The different rate-distortion points are then reached by varying the quantization step size at test time. This approach saves a lot of training time.

Introduction

In traditional image compression standards like JPEG, the underlying mathematical transform (e.g., Discrete Cosine Transform) is independent of the quantization level chosen at runtime. This allows a single algorithm to support a wide range of quality settings. Conversely, state-of-the-art Deep Learning-based compression models are typically optimized for a specific rate-distortion (R-D) point. To support multiple bitrates, researchers often must train and deploy multiple separate neural networks, which is computationally expensive and memory-intensive. This research investigates whether a single autoencoder can be trained to remain efficient across varying quantization levels.

Proposed Method

The authors propose a framework to jointly learn the autoencoder's transform weights and the quantization step sizes ($\delta_i$) for each feature map.

Architecture of the proposed autoencoder-based compression system.

The architecture is a fully convolutional autoencoder utilizing Generalized Divisive Normalization (GDN), a non-linear activation function designed to Gaussianize image statistics. To overcome the non-differentiability of the quantization function during training, uniform noise is added to simulate quantization effects. Crucially, the quantization step sizes are treated as learnable parameters. At test time, a scaling factor $\beta$ is applied to these learned steps, allowing the model to traverse the R-D curve without retraining.

Experimental Results

The model was trained on 24,000 luminance images from ImageNet and evaluated on the Kodak suite.

Rate-distortion performance (mean PSNR vs. mean rate) comparing the proposed unique learning approach against specialized models and standards.

As shown in the R-D curves, the "unique learning" approach (one model for all rates) achieves parity with the "one learning per rate" approach. Furthermore, the proposed model consistently outperforms JPEG2000 in terms of Peak Signal-to-Noise Ratio (PSNR). While it remains competitive with H.265 (HEVC) intra-coding, the primary advantage is the drastic reduction in training overhead—training one flexible model is significantly more efficient than training a suite of specialized ones.

Statistical analysis of the feature maps revealed that nearly all follow a Laplace distribution. This heavy-tailed nature common in natural image statistics explains why a simple uniform quantizer remains effective even when the step size is scaled at test time.

Conclusion

This work demonstrates that autoencoder-based compression can be decoupled from specific quantization levels. By learning a robust transform and adaptive step sizes, a single model can provide high-quality compression across a range of bitrates. Future work includes extending this framework to color (RGB) images and investigating architectural improvements to further close the gap with the latest video coding standards like H.265.

Summary updated

BibTeX
@inproceedings{dumas2018autoencoder,
  author = {Thierry Dumas and Aline Roumy and Christine Guillemot},
  title = {{Autoencoder Based Image Compression: Can the Learning be Quantization Independent?}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2018},
}
Figure