Abstract
This paper introduces a robust deep learning pipeline designed to automate the detection, localization, and classification of polyps in colonoscopy videos. By framing polyp detection as a few-shot anomaly detection task and integrating Bayesian uncertainty estimation, the proposed system achieves high diagnostic accuracy while providing a reliability metric to support clinical decision-making.
Introduction
Colorectal cancer (CRC) remains a leading cause of cancer-related mortality worldwide. Early identification and removal of precancerous polyps during colonoscopy procedures are critical for improving patient outcomes. However, the procedure is challenging due to visual artifacts such as feces, water spray, and motion blur, alongside the inherent rarity of polyps in a typical video stream. This paper addresses these challenges by developing a multi-stage deep learning framework that filters distractors, detects anomalies, and provides calibrated classifications with associated uncertainty.
Methodology
The proposed system follows a four-stage pipeline designed for robustness and clinical utility.
- Distractor Rejection: A DenseNet-based binary classifier filters out non-informative frames (e.g., those obscured by feces or water), preventing false positives in downstream tasks.
- Few-Shot Anomaly Detection (FSAD-NET): To address class imbalance, the model treats polyps as anomalies within a distribution of "normal" tissue. It utilizes Deep InfoMax (DIM) to learn representative features of healthy tissue, flagging significant deviations as potential polyps.
- One-Stage Localization and Classification: Frames identified as containing polyps are processed by a RetinaNet-inspired architecture (ResNet-50 backbone with a Feature Pyramid Network). This stage simultaneously generates bounding boxes and classifies the polyp into one of five pathological categories.
- Uncertainty and Calibration: To ensure reliability, the system employs Bayesian learning via Concrete Dropout to estimate aleatoric uncertainty. Temperature scaling is applied to calibrate confidence scores, aligning model probabilities with actual predictive accuracy.
Datasets
The framework was evaluated using diverse datasets to ensure generalizability:
- Detection Dataset: 16,652 frames from 17 patients, categorized into Normal, Abnormal, and Water/Feces.
- Localization/Classification Datasets: The Australian dataset (871 images) and Japanese datasets featuring specialized imaging like Narrow Band Imaging (NBI) and Blue Laser Imaging (BLI).
- Benchmarking: The MICCAI 2015 Endoscopic Vision Challenge dataset was used for comparative performance analysis.
Results and Discussion
The integration of a distractor rejection module significantly enhanced performance, raising the detection Area Under the Curve (AUC) from 90.3% to 97.4%. The FSAD-NET approach proved superior to standard binary classification in handling the extreme rarity of polyps.
A key finding was the value of uncertainty estimation. By rejecting the 50% most uncertain predictions, classification accuracy improved to nearly 80%. This "reliability metric" allows the AI to defer to human experts in ambiguous cases. While the detection and localization components are efficient enough for real-time application, the Bayesian uncertainty estimation currently requires ~2.17 seconds per image, presenting a hurdle for live clinical use.
Conclusion
This research demonstrates a comprehensive approach to automated colonoscopy analysis. By combining anomaly detection with rigorous calibration and distractor filtering, the system approaches human-level detection performance. Future work will focus on leveraging temporal video data and optimizing inference speeds to enable real-time, live-procedure support.
Summary updated