T2ID-CAS: Diffusion Model and Class Aware Sampling to Mitigate Class Imbalance in Neck Ultrasound Anatomical Landmark Detection
Manikanta Varaganti, Amulya Vankayalapati, Nour Awad, Gregory R. Dion, Laura J. Brattain
TL;DR
This work targets class imbalance in neck ultrasound anatomical landmark detection by introducing T2ID-CAS, a hybrid framework that fuses text-to-image diffusion (SDXL) with LoRA fine-tuning and class-aware sampling to synthesize minority-class data. The synthetic data, combined with CAS during training of a YOLOv9s detector, yields substantial improvements in mean Average Precision—particularly for underrepresented structures like tracheal rings and vocal folds—over a strong baseline. Across extensive experiments, SDXL-generated samples show improved realism, diversity, and semantic alignment, while T2ID-CAS delivers the highest overall performance (mAP across IoU thresholds), highlighting the approach's scalability and practicality for ultrasound-guided airway management. The study also discusses limitations, such as computational cost of diffusion model fine-tuning and sensitivity to prompts, and outlines directions for larger datasets and prompt robustness analyses.
Abstract
Neck ultrasound (US) plays a vital role in airway management by providing non-invasive, real-time imaging that enables rapid and precise interventions. Deep learning-based anatomical landmark detection in neck US can further facilitate procedural efficiency. However, class imbalance within datasets, where key structures like tracheal rings and vocal folds are underrepresented, presents significant challenges for object detection models. To address this, we propose T2ID-CAS, a hybrid approach that combines a text-to-image latent diffusion model with class-aware sampling to generate high-quality synthetic samples for underrepresented classes. This approach, rarely explored in the ultrasound domain, improves the representation of minority classes. Experimental results using YOLOv9 for anatomical landmark detection in neck US demonstrated that T2ID-CAS achieved a mean Average Precision of 88.2, significantly surpassing the baseline of 66. This highlights its potential as a computationally efficient and scalable solution for mitigating class imbalance in AI-assisted ultrasound-guided interventions.
