TL;DR
This paper presents the first comprehensive study of Bayesian deep networks for single-view depth estimation in colonoscopies. To overcome the lack of real-world ground truth depth data, the authors introduce a novel teacher-student framework that explicitly factors in the teacher's predictive uncertainty, successfully bridging the synthetic-to-real domain gap and achieving state-of-the-art depth accuracy and uncertainty calibration.
What Problem Does This Paper Address?
AI-assisted endoscopy holds massive potential for clinical tasks like locating and measuring tumors or ensuring thorough coverage during a colonoscopy. However, these applications require accurate 3D depth perception. Traditional multi-view 3D reconstruction techniques (like Structure-from-Motion) fail inside the human body because the environment is highly deformable, poorly lit, lacks distinct textures, and is plagued by fluids and abrupt camera movements.
While single-view deep learning models offer a promising alternative, standard neural networks suffer from a major flaw: they don't know what they don't know. In safety-critical medical procedures, a model must provide reliable confidence intervals alongside its predictions. This paper addresses the challenge of implementing scalable Bayesian deep learning to quantify both data (aleatoric) and model (epistemic) uncertainty in colonoscopic depth estimation.
Methods
The authors evaluate deep ensembles—training multiple neural networks with different random initializations—as their core Bayesian framework due to its superior uncertainty calibration. They explore both supervised and self-supervised ensemble configurations before introducing their primary innovation: Teacher-Student with an Uncertain Teacher.
Instead of training a student network directly on hard, potentially noisy pseudo-labels, they leverage a Bayesian teacher network trained on synthetic data. This teacher outputs both a depth prediction and its associated epistemic uncertainty. The student network is then trained on real colonoscopy images using a novel loss function based on a Laplacian likelihood. This loss dynamically incorporates the teacher's uncertainty, teaching the student to discount training labels where the teacher is unconfident due to domain shift.
Datasets
The methods were trained and validated using two distinct datasets:
- Synthetic Colon Dataset (Rau et al.): Consists of 6,550 training and 720 testing RGB images rendered from a photorealistic 3D colon model under 15 different texture and illumination conditions, providing perfect ground truth depth.
- EndoMapper Dataset: A real-world dataset containing monocular colonoscopy videos. The authors filtered out frames with severe visibility issues (e.g., fluid occlusions, extreme blur), resulting in a subset of 6,912 images. Ground truth for evaluation was generated using COLMAP 3D reconstructions.
Key Insights and Ideas
- Synthetic Data Generalizes Well: Surprisingly, models trained purely on synthetic ground truth data generalized remarkably well to real colonoscopy images, easily outperforming self-supervised models trained directly on real data.
- The Pitfall of Self-Supervision in Endoscopy: Photometric self-supervision struggles inside the body because its underlying assumptions (constant illumination, rigid structures) are routinely violated by reflections, fluids, and tissue deformation.
- Uncertainty Behaves Logically: The models successfully separated uncertainties. Aleatoric (data) uncertainty naturally spiked around complex anatomical folds (haustras) and reflections, while epistemic (model) uncertainty scaled with depth, peaking in the darkest, farthest regions of the colon.
Key Results
On the real-world EndoMapper dataset, the proposed Uncertain Teacher approach achieved state-of-the-art results, outperforming standard self-supervised baselines and traditional teacher-student methods across nearly all metrics:
- Accuracy: Achieved the lowest Absolute Relative error (AbsRel: 0.230) and Root Mean Squared Error (RMSE: 2.458 mm), compared to the self-supervised baseline (AbsRel: 0.371, RMSE: 4.603 mm).
- Calibration: Delivered the best-calibrated uncertainty estimates with an Area Under the Calibration Error (AUCE: -0.129), proving that modeling the teacher's doubt prevents the student from making overconfident mistakes.
Limitations and Future Work
While the results are promising, the authors acknowledge a few limitations:
- Pseudo-Ground Truth Reliance: Evaluating real-world performance relies on SfM (COLMAP) reconstructions, which can introduce their own artifacts and holes in complex endoscopic scenes.
- Computational Overhead: Deep ensembles require training and running multiple networks simultaneously ($M=18$ in this study). This high computational footprint poses a challenge for real-time deployment in live clinical settings. Distilling these ensembles into single, lightweight uncertainty-aware networks remains an open avenue for future research.
Summary updated