Abstract
Ultrasound imaging is widely used in medical diagnosis, especially for fetal health assessment. However, the availability of high-quality annotated ultrasound images is limited, which restricts the training of machine learning models. In this paper, we investigate the use of diffusion models to generate synthetic ultrasound images to improve the performance on fetal plane classification. We train different classifiers first on synthetic images and then fine-tune them with real images. Extensive experimental results demonstrate that incorporating generated images into training pipelines leads to better classification accuracy than training with real images alone. The findings suggest that generating synthetic data using diffusion models can be a valuable tool in overcoming the challenges of data scarcity in ultrasound medical imaging.
Introduction
Deep learning has revolutionized medical diagnostics, yet its efficacy remains tethered to the availability of massive, high-quality annotated datasets. In fetal ultrasound imaging, this requirement presents a significant hurdle. Strict patient privacy regulations and the need for expensive, time-consuming expert labeling by radiologists create a "data scarcity" bottleneck. Furthermore, existing datasets often suffer from severe class imbalance; common views like the fetal brain are overrepresented compared to rarer but critical planes like the fetal abdomen. This imbalance leads to models that struggle to recognize vital anatomical features necessary for comprehensive prenatal care.
Methodology
To address these challenges, this research proposes a two-stage pipeline leveraging the generative power of diffusion models to augment existing datasets. The approach centers on a classifier-guided diffusion model trained to generate specific anatomical planes.
- Synthetic Generation: A diffusion model was trained on the FETAL_PLANES_DB dataset. To ensure the generation of specific classes (e.g., femur vs. thorax), a "half U-Net" classifier guided the denoising process. This process produced 60,000 synthetic samples (10,000 per class).
- Two-Stage Training Strategy: Rather than simply mixing real and synthetic data, the researchers employed a pretraining and fine-tuning strategy. State-of-the-art classifiers—including ResNet50, DenseNet169, Vision Transformers (ViT), Swin Transformer, and MedMamba—were first pretrained on the 60,000 synthetic images. These models were then fine-tuned on the limited pool of real images to specialize their feature representations.
Datasets and Classification Planes
The primary real-world data source was the FETAL_PLANES_DB, containing 12,400 images across six distinct categories. The synthetic dataset generated by the authors mirrored these categories to provide a balanced training set.
Key Insights and Results
The experimental results demonstrate that synthetic augmentation acts as a significant "force multiplier" for model performance.
The "Imbalance Cure"
The most notable improvement occurred in underrepresented classes. For instance, when trained solely on real data, models often achieved as low as 30% accuracy on the "Fetal Abdomen" plane due to its rarity. Following pretraining on synthetic data, accuracy for this specific class surged to over 74%.
Performance Gains Across Architectures
All tested architectures showed substantial improvements when utilizing the synthetic pretraining phase:
- Vision Transformer (ViT_b_32): Accuracy increased from 75.5% (real data only) to 90.8%.
- ResNet50: Improved from 92.0% to 93.2%.
- Ensemble Performance: By combining the predictions of all five architectures via a majority vote, the researchers achieved a peak ensemble accuracy of 94.91%.
The Guidance Paradox
An interesting finding emerged during ablation studies: disabling classifier guidance during the diffusion training phase actually improved final downstream classification accuracy. The authors suggest that if the guidance classifier is not perfectly optimized, it may introduce noise that hinders the diffusion model's ability to learn a clean, representative data distribution.
Conclusion
This study confirms that pretraining deep learning classifiers on synthetic images generated by diffusion models can effectively overcome data scarcity and class imbalance in medical imaging. Even synthetic images that might be considered "low quality" by traditional metrics (such as high FID scores) were found to contribute positively to robust feature learning. Future work will focus on incorporating expert feedback into the generative loop and expanding these techniques to multimodal data like MRI and CT scans.
Summary updated