A Practical Guide to Sample-based Statistical Distances for Evaluating Generative Models in Science

Sebastian Bischoff, Alana Darcher, Michael Deistler, Richard Gao, Franziska Gerken +16 more
3/19/2024
cs.LGstat.ML

No official code found. Best implementation: mackelab/labproject (4 stars, MIT, last commit 2024-06-06).

Abstract

Generative models are invaluable in many fields of science because of their ability to capture high-dimensional and complicated distributions, such as photo-realistic images, protein structures, and connectomes. How do we evaluate the samples these models generate? This work aims to provide an accessible entry point to understanding popular sample-based statistical distances, requiring only foundational knowledge in mathematics and statistics. We focus on four commonly used notions of statistical distances representing different methodologies: Using low-dimensional projections (Sliced-Wasserstein; SW), obtaining a distance using classifiers (Classifier Two-Sample Tests; C2ST), using embeddings through kernels (Maximum Mean Discrepancy; MMD), or neural networks (Fréchet Inception Distance; FID). We highlight the intuition behind each distance and explain their merits, scalability, complexity, and pitfalls. To demonstrate how these distances are used in practice, we evaluate generative models from different scientific domains, namely a model of decision-making and a model generating medical images. We showcase that distinct distances can give different results on similar data. Through this guide, we aim to help researchers to use, interpret, and evaluate statistical distances for generative models in science.

View on arXivView PDF

Code Implementations(1)

mackelab/labprojectCommunity100%
MIT

Labproject about comparing distributions metrics by @mackelab

41PythonJan 25, 20242 years agoMIT

Similar Papers

Cite this paper

@article{bischoff2024practical,
  title  = {A Practical Guide to Sample-based Statistical Distances for Evaluating Generative Models in Science},
  author = {Sebastian Bischoff and Alana Darcher and Michael Deistler and Richard Gao and Franziska Gerken and Manuel Gloeckler and Lisa Haxel and Jaivardhan Kapoor and Janne K Lappalainen and Jakob H Macke and Guy Moss and Matthijs Pals and Felix Pei and Rachel Rapp and A Erdem Sağtekin and Cornelius Schröder and Auguste Schulz and Zinovia Stefanidi and Shoji Toyota and Linda Ulmer and Julius Vetter},
  year   = {2024},
  eprint = {2403.12636},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.12636v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2403.12636.svg)](https://codeofpaper.com/paper/2403.12636)

Discussion