Abstract
Stereo matching in laparoscopic surgery is challenging due to textureless organ surfaces and limited ground truth data. This paper introduces HybridStereoNet, a novel architecture combining Transformer-based feature extraction with CNN-based cost aggregation. By leveraging the global context of Transformers and the geometric precision of CNNs, HybridStereoNet achieves state-of-the-art accuracy and superior generalization across surgical environments.
Introduction
Stereo matching—the process of calculating depth from two slightly offset camera views—is crucial for robotic-assisted surgery, providing the 3D information needed for navigation and augmented reality. However, laparoscopic videos present two major hurdles for standard algorithms:
- Textureless Surfaces: Internal organs are often smooth, shiny, and uniform. Without distinct "landmarks," traditional algorithms struggle to find corresponding points between left and right images.
- Data Scarcity: Obtaining high-quality ground truth depth data for surgery is difficult, creating a "domain gap" where models trained on natural scenes fail in clinical settings.
While Transformers have revolutionized high-level vision, their application to low-level tasks like stereo matching has been underwhelming. This research investigates the optimal way to integrate them into the surgical pipeline.
Methods
The authors propose HybridStereoNet, which follows a standard volumetric stereo matching pipeline but swaps specific components for Transformer-based versions to optimize performance.
Architecture Components
- TFeatureNet (Transformer Part): Used for feature extraction. It splits input images into patches and uses self-attention to capture global context. This helps the model understand textureless regions by looking at the broader structure of the scene.
- CMatchNet (CNN Part): Used for cost aggregation. After building a 4D "cost volume" (comparing features from both views), the model uses 3D convolutions to regularize and smooth the data.
Systematic Comparison
The researchers systematically compared three types of integration to find the optimal balance:
- Type I (HybridStereoNet): Transformer features + CNN matching.
- Type II: CNN features + Transformer matching.
- Type III: Pure Transformer for both.
Using Loss Landscape Analysis, they found that Transformers tend to find "flatter" local minima (aiding generalization), while CNNs find "deeper" but sharper minima (aiding precision). The hybrid approach (Type I) successfully combined these traits.
Key Results
HybridStereoNet was evaluated on SceneFlow (synthetic), SCARED2019 (laparoscopic ground truth), and dVPN (real-world laparoscopic warping accuracy). It outperformed both the state-of-the-art CNN model (LEAStereo) and the leading Transformer model (STTR):
- Accuracy (SCARED2019): HybridStereoNet achieved an End Point Error (EPE) of 1.4096, significantly lower than STTR (6.1869) and better than LEAStereo (1.5224).
- Robustness: It achieved the lowest "bad pixel ratio" across all thresholds, proving it handles difficult areas like occlusions better.
- Real-world Performance (dVPN): It achieved the highest SSIM (56.98) and PSNR (15.45), indicating higher quality depth reconstruction even without fine-tuning on the specific dataset.
Conclusion and Future Work
The study demonstrates that Transformers are excellent at learning what things look like (feature representation) due to their global field of view, while CNNs remain superior at the geometric task of matching those things (cost aggregation).
Future research will focus on overcoming the ground truth bottleneck and exploring self-supervised adaptation, allowing models to learn from unlabeled surgical video in real-time.
Summary updated