Skip to main content
QUICK REVIEW

[Paper Review] Mimicry: Towards the Reproducibility of GAN Research

Kwot Sin Lee, Christopher Town|arXiv (Cornell University)|May 5, 2020
Generative Adversarial Networks and Image SynthesisComputer Science40 references18 citations
TL;DR

This paper introduces Mimicry, a lightweight PyTorch library that enables reproducible GAN research by providing standardized implementations of state-of-the-art GANs and evaluation metrics. It delivers consistent, transparent baseline scores across seven datasets using identical training and evaluation procedures, ensuring fair comparisons and reducing reliance on inconsistent implementations across prior works.

ABSTRACT

Advancing the state of Generative Adversarial Networks (GANs) research requires one to make careful and accurate comparisons with existing works. Yet, this is often difficult to achieve in practice when models are often implemented differently using varying frameworks, and evaluated using different procedures even when the same metric is used. To mitigate these issues, we introduce Mimicry, a lightweight PyTorch library that provides implementations of popular state-of-the-art GANs and evaluation metrics to closely reproduce reported scores in the literature. We provide comprehensive baseline performances of different GANs on seven widely-used datasets by training these GANs under the same conditions, and evaluating them across three popular GAN metrics using the same procedures. The library can be found at https://github.com/kwotsin/mimicry.

Motivation & Objective

  • To address the lack of reproducibility in GAN research due to inconsistent implementations, training procedures, and evaluation methods across different codebases.
  • To provide a unified, lightweight PyTorch library that standardizes training and evaluation of popular GAN architectures.
  • To deliver transparent, consistent baseline performance scores for state-of-the-art GANs across multiple datasets and metrics using identical hyperparameters and evaluation protocols.
  • To reduce the burden on researchers by offering pre-trained models and a reusable codebase that minimizes boilerplate implementation.
  • To promote fairer comparisons between GAN models by using unbiased metrics like KID alongside FID and IS.

Proposed method

  • The library implements six popular GANs—DCGAN, WGAN-GP, SNGAN, cGAN-PD, SSGAN, and InfoMax-GAN—using a modular, object-oriented design with shared base classes for generators and discriminators.
  • All models are trained under identical configurations across seven datasets, using fixed hyperparameters, optimizer settings, and training iterations per generator step.
  • Evaluation is performed using three metrics: Inception Score (IS), Fréchet Inception Distance (FID), and Kernel Inception Distance (KID), each computed with standardized sample sizes and splits.
  • KID is used as a more reliable alternative to FID due to its unbiased estimation of distributional differences, improving fairness in model comparison.
  • The training pipeline is managed by a Trainer object that handles model assembly, optimization, and checkpointing, with support for variable dataset sizes and resolutions.
  • A model zoo with pre-trained checkpoints is provided to ensure reproducibility and facilitate rapid benchmarking.

Experimental results

Research questions

  • RQ1Can a standardized library reduce inconsistencies in GAN implementation and evaluation across different research groups?
  • RQ2To what extent do reported GAN scores vary due to differences in training procedures, frameworks, and evaluation protocols?
  • RQ3How do different GAN architectures compare under identical training and evaluation conditions across diverse datasets?
  • RQ4Can unbiased metrics like KID provide more reliable and fair comparisons than FID in GAN benchmarking?
  • RQ5Can a single, unified codebase with consistent hyperparameters enable transparent and reproducible baseline performance reporting?

Key findings

  • The cGAN-PD model achieves the best performance across all datasets due to its use of conditional labels, consistently outperforming unconditional GANs.
  • SSGAN and InfoMax-GAN both improve upon the SNGAN baseline, with InfoMax-GAN showing significant gains on high-resolution CelebA, where SSGAN underperforms relative to SNGAN.
  • On CIFAR-10, DCGAN achieves an FID of 28.95±0.42, closely matching the reported value of 28.12, validating the reproducibility of the implementation.
  • For ImageNet at 32×32 resolution, the best FID score is 8.97±0.12, with all GANs showing stable and consistent performance across three random seeds.
  • The use of KID as a metric produces unbiased estimates and strong correlation with FID, supporting its adoption for fairer model comparison.
  • Baseline results are provided across seven datasets with consistent training and evaluation protocols, enabling direct and transparent comparison of GAN performance.

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.