Skip to main content
QUICK REVIEW

[Paper Review] How Well Do WGANs Estimate the Wasserstein Metric?

Anton Mallasto, Guido Montúfar|arXiv (Cornell University)|Oct 9, 2019
Generative Adversarial Networks and Image SynthesisComputer Science26 references17 citations
TL;DR

This paper evaluates how accurately various WGAN variants estimate the 1-Wasserstein distance using dual formulations, particularly the c-transform and (c,ε)-transform, which avoid explicit Lipschitz constraints. Although these methods provide significantly more accurate Wasserstein distance estimates than gradient penalty or weight clipping, they produce blurrier, less realistic generative images—revealing a disconnect between metric accuracy and generative quality in practice.

ABSTRACT

Generative modelling is often cast as minimizing a similarity measure between a data distribution and a model distribution. Recently, a popular choice for the similarity measure has been the Wasserstein metric, which can be expressed in the Kantorovich duality formulation as the optimum difference of the expected values of a potential function under the real data distribution and the model hypothesis. In practice, the potential is approximated with a neural network and is called the discriminator. Duality constraints on the function class of the discriminator are enforced approximately, and the expectations are estimated from samples. This gives at least three sources of errors: the approximated discriminator and constraints, the estimation of the expectation value, and the optimization required to find the optimal potential. In this work, we study how well the methods, that are used in generative adversarial networks to approximate the Wasserstein metric, perform. We consider, in particular, the $c$-transform formulation, which eliminates the need to enforce the constraints explicitly. We demonstrate that the $c$-transform allows for a more accurate estimation of the true Wasserstein metric from samples, but surprisingly, does not perform the best in the generative setting.

Motivation & Objective

  • To evaluate the accuracy of different WGAN methods in estimating the 1-Wasserstein distance between data and model distributions.
  • To investigate whether more accurate Wasserstein metric estimation leads to better generative image quality in practice.
  • To compare the performance of c-transform, (c,ε)-transform, gradient penalty, and weight clipping in estimating the Wasserstein distance under varying training and evaluation conditions.
  • To analyze the impact of batch size and training scheme on distance estimation stability and generative model performance.

Proposed method

  • The c-transform formulation is used to estimate the Wasserstein distance without explicitly enforcing Lipschitz constraints on the discriminator.
  • The (c,ε)-transform applies entropic regularization to the c-transform, improving sample complexity and numerical stability.
  • The study compares four WGAN training schemes: gradient penalty, weight clipping, c-transform, and (c,ε)-transform, using both minibatch and full-dataset evaluations.
  • Distance estimation accuracy is measured by comparing discriminator outputs to ground truth Wasserstein distances computed via the POT library.
  • Generative model training is conducted using a DCGAN architecture on the CelebA dataset, with distance metrics tracked over 50,000 generator iterations.
  • Experiments are conducted on subsets of CIFAR-10 and CelebA with varying batch sizes (N=64, 512) to assess generalization and stability.

Experimental results

Research questions

  • RQ1How accurately do different WGAN variants estimate the true 1-Wasserstein distance between data and model distributions?
  • RQ2Does improved estimation of the Wasserstein metric lead to better-quality generated images in practice?
  • RQ3How do the c-transform and (c,ε)-transform compare to gradient penalty and weight clipping in terms of distance estimation accuracy and training stability?
  • RQ4What is the effect of training batch size and evaluation batch size on the reliability of Wasserstein distance estimation?
  • RQ5Why does the gradient penalty method, despite poorer distance estimation, produce superior generative results?

Key findings

  • The c-transform and (c,ε)-transform methods provide significantly more accurate estimates of the true Wasserstein distance compared to gradient penalty and weight clipping.
  • Despite superior metric estimation, the c-transform and (c,ε)-transform produce blurrier, less realistic images than the gradient penalty method.
  • The gradient penalty method, while less accurate in estimating the Wasserstein distance, generates higher-quality, more diverse, and sharper images.
  • Weight clipping fails to converge to meaningful results and produces poor image quality, despite some stability in distance estimation.
  • The (c,ε)-transform shows improved stability under different training and evaluation batch sizes, supporting its favorable sample complexity.
  • The blurriness observed with c-transform methods is not due to entropic regularization but rather due to the c-transform formulation itself.

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.