Learned Multi-Resolution Variable-Rate Image Compression with Octave-based Residual Blocks

Mohammad Akbari, Jie Liang, Jingning HanOpenReview 2022

TL;DR

This paper introduces a novel deep learning framework for image compression that can adapt to various bitrates with a single model, overcoming the complexity of training multiple models. It achieves this by employing generalized octave convolutions and a new variable-rate objective function, outperforming existing methods in terms of visual quality and compression efficiency.

What Problem Does This Paper Address?

Traditional image compression methods often rely on hand-crafted components and struggle to adapt to different quality requirements efficiently. While deep learning has shown promise in surpassing these traditional codecs, a significant challenge has been the need to train separate models for each desired bitrate. This leads to increased implementation complexity and resource demands. This paper aims to address this by developing a single deep learning model capable of achieving variable compression rates, thereby offering a more flexible and efficient solution.

Methods

The core of the proposed framework lies in its novel network architecture and training strategy. Key techniques include:

  • Generalized Octave Convolutions (GoConv) and Transposed-Convolutions (GoTConv): These are central to the encoder and decoder. They allow for processing information at multiple resolutions simultaneously, effectively factorizing feature maps into high-resolution (HR) and low-resolution (LR) components. This multi-resolution approach helps reduce spatial redundancy.
  • Octave-based Residual Blocks (GoRes/GoTRes): Novel residual blocks are introduced, incorporating GoConv/GoTConv layers with built-in Generalized Divisive Normalization (GDN) and Inverse GDN (IGDN) layers. These blocks are designed to improve performance and convergence by allowing separate shortcut connections for HR and LR feature maps.
  • Stochastic Rounding-Based Scalar Quantization: This technique is used to quantize the latent representations. Stochastic rounding is favored over traditional rounding for its ability to preserve gradient information, leading to better convergence and performance, especially at lower bitrates.
  • Enhancement Layer for Residual Coding: To further boost compression performance, the residual between the original image and the decoder's reconstruction is encoded using the BPG codec. This acts as an enhancement layer, improving quality without requiring a complete re-training of the main model.
  • Variable-Rate Objective Function: A new objective function is introduced to enable a single model to learn multi-rate image features and operate at different bitrates. This function jointly optimizes for both L2 loss and MS-SSIM loss.

Datasets

  • Training: The ADE20K dataset was used for training the model. Images with a minimum resolution of 512 pixels were selected, totaling 9272 images. For training, all images were rescaled to a fixed size of 256x256.
  • Evaluation: The Kodak image set was used for evaluating the performance of the proposed method.

Key Insights and Ideas

  • Octave Convolutions for Multi-Resolution Compression: The paper demonstrates that by factorizing features into HR and LR components using octave convolutions, spatial redundancy can be effectively reduced, leading to improved compression.
  • GDN/IGDN for Natural Image Statistics: The use of GDN and IGDN layers within the residual blocks is shown to be more effective than standard ReLU activations for capturing natural image statistics, leading to better performance.
  • Stochastic Rounding for Efficient Quantization: Stochastic rounding proves to be a superior quantization strategy for deep learning-based compression, enabling better gradient propagation and thus improved model training and performance.
  • Residual Coding as an Effective Enhancement: Encoding the residual image using a traditional codec like BPG provides a significant quality boost, especially at higher bitrates, without the need for extensive re-training.
  • Single Model for Variable Rates: The development of a unified variable-rate objective function is a crucial step towards more practical and user-friendly deep learning compression systems.

Key Results

  • The proposed method outperforms standard codecs like JPEG2000 and BPG (both YUV4:4:4 and YUV4:2:0) in terms of MS-SSIM, particularly at lower bitrates.
  • In terms of PSNR (RGB), the proposed method's results are slightly lower than BPG (YUV4:4:4) but comparable to BPG (YUV4:2:0).
  • When evaluated on YUV format, the proposed method shows a slight improvement over BPG (YUV4:2:0) in PSNR.
  • The method achieves a bitrate saving of approximately 16% and a PSNR gain of about 0.77dB compared to JPEG2000.
  • Compared to BPG (YUV4:2:0), the proposed method offers a bitrate saving of about 2.5% and a PSNR gain of approximately 0.12dB.
  • The residual coding enhancement layer contributes significantly to the rate-distortion performance, especially at higher bitrates (e.g., accounting for 76% of bits at the highest rate tested).
  • The average processing time for the deep encoder and decoder on a TITAN X Pascal GPU is approximately 65ms and 51ms, respectively, which is significantly faster than older methods like Toderici2017 [6].

Limitations and Future Work

  • PSNR vs. MS-SSIM: While the method excels in MS-SSIM, its PSNR performance is not as high as BPG444 or VVC. The authors suggest that further gains could be achieved by optimizing multiple networks for different bitrates independently.
  • Rate Allocation Optimization: The paper mentions that better results could be obtained by performing more sophisticated rate allocation optimizations between the base layer and the enhancement layer. This is identified as a future research direction.
  • Complexity: While faster than some previous learning-based methods, the computational complexity of deep learning models can still be a consideration for real-time applications on resource-constrained devices.

Summary updated

BibTeX
@misc{akbari2022learned,
  author = {Mohammad Akbari and Jie Liang and Jingning Han},
  title = {{Learned Multi-Resolution Variable-Rate Image Compression with Octave-based Residual Blocks}},
  year = {2022},
  url = {https://openreview.net/forum?id=LyLQTl4w3w},
  howpublished = {OpenReview},
}
Figure