Skip to main content
QUICK REVIEW

[Paper Review] Learning a Virtual Codec Based on Deep Convolutional Neural Network to Compress Image

Lijun Zhao, Huihui Bai|arXiv (Cornell University)|Dec 16, 2017
Advanced Data Compression TechniquesComputer Science7 references7 citations
TL;DR

This paper proposes an end-to-end deep learning framework for image compression that integrates a standard codec (e.g., JPEG) with a feature description network and a post-processing network, using a learnable virtual codec to enable gradient back-propagation through the non-differentiable quantization step. The method achieves state-of-the-art performance at very low bit-rates, significantly reducing compression artifacts while maintaining compatibility with existing codecs.

ABSTRACT

Although deep convolutional neural network has been proved to efficiently eliminate coding artifacts caused by the coarse quantization of traditional codec, it's difficult to train any neural network in front of the encoder for gradient's back-propagation. In this paper, we propose an end-to-end image compression framework based on convolutional neural network to resolve the problem of non-differentiability of the quantization function in the standard codec. First, the feature description neural network is used to get a valid description in the low-dimension space with respect to the ground-truth image so that the amount of image data is greatly reduced for storage or transmission. After image's valid description, standard image codec such as JPEG is leveraged to further compress image, which leads to image's great distortion and compression artifacts, especially blocking artifacts, detail missing, blurring, and ringing artifacts. Then, we use a post-processing neural network to remove these artifacts. Due to the challenge of directly learning a non-linear function for a standard codec based on convolutional neural network, we propose to learn a virtual codec neural network to approximate the projection from the valid description image to the post-processed compressed image, so that the gradient could be efficiently back-propagated from the post-processing neural network to the feature description neural network during training. Meanwhile, an advanced learning algorithm is proposed to train our deep neural networks for compression. Obviously, the priority of the proposed method is compatible with standard existing codecs and our learning strategy can be easily extended into these codecs based on convolutional neural network. Experimental results have demonstrated the advances of the proposed method as compared to several state-of-the-art approaches, especially at very low bit-rate.

Motivation & Objective

  • To address the non-differentiability of quantization in standard image codecs when integrating deep neural networks.
  • To enable end-to-end training of a feature description network followed by a standard codec and a post-processing network.
  • To improve image reconstruction quality at very low bit-rates by reducing blocking, blurring, and ringing artifacts.
  • To maintain compatibility with existing standard codecs like JPEG while enhancing compression efficiency.
  • To develop a training strategy that enables effective back-propagation of gradients through the non-differentiable codec stage.

Proposed method

  • A feature description neural network (FDNN) compresses the original image into a low-dimensional representation to reduce data size.
  • The low-dimensional representation is passed through a standard codec (e.g., JPEG) to introduce controlled distortion and artifacts.
  • A post-processing neural network (ComCNN) restores the image by removing compression artifacts such as blocking and blurring.
  • A virtual codec neural network is introduced to approximate the mapping from the feature description to the compressed image, enabling gradient flow from the post-processor back to the FDNN.
  • The framework is trained using a joint optimization strategy that decomposes the overall problem into three sub-problems: FDNN, virtual codec, and ComCNN training.
  • The virtual codec network acts as a surrogate for the standard codec, allowing back-propagation through the non-differentiable quantization step.

Experimental results

Research questions

  • RQ1Can a deep learning framework be trained end-to-end when a non-differentiable standard codec is placed between the feature encoder and the post-processor?
  • RQ2How can gradient information be effectively back-propagated through the quantization stage of a standard codec in a deep learning compression pipeline?
  • RQ3To what extent can a learned virtual codec improve artifact removal and reconstruction quality at very low bit-rates?
  • RQ4How does the proposed method compare to state-of-the-art approaches in terms of PSNR and SSIM, especially under extreme compression?
  • RQ5Does the choice of feature representation (FDNN output) significantly affect the distribution of compression artifacts and subsequent restoration quality?

Key findings

  • The proposed method achieves the highest PSNR and SSIM scores among all compared methods, especially at very low bit-rates (e.g., bpp ≤ 0.25).
  • The method significantly outperforms Jiang et al. [35] in both objective metrics and visual quality, particularly in preserving fine details such as hair and eye contours.
  • The virtual codec network enables effective back-propagation of gradients from the post-processor to the feature description network, which is critical for optimal training.
  • The framework maintains full compatibility with standard codecs like JPEG, allowing integration into existing compression pipelines without modification.
  • Visual comparisons show that the proposed method reduces blocking and blurring artifacts more effectively than Foi [14], BM3D [22], DicTV [17], and CONCOLOR [18].
  • The difference in artifact distribution between the proposed method and Jiang et al. [35] is attributed to the distinct feature representations learned by the FDNN, leading to better reconstruction at the decoder.

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.