brownvc/R3GAN

Code for NeurIPS 2024 paper - The GAN is dead; long live the GAN! A Modern Baseline GAN - by Huang et al.

What it solves

R3GAN addresses the common belief that Generative Adversarial Networks (GANs) are inherently difficult to train and require a collection of "empirical tricks" to function properly. It provides a more principled, mathematically grounded approach that eliminates these ad-hoc workarounds, resulting in a cleaner and more stable training process.

How it works

The project introduces a regularized relativistic GAN loss function that provides local convergence guarantees. By using this loss, the researchers were able to strip away outdated architectural components and replace them with modern, simplified backbones. This creates a minimalist baseline that performs better than previous industry standards like StyleGAN2 without needing complex, dataset-specific tuning.

Who it’s for

This project is for researchers and developers working with generative image models who want a high-performing, simplified alternative to complex GAN architectures. It is particularly useful for those looking to achieve state-of-the-art results on datasets like FFHQ, ImageNet, and CIFAR using a more stable and theoretically sound training framework.

Highlights

  • Simplifies GAN training by removing the need for ad-hoc empirical tricks.
  • Provides mathematical proof for local convergence guarantees.
  • Outperforms StyleGAN2 on major benchmarks including FFHQ, ImageNet, and CIFAR.
  • Compatible with modern PyTorch environments and standard dataset formats used by StyleGAN3.

Related

  • Project
  • Project
  • Project
  • Project