Energy-relaxed Wasserstein GANs(EnergyWGAN): Towards More Stable and High Resolution Image Generation

Jiqing Wu, Zhiwu Huang, Janine Thoma, Luc Van GoolarXiv 2017

Introduction

Generative Adversarial Networks (GANs) have revolutionized image synthesis but remain notoriously difficult to train. A primary challenge is the "gradient vanishing" problem, where a highly proficient discriminator fails to provide useful feedback to the generator. While the Wasserstein GAN (WGAN) addressed this by employing the Earth Mover's distance to ensure smoother gradients, it introduced a strict $k$-Lipschitz constraint on the discriminator. Enforcing this constraint—typically via weight clipping or gradient penalties (WGAN-GP)—often leads to training instability or sub-optimal image quality due to the difficulty of maintaining the constraint across the entire data domain.

Methodology: Wasserstein Divergence (W-div)

This research proposes a theoretical shift from the Wasserstein metric to a Wasserstein divergence (W-div). By introducing a relaxed objective, the authors eliminate the need for the hard-to-enforce $k$-Lipschitz constraint. The resulting model, WGAN-div, incorporates a novel gradient-based regularization term:

$$L_{DIV} = \mathbb{E}_{x \sim \mathbb{P}_r}[f(x)] - \mathbb{E}_{\tilde{x} \sim \mathbb{P}_g}[f(\tilde{x})] + k \mathbb{E}_{\hat{x} \sim \mathbb{P}_u}[\|\nabla f(\hat{x})\|^p]$$

A key innovation is the use of a higher power $p$ for the gradient penalty. Empirical testing demonstrated that setting $p=6$ significantly outperforms the standard $p=2$, allowing the discriminator greater flexibility while effectively preventing exploding gradients.

Top: FID scores over training iterations for various GAN architectures. Bottom: The impact of the power $p$ on FID scores, showing optimal performance at $p=6$.

Key Insights and Value Surfaces

The stability of WGAN-div is rooted in its ability to learn more meaningful value surfaces. In experiments using toy datasets such as the Swiss Roll and Gaussian mixtures, WGAN-div produced smoother discriminator surfaces compared to WGAN-GP and CTGAN. This suggests that the discriminator provides more consistent and useful guidance to the generator throughout the training process.

Comparison of WGAN-div with WGAN-GP and CTGAN on toy datasets. WGAN-div produces smoother value surfaces and lower error scores.

Furthermore, WGAN-div exhibits remarkable architectural robustness. It maintains high performance even without Batch Normalization, a component usually deemed essential for GAN stability. It also integrates seamlessly with Progressive Growing (PGGAN) schemes, facilitating high-resolution image generation.

Experimental Results

WGAN-div was evaluated against state-of-the-art methods across multiple benchmarks, including CIFAR-10, CelebA, and LSUN. Performance was measured using the Fréchet Inception Distance (FID), where lower scores indicate higher image quality and diversity.

  • CelebA ($64 \times 64$): WGAN-div achieved an FID of 15.2, outperforming WGAN-GP (18.4) and RJS-GAN (21.4).
  • LSUN: The model reached an FID of 15.9, a significant improvement over CTGAN (20.3).
  • High Resolution: Applied to a Progressive Growing scheme (PGGAN-div), the method achieved a state-of-the-art FID of 14.9 on $256 \times 256$ LSUN images.

Qualitative results further support these metrics, with WGAN-div producing sharper facial features and more realistic textures in complex scenes compared to previous Wasserstein-based models.

Conclusion and Future Work

WGAN-div offers a mathematically rigorous and practically stable alternative to traditional WGANs by bypassing the restrictive Lipschitz constraint. While the current sampling strategy (linear interpolation) and hyperparameters ($k=2, p=6$) prove effective across diverse datasets, future work may explore alternative sampling methods and advanced optimization techniques like the Two-Time-scale Update Rule (TTUR) to further enhance performance.

Summary updated

BibTeX
@misc{wu2017energy,
  author = {Jiqing Wu and Zhiwu Huang and Janine Thoma and Luc Van Gool},
  title = {{Energy-relaxed Wasserstein GANs(EnergyWGAN): Towards More Stable and High Resolution Image Generation}},
  year = {2017},
  eprint = {1712.01026},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1712.01026},
}
Figure