Evaluating latent diffusion
The limits of reconstruction fidelity and evaluation in medical image synthesis with latent diffusion
arXiv · November 2026
Reconstruction and synthesis
Across 27 CT pipelines, this 16× model ranked first by MedicalNet FID and 25th by reconstruction error. Table 1
Input and reconstruction
Held-out LUNA16 scan · central axial crop
Input
ReconstructionIndependent synthesis
Sample 0 · a separate draw for each model
16× compression · 8,192 codebook entries · 8 dimensions per entry. CT window −1,000 to 400 HU.
From our supplementary figures. Reconstructions (S11) · Generations (S12)
Which autoencoder would you select?
Lowest MAE selects the autoencoder that reconstructs held-out images with the smallest mean absolute error. Lowest FID selects the generator whose synthetic cohort is closest to the real cohort by Fréchet inception distance.
Select a cell to inspect a pipeline’s generated sample and scores. The compression factor f tells you how much each spatial axis shrinks in the autoencoder. Use the arrow keys to select adjacent cells.
| Codes K | Dim. c | f = 4 | f = 8 | f = 16 |
|---|
At f = 4, the three 32-dimensional X-ray autoencoders did not converge.
View selected sample and scoresGenerated sample
Loading sample…
- Reconstruction MAE
- Generated-cohort FID
- Radiomics distance
- PRDC recall
Model results for all 51 pipelines
We report reconstruction MAE to four decimals and rank the unrounded measurements within each modality. FID and the remaining columns use the precision of the published grids. Reconstruction MAE in Figure 4 · Table S6 · Table S7
| f | Codes K | Dim. c | MAE | MAE rank | FID | C2ST gap | Precision | Recall | Density | Coverage | WAD-A₁ | WAD-A₂ | FRD | Ncopy | Nmem |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 4 | 4,096 | 8 | 0.0207 | 8 | 0.0659 | 0.109 | 0.958 | 0.653 | 0.856 | 1 | 0.489 | 0.7 | 3.91 | 468 | 202 |
| 4 | 4,096 | 16 | 0.0180 | 4 | 0.0627 | 0.155 | 0.994 | 0.592 | 1.13 | 0.939 | 0.433 | 0.638 | 3.54 | 396 | 202 |
| 4 | 4,096 | 32 | 0.0190 | 6 | 0.0692 | 0.264 | 0.927 | 0.286 | 0.574 | 0.878 | 0.415 | 0.64 | 4.2 | 538 | 129 |
| 4 | 8,192 | 8 | 0.0175 | 2 | 0.196 | 0.235 | 1 | 0.592 | 1.27 | 0.837 | 0.377 | 0.63 | 3.82 | 489 | 142 |
| 4 | 8,192 | 16 | 0.0182 | 5 | 0.407 | 0.285 | 0.81 | 0.327 | 0.823 | 0.714 | 0.46 | 0.608 | 3.74 | 517 | 141 |
| 4 | 8,192 | 32 | 0.0212 | 9 | 0.0253 | 0.115 | 0.941 | 0.694 | 1 | 1 | 0.476 | 0.661 | 3.92 | 484 | 175 |
| 4 | 16,384 | 8 | 0.0174 | 1 | 0.0999 | 0.182 | 0.983 | 0.837 | 1.06 | 0.98 | 0.427 | 0.659 | 3.6 | 374 | 257 |
| 4 | 16,384 | 16 | 0.0175 | 3 | 0.0361 | 0.114 | 0.986 | 0.571 | 1.25 | 1 | 0.418 | 0.664 | 3.38 | 407 | 195 |
| 4 | 16,384 | 32 | 0.0199 | 7 | 0.0587 | 0.105 | 0.983 | 0.633 | 1.03 | 0.98 | 0.478 | 0.699 | 3.54 | 505 | 271 |
| 8 | 4,096 | 8 | 0.0267 | 17 | 0.181 | 0.227 | 0.983 | 0.837 | 0.918 | 0.98 | 0.42 | 0.647 | 3.76 | 586 | 340 |
| 8 | 4,096 | 16 | 0.0257 | 13 | 0.157 | 0.234 | 1 | 0.755 | 1.27 | 0.939 | 0.366 | 0.601 | 3.6 | 529 | 226 |
| 8 | 4,096 | 32 | 0.0268 | 18 | 0.102 | 0.188 | 0.936 | 0.49 | 1.06 | 0.98 | 0.4 | 0.577 | 3.96 | 513 | 173 |
| 8 | 8,192 | 8 | 0.0250 | 10 | 0.0209 | 0.0672 | 0.866 | 0.796 | 0.831 | 1 | 0.552 | 0.648 | 3.87 | 491 | 285 |
| 8 | 8,192 | 16 | 0.0257 | 14 | 0.0431 | 0.128 | 0.991 | 0.714 | 1.2 | 1 | 0.389 | 0.56 | 3.65 | 494 | 241 |
| 8 | 8,192 | 32 | 0.0262 | 16 | 0.0432 | 0.087 | 0.99 | 0.735 | 1.24 | 1 | 0.439 | 0.639 | 3.81 | 505 | 371 |
| 8 | 16,384 | 8 | 0.0254 | 12 | 0.0228 | 0.0294 | 0.996 | 0.755 | 1.22 | 1 | 0.426 | 0.599 | 3.93 | 461 | 294 |
| 8 | 16,384 | 16 | 0.0254 | 11 | 0.0239 | 0.0607 | 0.984 | 0.735 | 1.14 | 1 | 0.473 | 0.626 | 3.62 | 550 | 387 |
| 8 | 16,384 | 32 | 0.0262 | 15 | 0.0769 | 0.167 | 0.924 | 0.714 | 0.821 | 1 | 0.458 | 0.637 | 3.73 | 596 | 310 |
| 16 | 4,096 | 8 | 0.0404 | 23 | 0.0324 | 0.115 | 0.93 | 0.694 | 1.02 | 1 | 0.441 | 0.57 | 3.97 | 595 | 374 |
| 16 | 4,096 | 16 | 0.0398 | 22 | 0.0446 | 0.126 | 0.965 | 0.857 | 1.13 | 1 | 0.452 | 0.604 | 3.74 | 598 | 422 |
| 16 | 4,096 | 32 | 0.0392 | 20 | 0.046 | 0.121 | 0.99 | 0.898 | 1.15 | 1 | 0.449 | 0.626 | 3.74 | 582 | 440 |
| 16 | 8,192 | 8 | 0.0432 | 25 | 0.007 | 0.0526 | 0.964 | 0.735 | 1.13 | 1 | 0.452 | 0.553 | 4.07 | 625 | 380 |
| 16 | 8,192 | 16 | 0.0389 | 19 | 0.0147 | 0.0669 | 0.984 | 0.857 | 1.17 | 1 | 0.452 | 0.609 | 3.84 | 639 | 454 |
| 16 | 8,192 | 32 | 0.0465 | 27 | 0.0403 | 0.121 | 0.964 | 0.735 | 0.977 | 1 | 0.437 | 0.575 | 4.14 | 487 | 301 |
| 16 | 16,384 | 8 | 0.0407 | 24 | 0.0098 | 0.0815 | 0.976 | 0.837 | 1.18 | 1 | 0.459 | 0.601 | 3.95 | 603 | 444 |
| 16 | 16,384 | 16 | 0.0392 | 21 | 0.0379 | 0.119 | 0.97 | 0.633 | 1.02 | 0.98 | 0.391 | 0.594 | 3.74 | 567 | 317 |
| 16 | 16,384 | 32 | 0.0438 | 26 | 0.0422 | 0.12 | 0.96 | 0.714 | 1.11 | 0.98 | 0.454 | 0.613 | 4.03 | 552 | 386 |
| f | Codes K | Dim. c | MAE | MAE rank | FID | C2ST gap | Precision | Recall | Density | Coverage | WAD-A₁ | WAD-A₂ | FRD | Ncopy | Nmem |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 4 | 4,096 | 8 | 0.0096 | 2 | 0.566 | 0.0828 | 0.856 | 0.821 | 0.556 | 0.773 | 0.924 | 0.879 | 2.26 | 426 | 364 |
| 4 | 4,096 | 16 | 0.0105 | 5 | 4.05 | 0.333 | 0.888 | 0.557 | 0.464 | 0.235 | 0.941 | 0.985 | 2.8 | 313 | 224 |
| 4 | 8,192 | 8 | 0.0096 | 1 | 0.517 | 0.132 | 0.91 | 0.751 | 0.665 | 0.78 | 0.93 | 0.905 | 2.69 | 369 | 338 |
| 4 | 8,192 | 16 | 0.0106 | 6 | 2.39 | 0.177 | 0.9 | 0.63 | 0.612 | 0.729 | 0.844 | 0.851 | 2.72 | 435 | 344 |
| 4 | 16,384 | 8 | 0.0099 | 3 | 1.35 | 0.225 | 0.916 | 0.678 | 0.672 | 0.625 | 0.861 | 0.865 | 2.75 | 343 | 306 |
| 4 | 16,384 | 16 | 0.0100 | 4 | 1.26 | 0.138 | 0.888 | 0.712 | 0.635 | 0.764 | 0.887 | 0.887 | 2.69 | 327 | 323 |
| 8 | 4,096 | 8 | 0.0147 | 7 | 0.95 | 0.181 | 0.952 | 0.705 | 0.857 | 0.738 | 0.908 | 0.903 | 2.87 | 402 | 375 |
| 8 | 4,096 | 16 | 0.0154 | 10 | 0.824 | 0.107 | 0.927 | 0.756 | 0.736 | 0.806 | 0.921 | 0.907 | 2.59 | 418 | 420 |
| 8 | 4,096 | 32 | 0.0169 | 15 | 1.32 | 0.161 | 0.899 | 0.797 | 0.618 | 0.78 | 0.858 | 0.846 | 2.54 | 442 | 402 |
| 8 | 8,192 | 8 | 0.0153 | 9 | 0.785 | 0.137 | 0.9 | 0.778 | 0.631 | 0.768 | 0.926 | 0.878 | 2.48 | 374 | 368 |
| 8 | 8,192 | 16 | 0.0161 | 11 | 1.09 | 0.118 | 0.876 | 0.824 | 0.612 | 0.811 | 0.9 | 0.857 | 2.33 | 432 | 445 |
| 8 | 8,192 | 32 | 0.0163 | 14 | 9.86 | 0.191 | 0.959 | 0.781 | 0.806 | 0.546 | 0.933 | 0.87 | 3.49 | 397 | 319 |
| 8 | 16,384 | 8 | 0.0153 | 8 | 1.1 | 0.145 | 0.916 | 0.784 | 0.714 | 0.829 | 0.871 | 0.887 | 2.57 | 422 | 420 |
| 8 | 16,384 | 16 | 0.0162 | 13 | 1.27 | 0.227 | 0.916 | 0.794 | 0.68 | 0.665 | 0.912 | 0.849 | 2.45 | 404 | 394 |
| 8 | 16,384 | 32 | 0.0162 | 12 | 1.33 | 0.213 | 0.916 | 0.747 | 0.71 | 0.62 | 0.959 | 0.885 | 2.76 | 248 | 236 |
| 16 | 4,096 | 8 | 0.0202 | 19 | 1.35 | 0.0903 | 0.95 | 0.656 | 0.83 | 0.787 | 0.916 | 0.857 | 2.54 | 682 | 575 |
| 16 | 4,096 | 16 | 0.0200 | 18 | 0.439 | 0.111 | 0.946 | 0.695 | 0.841 | 0.855 | 0.861 | 0.851 | 2.5 | 765 | 714 |
| 16 | 4,096 | 32 | 0.0222 | 24 | 2.11 | 0.0714 | 0.947 | 0.749 | 0.849 | 0.83 | 0.923 | 0.805 | 2.61 | 543 | 508 |
| 16 | 8,192 | 8 | 0.0213 | 22 | 1.37 | 0.161 | 0.949 | 0.658 | 0.824 | 0.784 | 0.809 | 0.846 | 2.43 | 878 | 670 |
| 16 | 8,192 | 16 | 0.0199 | 17 | 0.857 | 0.0797 | 0.957 | 0.711 | 0.835 | 0.827 | 0.924 | 0.837 | 2.47 | 703 | 642 |
| 16 | 8,192 | 32 | 0.0216 | 23 | 1.09 | 0.123 | 0.926 | 0.69 | 0.763 | 0.81 | 0.825 | 0.77 | 2.44 | 648 | 595 |
| 16 | 16,384 | 8 | 0.0197 | 16 | 0.438 | 0.113 | 0.94 | 0.708 | 0.807 | 0.847 | 0.865 | 0.845 | 2.42 | 672 | 620 |
| 16 | 16,384 | 16 | 0.0202 | 20 | 1.48 | 0.155 | 0.938 | 0.67 | 0.787 | 0.808 | 0.814 | 0.815 | 2.48 | 683 | 629 |
| 16 | 16,384 | 32 | 0.0210 | 21 | 0.827 | 0.0412 | 0.914 | 0.734 | 0.725 | 0.832 | 0.936 | 0.834 | 2.26 | 591 | 499 |
WAD-A₁ uses the primary feature encoder. WAD-A₂ uses CT-FM for CT and Inception-v3 for X-ray. Ncopy and Nmem count generated and training images above our proximity threshold, respectively.
FID compares cohorts in a specified feature space. Compare scores within each modality. The lowest RadImageNet FID occurred at f = 16, while Inception-v3 favoured a different X-ray pipeline at f = 8. Table 1 · CT grid · X-ray grid · Feature comparison
Would a metric notice this change?
Compare how metrics respond to the same transformation and severity.


We increased the width of the Gaussian smoothing kernel. The fine lung markings soften as its standard deviation increases.
How the cohort responded
Fréchet inception distance compares feature means and covariances. A positive change means the perturbed cohort moved farther from the real reference.
| Features or input | Median Δ | Detection |
|---|---|---|
| RadImageNet | +0.144 | Detected |
| Inception-v3 | +14.9 | Detected |
95% bootstrap interval +0.14 to +0.153. Clean-variation threshold 0.0776.
Median raw FID rose from 0.285 in the clean cohort to 0.429 at 1 mm.
All five measurements for this metric
| Setting | Median Δ [95% interval] | Detection |
|---|---|---|
| 0 mm | 0 | Clean reference |
| 0.5 mm | +0.00929[+0.00858, +0.0124] | Not detected |
| 1 mm | +0.144[+0.14, +0.153] | Detected |
| 2 mm | +0.995[+0.978, +1.01] | Detected |
| 4 mm | +1.96[+1.94, +1.98] | Detected |
Our Figure S7 examples show the clean image and ranks s₁, s₂ and s₄. We illustrate the four additional transforms at all five ranks using independent public images. Every metric value comes from our study cohorts. Figure S7 · Figure crops · Independent image sources · Download the cohort measurements
How we measured and detected change
Within each replicate, we paired the clean and perturbed cohorts and kept the reference fixed for that metric. We report the median paired change and the raw median score for each cohort. We orient recall as a loss of reference coverage. For zero-reference WAD-Div we use the absolute change from each replicate’s clean spread. The other metrics shown use the perturbed score minus the clean score.
Shading shows a 95% bootstrap interval obtained by resampling replicates. The dashed line marks the real–real threshold. We calibrated it on 100 CT volumes or 1,024 radiographs per clean cohort. The HU Wasserstein response used 200-volume perturbed CT cohorts.
We called a non-zero severity detected when all three conditions were met.
- The median response moved in the expected direction.
- The lower bound of its 95% bootstrap interval exceeded zero.
- The response exceeded the 95th percentile of absolute deviations from the clean real–real median.
For these measurements, a positive change means the metric moved in the expected failure direction. We evaluated each severity separately. We show up to three significant digits here and retain the original export precision in the download.
Benchmark methodsStudy cohorts and generator comparisons
Lung CT
We split 888 LUNA16 scans by patient into 800 training, 39 validation and 49 test volumes. For each baseline pipeline, we compared 800 generated volumes with all 49 test volumes.
LUNA16 datasetChest radiography
We split the NIH ChestX-ray14 subset by patient into 10,000 training, 5,000 validation and 5,000 test images. We compared the 5,000 generated radiographs from each baseline pipeline with the test cohort.
NIH Clinical Center · Wang et al., CVPR 2017We trained each baseline diffusion model with a frozen autoencoder. When we compared three matched autoencoders per modality, the baseline U-Net reached its lowest primary FID at compression factor 16. The diffusion transformer reached its lowest at factor 8 in both datasets. Generator comparison in Table S9
Which metrics detect a known failure?
We introduced controlled changes to real lung CT scans and chest radiographs. Across 233 settings, every metric we tested missed at least one failure.
Change the feature extractor
Keep the metric and failure subtype fixed, then change which network supplies the image features. Compare whether the metric detects the failure and the lowest severity at which it responds.
105 of 279 matched metric–subtype comparisons
- Only one detected it 83
- Both detected it at different severities 22
- Agreed 174
| Outcome | MedicalNet | CT-FM |
|---|---|---|
| Only this extractor detected it | 8 | 75 |
| This extractor detected it earlier | 2 | 20 |
Both first detected it at the same severity in 16 comparisons. Neither detected it in 158.
In lung CT, switching extractors most often changed whether the metric detected a failure at any tested severity.
Detection rule and all comparison counts
At each severity, we compared a perturbed cohort and its clean counterpart against the same reference. Detection required a positive median response in the expected direction, a 95% replicate-bootstrap interval entirely above zero, and a response larger than the threshold from clean real–real comparisons. “Earlier” means the lower of the first detected severity ranks.
Each table cell counts matched metric–failure subtype pairs. The totals depend on the numbers of metrics and subtypes available for that modality. The 233 settings count the controlled perturbations across the study.
| Failure family | Neither | MedicalNet only | MedicalNet earlier | Same onset | CT-FM earlier | CT-FM only |
|---|---|---|---|---|---|---|
| All failure families | 158 | 8 | 2 | 16 | 20 | 75 |
| Intensity shift | 15 | 0 | 1 | 8 | 6 | 15 |
| Image-quality degradation | 9 | 0 | 0 | 0 | 5 | 22 |
| Mode dropping | 13 | 2 | 0 | 1 | 0 | 2 |
| Duplicate collapse | 2 | 0 | 0 | 2 | 4 | 1 |
| Exact donor copies | 9 | 0 | 0 | 0 | 0 | 0 |
| Near donor copies | 9 | 0 | 0 | 0 | 0 | 0 |
| Anatomical incoherence | 101 | 6 | 1 | 5 | 5 | 35 |
| Failure family | Neither | RadImageNet only | RadImageNet earlier | Same onset | Inception-v3 earlier | Inception-v3 only |
|---|---|---|---|---|---|---|
| All failure families | 43 | 6 | 60 | 26 | 28 | 13 |
| Intensity shift | 1 | 6 | 53 | 6 | 0 | 0 |
| Image-quality degradation | 0 | 0 | 6 | 15 | 23 | 0 |
| Mode dropping | 14 | 0 | 0 | 0 | 4 | 4 |
| Duplicate collapse | 2 | 0 | 1 | 5 | 1 | 2 |
| Exact donor copies | 11 | 0 | 0 | 0 | 0 | 0 |
| Near donor copies | 11 | 0 | 0 | 0 | 0 | 0 |
| Anatomical incoherence | 4 | 0 | 0 | 0 | 0 | 7 |
Our detection counts and perturbations appear in Figure S2, CT settings and X-ray settings. Metric-by-severity results · Dedicated donor-copy detector
Can a second metric recover the severity?
We first predicted the severity of each change using Fréchet inception distance (FID) alone. We then added a second metric. We selected these three examples after the exploratory analysis.
Mode dropping Lung CT
Zero-reference WAD-DIV from MedicalNet features
Intensity shift Lung CT
Distribution of left-lung mean attenuation (HU)
Thoracic deformation Chest X-ray
Classifier two-sample test on Inception-v3 features
Five-fold cross-validation kept each replicate in a single fold. A higher R² means better prediction of the imposed severity on held-out replicates. A negative value falls below the mean-severity baseline.
Examples from Figure 1F and Results §3.1. Full screen of 732 CT and 192 radiograph comparisons
Resources and citation
Research resources
Cite this work
@misc{seyfarth2026limits,
title = {The limits of reconstruction fidelity and evaluation in medical image synthesis with latent diffusion},
author = {Seyfarth, Marvin and Frisch, Yannik and Engelhardt, Sandy and Dar, Salman Ul Hassan},
year = {2026},
eprint = {2611.38239},
archivePrefix = {arXiv},
primaryClass = {eess.IV},
doi = {10.48550/arXiv.2611.38239},
url = {https://arxiv.org/abs/2611.38239}
}