GenMed: A Pairwise Generative Reformulation of Medical Diagnostic Tasks

Hantao Zhang, Weidong Guo, Yuhe Liu, Jiancheng Yang, Sathvik Bhagavan +3 more
5/11/2026
2 citations
cs.CV

No official code found. Best implementation: schmidtkk/genmed-project-page (0 stars, HTML, last commit 2026-06-16).

Abstract

Data-driven medical AI is traditionally formulated as a discriminative mapping from input $X$ to output $Y$ via a learned function $f$, which does not generalize well across heterogeneous data and modalities encountered in real-world clinical settings. In this work, we propose a fundamentally different, generative paradigm.

Show full abstract

We model the joint distribution $P(X,Y)$ using diffusion models and reframe inference as a test-time output optimization problem. By guiding the generative process to match observed inputs, our framework enables flexible, gradient-based conditioning at inference time without architectural changes or retraining, effectively supporting arbitrary and previously unseen combinations of observations. Extensive experiments demonstrate strong performance across standard and cross-modality medical image segmentation, few-shot segmentation with only 2 or 4 training samples, degraded-input segmentation, shape completion from sparse and partial observations, and zero-shot application to demonstrate generality. To support these evaluations, we curated and released a large-scale text-shape dataset derived from MedShapeNet. Our results highlight the versatility of generative joint modeling as a foundation for reusable, task-agnostic medical AI systems.

View on arXivView PDF

Code Implementations(1)

Project page for GenMed: A Pairwise Generative Reformulation of Medical Diagnostic Tasks

00HTML, CSSJun 15, 20265 months ago

Similar Papers

Cite this paper

@article{zhang2026genmed,
  title  = {GenMed: A Pairwise Generative Reformulation of Medical Diagnostic Tasks},
  author = {Hantao Zhang and Weidong Guo and Yuhe Liu and Jiancheng Yang and Sathvik Bhagavan and Danli Shi and Mingda Xu and Pascal Fua},
  year   = {2026},
  eprint = {2605.10645},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.10645v1}
}

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

Discussion