Quantitatively Evaluating GANs With Divergences Proposed for Training

Daniel Jiwoong Im, He Ma, Graham W. Taylor, Kristin Branson

Introduction

While Generative Adversarial Networks (GANs) have revolutionized high-dimensional image generation, they remain notoriously difficult to evaluate. Unlike standard classifiers that rely on straightforward accuracy scores, GAN evaluation has historically been a subjective exercise. Researchers often depend on manual inspection, which does not scale, or automated metrics like the Inception Score (IS) and Fréchet Inception Distance (FID). However, IS can be "fooled" by models that produce sharp but nonsensical images and is insensitive to global properties like brightness. Similarly, FID relies on a pre-trained network that may not be relevant to specialized datasets.

To address the lack of a consistent, automated, and theoretically grounded evaluation framework, this paper proposes using the same divergence and distance functions used to train GANs as evaluation metrics by training a separate "critic" network at test time.

The Adaptive Critic Methodology

The core idea is to treat GAN evaluation as a "two-sample test": measuring how different the distribution of real images is from the distribution of generated images.

To achieve this, the authors introduce an Adaptive Critic. For a fixed, pre-trained generator, a completely new critic network is trained from scratch. This critic is optimized to find the maximum possible divergence between real and fake samples. Crucially, the final score is calculated on a held-out test set to ensure the metric measures true generalization rather than mere memorization.

The study evaluates four specific metrics based on common GAN training objectives across standard datasets (MNIST, Fashion-MNIST, CIFAR10, and LSUN Bedroom):

  • Original GAN Criterion (GC): Based on Jensen-Shannon divergence.
  • Least-Squares (LS): Based on Pearson $\chi^2$ divergence.
  • Maximum Mean Discrepancy (MMD): A kernel-based distance.
  • Improved Wasserstein (IW): Based on Earth Mover's distance.

Key Findings and Results

No "Home-Field" Advantage

Surprisingly, a model trained using a specific loss function does not necessarily perform best when evaluated using the corresponding metric. For example, a Wasserstein GAN (W-GAN) does not always achieve the best Improved Wasserstein (IW) evaluation score. In many cases, the Least-Squares GAN (LS-DCGAN) produced the most stable and consistently high-performing scores across all metrics.

The Importance of Discriminator Capacity

Through sensitivity analysis, the authors discovered that the discriminator (or critic) must have more capacity than the generator. If the generator is too large relative to the discriminator, performance drops significantly, highlighting that the "critic is king" during evaluation.

Quantitative vs. Qualitative Evaluation

The paper demonstrates the pitfalls of relying solely on traditional metrics like the Inception Score. IS can sometimes assign higher ratings to "failed" or dark images, whereas the proposed divergence metrics correctly identify them as poor quality.

Comparison of Inception Scores on generated image grids, demonstrating how IS can rate poorer quality images higher.

Human Alignment and Metric Consistency

Despite having different mathematical foundations, the proposed metrics (GC, LS, IW) generally agreed on which models were superior, suggesting they capture fundamental properties of the data distribution. Furthermore, these metrics align closely with human perception. In a head-to-head comparison on CIFAR10, the IW metric achieved a 0.977 agreement fraction with human scores, making it a highly reliable proxy for human judgment—significantly outperforming the Inception Score.

Limitations and Future Work

The primary limitation of the Adaptive Critic method is its computational cost. Unlike IS or FID, which are fast to compute, this approach requires training a new critic network for every model being evaluated, adding non-trivial overhead. Additionally, the final score depends on the architecture of the critic. While the authors demonstrated consistency across several CNN architectures, defining the "optimal" critic for a given dataset remains an open question. Future work may explore extending this framework to more recent GAN variants and investigating whether ensembles of critics could provide even more robust evaluation scores.

Summary updated

BibTeX
@inproceedings{im2018quantitatively,
  author = {Daniel Jiwoong Im and He Ma and Graham W. Taylor and Kristin Branson},
  title = {{Quantitatively Evaluating GANs With Divergences Proposed for Training}},
  booktitle = {International Conference on Learning Representations},
  year = {2018},
  url = {https://openreview.net/forum?id=SJQHjzZ0-},
}
Figure