Evaluating and Improving the Effectiveness of Synthetic Chest X-Rays for Medical Image Analysis

Eva Prakash, Jeya Maria Jose Valanarasu, Zhihong Chen, Eduardo Pontes Reis, Andrew Johnston, Anuj Pareek, Christian Bluethgen, Sergios Gatidis, Cameron Olsen, Akshay Chaudhari, Andrew Y. Ng, Curtis P. LanglotzarXiv 2024 · DOI

Executive Summary

This research explores the utility of synthetic chest X-rays generated via latent diffusion models to address the data scarcity bottleneck in medical AI. By leveraging architectures like ControlNet and Roentgen, the study demonstrates that paired synthetic images and segmentation masks can significantly enhance model performance in low-data regimes. Key findings include F1 score improvements of up to 0.15 for classification and Dice score gains of 0.14 for segmentation when real training data is limited to just 1% of standard datasets.

The Medical Data Bottleneck

Developing robust AI for medical imaging is hindered by the "data bottleneck." High-quality, labeled medical datasets are scarce due to patient privacy regulations, logistical hurdles in data sharing, and the high cost of expert radiologist annotations. While Generative Adversarial Networks (GANs) were early candidates for synthetic data generation, they often lacked the clinical fidelity required for medical utility. Modern diffusion models offer higher realism but typically struggle to generate paired data—images with corresponding, accurate segmentation masks. This study investigates a framework for generating high-fidelity, paired synthetic data and evaluates its impact on real-world clinical tasks.

Methodology: Generating Paired Synthetic Data

The researchers developed a multi-stage approach to generate and refine synthetic medical images:

  1. Latent Diffusion & ControlNet: Utilizing a latent diffusion model based on the Roentgen architecture, the team integrated ControlNet. This allowed the model to be conditioned on dual inputs: text prompts (e.g., "pneumonia") and segmentation masks. This dual conditioning is critical for creating paired datasets suitable for segmentation tasks.
  2. Geometric Data Augmentation: For segmentation, real masks were subjected to geometric transformations (dilation, erosion, flipping). The diffusion model then "filled in" the corresponding X-ray image, effectively hallucinating new clinical scenarios from existing anatomical structures.
  3. Automated Refinement via Proxy Model: To ensure clinical relevance, BiomedCLIP was used as a "proxy" for radiologist evaluation. By calculating cosine similarity between disease prompts and generated images, the system filtered out low-quality "hallucinations" and fine-tuned the generator on the most accurate synthetic samples.
  4. Human-in-the-Loop (RLHF/DPO): Quality rankings from four radiologists were used to fine-tune the model via Direct Preference Optimization (DPO), aligning the generative output with human expert preferences.
Overview of the synthetic data generation pipeline and its application to downstream segmentation and classification tasks.

Experimental Setup and Datasets

The framework was evaluated across four major public chest X-ray benchmarks:

  • CheXpert: Multi-label classification (e.g., atelectasis, cardiomegaly).
  • RSNA Pneumonia: Binary classification of pneumonia.
  • CANDID-PTX & SIIM: Pneumothorax (collapsed lung) segmentation.

Key Insights and Results

The study revealed that synthetic data provides a "lifeline" in data-scarce environments. The most dramatic benefits were observed in the 1% and 10% data regimes. As the volume of real data increases toward 100%, the marginal benefit of adding synthetic data plateaus.

Quantitative Performance Gains

  • Classification: In the RSNA Pneumonia task with only 1% real data, the mean F1 score increased from 0.0104 (baseline) to 0.1541 with 25x synthetic augmentation.
  • Segmentation: For the SIIM dataset at 1% real data, the Dice score improved from 0.0217 to 0.150.
  • Refinement Effectiveness: Automated filtering using the BiomedCLIP proxy model proved more effective at improving classification performance than small-scale radiologist feedback loops.
The proxy model feedback loop uses BiomedCLIP to score generated images against text prompts, leading to improved classification performance on the CheXpert dataset.

Discussion and Future Directions

A key takeaway is that simplicity in prompting—using single-disease labels—was more effective for downstream performance than complex, multi-disease descriptions. Furthermore, the "geometric diversity" introduced by hallucinating images onto transformed masks allowed models to learn a wider variety of pathological presentations than those present in small real-world datasets.

However, limitations remain. The study's focus was narrow, centered on chest X-rays and pneumothorax segmentation. The generalizability to 3D modalities like CT or MRI is yet to be determined. Additionally, while the proxy model mitigates hallucinations, diffusion models can still produce clinically nonsensical features. Future work will focus on scaling radiologist feedback and exploring how synthetic data can mitigate demographic biases by over-sampling underrepresented populations.

Summary updated

BibTeX
@misc{prakash2024evaluating,
  author = {Eva Prakash and Jeya Maria Jose Valanarasu and Zhihong Chen and Eduardo Pontes Reis and Andrew Johnston and Anuj Pareek and Christian Bluethgen and Sergios Gatidis and Cameron Olsen and Akshay Chaudhari and Andrew Y. Ng and Curtis P. Langlotz},
  title = {{Evaluating and Improving the Effectiveness of Synthetic Chest X-Rays for Medical Image Analysis}},
  year = {2024},
  eprint = {2411.18602},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.18602},
}
Figure