Gated Context Model with Embedded Priors for Deep Image Compression

Haojie Liu, Tong Chen, Peiyao Guo, Qiu Shen, Zhan MaarXiv 2019 · DOI

Abstract

A deep image compression scheme is proposed in this paper, offering state-of-the-art compression efficiency against traditional standards like JPEG, JPEG2000, BPG, and popular learning-based methodologies. This is achieved by a novel conditional probability model with embedded priors that accurately approximates the entropy rate for rate-distortion optimization. The model utilizes three separable stacks to eliminate blind spots in the receptive field, improving probability prediction and reducing computation. These embedded priors are further utilized in image reconstruction by fusing them with latent features through a proposed Information Compensation Network (ICN). Residual learning with Generalized Divisive Normalization (GDN) based activation is employed in the encoder and decoder for fast convergence and efficient performance. Evaluation using rate-distortion criteria (MS-SSIM) and subjective assessments demonstrates the superior performance of the proposed method.

Introduction

In lossy image compression, the primary objective is to minimize the bit rate (rate) while maximizing the quality of the reconstructed image (distortion). Modern deep learning approaches transform images into latent representations, where the challenge lies in accurate entropy modeling—predicting the probability distribution of these latents to compress them efficiently into bits.

Existing methods often utilize hyperpriors (side information) or context models to predict pixel values based on neighbors. However, standard 3D context models, such as PixelCNN, suffer from "blind spots" in their receptive fields due to the nature of masked convolutions. Furthermore, side information is typically restricted to entropy estimation, neglecting its potential to aid in the actual reconstruction of the image.

Methodology

The proposed architecture integrates four primary components to address these challenges:

  1. Encoder and Decoder ($E, D$): These are constructed using Residual Networks (ResNets) paired with Generalized Divisive Normalization (GDN). GDN acts as a non-linear activation function that is particularly effective at Gaussianizing image statistics, leading to better compression.
  2. Gated 3D Context Model ($P$): To eliminate the "blind spot" issue, the authors decompose the 3D convolution kernel into three separable stacks: channel, vertical, and horizontal. This ensures the model captures the entire causal neighborhood of a pixel.
  3. Hyperprior ($h_e, h_d$): A secondary autoencoder captures spatial dependencies within the latent features to provide side information for entropy modeling.
  4. Information Compensation Network (ICN, $I$): A key innovation where the hyperprior information is fused back into the main decoder path. This "embedded prior" helps reconstruct fine details and textures that might otherwise be lost.
The overall architecture of the proposed deep image compression framework, including the Encoder (E), Decoder (D), Gated Context Model (P), and Information Compensation Network (I).

Experimental Setup

The model was trained on the COCO and CLIC datasets using 256x256 patches. Performance was evaluated on the Kodak Lossless True Color Image Suite, a standard benchmark in image compression research. In addition to quantitative metrics, a subjective study involving 43 human volunteers was conducted on 8 images from the Kodak set to assess perceptual quality.

Key Results and Discussion

The proposed framework demonstrates significant improvements over both traditional codecs and existing learning-based models.

  • Rate-Distortion Performance: The model consistently achieves higher MS-SSIM (Multi-Scale Structural Similarity) at lower bitrates compared to BPG, JPEG2000, and previous state-of-the-art neural models. The gains are particularly pronounced in the 0.1 to 0.6 bits-per-pixel (bpp) range.
  • Perceptual Quality: Subjective tests indicate a strong preference for the proposed method at low bitrates (≤ 0.5 bpp). While traditional standards like BPG often exhibit blocky or blurry artifacts at high compression ratios, this model maintains sharper edges and more natural textures.
  • Training Efficiency: The combination of residual connections and GDN allowed the network to converge approximately 4x faster than standard architectures, facilitating the training of these complex models.
Rate-distortion curves comparing the proposed method (Ours) against traditional standards and other learning-based methods using MS-SSIM on the Kodak dataset.

Conclusion

This research presents a robust framework for neural image compression that effectively utilizes gated context modeling and embedded priors. By eliminating blind spots in entropy estimation and repurposing side information for image reconstruction via the ICN, the model achieves state-of-the-art performance. Future work will explore extending these principles to video compression, where the "blind-spot-free" architecture could significantly enhance temporal prior modeling.

Summary updated

BibTeX
@misc{liu2019gated,
  author = {Haojie Liu and Tong Chen and Peiyao Guo and Qiu Shen and Zhan Ma},
  title = {{Gated Context Model with Embedded Priors for Deep Image Compression}},
  year = {2019},
  eprint = {1902.10480},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1902.10480},
}
Figure