Source-linked AI summary

An End-to-End Compression Framework Based on Convolutional Neural Networks

Feng Jiang, Wen Tao, Shaohui Liu, Jie Ren, Xun Guo, Debin Zhao

arXiv:1708.00838v1cs.CV

TL;DR

Image compression needs high-quality reconstruction at low bit rates, but existing post-processing approaches can be computationally expensive and deep-learning methods may lack codec compatibility. The paper integrates ComCNN, an image codec, and RecCNN into an end-to-end framework trained with a unified method, and reports strong gains across JPEG, JPEG2000, and BPG settings.

  • Problem

    Existing post-processing methods can require computationally expensive iterative optimization, while deep-learning compression methods have ignored compatibility with existing image codecs.

    Source: §I · p. 1
  • Method

    ComCNN learns a compact structural representation for image-codec encoding, RecCNN reconstructs the decoded image, and both CNNs are trained simultaneously in an end-to-end pipeline.

    Source: §I · pp. 1–2, B. Learning Algorithm · p. 4
  • Results

    The framework outperforms compared methods; for JPEG2000, it averages 3.06dB, 2.45dB, 1.34dB, and 1.09dB PSNR gains over 0.1–0.4bpp, respectively.

    Source: C. Experimental Results · p. 6
  • Takeaways & Limitations

    The framework combines improved compression performance with compatibility with JPEG, JPEG2000, and BPG, while being faster than most post-processing algorithms.

    Source: §I · p. 2, §V · p. 7

Abstract

from arXiv · show

Deep learning, e.g., convolutional neural networks (CNNs), has achieved great success in image processing and computer vision especially in high level vision applications such as recognition and understanding. However, it is rarely used to solve low-level vision problems such as image compression studied in this paper. Here, we move forward a step and propose a novel compression framework based on CNNs. To achieve high-quality image compression at low bit rates, two CNNs are seamlessly integrated into an end-to-end compression framework. The first CNN, named compact convolutional neural network (ComCNN), learns an optimal compact representation from an input image, which preserves the structural information and is then encoded using an image codec (e.g., JPEG, JPEG2000 or BPG). The second CNN, named reconstruction convolutional neural network (RecCNN), is used to reconstruct the decoded image with high-quality in the decoding end. To make two CNNs effectively collaborate, we develop a unified end-to-end learning algorithm to simultaneously learn ComCNN and RecCNN, which facilitates the accurate reconstruction of the decoded image using RecCNN. Such a design also makes the proposed compression framework compatible with existing image coding standards. Experimental results validate that the proposed compression framework greatly outperforms several compression frameworks that use existing image coding standards with state-of-the-art deblocking or denoising post-processing methods.

I. INTRODUCTION

Existing compression and post-processing methods face practical limitations, while this paper introduces an end-to-end framework that jointly optimizes compact representation, coding, and reconstruction using CNNs.

  • Traditional codecs reduce irrelevance and redundancy by distributing bits among quantized transform coefficients, lowering bits per pixel as compression increases.Source: §I · p. 1
  • Iterative nonlocal and low-rank post-processing methods can improve deblocking but are computationally expensive and difficult to apply in practical applications.Source: §I · p. 1, A. Image Deblocking and Artifacts… · p. 2
  • The proposed framework combines ComCNN, an image codec, and RecCNN to learn a compact structural representation and reconstruct decoded images end to end.Source: §I · pp. 1–2
  • The unified learning algorithm simultaneously trains both CNNs despite the image codec’s nondifferentiable quantization rounding function.Source: §I · pp. 1–2
  • Unlike prior methods that focus only on post-processing, the framework jointly optimizes encoder front-end and decoder back-end processing while remaining compatible with JPEG, JPEG2000, and BPG.Source: A. Image Deblocking and Artifacts… · p. 2, §I · p. 2

B. Image Super-Resolution Based on Deep Learning

Deep learning has been applied to super-resolution and image compression, achieving competitive results, but existing deep-learning compression methods often lack compatibility with established image codecs.

A. Architecture of End-to-End Compression Framework

The framework combines ComCNN, an image codec, and RecCNN in an end-to-end pipeline: ComCNN creates a compact structural representation, while RecCNN enhances the decoded image.

A. Architecture of End-to-End Compression Framework

1) Updating the Parameters θ2 of RecCNN:

The RecCNN update introduces an auxiliary decoded compact representation and optimizes RecCNN using the reconstruction objective.

1) Updating the Parameters θ2 of RecCNN:

2) Updating the Parameters θ1 of ComCNN:

ComCNN parameters are updated through an auxiliary representation and an approximation of the original objective, within an iterative alternating procedure.

2) Updating the Parameters θ1 of ComCNN:

  • Optimizing ComCNN is difficult because the codec operation is inherently nondifferentiable during backpropagation.The method addresses this difficulty by defining an auxiliary variable.Source: 2) Updating the Parameters θ1 of ComCNN · p. 4
  • The auxiliary decoded representation is used as the optimal input of RecCNN in the ComCNN update.The construction relies on a monotonicity assumption concerning RecCNN.Source: 2) Updating the Parameters θ1 of ComCNN · p. 4
  • Because the codec is an encoder, the method derives a practical solution for the auxiliary-variable optimization.The derivation combines the codec property with the stated monotonicity assumption.Source: 2) Updating the Parameters θ1 of ComCNN · p. 5
  • Equation (13) approximates the original objective and is used to train ComCNN instead of the nondifferentiable formulation.The approximation is obtained under a reasonable assumption and accompanying derivations.Source: 2) Updating the Parameters θ1 of ComCNN · p. 5
  • The optimal θ1 and θ2 are obtained by iteratively optimizing their respective objectives in the proposed algorithm.Algorithm 1 initializes the parameters and alternates training of RecCNN and ComCNN.Source: 2) Updating the Parameters θ1 of ComCNN · p. 5

C. Loss Functions

The framework uses mean squared error as the loss function for trained parameters and original images.

C. Loss Functions

  • Mean squared error is used as the loss function for training with original images and trained θ2 parameters.The loss is introduced for the subsequent optimization procedure.Source: C. Loss Functions · p. 5

1) For ComCNN training:

ComCNN training uses a batch-based optimization setup with trainable parameters θ1.

For ComCNN training:

2) For RecCNN training:

RecCNN training uses MSE reconstruction loss and represents reconstruction through a learned residual formulation.

For RecCNN training:

IV. EXPERIMENTS

The experiments compare the proposed framework with standard codecs and post-processing methods using separate training and testing setups.

IV. EXPERIMENTS

  • The framework is compared against JPEG, JPEG 2000, and BPG with state-of-the-art deblocking or denoising methods.Source: §IV · p. 5
  • Training uses 400 images of size 180 × 180, while testing uses 7 images excluded from the training dataset.Source: A. Datasets for Training and Testing · p. 5
  • A total of 204800 patches are sampled from training images and their flip and rotation augmentations.Each image contributes 8 augmentations and 64 patches of size 40×40.Source: A. Datasets for Training and Testing · p. 5

B. Model Initialization

The initialized framework is evaluated at matched bit rates across JPEG, JPEG 2000, BPG, and multiple benchmark datasets, showing gains over comparison methods.

C. Experimental Results

  • At JPEG QF = 5, the framework gains 1.20dB PSNR and 0.0227 SSIM over Zhang’s.Zhang’s is identified as state-of-the-art among the compared methods.Source: C. Experimental Results · p. 6
  • Removing either ComCNN or RecCNN produces worse performance than using both networks collaboratively.The ablation compares RecCNN alone with ComCNN alone plus bicubic interpolation.Source: C. Experimental Results · p. 6
  • Across 0.1–0.4bpp, the framework gains average PSNR values of 3.06dB, 2.45dB, 1.34dB, and 1.09dB over JPEG2000.The corresponding average SSIM gains are 0.1047, 0.0709, 0.0525, and 0.0435.Source: C. Experimental Results · p. 6
  • Against BPG, the framework gains average 0.99dB PSNR and 0.0218 SSIM while saving 5.22% bit-rates.The paper notes that improvements over BPG are less obvious because BPG is already a strong compression method.Source: C. Experimental Results · p. 7
  • On Set5, Set14, LIVE1, and General-100, the proposed compression performance exceeds JPEG and JPEG2000 by a larger margin.Source: C. Experimental Results · p. 7

D. Running Time

The proposed framework is substantially faster than other post-processing methods, with measured CPU and GPU runtimes for 256 × 256 grayscale images.

Runtime comparison

  • The proposed compression framework runs faster than other post-processing methods.GPU runtimes could not be tested for all competing methods.Source: D. Running Time · p. 7

Overall outcome

  • The framework’s conclusion reports state-of-the-art performance together with substantially faster processing than most post-processing algorithms.This summarizes the paper’s reported quality and efficiency outcome without adding a new benchmark.Source: §V · p. 7
Loading 1708.00838v1…