ToolTipNet: A Segmentation-Driven Deep Learning Baseline for Surgical Instrument Tip Detection

Zijian Wu, Shuojue Yang, Yueming Jin, Septimiu E. SalcudeanarXiv 2025 · DOI

Introduction

Precise localization of surgical instrument tips is a fundamental requirement for advanced robot-assisted laparoscopic surgery (RALP). Accurate tip detection facilitates the registration of intraoperative ultrasound data to the laparoscopic view, enables automated surgical skill assessment, and provides the necessary ground-truth labels for training autonomous robotic systems.

While robotic systems like the da Vinci provide internal kinematic data, this information is often unreliable due to mechanical factors such as cable stretching and backlash. Vision-based alternatives are preferred but face significant hurdles: instrument tips are small, highly articulated, and frequently obscured by blood, glare, or complex textures. While modern foundation models like Segment Anything (SAM) excel at identifying the entire tool, pinpointing specific gripper tips remains a specialized challenge.

Methodology

The authors introduce ToolTipNet, a deep-learning architecture designed to detect tips by analyzing part-level segmentation masks (silhouettes) rather than raw RGB images. This approach prioritizes geometric information over potentially distracting visual textures.

ToolTipNet Architecture: The model processes part-level masks through an HRNet backbone and feature pyramid, utilizing mask-guided attention to isolate gripper geometry for tip prediction.

The ToolTipNet pipeline consists of several key components:

  • HRNet Backbone: Utilizing HRNet-w32, the model maintains high-resolution representations throughout the network, which is essential for precise coordinate localization.
  • Feature Pyramid Fusion: Features are extracted at multiple scales (from 1/16 to 1/2 resolution) and fused into a single, high-resolution feature map to capture both global context and local detail.
  • Mask-Guided Attention: To focus the network on the functional end of the tool, fused features are multiplied by a gripper-specific mask. This forces the model to ignore the tool shaft and concentrate on the specific geometry of the tips.
  • Heatmap Prediction: The final head generates a heatmap where peaks correspond to the predicted coordinates of the instrument tips.

Datasets and Evaluation

The model was trained and evaluated using a combination of simulated and real-world data:

  1. Simulated Dataset: 9,915 images were generated using a CAD-based simulator of a da Vinci needle driver, providing perfect ground-truth labels.
  2. Real Dataset: 266 real-world surgical masks were extracted from the SurgPose dataset using SAM 2 to generate part-level segmentations.
  3. Testing: Evaluation was conducted on 1,823 simulated masks and 96 real-world masks.

Results and Discussion

ToolTipNet demonstrates a significant performance leap over traditional hand-crafted methods, such as those using Singular Value Decomposition (SVD) to find the tool's axis. Traditional methods often fail when grippers are nearly closed, as the tips appear as a single merged blob. ToolTipNet, by contrast, learns the underlying geometric "corners" of the gripper, maintaining accuracy even in articulated or closed states.

Quantitative Performance Comparison: ToolTipNet significantly outperforms the baseline across both simulated and real-world datasets in terms of RMSE and Accuracy.

As shown in the results, ToolTipNet achieved an RMSE of 3.73 pixels and 95.9% accuracy on simulated data, vastly outperforming the baseline's 28.14 RMSE and 28.7% accuracy. On real-world data, the model remained robust, achieving an RMSE of 9.04 pixels and 81.3% accuracy.

Conclusion

ToolTipNet establishes a robust baseline for surgical tip detection by leveraging the synergy between foundation models (for segmentation) and specialized geometric networks (for keypoint detection). While the model currently depends on high-quality initial masks, future work aims to integrate these tasks into a multi-task learning framework, where segmentation and tip detection branches can mutually inform and improve one another.

Summary updated

BibTeX
@misc{wu2025tooltipnet,
  author = {Zijian Wu and Shuojue Yang and Yueming Jin and Septimiu E. Salcudean},
  title = {{ToolTipNet: A Segmentation-Driven Deep Learning Baseline for Surgical Instrument Tip Detection}},
  year = {2025},
  eprint = {2504.09700},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.09700},
}
Figure