A U-Net Based Discriminator for Generative Adversarial Networks

Edgar Schönfeld, Bernt Schiele, Anna Khoreva
2/28/2020
cs.CVcs.LGeess.IV

Official code: boschresearch/unetgan (402 stars, AGPL-3.0, last commit 2022-04-14).

Abstract

Among the major remaining challenges for generative adversarial networks (GANs) is the capacity to synthesize globally and locally coherent images with object shapes and textures indistinguishable from real images. To target this issue we propose an alternative U-Net based discriminator architecture, borrowing the insights from the segmentation literature. The proposed U-Net based architecture allows to provide detailed per-pixel feedback to the generator while maintaining the global coherence of synthesized images, by providing the global image feedback as well. Empowered by the per-pixel response of the discriminator, we further propose a per-pixel consistency regularization technique based on the CutMix data augmentation, encouraging the U-Net discriminator to focus more on semantic and structural changes between real and fake images. This improves the U-Net discriminator training, further enhancing the quality of generated samples. The novel discriminator improves over the state of the art in terms of the standard distribution and image quality metrics, enabling the generator to synthesize images with varying structure, appearance and levels of detail, maintaining global and local realism. Compared to the BigGAN baseline, we achieve an average improvement of 2.7 FID points across FFHQ, CelebA, and the newly introduced COCO-Animals dataset. The code is available at https://github.com/boschresearch/unetgan.

View on arXivView PDF

Code Implementations(1)

AGPL-3.0

Official Implementation of the paper "A U-Net Based Discriminator for Generative Adversarial Networks" (CVPR 2020)

40258Shell, PythonAug 27, 20204 years agoAGPL-3.0
bcaibiggancomputer-visioncvpr2020ffhq+7 more

Similar Papers

Cite this paper

@article{schnfeld2020unet,
  title  = {A U-Net Based Discriminator for Generative Adversarial Networks},
  author = {Edgar Schönfeld and Bernt Schiele and Anna Khoreva},
  year   = {2020},
  eprint = {2002.12655},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2002.12655}
}

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/2002.12655.svg)](https://codeofpaper.com/paper/2002.12655)

Discussion