Skip to main content
QUICK REVIEW

[Paper Review] Revisiting Precision and Recall Definition for Generative Model Evaluation

Loïc Simon, Ryan Webster|arXiv (Cornell University)|May 14, 2019
Generative Adversarial Networks and Image SynthesisComputer Science22 references5 citations
TL;DR

This paper redefines precision and recall for generative model evaluation by generalizing the formulation to arbitrary probability measures, not just discrete ones, and establishes a link between precision-recall curves and type I/II error rates in likelihood ratio testing. The authors propose a novel algorithm that improves upon prior methods in detecting mode collapse and quality issues on controlled multi-modal datasets.

ABSTRACT

In this article we revisit the definition of Precision-Recall (PR) curves for generative models proposed by Sajjadi et al. (arXiv:1806.00035). Rather than providing a scalar for generative quality, PR curves distinguish mode-collapse (poor recall) and bad quality (poor precision). We first generalize their formulation to arbitrary measures, hence removing any restriction to finite support. We also expose a bridge between PR curves and type I and type II error rates of likelihood ratio classifiers on the task of discriminating between samples of the two distributions. Building upon this new perspective, we propose a novel algorithm to approximate precision-recall curves, that shares some interesting methodological properties with the hypothesis testing technique from Lopez-Paz et al (arXiv:1610.06545). We demonstrate the interest of the proposed formulation over the original approach on controlled multi-modal datasets.

Motivation & Objective

  • To address the limitation of scalar metrics like FID, which cannot distinguish between poor sample quality (low precision) and failure to cover the full data distribution (low recall).
  • To generalize the precision-recall framework proposed by Sajjadi et al. (2018) beyond discrete distributions with finite support to continuous, multi-modal distributions.
  • To establish a theoretical connection between precision-recall curves and statistical hypothesis testing, specifically type I and type II error rates in likelihood ratio classifiers.
  • To develop a practical algorithm for approximating precision-recall curves that leverages classifier-based discrimination between real and generated samples.
  • To empirically validate the proposed formulation on controlled multi-modal datasets, demonstrating improved sensitivity to mode collapse and quality degradation compared to prior approaches.

Proposed method

  • Generalize the precision-recall definition to arbitrary probability measures by removing the restriction to finite-support distributions, enabling application to continuous, multi-modal data distributions.
  • Establish a theoretical bridge between precision-recall and statistical hypothesis testing by showing that precision and recall correspond to type I and type II error rates of a likelihood ratio classifier.
  • Propose a new algorithm to approximate precision-recall curves using a trained binary classifier to distinguish real samples from generated samples, similar in spirit to the hypothesis testing method of Lopez-Paz & Oquab (2017).
  • Use feature embeddings (e.g., Inception features) to map high-dimensional data into a lower-dimensional space where classifier-based discrimination is more meaningful and stable.
  • Apply the classifier to estimate the true positive and false positive rates across varying decision thresholds to construct the full precision-recall curve.
  • Leverage the theoretical link to type I/II errors to ensure the curve reflects both sample quality (precision) and coverage (recall) in a statistically principled way.

Experimental results

Research questions

  • RQ1How can precision and recall be meaningfully defined for continuous, multi-modal generative models beyond discrete approximations?
  • RQ2What is the theoretical relationship between precision-recall curves and statistical hypothesis testing error rates in the context of generative model evaluation?
  • RQ3Can a classifier-based approach approximate precision-recall curves more effectively than scalar metrics like FID or Inception Score?
  • RQ4Does the proposed method better detect mode collapse (low recall) and poor sample quality (low precision) than existing approaches on controlled datasets?
  • RQ5How does the use of feature space embeddings affect the stability and interpretability of precision-recall curves in high-dimensional data like images?

Key findings

  • The proposed formulation generalizes precision and recall beyond discrete distributions, enabling evaluation of continuous, multi-modal data distributions without discretization.
  • The method establishes a direct theoretical link between precision-recall and type I/II error rates in likelihood ratio testing, providing a statistical foundation for the metrics.
  • The proposed algorithm for approximating precision-recall curves demonstrates improved sensitivity to mode collapse and quality degradation on controlled multi-modal datasets compared to the original Sajjadi et al. approach.
  • The use of feature embeddings (e.g., Inception features) is shown to be essential for meaningful classifier performance, as raw image space leads to trivial precision-recall curves due to mutual singularity.
  • The method successfully distinguishes between models that fail to cover all modes (low recall) and those that generate high-quality but limited samples (low precision), which scalar metrics like FID cannot.
  • Empirical results confirm that the new formulation provides a more nuanced and informative evaluation of generative models than scalar metrics alone, especially in detecting subtle failure modes.

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.