Skip to main content
QUICK REVIEW

[Paper Review] Training a Better Loss Function for Image Restoration.

Aamir Mustafa, Aliaksei Mikhailiuk|arXiv (Cornell University)|Mar 26, 2021
Advanced Image Processing TechniquesComputer Science5 citations
TL;DR

This paper proposes a lightweight, single-image-trained Multi-Scale Discriminative Feature (MDF) loss for image restoration, replacing computationally heavy pre-trained networks like VGG or LPIPS. By training discriminators to identify distortions specific to a restoration method, the MDF loss achieves state-of-the-art performance in super-resolution, denoising, and JPEG artifact removal with reduced complexity and no need for external pre-training.

ABSTRACT

Central to the application of neural networks in image restoration problems, such as single image super resolution, is the choice of a loss function that encourages natural and perceptually pleasing results. A popular choice for a loss function is a pre-trained network, such as VGG and LPIPS, which is used as a feature extractor for computing the difference between restored and reference images. However, such an approach has multiple drawbacks: it is computationally expensive, requires regularization and hyper-parameter tuning, and involves a large network trained on an unrelated task. In this work, we explore the question of what makes a good loss function for an image restoration task. First, we observe that a single natural image is sufficient to train a lightweight feature extractor that outperforms state-of-the-art loss functions in single image super resolution, denoising, and JPEG artefact removal. We propose a novel Multi-Scale Discriminative Feature (MDF) loss comprising a series of discriminators, trained to penalize errors introduced by a generator. Second, we show that an effective loss function does not have to be a good predictor of perceived image quality, but instead needs to be specialized in identifying the distortions for a given restoration method.

Motivation & Objective

  • To address the limitations of using pre-trained networks like VGG and LPIPS as loss functions in image restoration, which are computationally expensive and require hyperparameter tuning.
  • To investigate whether a lightweight, task-specific feature extractor can outperform general-purpose perceptual losses in image restoration tasks.
  • To develop a loss function that specializes in detecting distortions introduced by a specific restoration method, rather than predicting general image quality.
  • To reduce reliance on large, unrelated pre-trained models by training a minimal network directly from a single natural image.

Proposed method

  • Proposes a Multi-Scale Discriminative Feature (MDF) loss composed of multiple discriminators trained to distinguish between real and restored images at different scales.
  • Trains the discriminators end-to-end with the generator using a GAN-like objective, focusing on penalizing distortions specific to the restoration task.
  • Uses a single natural image to supervise the training of the lightweight feature extractor, eliminating the need for large-scale datasets or pre-training on unrelated tasks.
  • Employs a multi-scale architecture to capture both local and global distortions, improving sensitivity to structural and texture artifacts.
  • Optimizes the loss using standard backpropagation, integrating the MDF loss into the training objective of the restoration network.

Experimental results

Research questions

  • RQ1Can a lightweight feature extractor trained on a single natural image outperform pre-trained perceptual losses like VGG and LPIPS in image restoration tasks?
  • RQ2Does a loss function that specializes in detecting task-specific distortions perform better than a general-purpose perceptual loss?
  • RQ3Is it possible to eliminate the need for large, pre-trained networks in image restoration loss functions without sacrificing performance?
  • RQ4How does the multi-scale design of the MDF loss contribute to improved restoration quality across diverse tasks?

Key findings

  • The MDF loss achieves state-of-the-art performance in single image super-resolution, denoising, and JPEG artifact removal, outperforming VGG and LPIPS-based losses.
  • The proposed loss function is significantly more efficient than pre-trained perceptual losses, requiring no large-scale pre-training or hyperparameter tuning.
  • A single natural image is sufficient to train a high-performing feature extractor, demonstrating the method's data efficiency.
  • The MDF loss does not need to be a good predictor of perceptual quality but instead excels at identifying distortions relevant to the specific restoration task.

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.