A Pragmatic Note on Evaluating Generative Models with Fréchet Inception Distance for Retinal Image Synthesis

Yuli Wu, Fucheng Liu, Rüveyda Yilmaz, Henning Konermann, Peter Walter, Johannes Stegmaier

TL;DR

Standard generative evaluation metrics like Fréchet Inception Distance (FID) fail to predict how useful synthetic images will be for training downstream medical AI models. In retinal image synthesis, a "better" FID score often has zero or even a negative correlation with actual downstream classification and segmentation performance.

What Problem Does This Paper Address?

Deep generative models (like GANs and diffusion models) are increasingly used in the biomedical field to synthesize realistic images, helping to overcome data scarcity and privacy constraints. To evaluate these models, researchers almost universally rely on feature-distance metrics—most notably, the Fréchet Inception Distance (FID). FID measures how closely the distribution of synthetic images matches real images within the embedding space of a computer vision model (typically Inception-v3 trained on ImageNet).

However, in medicine, the ultimate goal of image synthesis is rarely just to generate visually pleasing pictures; it is to enrich datasets to train better downstream clinical models (e.g., classifiers or segmenters). This paper addresses a critical gap: Do standard generative evaluation metrics like FID actually serve as reliable proxies for the practical utility of synthetic data in downstream training?

Overview of the generative data enrichment pipeline and the metric misalignment problem.

Methods

The authors design a pragmatic evaluation pipeline across two distinct retinal imaging modalities:

  1. Generative Modeling: They generate synthetic datasets using three popular architectures: StyleGAN3, Medfusion (a latent diffusion model), and a standard DDPM. They sample checkpoints across different training stages or vary the number of sampling steps to create a spectrum of image qualities.
  2. Metric Evaluation: They compute seven representative feature-distance metrics, including vanilla FID, Clean-FID, Kernel Inception Distance (KID), CLIP-based metrics (CLIP-FD, CMMD), Feature Likelihood Divergence (FLD), and a modality-specific metric using RETFound (a vision foundation model pretrained specifically on retinal images).
  3. Downstream Task Training: They train downstream models (ResNet-50 and Swin Transformer for classification; U²-Net and TransUNet for segmentation) using combinations of real and synthetic data.
  4. Correlation Analysis: They use Kendall’s $\tau$ rank correlation to statistically evaluate whether the rankings provided by the evaluation metrics align with actual downstream performance (F1-score or Dice score).

Datasets

The study evaluates the methods on two primary retinal imaging datasets:

  • AIROGS Dataset: Contains approximately 101,000 color fundus photography images labeled for glaucoma screening (Referable Glaucoma vs. No Referable Glaucoma). This represents a large-scale, highly imbalanced classification setting.
  • MICCAI GOALS Challenge Dataset: Consists of 100 circumpapillary Optical Coherence Tomography (OCT) images with pixel-wise annotations for three retinal layers (RNFL, GCIPL, and choroid layer). This represents a small-sample segmentation regime.

Key Insights and Ideas

  • The Illusion of Metric Innovation: Newer, theoretically more robust metrics (like CMMD or Clean-FID) are highly redundant with standard FID. They rank generative models almost identically, but they all fail equally at predicting downstream utility.
  • Domain Knowledge Doesn't Fix the Metric: Replacing the ImageNet-pretrained Inception network with a specialized medical foundation model (RETFound) does not fix the misalignment. Modality-specific feature extractors still yield metrics that correlate poorly with downstream task performance.
  • The StyleGAN3 Paradox: For StyleGAN3 on fundus images, the metrics showed a strong positive Kendall's $\tau$ correlation ($\approx 0.69$). Because lower metric scores are supposed to be "better," this statistically implies that worse FID scores actually led to better downstream classification performance.
Downstream task performance compared against the reciprocal of FID across different models.

Key Results

  • For Diffusion Models (Medfusion & DDPM): The correlation between all seven feature-distance metrics and downstream utility (F1 or Dice scores) was statistically insignificant ($p \ge 0.05$). In practice, this means using FID to select the best diffusion model checkpoint for data augmentation is no better than random selection.
  • For GANs (StyleGAN3): All seven metrics significantly misaligned with downstream performance ($p < 0.01$). Models with poorer (higher) FID scores consistently yielded superior downstream F1-scores when added to the training set.

Limitations and Future Work

While highly suggestive, the study focuses strictly on two retinal imaging modalities (color fundus and OCT). The authors note that they did not evaluate handcrafted, radiology-specific metrics like the Fréchet Radiology Distance (FRD), leaving open the question of whether handcrafted features might perform better than deep embeddings. Furthermore, the exact underlying mechanism causing this misalignment remains unproven; potential culprits include a drop in synthetic sample diversity or subtle label-image inconsistencies that fool the downstream models but not the feature extractors.

The authors conclude that downstream task evaluation must remain the gold standard for biomedical data enrichment. They suggest that future research should focus on making downstream evaluation more computationally practical, perhaps through surrogate modeling or partial downstream evaluation workflows.

Summary updated

BibTeX
@inproceedings{wu2026pragmatic,
  author = {Yuli Wu and Fucheng Liu and Rüveyda Yilmaz and Henning Konermann and Peter Walter and Johannes Stegmaier},
  title = {{A Pragmatic Note on Evaluating Generative Models with Fréchet Inception Distance for Retinal Image Synthesis}},
  booktitle = {MIDL},
  year = {2026},
  url = {https://openreview.net/forum?id=NabZo8HWuh},
}
Figure