EndoOmni: Zero-Shot Cross-Dataset Depth Estimation in Endoscopy by Robust Self-Learning from Noisy Labels

Zhen Chen, Qingyao Tian, Zhen Chen 0018, Huai Liao, Xinyan Huang, Lujie Li, Sébastien Ourselin, Hongbin LiuarXiv 2024 · DOI

Abstract

Accurate depth estimation is a cornerstone of modern computer-assisted surgery, enabling tasks such as 3D reconstruction and augmented reality navigation. However, existing models often struggle with the domain-specific challenges of endoscopic imagery, including data scarcity and low-quality, noisy labels. We present EndoOmni, a foundation model designed for zero-shot depth estimation across diverse endoscopic datasets. By leveraging a massive meta-dataset of 700,000 frames and a novel robust self-learning strategy, EndoOmni achieves a 30% performance improvement over general-purpose foundation models.

Introduction

In surgical environments, precise depth perception is critical for safe and effective intervention. While general-purpose foundation models like Depth Anything have achieved remarkable success in natural scenes, their performance degrades significantly in the unique visual domain of endoscopy. Endoscopic images present two primary challenges: the extreme difficulty of obtaining high-fidelity "ground truth" depth data within living patients, and the inherent noise in existing labels derived from sparse stereo cameras or misaligned CT-to-video registrations.

EndoOmni addresses these issues by moving beyond domain-specific models. Instead of training separate models for colonoscopy or bronchoscopy, EndoOmni is designed as a "universal" model capable of zero-shot generalization across various organs and endoscopic modalities.

Methodology: Robust Self-Learning

The core of EndoOmni's success lies in its Teacher-Student self-learning paradigm, specifically optimized to handle noisy labels.

The EndoOmni training pipeline, featuring teacher model training on labeled data and robust student model training using pseudo-labels and consistency weighting.

Weighted Scale-and-Shift Invariant (WSSI) Loss

The researchers introduced the Weighted Scale-and-Shift Invariant (WSSI) loss to differentiate between "clean" and "noisy" data points. This approach is based on the observation that clean labels tend to converge faster during the training process.

  • Labeled Data: Pixel-level confidence is estimated based on the teacher model's convergence behavior.
  • Unlabeled Data: The model measures "consistency" across data augmentations (e.g., flips or rotations). High consistency in predictions indicates higher reliability, and these pixels are weighted more heavily in the loss function.

This "soft weighting" strategy allows the model to preserve the overall data distribution while effectively ignoring erroneous depth labels, a significant improvement over traditional "hard trimming" methods that simply discard high-error pixels.

Datasets and Implementation

EndoOmni was trained on a comprehensive meta-dataset comprising over 200,000 labeled frames and 500,000 unlabeled frames. The labeled data includes diverse sources such as the Hamlyn Centre Datasets (Kidney), C3VD (Colon), and a proprietary porcine bronchoscopy dataset. Unlabeled data was sourced from large-scale endoscopic video collections like EndoSLAM and EndoMapper.

The model architecture utilizes a DINOv2 encoder paired with a DPT decoder, providing a robust backbone for high-dimensional feature representation.

Key Results and Evaluation

EndoOmni was evaluated in zero-shot scenarios on unseen datasets, including the da Vinci surgical dataset.

Qualitative depth estimation results across different endoscopic scenes (a-d), demonstrating EndoOmni's ability to generalize to various anatomical structures.

Performance Metrics

  • Zero-Shot Superiority: EndoOmni outperformed existing medical state-of-the-art (SOTA) methods by 33% and general-purpose foundation models by 34% in relative depth estimation (RDE) error.
  • Metric Depth Accuracy: When fine-tuned for absolute millimeter measurements, the model maintained a significant lead over specialized architectures like Cycle-GAN.
  • Downstream Versatility: Beyond depth, EndoOmni serves as a superior feature extractor for other endoscopic tasks, such as polyp segmentation and endoscope localization, surpassing the performance of standard DINOv2 initializations.

Conclusion and Future Work

EndoOmni represents a significant step toward a universal foundation model for surgical vision. By effectively leveraging noisy and unlabeled data through robust self-learning, it overcomes the primary bottlenecks of medical AI development. Future research will focus on mitigating potential teacher biases and optimizing the large Vision Transformer (ViT) backbones for real-time deployment in surgical hardware. Additionally, addressing complex environmental factors like surgical smoke and tissue deformation remains a priority for future iterations.

Summary updated

BibTeX
@misc{chen2024endoomni,
  author = {Zhen Chen and Qingyao Tian and Zhen Chen and Huai Liao and Xinyan Huang and Lujie Li and Sébastien Ourselin and Hongbin Liu},
  title = {{EndoOmni: Zero-Shot Cross-Dataset Depth Estimation in Endoscopy by Robust Self-Learning from Noisy Labels}},
  year = {2024},
  eprint = {2409.05442},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.05442},
}
Figure