Generative Vision Atlas

landmark

RoentGen: Vision-Language Foundation Model for Chest X-ray Generation

Pierre Chambon, Christian Bluethgen, Jean-Benoit Delbrouck · Stanford University · 2022-11 · arXiv:2211.12737

Why it matters

Adapts Stable Diffusion to chest X-rays by fine-tuning the U-Net and text encoder while freezing Stable Diffusion's natural-image VAE, and shows the synthetic images improve downstream classifiers by up to five points. The frozen natural-image latent is a pragmatic transfer-learning choice; the paper does not test whether that VAE discards clinically relevant detail.

What this paper does

read: full text

Before this

Stable Diffusion had been pretrained on billions of natural image-text pairs from LAION, and prior chest X-ray synthesis was mostly GAN-based, class-conditional, and limited to a handful of pathologies rather than open text conditioning. Early attempts to apply Stable Diffusion directly to chest X-rays performed poorly, with one few-shot study losing 9.7 points of AUROC relative to a real-data baseline.

The problem

The paper addresses the large distributional shift between natural images and chest radiographs, and between natural language and the narrow, domain-specific vocabulary of radiology reports, which stops a natural-image-pretrained model from generating clinically faithful, text-controllable X-rays.

The idea

Fine-tune Stable Diffusion's denoising U-Net and CLIP text encoder on chest X-rays and radiology report text from MIMIC-CXR, while keeping Stable Diffusion's VAE frozen, so the model inherits natural-image visual priors but learns radiology-specific content and vocabulary.

How it works

Generation happens in Stable Diffusion's natural-image VAE latent space, borrowed unchanged from the natural-image pretrained model rather than trained on chest X-rays. The paper's only stated reason is a citation to the authors' own earlier work, stating that the VAE component is suitable for CXR generation without modification, so it was kept frozen. No analysis of reconstruction fidelity or loss of fine anatomical detail, such as tubes, lines, or small nodules, is given in this paper, and no ablation compares a retrained VAE against the frozen one. The U-Net and CLIP text encoder were fine-tuned on 377,110 MIMIC-CXR images and their radiology report impressions, with learning-rate and step-count sweeps up to 60,000 steps.

Evidence

The paper reports FID-style distribution metrics, downstream classifier improvement, and a genuine reader study, which puts it ahead of purely distributional evaluation. FID computed with a CXR-specific classifier drops from 47.7 for unmodified Stable Diffusion to 3.6 for the best fine-tuned model. Augmenting real training data with synthetic images improves a downstream classifier's AUROC by about 5 points when trained jointly on 30,000 real and 30,000 synthetic images, and by about 3 points when trained purely on a larger synthetic set, both measured against a real-only baseline. Two radiologists with 7 and 9 years of experience rated 104 real-versus-synthetic image pairs for realism on a negative-2-to-2 scale and gave average scores of 1.67 and 1.81, indicating synthetic images were rated close to real, though the paper notes radiologists could still often distinguish them through device-artifact cues.

Limitations

The paper concedes its synthetic images have a limited grayscale range that precludes realistic windowing and should not be regarded as a replacement for actual chest X-ray studies. It trains on a single institution's data, uses only the shorter impression section of reports rather than full findings, overfits when fine-tuned on datasets of only a few hundred images, and shows catastrophic forgetting of general-domain text-encoder knowledge during medical fine-tuning that the paper does not mitigate.

Why it matters

It shows a natural-image foundation model can be adapted cheaply to a clinical domain and still improve a downstream classifier by a measurable margin, while leaving the frozen natural-image VAE's fitness for clinically relevant detail as an open, unexamined assumption that the rest of this transfer-VAE line inherits.

Abstract, in the authors' own words

Multimodal models trained on large natural image-text pair datasets have exhibited astounding abilities in generating high-quality images. Medical imaging data is fundamentally different to natural images, and the language used to succinctly capture relevant details in medical data uses a different, narrow but semantically rich, domain-specific vocabulary. Not surprisingly, multi-modal models trained on natural image-text pairs do not tend to generalize well to the medical domain. Developing generative imaging models faithfully representing medical concepts while providing compositional diversity could mitigate the existing paucity of high-quality, annotated medical imaging datasets. In this work, we develop a strategy to overcome the large natural-medical distributional shift by adapting a pre-trained latent diffusion model on a corpus of publicly available chest x-rays (CXR) and their corresponding radiology (text) reports. We investigate the model's ability to generate high-fidelity, diverse synthetic CXR conditioned on text prompts. We assess the model outputs quantitatively using image quality metrics, and evaluate image quality and text-image alignment by human domain experts. We present evidence that the resulting model (RoentGen) is able to create visually convincing, diverse synthetic CXR images, and that the output can be controlled to a new extent by using free-form text prompts including radiology-specific language. Fine-tuning this model on a fixed training set and using it as a data augmentation method, we measure a 5% improvement of a classifier trained jointly on synthetic and real images, and a 3% improvement when trained on a larger but purely synthetic training set. Finally, we observe that this fine-tuning distills in-domain knowledge in the text-encoder and can improve its representation capabilities of certain diseases like pneumothorax by 25%.

Research line

Medical: borrowed natural-image latentdominant

Problem

Method note — the shared flow-matching interpolation

Every flow-matching / rectified-flow paper in this atlas trains toward a straight-line path between a noise sample x₀ and a data sample x₁:

xt=(1t)x0+tx1,vθ(xt,t)x1x0x_t = (1-t)\,x_0 + t\,x_1, \qquad v_\theta(x_t, t) \approx x_1 - x_0

Builds on

Nothing recorded yet.

Built on by

Nothing recorded yet.