Robust Polyp Detection and Diagnosis through Compositional Prompt-Guided Diffusion Models
Jia Yu, Yan Zhu, Peiyao Fu, Tianyi Chen, Junbo Huang, Quanlin Li, Pinghong Zhou, Zhihua Wang, Fei Wu, Shuo Wang, Xian Yang
TL;DR
This work tackles generalization gaps in colorectal polyp detection and diagnosis by introducing a Progressive Spectrum Diffusion Model (PSDM) that unifies diverse clinical annotations—segmentation masks, bounding boxes, and colonoscopy reports—into compositional prompts. By organizing prompts into coarse and fine components and guiding diffusion with a frequency-based prompt spectrum, PSDM generates clinically realistic polyps that enhance segmentation, detection, and classification, particularly in out-of-distribution scenarios like PolypGen. The approach uses continual learning with a rehearsal buffer to mitigate forgetting and leverages LLM-derived text attributes and prototype-based prompts to enrich conditioning. Empirical results show PSDM improves F1, mAP, and aesthetics (lower FID) across standard and OOD datasets, supporting its potential to bolster robustness and generalization in clinical practice.
Abstract
Colorectal cancer (CRC) is a significant global health concern, and early detection through screening plays a critical role in reducing mortality. While deep learning models have shown promise in improving polyp detection, classification, and segmentation, their generalization across diverse clinical environments, particularly with out-of-distribution (OOD) data, remains a challenge. Multi-center datasets like PolypGen have been developed to address these issues, but their collection is costly and time-consuming. Traditional data augmentation techniques provide limited variability, failing to capture the complexity of medical images. Diffusion models have emerged as a promising solution for generating synthetic polyp images, but the image generation process in current models mainly relies on segmentation masks as the condition, limiting their ability to capture the full clinical context. To overcome these limitations, we propose a Progressive Spectrum Diffusion Model (PSDM) that integrates diverse clinical annotations-such as segmentation masks, bounding boxes, and colonoscopy reports-by transforming them into compositional prompts. These prompts are organized into coarse and fine components, allowing the model to capture both broad spatial structures and fine details, generating clinically accurate synthetic images. By augmenting training data with PSDM-generated samples, our model significantly improves polyp detection, classification, and segmentation. For instance, on the PolypGen dataset, PSDM increases the F1 score by 2.12% and the mean average precision by 3.09%, demonstrating superior performance in OOD scenarios and enhanced generalization.
