MedShift: Implicit Conditional Transport for X-Ray Domain Adaptation

Francisco Caetano, Christiaan Viviers, Peter H. H. de With, Fons van der Sommen
8/29/2025
cs.CVcs.AI

No confident code implementation found for this paper.

Abstract

Synthetic medical data offers a scalable solution for training robust models, but significant domain gaps limit its generalizability to real-world clinical settings. This paper addresses the challenge of cross-domain translation between synthetic and real X-ray images of the head, focusing on bridging discrepancies in attenuation behavior, noise characteristics, and soft tissue representation. We propose MedShift, a unified class-conditional generative model based on Flow Matching and Schrodinger Bridges, which enables high-fidelity, unpaired image translation across multiple domains. Unlike prior approaches that require domain-specific training or rely on paired data, MedShift learns a shared domain-agnostic latent space and supports seamless translation between any pair of domains seen during training. We introduce X-DigiSkull, a new dataset comprising aligned synthetic and real skull X-rays under varying radiation doses, to benchmark domain translation models. Experimental results demonstrate that, despite its smaller model size compared to diffusion-based approaches, MedShift offers strong performance and remains flexible at inference time, as it can be tuned to prioritize either perceptual fidelity or structural consistency, making it a scalable and generalizable solution for domain adaptation in medical imaging. The code and dataset are available at https://caetas.github.io/medshift.html

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. Any repos shown below are weak matches — 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{caetano2025medshift,
  title  = {MedShift: Implicit Conditional Transport for X-Ray Domain Adaptation},
  author = {Francisco Caetano and Christiaan Viviers and Peter H. H. de With and Fons van der Sommen},
  year   = {2025},
  eprint = {2508.21435},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.21435v1}
}

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

Discussion