Skip to main content
QUICK REVIEW

[Paper Review] Primal-Dual Wasserstein GAN

Mevlana Gemici, Zeynep Akata|arXiv (Cornell University)|May 24, 2018
Medical Imaging Techniques and ApplicationsMedicine13 references11 citations
TL;DR

This paper proposes Primal-Dual Wasserstein GAN (PD-WGAN), a novel generative modeling framework that unifies the primal optimal transport problem for learning a flexible inference mechanism and the dual formulation for adversarial training of a critic network. By regularizing both the norm and direction of the critic's gradients using an approximate coupling from the primal, PD-WGAN achieves superior mode coverage and sample quality, outperforming WGAN-GP and WAE-GAN on FID and Inception Score across CIFAR-10, CUB Birds, and Oxford Flowers datasets.

ABSTRACT

We introduce Primal-Dual Wasserstein GAN, a new learning algorithm for building latent variable models of the data distribution based on the primal and the dual formulations of the optimal transport (OT) problem. We utilize the primal formulation to learn a flexible inference mechanism and to create an optimal approximate coupling between the data distribution and the generative model. In order to learn the generative model, we use the dual formulation and train the decoder adversarially through a critic network that is regularized by the approximate coupling obtained from the primal. Unlike previous methods that violate various properties of the optimal critic, we regularize the norm and the direction of the gradients of the critic function. Our model shares many of the desirable properties of auto-encoding models in terms of mode coverage and latent structure, while avoiding their undesirable averaging properties, e.g. their inability to capture sharp visual features when modeling real images. We compare our algorithm with several other generative modeling techniques that utilize Wasserstein distances on Frechet Inception Distance (FID) and Inception Scores (IS).

Motivation & Objective

  • To address the limitations of VAEs, such as blurry samples due to posterior approximation and averaging effects, by combining the strengths of auto-encoding and GAN-based learning.
  • To overcome the instability and lack of theoretical grounding in standard GANs by leveraging the optimal transport framework.
  • To develop a unified training algorithm that simultaneously learns a high-quality generative model and an accurate inference mechanism via primal and dual formulations of optimal transport.
  • To improve sample quality and mode coverage by regularizing the critic network not only in norm but also in gradient direction, using an approximate coupling from the primal problem.

Proposed method

  • The method uses the primal optimal transport formulation to learn an approximate coupling π̃* between the data and generator distributions, which serves as a guide for the critic network.
  • The dual formulation is used to train the generator adversarially via a critic network that is regularized by the gradient norm and direction of the approximate coupling π̃*.
  • A hybrid loss function combines a reconstruction term based on the primal coupling (λmix) and a gradient regularization term (λf) that penalizes deviations in the critic's gradient direction and magnitude.
  • The critic network is trained with a vector gradient penalty that enforces the critic to have unit-norm gradients aligned with the transport directions in the coupling π̃*, improving generalization and stability.
  • The encoder is trained to map data points to latent codes using the primal coupling, enabling accurate reconstructions and structured latent manifolds.
  • The model is trained end-to-end using a differentiable objective that balances reconstruction fidelity, mode coverage, and sample quality through hyperparameters λmix and λf.

Experimental results

Research questions

  • RQ1Can a unified framework combining primal and dual optimal transport formulations improve both sample quality and mode coverage in generative modeling?
  • RQ2Does regularizing the critic's gradient direction and norm using an approximate coupling from the primal problem lead to more stable and generalizable training than standard gradient norm penalties?
  • RQ3Can the proposed method achieve better FID and Inception Score than WGAN-GP and WAE-GAN while maintaining high reconstruction accuracy and structured latent space?
  • RQ4How does the trade-off between reconstruction fidelity (λmix) and critic regularization (λf) affect the balance between sample quality and mode coverage?

Key findings

  • PD-WGAN achieved a Fréchet Inception Distance (FID) of 33.0 on CIFAR-10, outperforming WGAN-GP (34.4) and WAE-GAN (87.7), indicating superior sample quality.
  • On CIFAR-10, PD-WGAN achieved an Inception Score of 6.70 ± 0.09, surpassing WGAN-GP (6.58 ± 0.06) and WAE-GAN (4.18 ± 0.04).
  • On CUB Birds, PD-WGAN achieved an FID of 68.6 and Inception Score of 4.65 ± 0.04, outperforming WGAN-GP (70.4 and 4.51 ± 0.04) and WAE-GAN (143.3 and 3.42 ± 0.04).
  • On Oxford Flowers, PD-WGAN achieved an FID of 84.9 and Inception Score of 3.75 ± 0.04, significantly better than WGAN-GP (98.7 and 3.42 ± 0.04) and WAE-GAN (145.9 and 2.30 ± 0.01).
  • Visual comparisons in Appendix F show that PD-WGAN generates sharper, more diverse samples than WGAN-GP and WAE-GAN, avoiding the averaging artifacts common in VAEs and WAEs.
  • The latent space learned by PD-WGAN shows better interpolation quality and structure than WGAN-GP, indicating improved disentanglement and generalization.

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.