TL;DR
This paper introduces EndoKED, a novel framework that leverages large language and vision models to automatically extract pixel-level annotations from millions of raw colonoscopy image-text records. This approach significantly reduces the need for expensive expert annotation, enabling the training of highly accurate polyp detection, segmentation, and optical biopsy models that achieve expert-level performance.
What Problem Does This Paper Address?
Developing robust AI for medical image analysis, like colonoscopy, typically requires massive, meticulously annotated datasets. However, creating these datasets is incredibly labor-intensive and costly, especially for tasks like precise polyp segmentation (pixel-level masks) or optical biopsy (histopathology prediction). While hospitals generate vast amounts of raw colonoscopy data (images paired with free-text reports), this data remains largely untapped due to the annotation bottleneck. This paper aims to bridge this gap by proposing a method to automatically extract valuable supervision signals from these existing, unannotated image-text records.
Methods
The core of EndoKED is a two-stage process:
- Deep Knowledge Extraction and Distillation:
- Report-Level Labeling: Large Language Models (LLMs) like ChatGPT are used to read free-text colonoscopy reports and extract a binary label indicating the presence or absence of polyps.
- Image-Level Propagation: A Multiple Instance Learning (MIL) framework (EndoKED-MIL) is employed to propagate these report-level labels to individual images within the report. This essentially learns to identify which images are likely to contain polyps.
- Region-Level Localization: Class Activation Maps (CAMs) are generated from the image-level predictions to identify regions of interest where polyps are likely located.
- Pixel-Level Annotation: A powerful Large Vision Model (LVM), specifically the Segment Anything Model (SAM), is then used with the region-level bounding boxes as prompts to generate precise pixel-level segmentation masks for polyps. This is a key innovation, using SAM to automate detailed annotation.
- Data-Efficient Learning for Optical Biopsy:
- The vision backbone pre-trained using EndoKED on the large-scale colonoscopy data is then fine-tuned for the optical biopsy task (predicting polyp malignancy). This leverages the rich representations learned from the vast unannotated data.
Datasets
- Training and Internal/External Validation: A multi-center dataset of approximately 1 million colonoscopy images from 14,177 colonoscopy records across four hospitals in China was collected. This dataset was split into training, internal test, external test, and prospective test sets.
- Public Datasets for Segmentation: Five public datasets with expert annotations were used to evaluate the polyp segmentation model (EndoKED-SEG): Kvasir, CVC-ClinicDB, CVC-ColonDB, CVC-300, and ETIS.
- Optical Biopsy Dataset: A subset of the collected colonoscopy records was used, with 716 quality-controlled polyp images labeled for malignancy based on histopathology reports. This dataset was further split into internal, external, and prospective test sets.
Key Insights and Ideas
- Leveraging LLMs and LVMs Synergistically: The paper demonstrates a powerful synergy between LLMs for text understanding and LVMs (like SAM) for image segmentation, enabling automated annotation at scale.
- Progressive Knowledge Distillation: The method effectively distills knowledge across different levels of granularity – from report-level text to image-level presence, to region-level localization, and finally to pixel-level segmentation.
- Automated Pixel-Level Annotation: The use of SAM to generate pixel-level masks from LLM-derived report labels and CAMs is a significant step towards reducing manual annotation burden.
- Data-Efficient Transfer Learning: Pre-training a vision backbone on a massive dataset of raw colonoscopy records leads to a highly generalizable representation that enables expert-level performance in downstream tasks (like optical biopsy) with significantly less labeled data.
Key Results
- Polyp Segmentation: The EndoKED-SEG model, trained on automatically generated annotations, achieved competitive performance on five public benchmark datasets, matching state-of-the-art models trained with expert annotations. It showed a notable 3% DSC improvement on the challenging ETIS dataset.
- Polyp Detection: EndoKED-MIL achieved high AUCs for both report-level (0.970-0.983) and image-level (0.941-0.957) polyp detection across internal, external, and prospective test sets.
- Optical Biopsy: The EndoKED-Path model achieved excellent AUCs (0.880-0.911) on internal, external, and prospective test sets, comparable to senior endoscopists.
- Data Efficiency: The EndoKED pre-trained backbone demonstrated superior data efficiency, achieving expert-level performance with only 10% of the data compared to ImageNet pre-trained models.
Limitations and Future Work
- Real-World Clinical Deployment: The developed models were validated on benchmark and retrospective datasets but have not yet been tested in live clinical settings. Further validation in real-time colonoscopy procedures is needed.
- Optical Biopsy Dataset Bias: The optical biopsy dataset might have biases, such as the exclusion of diminutive rectal polyps that were not biopsied. This could limit model performance on small or histologically homogeneous polyps.
- Extensibility to Other Lesions: While the paradigm is designed to be extensible to other lesions (e.g., bleeding) or endoscopic instruments, this was not explicitly demonstrated in the current study.
- Future Work: The authors suggest that the framework can be used for knowledge discovery, linking clinical concepts to relevant images for visualization and hypothesis generation. They also highlight the potential for adapting the LLM and LVM components to even more advanced foundation models.
Summary updated