Skip to main content
QUICK REVIEW

[Paper Review] Discriminator optimal transport

Akinori Tanaka|arXiv (Cornell University)|Oct 15, 2019
Generative Adversarial Networks and Image SynthesisComputer Science17 citations
TL;DR

This paper proposes Discriminator Optimal Transport (DOT), a post-processing method that improves generated images by optimizing the generator's output using gradients from the trained discriminator to approximate optimal transport. DOT increases Inception Score and reduces FID on CIFAR-10, STL-10, and ImageNet, outperforming naive improvement and MH-GAN in most cases while reusing the trained discriminator efficiently.

ABSTRACT

Within a broad class of generative adversarial networks, we show that discriminator optimization process increases a lower bound of the dual cost function for the Wasserstein distance between the target distribution $p$ and the generator distribution $p_G$. It implies that the trained discriminator can approximate optimal transport (OT) from $p_G$ to $p$.Based on some experiments and a bit of OT theory, we propose a discriminator optimal transport (DOT) scheme to improve generated images. We show that it improves inception score and FID calculated by un-conditional GAN trained by CIFAR-10, STL-10 and a public pre-trained model of conditional GAN by ImageNet.

Motivation & Objective

  • To address the instability and poor image quality in GAN training, especially blurry or distorted samples.
  • To repurpose the trained discriminator, which is typically discarded after GAN training, for post-processing improvements.
  • To develop a method that enhances generated images by leveraging the discriminator's capacity to approximate optimal transport.
  • To improve generative quality metrics such as Inception Score and Fréchet Inception Distance (FID).
  • To provide a generalizable, architecture-agnostic method applicable to any pre-trained GAN with compatible generator and discriminator domains.

Proposed method

  • DOT uses the discriminator's output as a potential function to guide perturbations on generated samples, increasing the discriminator score via gradient ascent.
  • The method performs iterative updates on the latent code: $\mathbf{z} \leftarrow \mathbf{z} + \epsilon \nabla_{\mathbf{z}} D(G(\mathbf{z}))$, where $\epsilon$ is the learning rate.
  • It is grounded in the theoretical link between the discriminator's objective and a lower bound of the dual cost function for the Wasserstein distance between real and generated distributions.
  • The approach is applied post-training, requiring only the pre-trained generator and discriminator, with no retraining.
  • DOT is implemented using the generator and discriminator’s gradients, making it scalable and efficient.
  • The method is compared to naive improvement (maximizing $D(G(\mathbf{z}))$) and MH-GAN, showing superior performance on key metrics.

Experimental results

Research questions

  • RQ1Can the trained discriminator be used to improve generated images beyond the original GAN training?
  • RQ2Does optimizing generated samples using discriminator gradients lead to better Inception Score and FID?
  • RQ3How does DOT compare to naive optimization that only increases the discriminator score?
  • RQ4Can DOT be applied generally to any pre-trained GAN with compatible input/output spaces?
  • RQ5Does DOT improve the quality of generated images by approximating optimal transport between the real and generated distributions?

Key findings

  • DOT improves Inception Score on all tested datasets: CIFAR-10, STL-10, and ImageNet, with consistent gains across multiple GAN architectures.
  • DOT reduces FID on all datasets, with the largest improvements seen in SNGAN(high) on CIFAR-10 (from 20.53 to 18.57) and on ImageNet (from 40.11 to 36.34).
  • DOT outperforms the naive improvement method, which often leads to FID degradation after initial gains, while DOT maintains or improves FID longer.
  • DOT achieves better results than MH-GAN on FID in most cases, though MH-GAN sometimes degrades FID, suggesting DOT's robustness.
  • The method is efficient, with inference times of ~1.04s per 30 updates on CIFAR-10 using a Tesla P100, scaling linearly with backpropagation.
  • DOT is general: it works on any GAN where the generator’s output domain matches the discriminator’s input domain, enabling broad applicability.

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.