Abstract
Deep learning models for medical imaging often struggle with generalizability and demographic fairness due to inherent data imbalances and privacy-related data scarcity. This paper introduces RoentGen-v2, a latent diffusion model capable of generating high-fidelity chest X-rays with fine-grained control over both medical findings and patient demographics (sex, age, and race). By utilizing a massive, demographically balanced synthetic dataset for supervised pretraining, the researchers achieved a 6.5% accuracy boost and a 19.3% reduction in the "underdiagnosis" fairness gap across five diverse clinical datasets. These results demonstrate that controllable synthetic data can serve as a powerful tool for improving the robustness and equity of clinical AI.
Introduction
Deep learning models in medical imaging face two primary hurdles: generalizability and fairness. Models trained on data from a single institution often fail when deployed in different clinical settings (out-of-distribution drop), and they frequently exhibit performance disparities across minority demographic groups. The root cause is typically data imbalance; real-world medical datasets are often skewed toward specific populations, and privacy regulations hinder the aggregation of diverse data at scale. While synthetic data has been proposed as a solution, previous generative models lacked the fine-grained control necessary to accurately represent diverse populations. RoentGen-v2 addresses this by allowing explicit conditioning on demographics to ensure underrepresented subgroups are adequately represented in training data.
Methods
RoentGen-v2 was developed by fine-tuning Stable Diffusion v2.1 on a curated subset of the MIMIC-CXR dataset. Key technical innovations include:
- Demographic Conditioning: Unlike models that rely solely on radiology reports, RoentGen-v2 incorporates structured metadata (e.g., age, sex, race) directly into the text prompt.
- Quality Control (QC) Pipeline: To ensure adherence to prompts, a "filter" using pretrained classifiers was implemented. Generated images were discarded and regenerated if their predicted demographics did not match the input prompt.
- Two-Stage Training Strategy: The researchers found that supervised pretraining on synthetic data followed by fine-tuning on real data was significantly more effective than naive data augmentation (mixing real and synthetic data).
Experimental Setup and Datasets
The generative model was trained on 68,000 image-report pairs from MIMIC-CXR. Using this model, the authors generated a balanced synthetic dataset of 565,154 images—an 8x increase over the real training set—specifically designed for equal representation across sex and race/ethnicity. To test robustness, downstream classifiers were evaluated on five large-scale datasets: MIMIC-CXR (in-distribution), and CheXpert, NIH, PadChest, and VinDr (all out-of-distribution).
Key Results and Insights
- Performance Gains: The synthetic-pretrained model consistently outperformed the baseline across all five test datasets. The improvements were most pronounced in out-of-distribution settings, with an overall accuracy boost of 6.5%.
- Fairness Improvement: By creating a perfectly balanced synthetic training environment, the authors reduced the "underdiagnosis gap"—the difference in false-positive rates for the 'No Finding' label between the best and worst-performing subgroups—by 19.3%.
- Label Efficiency: Synthetic-pretrained models reached the performance level of the "real-only" baseline using significantly fewer real-world annotated samples, suggesting that synthetic data can act as a "force multiplier" for small clinical datasets.
- Image Fidelity: RoentGen-v2 achieved an FID score of 76.8, a marked improvement over the original RoentGen (96.1), indicating higher realism.
Discussion and Conclusion
The study demonstrates that fairness in radiographic AI is largely a data-centric problem that can be mitigated through the use of balanced synthetic data. RoentGen-v2's ability to generate demographically invariant representations allows models to learn more robust features before being exposed to real-world clinical data.
While the results are promising, limitations remain. The model was trained on data from a single institution and currently only generates Posteroanterior (PA) views. Future work will focus on scaling to multi-view generation and exploring how these pipelines can further protect patient privacy by reducing reliance on sensitive real-world images.
Summary updated