Introduction
In computer-assisted surgery, the ability to automatically identify and track surgical instruments is fundamental to providing real-time feedback and post-operative analysis. Traditionally, this has relied on supervised learning, which requires thousands of hours of manual annotation—a process that is both expensive and difficult to scale. Object-centric learning (OCL) offers a promising alternative by attempting to decompose scenes into interpretable components, or "slots," without explicit labels. However, surgical environments present unique challenges for existing OCL models, including non-uniform motion, frequent occlusions, and instruments that enter or exit the field of view unpredictably.
This paper introduces the Dynamic Temporal Slot Transformer (DTST), a novel framework designed to overcome these hurdles by treating object representations as temporal tokens and dynamically managing the number of active slots in a scene.
Methodology
The DTST framework builds upon the standard Slot Attention (SA) pipeline but introduces three critical innovations to handle the complexities of surgical video.
1. Dynamic Temporal Slot Transformer (DTST)
Inspired by the "next-token prediction" paradigm used in Large Language Models (LLMs), the DTST treats slot embeddings as discrete tokens. By processing a sequence of these embeddings, the model learns to predict the optimal initialization for slots in the subsequent frame. This bidirectional temporal reasoning allows the system to maintain a consistent "object identity" even when tools move erratically or are momentarily obscured by tissue or blood.
2. Unsupervised Slot Merger
A significant limitation of current OCL models is the use of a fixed number of slots (e.g., always searching for exactly five objects). In surgical settings, this leads to "over-grouping" (missing a tool) or "under-grouping" (splitting one tool into multiple slots). The authors developed an Unsupervised Slot Merger that calculates the cosine similarity between slots. If two slots represent the same physical object, they are merged; conversely, the module can allocate redundant slots to new objects as they enter the frame.
3. Two-Stage Training Strategy
The model utilizes a robust training pipeline:
- Stage 1: The model is pre-trained to group high-level features from a Vision Transformer (ViT) encoder into slots using a reconstruction objective.
- Stage 2: The DTST and Merger modules are enabled. The model is trained stochastically to alternate between refined slots and original ones, ensuring the system remains resilient to varying scene complexities.
Experimental Setup
The framework was evaluated across four diverse surgical datasets to test its robustness and generalization:
- Abdominal Surgery: Utilizing the MICCAI 2022 SurgToolLoc Challenge data (24,542 clips).
- Thoracic Robotic Surgery: A dataset consisting of 1,730 lung lobectomy video clips.
- Cholecystectomy: Derived from the Cholec80 and CholecSeg8K datasets.
- EndoVis 2017: Used for zero-shot evaluation to determine how well the model generalizes to entirely unseen surgical environments without further training.
Results and Key Insights
Superior Localization and Tracking
The DTST model outperformed existing state-of-the-art methods, including SAVi, STEVE, and Slot-BERT. On the Abdominal dataset, it achieved a CorLoc (localization accuracy) of 71.7, a performance level approaching that of supervised models. Furthermore, the model showed significant improvements in mBO-V (video mean best overlap), indicating superior temporal consistency and a reduction in "ID swapping" during tool tracking.
Zero-Shot Generalization
One of the most compelling findings was the model's performance on the EndoVis 2017 dataset. Without any prior exposure to this specific data, the model achieved the highest CorLoc (64.6) among all tested unsupervised methods. This suggests that the DTST learns a general concept of "objectness" rather than simply memorizing specific tool geometries.
Real-Time Efficiency
Despite the added complexity of the transformer and merger modules, the system maintains high computational efficiency. Running at 5.6 ms per frame on an NVIDIA RTX A6000, the framework is well-suited for integration into real-time surgical assistance systems.
Discussion and Future Work
While the DTST represents a significant leap forward for unsupervised surgical vision, challenges remain. The authors note that extreme overlaps—such as when two instrument shafts cross—can still lead to disentanglement issues. Additionally, the current temporal context is limited to approximately 11 seconds.
Future research will focus on extending the temporal window to capture longer-term dependencies and exploring even larger, more diverse datasets to further refine the model's ability to handle complex occlusions and long-term tool tracking in the operating room.
Summary updated