Image-conditioned diffusion preserves latent physiological signals and enables cross-site transfer of synthetic medical images

Doron Yaya-Stupp, Guy Lutsker, Or Spiegel Yerushalmi, Eran SegalML4H 2026 Poster 2026

TL;DR

Sharing medical images to train AI models is a privacy minefield, and standard text-to-image (T2I) generators lose subtle, unprompted clinical signals—like hemoglobin levels or blood pressure—that aren't spelled out in the text prompt. This paper shows that image-to-image (I2I) diffusion, which starts from a noised version of a real medical image, preserves these hidden physiological signals and enables cross-hospital transfer learning at performance comparable to real data. Even better, dialing the noise strength up or down gives researchers a tunable knob to balance clinical utility against patient re-identification risk—though it works much better for retinal scans than for chest X-rays.

What Problem Does This Paper Address?

Medical AI thrives on large, diverse datasets, but patient privacy laws make sharing raw medical images across institutions notoriously difficult. Generative AI offers a tempting workaround: share synthetic images instead.

The catch is that most medical image generators are text-conditioned (T2I)—they only draw what you explicitly ask for in the prompt (e.g., "a chest X-ray with cardiomegaly"). In medicine, however, some of the most valuable signals are subtle, distributed, and continuous biomarkers (like hemoglobin, waist circumference, or blood pressure) that aren't easily described in words—or aren't even known in advance. When you generate an image from pure noise and a text prompt, those latent physiological signals vanish.

Methods

The authors fine-tuned Stable Diffusion 1.4 using Low-Rank Adapters (LoRA) on retinal fundus photographs and chest X-rays, then compared two generation regimes:

  • Text-to-Image (T2I): Sampling from pure noise conditioned only on a structured clinical prompt.
  • Image-to-Image (I2I): Starting from a real source image noised up to a chosen strength parameter $s \in [0, 1]$, then denoising it with the same prompt. At $s = 0$, you get the original image back; as $s$ increases, the output drifts further from the source.

To test whether clinical signals survived, they trained BiT-ResNet v2 101 biomarker estimators on real images, T2I images, I2I images, and real-synthetic mixtures, and evaluated cross-site transfer by pretraining on one cohort and fine-tuning on another. Finally, they simulated similarity-based linkage attacks (using pixel-level SSIM and DINOv2 embedding cosine distance) to see how easily a synthetic image could be matched back to its original patient.

Datasets

  • Human Phenotype Project (HPP): 23,259 retinal fundus images from 10,010 participants, paired with rich clinical and lab data (age, sex, blood pressure, grip strength, waist circumference, hemoglobin, creatinine, etc.).
  • UK Biobank (UKB): 35,334 retinal images from 17,639 participants, matched to HPP's shared attributes to test cross-site transfer across different populations and acquisition conditions.
  • NIH CXR-8: 108,948 frontal chest X-rays from 32,717 participants (filtered to 12 radiographic labels, one PA-view per participant, with "no-finding" images downsampled to 30%).

Key Insights and Ideas

  • Signal beyond the prompt: I2I generation preserves source-specific physiological signals that T2I misses—including continuous biomarkers never mentioned in the prompt (like hemoglobin and waist circumference). Even when the prompt is stripped down to just the imaging modality, I2I images still retain clinically meaningful variation.
  • Synthetic-only cross-site transfer works: Models pretrained exclusively on I2I-synthetic retinal images from HPP transfer to the external UKB cohort at performance comparable to models pretrained on real images, with the biggest payoff when target-site labeled data is scarce.
  • Mixing synthetic with real data has limits: If an institution already has access to real images, adding synthetic data to the training mix offers little advantage over standard image augmentations (like cropping and rotation). The real superpower of synthetic data here is cross-institutional sharing.
  • Noise strength tunes privacy—up to a point: Increasing the I2I noise strength $s$ smoothly trades off biomarker fidelity for privacy in retinal images. However, chest X-rays break this pattern: their localized anatomical features make them a strong biometric, remaining highly linkable even at high noise levels.

Key Results

  • Biomarker Preservation: At reference strength $s = 0.5$, biomarker estimators agreed much more closely between real and I2I images than between real and T2I images across both modalities. For example, Pearson correlation for hemoglobin on retina images was 0.52 for I2I vs. 0.14 for T2I.
Pearson correlation between biomarker estimators on real vs synthetic images
  • Cross-Site Transfer (HPP $\to$ UKB): Pretraining on I2I-synthetic images matched real-image pretraining across UKB fine-tuning sizes, with the clearest gains in low-data regimes (100–200 labeled target images).
Cross-site transfer performance from HPP to UK Biobank
  • Re-Identification Risk (Retina vs. CXR): On retinal images, top-1 re-identification accuracy dropped from 100% (SSIM) / 95% (embedding) at $s = 0.1$, down to 31% / 15% at $s = 0.5$, and 0.7% / 2.3% at $s = 0.9$ (still above the ~0.04% chance baseline). On CXR, however, SSIM still recovered 100% of sources at $s = 0.5$ and 63% at $s = 0.9$.

Limitations and Future Work

The authors note several important boundaries. First, their privacy tests measure empirical linkage under similarity-based retrieval, not formal privacy guarantees like differential privacy (which might inject too much noise to preserve subtle biomarkers). Second, they only tested two 2D modalities, one diffusion backbone (Stable Diffusion 1.4), and one estimator architecture (BiT-ResNet v2 101). Finally, they did not conduct a clinical reader study to validate visual findings, nor did they audit for site-specific acquisition signatures or generator memorization. Future work will need to extend these tests to 3D volumetric imaging, stronger privacy audits, and modalities like CXR where localized anatomy resists simple noise masking.

Summary updated

BibTeX
@inproceedings{yayastupp2026image,
  author = {Doron Yaya-Stupp and Guy Lutsker and Or Spiegel Yerushalmi and Eran Segal},
  title = {{Image-conditioned diffusion preserves latent physiological signals and enables cross-site transfer of synthetic medical images}},
  booktitle = {ML4H 2026 Poster},
  year = {2026},
  url = {https://openreview.net/forum?id=CZ0TK5ePFw},
}
Figure