Latent Drifting in Diffusion Models for Counterfactual Medical Image Synthesis

Yousef Yeganeh, Ioannis Charisiadis, Marta Hasny, Martin Hartenberger, Bjorn Ommer +3 more
2/9/2026

No confident code implementation found for this paper. 9 possible matches can be shown below.

Abstract

Scaling by training on large datasets has been shown to enhance the quality and fidelity of image generation and manipulation with diffusion models; however, such large datasets are not always accessible in medical imaging due to cost and privacy issues, which contradicts one of the main applications of such models to produce synthetic samples where real data is scarce. Also, fine-tuning on pretrained general models has been a challenge due to the distribution shift between the medical domain and the pretrained models. Here, we propose Latent Drift (LD) for diffusion models that can be adopted for any fine-tuning method to mitigate the issues faced by the distribution shift or employed in inference time as a condition. Latent Drifting enables diffusion models to be conditioned for medical images fitted for the complex task of counterfactual image generation, which is crucial to investigate how parameters such as gender, age, and adding or removing diseases in a patient would alter the medical images. We evaluate our method on three public longitudinal benchmark datasets of brain MRI and chest X-rays for counterfactual image generation. Our results demonstrate significant performance gains in various scenarios when combined with different fine-tuning schemes.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 9 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yeganeh2026latent,
  title  = {Latent Drifting in Diffusion Models for Counterfactual Medical Image Synthesis},
  author = {Yousef Yeganeh and Ioannis Charisiadis and Marta Hasny and Martin Hartenberger and Bjorn Ommer and Nassir Navab and Azade Farshad and Ehsan Adeli},
  year   = {2026},
  eprint = {2412.20651},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2412.20651},
  journal = {CVPR 2024 2024}
}

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/2412.20651.svg)](https://codeofpaper.com/paper/2412.20651)

Discussion