SMUDLP: Self-Teaching Multi-Frame Unsupervised Endoscopic Depth Estimation with Learnable Patchmatch

Shuwei Shao, Zhongcai Pei, Weihai Chen, Xingming Wu, Zhong Liu, Zhengguo Li · DOI

Abstract

Monocular depth estimation is a critical component for surgical navigation and augmented reality in the operating room. However, endoscopy presents unique challenges, including low-texture tissue surfaces and unstable lighting conditions. We introduce SMUDLP, a novel unsupervised multi-frame framework that addresses these hurdles. By integrating a learnable patchmatch module for handling featureless regions and employing cross-teaching and self-teaching paradigms to combat illumination fluctuations, SMUDLP achieves state-of-the-art accuracy. Our model leverages temporal correlations through a flexible cost volume, allowing for improved performance at test-time with longer video sequences while maintaining real-time processing speeds.

Introduction

Estimating depth from a single moving camera (monocular depth estimation) is often considered a "holy grail" for surgical assistance. While self-supervised methods have flourished in autonomous driving, endoscopy presents two unique "nightmare" scenarios that break standard algorithmic assumptions:

  1. Low Texture: Internal organs and tissues are often smooth and monochromatic. Standard algorithms rely on "photometric loss" (comparing pixel colors between frames), which fails when large regions share the same shade of pink.
  2. Lighting Instability: In surgery, the light source is attached to the camera. As the camera moves, shadows shift and specular reflections dance across wet surfaces, breaking the "brightness constancy" assumption most models rely on.
Conceptual overview of multi-frame depth estimation using temporal correlations across video frames to generate depth maps.

Proposed Methodology

The SMUDLP framework leverages temporal correlations across video frames through three primary innovations designed to enhance robustness and accuracy in the surgical environment.

Learnable Patchmatch and Cost Volumes

Traditional patchmatch methods use a fixed grid to compare local neighborhoods. SMUDLP introduces an "adaptive propagation" mechanism, which uses a small sub-network to learn 2D offsets. This allows the model to intelligently aggregate pixels from the same surface even in featureless regions, making the supervisory signal much more discriminative. These features are integrated into a 3D cost volume representing possible depths.

Teaching Paradigms

To make the model immune to noise and lighting changes, the authors utilize two distinct teaching strategies during the training phase:

  • Cross-Teaching: The framework uses a computationally expensive but robust existing model (AF-SfMLearner) as a "teacher," forcing the more efficient SMUDLP student network to match the teacher's depth predictions in areas with high illumination variance.
  • Self-Teaching: An appearance simulator artificially introduces brightness jitters and occlusions during training. The model is tasked with producing consistent depth maps regardless of whether it sees the "clean" or "noisy" version of a frame.
The SMUDLP architecture, illustrating the training phase with self-teaching and cross-teaching branches, and the multi-frame evaluation pipeline.

Experimental Results

The model was rigorously evaluated on four major endoscopic benchmarks: SCARED, EndoSLAM, Hamlyn, and SERV-CT.

  • State-of-the-Art Performance: On the SCARED dataset, SMUDLP outperformed previous leaders (such as ManyDepth and AF-SfMLearner) by over 10-15% across most metrics.
  • Real-Time Capability: Despite the complexity of the multi-frame cost volume, the model achieves approximately 45 FPS at a resolution of 320 × 256, making it viable for live surgical assistance.
  • Generalization: The model trained on SCARED performed exceptionally well on Hamlyn and SERV-CT without any fine-tuning, suggesting it has learned general geometric features of anatomy rather than just memorizing a specific dataset.

Discussion and Conclusion

A key insight of this work is the "more is better" property: the self-teaching paradigm allows the model to ignore detrimental noise in the cost volume. Consequently, at test time, providing the model with more frames than it saw during training continues to improve accuracy.

While SMUDLP handles brightness fluctuations well, it still struggles with extreme specular reflections that saturate the sensor. Future work may involve integrating these techniques with transformer-based architectures to further capture long-range temporal dependencies and exploring methods to recover absolute metric scale without external sensors.

Summary updated

BibTeX
@misc{shao2022smudlp,
  author = {Shuwei Shao and Zhongcai Pei and Weihai Chen and Xingming Wu and Zhong Liu and Zhengguo Li},
  title = {{SMUDLP: Self-Teaching Multi-Frame Unsupervised Endoscopic Depth Estimation with Learnable Patchmatch}},
  year = {2022},
  eprint = {2205.15034},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2205.15034},
}
Figure