Reproduce “Improved Precision and Recall Metric for Assessing Generative Models” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Tuomas Kynkäänniemi, Tero Karras, Samuli Laine, Jaakko Lehtinen, Timo Aila

An enhanced precision and recall metric is proposed for generative models, distinctly quantifying sample quality and distribution coverage by modeling real and generated data manifolds in a feature space. This diagnostic tool reveals specific tradeoffs in state-of-the-art models and guided the development of a StyleGAN configuration that achieved a new state-of-the-art FID score on FFHQ.

Key insights

  • Separately quantifying precision and recall provides significantly more diagnostic insight into generative model performance than single-scalar metrics, clarifying how architectural choices or truncation impact quality versus coverage.
  • The `W` latent space in StyleGAN offers better precision/recall tradeoffs for truncation strategies compared to the `Z` space, with clamping outliers in `W` being a highly effective approach.
  • The realism score can effectively reveal the perceptual quality of individual samples and demonstrate the high convexity of StyleGAN's latent space for generating realistic images.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.