HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

Improved Precision and Recall Metric for Assessing Generative Models

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

Improved Precision and Recall Metric for Assessing Generative Models

Abstract

The ability to automatically estimate the quality and coverage of the samples produced by a generative model is a vital requirement for driving algorithm research. We present an evaluation metric that can separately and reliably measure both of these aspects in image generation tasks by forming explicit, non-parametric representations of the manifolds of real and generated data. We demonstrate the effectiveness of our metric in StyleGAN and BigGAN by providing several illustrative examples where existing metrics yield uninformative or contradictory results. Furthermore, we analyze multiple design variants of StyleGAN to better understand the relationships between the model architecture, training methods, and the properties of the resulting sample distribution. In the process, we identify new variants that improve the state-of-the-art. We also perform the first principled analysis of truncation methods and identify an improved method. Finally, we extend our metric to estimate the perceptual quality of individual samples, and use this to study latent space interpolations.

Code Repositories

thomaskerdreux/pdm_sar_insar_generation
pytorch
Mentioned in GitHub
marcojira/fls
pytorch
Mentioned in GitHub
toshas/torch-fidelity
pytorch
Mentioned in GitHub
AlexVerine/PrecisionRecallGan
pytorch
Mentioned in GitHub
marcojira/fld
pytorch
Mentioned in GitHub
psanch21/imp_bigan
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
image-generation-on-ffhqStyleGAN (no instance norm)
FID: 4.16

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp