Patient-data memorization
Unconditional latent diffusion models memorize patient imaging data
Nature Biomedical Engineering 2026
How many training images reappear?
Counts are estimates from the labeled checkpoints in Extended Data Fig. 7c. View values and precision
Compare the four datasets
See how often each model repeated training data in coronary CT, knee MRI, brain MRI, and chest radiographs.
Across seven model–dataset settings, an average of 37.2% of training samples had a detected copy, and 68.7% of generated outputs were classified as copies.
Generated samples identified as copies
All reported values
| Dataset | Model | Samples per set | Training samples memorized | Generated copies |
|---|---|---|---|---|
| PCCTA | MedDiff | 242 | 43.8% | 91.7% |
| PCCTA | MONAI | 242 | 40.5% | 83.1% |
| MRNet | MedDiff | 904 | 40.2% | 76.1% |
| MRNet | MONAI | 904 | 47.6% | 87.2% |
| fastMRI | MedDiff | 1,000 | 24.8% | 37.3% |
| fastMRI | MONAI | 1,000 | 30.8% | 51.0% |
| Chest X-ray | MONAI-2D | 10,000 | 32.6% | 54.5% |
Rates and sample counts are from the main paper, Figure 3.
One training image can return several times
The same set of matches answers two questions, each with its own denominator.
Follow a repeated sample
Illustrative example with six training items and six outputs.
Training items
Generated outputs
A marks a copy of the same item. Open circles represent other outputs.
1 of 6 training items was memorized. 3 of 6 generated outputs are copies.
Describe each image
A self-supervised encoder represented training, validation, and generated images in a common feature space.
Assess similarity
The authors used held-out validation images to calibrate the similarity expected between different samples and checked detected matches against human judgments.
Count in both directions
Each distinct training sample with a detected copy counts once. Each generated output classified as a copy counts separately.
The authors show matched images for coronary CT, knee MRI, brain MRI and chest radiographs. Credits and adaptations for the independent reference images
What changes with more outputs?Drawing more samples reveals more training images
For a fixed training set, the authors compared three sizes of generated datasets.
Effect of the sampling budget
1,000 training MRI volumes
Quadrupling the number of outputs exposed copies of nearly half the training set. The proportion of generated samples identified as copies stayed close to one half.
| Outputs | Training memorized | Output copies |
|---|---|---|
| 500 | 20.8% | 48.8% |
| 1,000 | 31.5% | 49.4% |
| 2,000 | 49.7% | 49.5% |
10,000 training radiographs
With four times as many outputs, the share of training images with a detected copy more than doubled. About 54% of the outputs were copies at each sample size.
| Outputs | Training memorized | Output copies |
|---|---|---|
| 5,000 | 21.0% | 54.0% |
| 10,000 | 32.7% | 54.7% |
| 20,000 | 46.0% | 54.3% |
Values come from a separate sampling experiment. Supplementary Table S4
Training checkpoints and reading precision
Each value estimates the number of distinct training samples with a detected copy at one marked checkpoint. Iterations follow the paper’s tick labels. The X-ray table uses the 15 labeled positions with observations, and the 3D series use all 15 marked checkpoints.
Counts from the plot are rounded to the nearest 50 radiographs, 5 MRI volumes or 1 CT patch. Small differences can disappear at this precision. In the main evaluation, Figure 3 reports that 32.6% of the 10,000 training radiographs had a detected copy. Among generated radiographs, 54.5% were copies.
| Iterations | MONAI-2D |
|---|---|
| 13k | 300 |
| 26k | 450 |
| 40k | 400 |
| 53k | 500 |
| 66k | 700 |
| 80k | 850 |
| 93k | 1,100 |
| 106k | 1,550 |
| 120k | 1,950 |
| 133k | 2,400 |
| 146k | 2,400 |
| 160k | 2,800 |
| 173k | 2,450 |
| 186k | 2,800 |
| 200k | 3,250 |
| Iterations | PCCTA · MedDiff | PCCTA · MONAI | MRNet · MedDiff | MRNet · MONAI | fastMRI · MedDiff | fastMRI · MONAI |
|---|---|---|---|---|---|---|
| 10k | 56 | 53 | 100 | 120 | 40 | 35 |
| 20k | 95 | 32 | 205 | 140 | 60 | 40 |
| 30k | 111 | 83 | 275 | 135 | 110 | 50 |
| 40k | 91 | 69 | 305 | 125 | 135 | 55 |
| 50k | 87 | 57 | 350 | 180 | 160 | 70 |
| 60k | 111 | 69 | 350 | 205 | 140 | 85 |
| 70k | 97 | 87 | 365 | 305 | 165 | 95 |
| 80k | 122 | 79 | 360 | 240 | 190 | 125 |
| 90k | 114 | 87 | 315 | 335 | 190 | 160 |
| 100k | 103 | 42 | 375 | 290 | 210 | 170 |
| 110k | 119 | 96 | 355 | 310 | 185 | 180 |
| 120k | 123 | 97 | 400 | 405 | 175 | 220 |
| 130k | 117 | 94 | 375 | 405 | 260 | 220 |
| 140k | 110 | 125 | 315 | 340 | 265 | 250 |
| 150k | 106 | 98 | 365 | 430 | 250 | 315 |
Training trajectories in Extended Data Fig. 7c · Published cohort percentages in Fig. 3
Resources and citation
Research resources
Cite this work
@article{dar2026memorization,
title = {Unconditional latent diffusion models memorize patient imaging
data},
author = {Dar, Salman Ul Hassan and Seyfarth, Marvin and Ayx, Isabelle and
Papavassiliu, Theano and Schoenberg, Stefan O. and Siepmann, Robert
Malte and Laqua, Fabian Christopher and Kahmann, Jannik and Frey,
Norbert and Baeßler, Bettina and Foersch, Sebastian and Truhn, Daniel
and Kather, Jakob Nikolas and Engelhardt, Sandy},
journal = {Nature Biomedical Engineering},
volume = {10},
number = {3},
pages = {458--472},
year = {2026},
doi = {10.1038/s41551-025-01468-8}
}