Learned Image Compression With Discretized Gaussian Mixture Likelihoods and Attention Modules

Zhengxue Cheng, Heming Sun, Masaru Takeuchi, Jiro KattoCVPR 2020

Abstract

This paper introduces a state-of-the-art learned image compression framework that utilizes Discretized Gaussian Mixture Likelihoods (GMM) and Attention Modules. It is the first deep-learning-based approach to achieve PSNR performance comparable to the latest traditional standard, Versatile Video Coding (VVC), while delivering superior visual quality when optimized for perceptual metrics.

Introduction

Traditional image compression standards, such as JPEG, HEVC, and VVC, rely on hand-crafted modules developed over many years. While "learned" compression using neural networks has advanced rapidly, a performance gap has persisted—particularly in the widely used Peak Signal-to-Noise Ratio (PSNR) metric—when compared to reigning standards like VVC.

The authors identify the entropy model as a primary bottleneck. In compression, the entropy model estimates the probability distribution of compressed latent codes to determine storage efficiency. Inaccurate models leave "spatial redundancy" unexploited. Existing learned models often assume a simple single Gaussian distribution, which is too rigid to capture the complex statistics of real-world images.

Methodology

The proposed framework introduces two primary innovations to the standard variational autoencoder (VAE) architecture:

1. Discretized Gaussian Mixture Likelihoods (GMM)

Instead of modeling latent code distributions as a single Gaussian, the authors employ a mixture of $K$ Gaussians ($K=3$). This provides a flexible and accurate fit for the data. By parameterizing the weights, means, and variances of multiple Gaussians, the model captures multi-modal distributions that a single Gaussian would miss.

2. Simplified Attention Modules

To help the network focus on complex regions (e.g., textures) versus simple regions (e.g., clear skies), the authors integrated attention mechanisms. They simplified existing designs by removing computationally expensive "non-local blocks," making the model faster to train while significantly boosting rate-distortion performance.

The overall architecture builds upon the "Joint Autoregressive and Hyperprior" model, utilizing both a side-information hyperprior and a context-based autoregressive model to predict pixel probabilities.

Experimental Results

The model was trained on a subset of the ImageNet database and evaluated on the Kodak Lossless Image Database and the CLIC Professional Validation Dataset.

Performance and Visual Quality

The method is among the first to reach parity with VTM 5.2 (VVC) in terms of PSNR on the Kodak dataset. When optimized for MS-SSIM (a metric correlating better with human perception), the proposed method significantly outperforms VVC, HEVC, and previous learned models, producing images with fewer artifacts and more natural textures.

Qualitative comparison of the proposed method against traditional standards. The proposed method (MS-SSIM) preserves more detail with fewer artifacts at similar bitrates.

Key Insights

  • Redundancy Whitening: Visualization of normalized values shows that the GMM approach effectively "whitens" remaining redundancy, proving it captures more information than simpler models.
  • Flexibility: GMM allows the model to pick the most probable values for a pixel, mimicking advanced traditional entropy coders like CABAC within a continuous, learnable framework.
  • Efficiency: Simplifying the attention module highlights that deep residual blocks already capture large receptive fields, making "non-local" components redundant for compression tasks.

Limitations and Future Work

Despite its performance, the combination of an autoregressive model and a GMM entropy model remains computationally heavy. Autoregressive models are difficult to parallelize, leading to slower decoding compared to traditional methods. Additionally, training required clipping latent code ranges for numerical stability. Future work may focus on more sophisticated entropy models or more efficient architectures to further surpass VVC across all bitrates and resolutions.

Summary updated

BibTeX
@inproceedings{cheng2020learned,
  author = {Zhengxue Cheng and Heming Sun and Masaru Takeuchi and Jiro Katto},
  title = {{Learned Image Compression With Discretized Gaussian Mixture Likelihoods and Attention Modules}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  doi = {10.1109/cvpr42600.2020.00796},
}
Figure