Skip to main content
QUICK REVIEW

[Paper Review] Generating Images with Perceptual Similarity Metrics based on Deep Networks

Alexey Dosovitskiy, Thomas Brox|arXiv (Cornell University)|Feb 8, 2016
Generative Adversarial Networks and Image SynthesisComputer Science388 citations
TL;DR

The paper introduces DeePSiM, a loss function family that measures similarity in deep feature space plus adversarial and image-space terms to produce sharp, perceptually realistic images. It applies this loss to autoencoders, VAEs, and inversion of AlexNet representations.

ABSTRACT

Image-generating machine learning models are typically trained with loss functions based on distance in the image space. This often leads to over-smoothed results. We propose a class of loss functions, which we call deep perceptual similarity metrics (DeePSiM), that mitigate this problem. Instead of computing distances in the image space, we compute distances between image features extracted by deep neural networks. This metric better reflects perceptually similarity of images and thus leads to better results. We show three applications: autoencoder training, a modification of a variational autoencoder, and inversion of deep convolutional networks. In all cases, the generated images look sharp and resemble natural images.

Motivation & Objective

  • Motivate the need for perceptually faithful image generation beyond pixel-wise losses that produce blur.
  • Propose a loss class (DeePSiM) combining feature-space, adversarial, and pixel-space terms.
  • Show three practical applications: autoencoder training, a VAE variant, and inversion of deep visual representations.
  • Demonstrate that DeePSiM yields sharper, more natural reconstructions and preserves fine structures compared to traditional losses.

Proposed method

  • Define DeePSiM loss as L = lambda_feat * L_feat + lambda_adv * L_adv + lambda_img * L_img.
  • L_feat measures distance in features: L_feat = sum_i ||C(G_theta(x_i)) - C(y_i)||_2^2 using a comparator C (e.g., AlexNet layers or Exemplar-CNN).
  • L_adv uses a discriminator D_phi to impose a natural image prior via GAN-style adversarial training: L_discr = -sum_i log D_phi(y_i) + log(1 - D_phi(G_theta(x_i))); L_adv = - sum_i log D_phi(G_theta(x_i)).
  • L_img is the image-space penalty: L_img = sum_i ||G_theta(x_i) - y_i||_2^2.
  • Architectures include generators with up-convolution layers, three networks for data processing (generator G, discriminator D_phi, comparator C).
  • Training uses Adam with specific hyperparameters and a strategy to stabilize adversarial training by balancing discriminator and adversarial losses.

Experimental results

Research questions

  • RQ1Can deep feature-space losses better capture perceptual similarity for image generation than pixel-space losses?
  • RQ2How does combining feature loss with adversarial priors affect the realism and fidelity of generated images?
  • RQ3Do DeePSiM losses improve reconstruction quality in autoencoders, VAEs, and inversion of deep representations?
  • RQ4What choices of comparator (feature space) optimize performance for different tasks?
  • RQ5Is perceptual fidelity preserved across different layers when inverting deep networks?

Key findings

  • DeePSiM-based autoencoders produce sharper, more textured reconstructions than SE or L1 losses, preserving fine structures.
  • A VAE trained with DeePSiM produces images with more realistic statistics than standard pixel-space losses.
  • Inversion of AlexNet representations using DeePSiM yields highly natural reconstructions, outperforming prior inversion methods in preserving perceptual details.
  • Using a discriminator-based adversarial prior with a feature-space loss helps avoid overly blurry or chaotic reconstructions and yields more realistic images.
  • Different feature spaces (e.g., AlexNet conv5, fc6, VideoNet) can be effective comparators, with AlexNet conv5 often providing best results, though other comparators still capture key image features.
  • The combination of feature loss, adversarial loss, and image-space loss is superior to configurations that omit any component, indicating the necessity of all three terms for best performance.

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.