Vision-Language Generative Model for View-Specific Chest X-ray Generation

Hyungyung Lee, Wonjae Kim, Jin-Hwa Kim, Tackeun Kim, Jihang Kim, Leonard Sunwoo, Edward Choi, Choi, Edward · DOI

Abstract

Synthetic medical data generation has opened up new possibilities in the healthcare domain, offering a powerful tool for simulating clinical scenarios, enhancing diagnostic quality, and accelerating the development of unbiased algorithms. We present ViewXGen, a novel approach designed to overcome the limitations of existing methods that rely on general-domain pipelines using only radiology reports to generate frontal-view chest X-rays (CXRs). ViewXGen incorporates diverse view positions and leverages multi-view CXRs as input, incorporating valuable information from different angles within the same study. This integration contributes to faithfully capturing abnormal findings. Statistical analyses and human evaluation demonstrate that ViewXGen produces realistic, view-specific X-rays that significantly outperform standard text-to-image baselines in both image quality and clinical efficacy.

Introduction: The Multi-View Challenge

In clinical radiology, a chest X-ray study is rarely a single image. Instead, it is a collection of views taken from different perspectives—most commonly Posterior-Anterior (PA), Anterior-Posterior (AP), and Lateral (side) views. Each perspective provides unique anatomical information essential for accurate diagnosis.

Existing generative models for medical imaging often suffer from two major flaws. First, they are typically view-agnostic, generating only frontal views without a mechanism to specify anatomical orientation. Second, they suffer from information underutilization, relying solely on text reports while ignoring the rich spatial information available in other views of the same patient. ViewXGen addresses these gaps by conditioning generation on both radiology reports and existing images from different angles.

Overview of the ViewXGen generation process, showing how a radiology report and an additional lateral view input are used to generate specific PA or AP views via special tokens.

Methodology

ViewXGen treats chest X-ray generation as a multimodal sequence-modeling task. The architecture is built on three core components:

1. Image Tokenization (VQ-GAN)

To handle high-resolution medical images efficiently, the model uses a VQ-GAN to compress X-rays into a grid of discrete visual tokens. This allows the generative model to operate in a compressed latent space rather than processing raw pixels, which is computationally prohibitive for multi-image sequences.

2. Multi-view Transformer Architecture

Because radiology reports and multi-view image sequences result in long token chains, ViewXGen utilizes the Performer architecture. The Performer uses a "FAVOR+" mechanism to reduce the standard quadratic computational complexity of Transformers to linear complexity. This efficiency is what enables the model to process multiple images and text simultaneously within a single context window.

Architectural overview of ViewXGen, illustrating the multimodal sequence modeling of text impressions and multi-view image tokens.

3. View-Specific Control Tokens

The "secret sauce" of ViewXGen is the introduction of specialized view tokens (e.g., [SOS_PA], [SOS_LAT]). These tokens act as prefixes that instruct the model exactly which anatomical view to generate. By using multimodal causal masking, the model learns to predict the next token in a sequence that integrates report text and existing view data to "complete" a study.

Experimental Results

The model was trained and evaluated on the MIMIC-CXR dataset, using a curated subset of approximately 208,000 studies containing common view combinations.

Quantitative Performance

ViewXGen significantly outperformed fine-tuned Stable Diffusion baselines across multiple metrics:

  • Image Quality: ViewXGen achieved a Fréchet Inception Distance (FID) score of 19.21, compared to 78.96 for Stable Diffusion (lower is better), indicating much higher fidelity and diversity.
  • Clinical Efficacy: To test if the generated images accurately represented diseases, a pre-trained classifier evaluated 14 different diagnoses. ViewXGen achieved an AUROC of 0.711, far exceeding the 0.589 achieved by the text-only baseline.

Human Evaluation

Three board-certified clinicians performed a blind evaluation of the generated images. On a 5-point realism scale, ViewXGen scored 4.19, which is statistically indistinguishable from the score of 4.17 given to real images. Clinicians were also able to correctly identify the intended view position in nearly every case, confirming the effectiveness of the view-specific tokens.

Key Insights and Future Work

A primary insight from this research is the power of cross-view correction. By providing a lateral view as an additional input, the model can triangulate the exact 3D position of abnormalities (like consolidations or effusions) in the generated frontal view, reducing the "hallucinations" common in text-only models. Furthermore, a unified model trained on all views performed better than separate models for each view, suggesting the Transformer learns a shared underlying anatomical representation.

Future work will focus on incorporating temporal context (comparing current images to historical ones) and improving the rendering of small supporting devices like pacemakers and catheters, which remain a challenge for current generative architectures.

Summary updated

BibTeX
@inproceedings{lee2024vision,
  author = {Hyungyung Lee and Wonjae Kim and Jin-Hwa Kim and Tackeun Kim and Jihang Kim and Leonard Sunwoo and Edward Choi and Choi, Edward},
  title = {{Vision-Language Generative Model for View-Specific Chest X-ray Generation}},
  booktitle = {CHIL},
  year = {2024},
}
Figure