TL;DR
UniSurgSAM is a unified, multi-modal promptable framework for surgical video segmentation that seamlessly supports visual, textual, and audio inputs in real time. By decoupling target initialization from tracking and introducing closed-loop failure recovery, it effectively suppresses mask drift and false-positive hallucinations during complex, long-duration surgical procedures.
What Problem Does This Paper Address?
As surgical AI shifts toward human-AI collaboration, AI systems must act as "cognitive copilots" capable of understanding dynamic instructions from surgeons. During a procedure, a surgeon might want to track a specific tool or tissue layer by clicking on it (visual), typing a description (textual), or giving a voice command (audio) to keep their hands free.
However, existing Promptable Video Object Segmentation (PVOS) methods suffer from three major flaws:
- Modality Isolation: They are typically restricted to a single input type (either visual or textual, completely lacking audio support).
- Optimization Interference: They entangle target initialization (understanding what to segment based on the prompt) and tracking (propagating that mask across frames) within a single coupled decoder, degrading both tasks.
- Open-Loop Fragility: They frequently "hallucinate" masks when a tool leaves the camera's field of view and suffer from irreversible "mask drift" over long operations due to blood, smoke, or rapid camera movements.
Methods
To resolve these challenges, the authors developed UniSurgSAM, which splits the segmentation pipeline into a decoupled, two-stage architecture coordinated by an intelligent central controller.
- Decoupled Two-Stage Framework: Instead of a shared decoder, UniSurgSAM uses an independent Multi-Modal Detector for prompt-based target initialization and a separate Tracker for mask propagation. This completely eliminates gradient conflicts between the two tasks.
- Reliable Presence-Aware Decoding (RPAD): To prevent the model from hallucinating masks when a target is missing, the detector includes an explicit presence head. It is trained using a negative sampling strategy that teaches the model to output a score of zero when the queried instrument is absent.
- Boundary-Aware Long-Term Tracking (BLT): The tracker features a parallel boundary prediction head to enforce geometric precision. This is paired with a Diversity-Driven Long-Term Memory (DLM) bank. Instead of discarding the oldest frames (FIFO), DLM uses cosine similarity to evict the most redundant frames, preserving a highly diverse history of tool appearances and tissue deformations.
- Adaptive State Transition (AST): This module acts as a closed-loop controller. It uses a sliding window for Credible Activation to ensure tracking only starts on stable detections. Crucially, it implements a Consensus-Based Fallback that periodically cross-checks the tracker's output against the detector. If a drift is detected, it automatically triggers a fallback to Stage I for re-initialization.
Datasets
The authors established a comprehensive multi-modal, multi-granular benchmark by converting four public surgical datasets into a standardized spatio-temporal "masklet" format:
- Uni-EndoVis17 & Uni-EndoVis18: Standard robotic surgery datasets, with EndoVis18 split into Instrument (-I) and Tissue (-T) subsets.
- Uni-RARP50: Long-duration radical prostatectomy videos averaging around 300 seconds.
- Uni-SurgAI3.8K: Laparoscopic gynecologic videos capturing complex anatomical tissue deformations.
Every dataset was enriched with a complete prompt suite (simulated visual points/boxes, textual expressions, and recorded audio instructions) alongside fine-grained part-level annotations (e.g., segmenting just the "wrist" or "tip" of a tool).
Key Insights and Ideas
- The Cost of Coupling: Through gradient cosine-similarity analysis, the authors empirically proved that initialization and tracking tasks actively fight each other during training when sharing a decoder. Decoupling them leads to significantly faster and smoother loss convergence.
- Linguistic Prompts Lack Spatial Anchors: Visual prompts (like clicks) inherently confirm an object's location and presence. Linguistic prompts do not. Explicitly modeling target absence is therefore a prerequisite for safe clinical deployment.
- Exploiting Persistent Semantics: While tracking errors compound over time in open-loop systems, linguistic prompts remain constant anchors. Using the detector to periodically "audit" the tracker creates a highly resilient, self-correcting system.
Key Results
UniSurgSAM achieves state-of-the-art performance across all prompt modalities and granularities while comfortably exceeding real-time requirements on a single NVIDIA A6000 GPU:
- Inference Speed: Runs at 68 FPS for visual prompts, 55 FPS for textual prompts, and 53 FPS for audio prompts.
- Segmentation Accuracy:
- In visual PVOS, it beats SAM2 by +6.3 J&F on Uni-EndoVis17 and +3.6 J&F on Uni-EndoVis18-T.
- In textual PVOS, it outperforms the previous best surgical model (ReSurgSAM2) by +4.3 J&F on Uni-EndoVis17 and +5.6 J&F on the long-duration Uni-RARP50 dataset.
- Hallucination Suppression: On Uni-EndoVis18-I, the False Positive Rate (FPR) dropped from 19.2% to 3.1%, demonstrating the reliability of the presence-aware decoding mechanism.
Limitations and Future Work
Despite its strong performance, the authors note a few limitations:
- Generalization Boundaries: The model's vision-language understanding is bound to the specific surgical procedures it was trained on.
- Acoustic Noise: The Automated Speech Recognition (ASR) module is not yet optimized to handle the background noise, alarms, and chatter typical of a real operating room.
- Next Steps: Future work will focus on training on more diverse surgical procedures, improving audio robustness with domain-adapted noise reduction, and integrating the model directly into closed-loop robotic control systems for autonomous surgical tasks.
Summary updated