One-To-Many Network for Visually Pleasing Compression Artifacts Reduction

Jun Guo, Hongyang Chao

Abstract

Lossy compression, such as JPEG, introduces undesirable artifacts including blockiness and loss of fine texture. Traditional deep learning approaches treat artifact reduction as a regression problem, minimizing mean squared error ($L_2$ loss). However, due to the many-to-one nature of JPEG quantization, this often results in blurry "averaged" images. We present a "One-to-Many" network that utilizes a generative approach to produce visually pleasing reconstructions. By incorporating perceptual, naturalness, and physics-based JPEG losses, our model restores realistic textures that are often lost in standard deblocking methods.

Introduction

JPEG compression is ubiquitous but comes at the cost of image quality. At low bitrates, images suffer from blocky edges and ringing artifacts. Most existing solutions attempt a "one-to-one" mapping from compressed to original images using pixel-wise error minimization. The fundamental flaw in this approach is that multiple original pixel values can map to the same compressed value. Minimizing $L_2$ loss forces the network to output the mean of all possible originals, which manifests as blurring.

Methodology

The proposed One-to-Many Network shifts the paradigm from regression to generation.

Architecture

The network consists of two primary components:

  1. Proposal Component: A deep CNN with residual units that takes a compressed image and a random noise variable $Z$. The noise allows the network to sample from a distribution of possible artifact-free candidates.
  2. Measurement Component: A composite loss function evaluates the generated candidates using:
  3. Perceptual Loss: Ensures semantic similarity using VGGNet features.
  4. Naturalness Loss: A GAN-style discriminator pushes the model toward realistic textures.
  5. JPEG Loss: A novel constraint using the JPEG quantization table to ensure generated DCT coefficients remain consistent with the compressed input.

Shift-and-Average Strategy

To mitigate "grid-like" artifacts common in deconvolutional layers, the authors implement a "shift-and-average" strategy during up-sampling, which averages multiple shifted versions of the output to produce a smoother, more natural result.

Experimental Setup

The model was trained on the ImageNet dataset and evaluated on standard benchmarks including BSDS500 and Set14. Images were compressed using the standard MATLAB JPEG encoder at quality settings of 5, 10, and 20 to test the model's performance under severe artifact conditions.

Key Insights: The PSNR Paradox

A critical finding of this research is the disconnect between Peak Signal-to-Noise Ratio (PSNR) and human visual perception. While $L_2$-optimized models achieve higher PSNR scores, they produce unnaturally smooth results. The One-to-Many model, despite having lower PSNR, restores complex textures like fur or grass, making the images significantly more "vivid" and appealing to the human eye.

Comparison between L2-optimized baseline (left) and the proposed One-to-Many network (right). The generative approach restores fine textures lost in the blurry baseline.

Results

Quantitatively, a baseline version of the network ($L_2$ only) outperformed state-of-the-art models like ARCNN and TNRD in PSNR. Qualitatively, the full One-to-Many model demonstrated a superior ability to recover fine details—such as the ripples in water or the texture of animal fur—that were completely obliterated in previous reconstructions. The model appears content-aware, adding texture where appropriate (e.g., fur) while keeping smooth areas (e.g., sky) clean.

Conclusion and Future Work

While the One-to-Many approach marks a significant step toward visually pleasing image restoration, challenges remain. Currently, separate models are required for different JPEG quality levels. Future work will focus on scaling the approach to handle various quality levels within a single model and improving computational efficiency for real-time applications. Additionally, the field still lacks a perfect objective metric for "human favorability," necessitating continued reliance on qualitative visual comparisons.

Summary updated

BibTeX
@inproceedings{guo2017one,
  author = {Jun Guo and Hongyang Chao},
  title = {{One-To-Many Network for Visually Pleasing Compression Artifacts Reduction}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2017},
  doi = {10.1109/cvpr.2017.517},
}
Figure