A Loss Function for Generative Neural Networks Based on Watson's Perceptual Model

Steffen Czolbe, Oswin Krause, Ingemar Cox, Christian Igel
6/26/2020
cs.LGcs.CVeess.IV

Official code: SteffenCzolbe/PerceptualSimilarity (107 stars, Jupyter Notebook, last commit 2022-11-22).

Abstract

To train Variational Autoencoders (VAEs) to generate realistic imagery requires a loss function that reflects human perception of image similarity. We propose such a loss function based on Watson's perceptual model, which computes a weighted distance in frequency space and accounts for luminance and contrast masking.

Show full abstract

We extend the model to color images, increase its robustness to translation by using the Fourier Transform, remove artifacts due to splitting the image into blocks, and make it differentiable. In experiments, VAEs trained with the new loss function generated realistic, high-quality image samples. Compared to using the Euclidean distance and the Structural Similarity Index, the images were less blurry; compared to deep neural network based losses, the new approach required less computational resources and generated images with less artifacts.

View on arXivView PDF

Code Implementations(1)

1079Jupyter Notebook, PythonAug 27, 20194 years ago

Similar Papers

Cite this paper

@article{czolbe2020loss,
  title  = {A Loss Function for Generative Neural Networks Based on Watson's Perceptual Model},
  author = {Steffen Czolbe and Oswin Krause and Ingemar Cox and Christian Igel},
  year   = {2020},
  eprint = {2006.15057},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.15057}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2006.15057.svg)](https://codeofpaper.com/paper/2006.15057)

Discussion