Monocular absolute depth estimation from endoscopy via domain-invariant feature learning and latent consistency

Hao Li, Daiwei Lu, Jesse F. d'Almeida, Dilara Isik, Ehsan Khodapanah Aghdam, Nick DiSanto, Ayberk Acar, Susheela Sharma, Jie Ying Wu, Robert J. Webster Iii, Ipek OguzarXiv 2025 · DOI

Introduction

In the field of surgical robotics, providing robots with accurate "depth perception" is a critical challenge. While standard endoscopic cameras are ubiquitous, they typically offer only monocular views, making it difficult to derive absolute metric depth—the exact distance to a tissue surface in millimeters. This information is vital for autonomous navigation, 3D reconstruction, and safe surgical maneuvers.

Most existing AI models for depth estimation are limited to "relative" depth, identifying which objects are closer without providing a scale. Training for absolute depth requires massive datasets with ground-truth measurements, which are nearly impossible to obtain in vivo due to the size constraints of depth sensors like LiDAR. Consequently, researchers rely on Unsupervised Domain Adaptation (UDA), training models on synthetic data and attempting to bridge the "domain gap" to real-world surgical environments.

Methodology: Aligning the Latent Space

Researchers at Vanderbilt University have proposed a novel "Real-synthetic joint training" strategy that moves beyond simple visual realism. Their approach focuses on the latent space—the internal mathematical representation the neural network constructs before generating a prediction.

Overview of the proposed method compared to existing Unsupervised Domain Adaptation (UDA) strategies.

The proposed framework rests on two primary pillars:

  1. Domain-Invariant Feature Learning (DIFL): Utilizing an adversarial setup, a "discriminator" attempts to distinguish between features from synthetic and real images. The depth network is simultaneously trained to "fool" this discriminator, forcing the creation of features that are indistinguishable across domains.
  2. Latent Consistency (CON): To ensure that the semantic meaning of these features is preserved during alignment, the authors introduced a cosine similarity loss. This ensures that features from real and synthetic images point in the same direction within the latent space.

Unlike previous methods that often freeze the decoder after synthetic training, this approach trains the entire network on both domains simultaneously, allowing for superior adaptation to real-world textures and lighting conditions.

Experimental Setup and Datasets

The study focused on Central Airway Obstruction (CAO) using a specialized dataset:

  • Synthetic Data: 4,895 frames rendered in the Unity engine from 11 physical CAO phantoms derived from CT scans.
  • Real Data: 2,193 frames extracted from videos of 5 physical phantoms.
  • Evaluation: 90 real frames from 3 unseen phantoms, with ground truth established by manually aligning 2D video frames to 3D CT data.

The system utilizes a Contrastive Unpaired Translation (CUT) model for initial image-to-image translation and leverages state-of-the-art backbones, including Depth Anything v2 and EndoOmni.

Key Results and Discussion

The proposed method demonstrated significant improvements over existing state-of-the-art techniques like standard UDA and Domain Feature Adaptation (DFA). On the primary "Mask" evaluation metric, the method achieved a Root Mean Squared Error (RMSE) of 4.859 mm, compared to the baseline UDA's 6.252 mm. Threshold accuracy ($\delta_1$) nearly doubled compared to previous best UDA methods.

Qualitative depth prediction results and absolute relative error (AbsRel) maps across different ViT backbones.

A key insight from the results is the scalability of the approach. While larger models (such as ViT-Large) can sometimes overfit to specific textures, the latent alignment framework allows these models to capture fine structural details, such as tumor boundaries, more accurately than smaller variants. However, challenges remain in "homogeneous regions"—smooth, featureless areas where visual cues for distance are sparse.

Conclusion

By focusing on internal feature alignment rather than just pixel-level realism, this research provides a robust path toward absolute depth estimation in endoscopy. Future work will focus on validating these results with in vivo human data and extending the latent alignment framework to other endoscopic procedures beyond the central airway.

Summary updated

BibTeX
@misc{li2025monocular,
  author = {Hao Li and Daiwei Lu and Jesse F. d'Almeida and Dilara Isik and Ehsan Khodapanah Aghdam and Nick DiSanto and Ayberk Acar and Susheela Sharma and Jie Ying Wu and Robert J. Webster III and Ipek Oguz},
  title = {{Monocular absolute depth estimation from endoscopy via domain-invariant feature learning and latent consistency}},
  year = {2025},
  eprint = {2511.02247},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.02247},
}
Figure