Language-Guided Trajectory Traversal in Disentangled Stable Diffusion Latent Space for Factorized Medical Image Generation

Zahra TehraniNasab, Amar Kumar, Tal Arbel
3/30/2025
cs.CV

No official code found. Best implementation: tehraninasab/sd-latent-traversal (4 stars, MIT, last commit 2026-01-27).

Abstract

Text-to-image diffusion models have demonstrated a remarkable ability to generate photorealistic images from natural language prompts. These high-resolution, language-guided synthesized images are essential for the explainability of disease or exploring causal relationships. However, their potential for disentangling and controlling latent factors of variation in specialized domains like medical imaging remains under-explored. In this work, we present the first investigation of the power of pre-trained vision-language foundation models, once fine-tuned on medical image datasets, to perform latent disentanglement for factorized medical image generation and interpolation. Through extensive experiments on chest X-ray and skin datasets, we illustrate that fine-tuned, language-guided Stable Diffusion inherently learns to factorize key attributes for image generation, such as the patient's anatomical structures or disease diagnostic features. We devise a framework to identify, isolate, and manipulate key attributes through latent space trajectory traversal of generative models, facilitating precise control over medical image synthesis.

View on arXivView PDF

Code Implementations(1)

MIT

[MIV-CVPR 2025] Official implementation of "Language-Guided Trajectory Traversal in Disentangled Stable Diffusion Latent Space for Factorized Medical Image Generation"

40Shell, PythonApr 14, 20258 months agoMIT
controlled-generationdiffusion-modelsdisentanglementgenaigenerative-ai+1 more

Similar Papers

Cite this paper

@article{tehraninasab2025languageguided,
  title  = {Language-Guided Trajectory Traversal in Disentangled Stable Diffusion Latent Space for Factorized Medical Image Generation},
  author = {Zahra TehraniNasab and Amar Kumar and Tal Arbel},
  year   = {2025},
  eprint = {2503.23623},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.23623v1}
}

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

Discussion