Skip to main content
QUICK REVIEW

[Paper Review] Non-local Attention Optimized Deep Image Compression

Haojie Liu, Tong Chen|arXiv (Cornell University)|Apr 22, 2019
Advanced Data Compression TechniquesComputer Science26 references75 citations
TL;DR

Introduces a non-local attention framework (NLAIC) for variational autoencoder-based image compression, jointly modeling hyperpriors and latent features with non-local attention to improve entropy coding and bit allocation; achieves state-of-the-art results on Kodak for MS-SSIM and PSNR.

ABSTRACT

This paper proposes a novel Non-Local Attention Optimized Deep Image Compression (NLAIC) framework, which is built on top of the popular variational auto-encoder (VAE) structure. Our NLAIC framework embeds non-local operations in the encoders and decoders for both image and latent feature probability information (known as hyperprior) to capture both local and global correlations, and apply attention mechanism to generate masks that are used to weigh the features for the image and hyperprior, which implicitly adapt bit allocation for different features based on their importance. Furthermore, both hyperpriors and spatial-channel neighbors of the latent features are used to improve entropy coding. The proposed model outperforms the existing methods on Kodak dataset, including learned (e.g., Balle2019, Balle2018) and conventional (e.g., BPG, JPEG2000, JPEG) image compression methods, for both PSNR and MS-SSIM distortion metrics.

Motivation & Objective

  • Motivate improved image compression by capturing local and global correlations in both image and latent feature domains.
  • Develop a VAE-based architecture that embeds non-local attention to generate implicit importance masks for adaptive bit allocation.
  • Enhance entropy modeling by using hyperpriors and spatial-channel context from latent features.
  • Demonstrate state-of-the-art rate-distortion performance against learned and traditional codecs on standard benchmarks.

Proposed method

  • Embed non-local attention modules (NLAM) into main and hyperprior encoders/decoders to capture local and global pixel/feature correlations.
  • Generate attention masks via a cascade of non-local modules and residual blocks to enable implicit feature importance without signaling overhead.
  • Use a one-layer masked 3D CNN to model conditional statistics from spatial-channel neighbors as well as hyperpriors for entropy coding.
  • Provide two variants: NLAIC baseline (hyperpriors only) and NLAIC joint (hyperpriors plus autoregressive neighbors for context modeling).
  • Train end-to-end with rate-distortion optimization targeting MS-SSIM or MSE losses across a range of bitrates.

Experimental results

Research questions

  • RQ1Can non-local attention improve latent representation and entropy coding efficiency in learned image compression?
  • RQ2Does joint context modeling (hyperpriors plus autoregressive neighbors) outperform hyperpriors-only context modeling in rate-distortion?
  • RQ3What is the impact of attention masks on bit allocation and perceptual quality across distortions (MS-SSIM and PSNR)?
  • RQ4How does NLAIC compare to JPEG, JPEG2000, BPG and other learned codecs on standard benchmarks?

Key findings

  • NLAIC with joint context modeling achieves state-of-the-art rate-distortion performance on Kodak for both MS-SSIM and PSNR.
  • Joint model reduces BD-Rate versus JPEG by 64.39% for JPEG420 and 12.26% for BPG444 (average results reported in the paper).
  • Ablation studies show removing NLAM components degrades PSNR; maintaining NLAM masks in main encoders/decoders yields best performance.
  • NLAIC baseline outperforms several existing methods, with NLAIC joint providing larger performance gains.
  • Hyperpriors contribute to compression efficiency, with their relative bit contribution varying by target bitrate and loss function.
  • The approach achieves better subjective quality on BSD500 and competitive objective metrics compared to baselines.

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.