TL;DR
SurgPIS is the first unified framework for surgical instrument segmentation that simultaneously identifies individual tool instances and their constituent parts (Part-aware Instance Segmentation, or PIS). By leveraging a novel query transformation mechanism and a teacher-student weak supervision strategy, it can train effectively on disjointly labeled datasets, achieving state-of-the-art performance across multiple granularities while maintaining real-time inference speeds.
What Problem Does This Paper Address?
In robot-assisted surgery, computer vision models need to understand the operating scene at different levels of detail depending on the task. For example, an augmented reality overlay might only need to know where any tool is, whereas a pose estimation or tracking algorithm needs to distinguish individual tool instances (Instrument-level Instance Segmentation, or IIS) and identify specific tool components like the shaft, wrist, or clasper (Part-level Semantic Segmentation, or PSS).
Historically, researchers have treated these tasks separately. This separation creates two major problems:
- Lack of Interaction: Models miss out on hierarchical context (e.g., knowing that a specific clasper belongs to a specific bipolar forceps instance).
- Data Scarcity: Labeling surgical videos is incredibly tedious. While there are datasets with instance labels and others with part labels, datasets containing both simultaneously (PIS labels) are virtually non-existent.
Furthermore, standard part-aware models designed for natural images (like detecting a person and their arms/legs) fail in the surgical domain. In natural images, different object classes have distinct parts (cars have wheels, people have arms). In surgery, entirely different instruments share identical part types—almost every surgical tool has a shaft, a wrist, and a clasper, despite looking and behaving differently.
Methods
SurgPIS builds upon the popular Mask2Former architecture and introduces two key innovations to handle the unique challenges of surgical PIS:
- Part-Specific Query Transformation: Instead of using entirely separate or completely shared queries for tools and parts, SurgPIS uses a Multi-Layer Perceptron (MLP) to transform global instrument-level queries ($Q$) into part-specific queries ($Q_{part}$). This explicitly preserves the hierarchical link between a parent instrument instance and its components, allowing the model to handle identical part types across different instrument classes.
- Weakly-Supervised Mask Aggregation: To train on disjoint datasets (e.g., one dataset has only tool instance labels, another has only part semantic labels), the authors designed a teacher-student framework. During training on partially labeled data, the student model's detailed PIS predictions are dynamically aggregated into either pure instance masks or pure semantic part maps. This allows the network to calculate standard losses against incomplete ground truth. Meanwhile, an Exponential Moving Average (EMA) teacher model provides consistent pseudo-PIS labels to prevent the student from forgetting full part-instance relationships.
Datasets
The authors evaluated their method across four public datasets:
- EndoVis2018: Contains 15 video sequences with 7 instrument categories. The authors combined existing annotations to form complete PIS labels for fully-supervised baseline testing.
- EndoVis2017: Used as an instance-only (IIS) dataset for weak supervision testing.
- SAR-RARP50: Contains 50 suturing video segments, providing only semantic part (PSS) labels.
- GraSP: An entirely unseen dataset used strictly for external generalization testing. The authors manually annotated its test set with PIS labels to create a robust evaluation benchmark.
Key Insights and Ideas
- Hierarchical Synergy: One of the most compelling findings is that training a model with part-level awareness actually improves its performance on instrument-level tasks. Finer-grained annotations force the model to learn richer, more structured feature representations.
- Overcoming the "Shaft Dilemma": By anchoring part queries directly to instance queries via the MLP transformation, the model successfully avoids confusing the identical-looking shafts or wrists of neighboring instruments.
- Legacy Data Unification: The mask aggregation strategy effectively turns the fragmented landscape of surgical computer vision datasets into a unified training resource, proving that models don't always need perfectly unified ground truth to learn unified tasks.
Key Results
- PIS Superiority: In fully-supervised settings on EndoVis2018, SurgPIS outperformed the strong baseline (BPSS $\oplus$ BIIS) by 11.07 percentage points (pp) in Part Panoptic Quality (PartPQ).
- Weakly-Supervised Success: When trained under the weakly-supervised regime across disjoint datasets, SurgPIS beat the baseline by 14.49 pp on EndoVis2018 and 13.65 pp on EndoVis2017. It also dramatically outperformed natural-image state-of-the-art models like TAPPS.
- Real-Time Efficiency: When paired with a standard ResNet-50 backbone, SurgPIS achieves an inference speed of 30.67 FPS, making it highly suitable for real-time integration into surgical cockpits.
Limitations and Future Work
While the framework is highly flexible and can easily integrate powerful vision foundation models (like DINOv2), doing so introduces a massive computational bottleneck. Upgrading from a ResNet-50 to a DINOv2-ViT-L backbone yields a modest accuracy boost (+2.25 pp PartPQ) but drops the frame rate from ~30 FPS down to a non-real-time 9.30 FPS.
The authors note that future work will focus on optimizing these heavy architectures to maintain foundation-model accuracy without sacrificing the real-time constraints required for live clinical deployment.
Summary updated