BEGAN: Boundary Equilibrium Generative Adversarial Networks

David Berthelot, Tom Schumm, Luke MetzarXiv 2017

Abstract

We propose a new equilibrium enforcing method paired with a loss derived from the Wasserstein distance for training auto-encoder based Generative Adversarial Networks. This method balances the generator and discriminator during training. Additionally, it provides a new approximate convergence measure, fast and stable training and high visual quality. We also derive a way of controlling the trade-off between image diversity and visual quality. We focus on the image generation task, setting a new milestone in visual quality, even at higher resolutions. This is achieved while using a relatively simple model architecture and a standard training procedure.

Introduction

Generative Adversarial Networks (GANs) have long been the "wild west" of deep learning. While they produce stunningly sharp images, they are notoriously temperamental. Researchers typically face three major hurdles: training instability, mode collapse, and a lack of reliable convergence metrics. BEGAN (Boundary Equilibrium GAN) aims to solve these by rethinking the discriminator's role and introducing a control-theory approach to balance the two networks.

Methods: Equilibrium and Proportional Control

The core innovation of BEGAN is moving away from the standard binary classifier discriminator. Instead, it uses an Auto-encoder as a Discriminator. Traditional GANs try to match the data distribution directly; BEGAN instead tries to match the distribution of reconstruction losses. The idea is that if the discriminator is an auto-encoder, it will naturally be better at reconstructing real images than generated ones.

Generator and Encoder architectures used in BEGAN.

The Equilibrium Objective

To keep the generator and discriminator in balance, the authors introduce an equilibrium concept defined by a hyper-parameter $\gamma$ (the diversity ratio): $$\gamma = \frac{\mathbb{E}[\mathcal{L}(G(z))]}{\mathbb{E}[\mathcal{L}(x)]}$$ If $\gamma$ is low, the model focuses more on auto-encoding real images (higher quality, lower diversity). If $\gamma$ is high, it focuses on the adversarial task. To maintain this balance during training, they use a variable $k_t \in [0, 1]$ that acts like a Proportional Controller. It dynamically adjusts how much emphasis is put on the generated samples' loss at each step, ensuring neither network overpowers the other.

Key Results and Convergence

Because of the equilibrium formulation, the authors derived a global convergence measure: $M_{global} = \mathcal{L}(x) + |\gamma \mathcal{L}(x) - \mathcal{L}(G(z))|$. This provides a reliable "loss curve" for a GAN that actually decreases as the model improves.

High-quality 128x128 face images generated by BEGAN.

BEGAN set a new milestone for generating anatomically coherent 128x128 images. On the Celebrity Faces dataset (360,000 images), the model produced impressive diversity in skin tone, age, and expression. Quantitatively, on CIFAR-10, BEGAN achieved an Inception Score of 5.62, outperforming contemporary models like ALI (5.34) and Improved GANs (4.36) in an unsupervised setting.

Conclusion

BEGAN represents a significant step toward making GANs a standard tool in the deep learning toolbox by replacing the "black art" of training with principled control theory. By matching losses rather than pixels and introducing a reliable convergence measure, the model achieves state-of-the-art visual quality without common architectural hacks like batch normalization or dropout.

Summary updated

Abstract

We propose a new equilibrium enforcing method paired with a loss derived from the Wasserstein distance for training auto-encoder based Generative Adversarial Networks. This method balances the generator and discriminator during training. Additionally, it provides a new approximate convergence measure, fast and stable training and high visual quality. We also derive a way of controlling the trade-off between image diversity and visual quality. We focus on the image generation task, setting a new milestone in visual quality, even at higher resolutions. This is achieved while using a relatively simple model architecture and a standard training procedure.
BibTeX
@misc{berthelot2017began,
  author = {David Berthelot and Tom Schumm and Luke Metz},
  title = {{BEGAN: Boundary Equilibrium Generative Adversarial Networks}},
  year = {2017},
  eprint = {1703.10717},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1703.10717},
}
Figure