Skip to main content
QUICK REVIEW

[Paper Review] Checkerboard Context Model for Efficient Learned Image Compression

Dailan He, Yaoyan Zheng|arXiv (Cornell University)|Mar 29, 2021
Advanced Data Compression TechniquesComputer Science32 references16 citations
TL;DR

This paper proposes a parallelizable checkerboard context model (CCM) for learned image compression that enables efficient, high-speed decoding by reorganizing the decoding order into two passes. Unlike conventional autoregressive context models that require strict serial processing, CCM uses a checkerboard-shaped convolution to allow parallel computation of context features, achieving over 40x speedup with negligible loss in rate-distortion performance compared to state-of-the-art models.

ABSTRACT

For learned image compression, the autoregressive context model is proved effective in improving the rate-distortion (RD) performance. Because it helps remove spatial redundancies among latent representations. However, the decoding process must be done in a strict scan order, which breaks the parallelization. We propose a parallelizable checkerboard context model (CCM) to solve the problem. Our two-pass checkerboard context calculation eliminates such limitations on spatial locations by re-organizing the decoding order. Speeding up the decoding process more than 40 times in our experiments, it achieves significantly improved computational efficiency with almost the same rate-distortion performance. To the best of our knowledge, this is the first exploration on parallelization-friendly spatial context model for learned image compression.

Motivation & Objective

  • To address the computational inefficiency of autoregressive context models in learned image compression, which rely on strict serial decoding and hinder real-time deployment.
  • To develop a context modeling approach that maintains high rate-distortion performance while enabling full parallelization during decoding.
  • To provide a drop-in replacement for existing serial context models without modifying model architecture or capacity.
  • To enable practical deployment of high-performance learned image codecs by overcoming the decoding bottleneck of autoregressive context modeling.

Proposed method

  • Proposes a checkerboard-shaped convolution that divides latent features into two interleaved sets (anchors and non-anchors) to enable parallel context computation.
  • Designs a two-pass decoding scheme: first decode all anchor locations, then compute context for all non-anchor locations in parallel.
  • Uses masked convolutions to ensure causality by only attending to already-decoded (visible) neighbors during context modeling.
  • Applies the same context model structure as standard autoregressive models but reorders the computation to eliminate sequential dependencies.
  • Maintains compatibility with existing learned image compression frameworks by replacing only the context modeling module.
  • Employs standard entropy coding and hyperprior modeling, with no changes to the main autoencoder or hyperprior components.

Experimental results

Research questions

  • RQ1Can a spatial context model for learned image compression be made fully parallelizable without sacrificing rate-distortion performance?
  • RQ2What decoding strategy enables efficient parallel computation of context features in autoregressive models?
  • RQ3How much speedup can be achieved in decoding by reordering the computation of latent representations?
  • RQ4Is the proposed method a viable drop-in replacement for existing serial context models in state-of-the-art compression architectures?

Key findings

  • The proposed checkerboard context model achieves over 40x speedup in decoding on parallel hardware (Nvidia TITAN XP) compared to conventional serial context models.
  • The model maintains nearly identical rate-distortion performance, with only a marginal drop in PSNR and MS-SSIM compared to the original serial model.
  • On the Kodak dataset, the CCM-based model outperforms the context-free hyperprior baseline by 17.0% and 27.4% in BDBR for Minnen2018 and Cheng2020, respectively.
  • The method is robust across datasets, with consistent performance gains on both Kodak and Tecnick datasets, confirming its generalization capability.
  • The two-pass decoding scheme successfully decouples context computation, enabling full parallelization while preserving causality and model accuracy.
  • The approach is compatible with existing SOTA architectures and can be deployed as a plug-in replacement without architectural changes.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.