Abstract
The surgical workflow challenge at M2CAI 2016 consists of identifying 8 surgical phases in cholecystectomy procedures. Here, we propose to use deep architectures that are based on our previous work where we presented several architectures to perform multiple recognition tasks on laparoscopic videos. In this technical report, we present the phase recognition results using two architectures: (1) a single-task architecture designed to perform solely the surgical phase recognition task and (2) a multi-task architecture designed to perform jointly phase recognition and tool presence detection. On top of these architectures we propose to use two different approaches to enforce the temporal constraints of the surgical workflow: (1) HMM-based and (2) LSTM-based pipelines. The results show that the LSTM-based approach is able to outperform the HMM-based approach and also to properly enforce the temporal constraints into the recognition process.
Introduction
In the operating room, understanding the "surgical workflow"—the sequence of steps a surgeon takes—is vital for coordinating staff and enabling automated post-operative analysis. The M2CAI 2016 Surgical Workflow Challenge tasked researchers with identifying 8 distinct phases in cholecystectomy (gallbladder removal) videos.
The core challenge is two-fold:
- Visual Ambiguity: Different phases can look very similar in a single frame.
- Temporal Constraints: Surgery follows a logical progression. A standard Convolutional Neural Network (CNN) treats every frame as an isolated image, ignoring the fact that "Phase B" almost always follows "Phase A."
Methods and Architectures
The researchers compared two main CNN architectures based on AlexNet to extract visual features from video frames:
- PhaseNet: A single-task network designed solely for phase recognition.
- EndoNet: A multi-task network designed to recognize both the surgical phase and the presence of specific surgical tools.
Temporal Modeling
To handle the "flow" of time and enforce temporal constraints, two secondary pipelines were implemented:
- HMM-based: Features extracted from the CNNs were passed through a Support Vector Machine (SVM) to generate confidence scores, which were then smoothed using a Hierarchical Hidden Markov Model (HHMM) based on likely transitions.
- LSTM-based: CNN features were fed into a Long Short-Term Memory (LSTM) network with 1024 states. Unlike HMMs, which only look at the immediate previous state (the Markov assumption), LSTMs can theoretically remember information from much earlier in the surgery, allowing for better modeling of long-term dependencies.
Datasets
The study utilized two key datasets:
- m2cai2016-workflow: The primary challenge dataset, consisting of 27 training and 14 testing videos of cholecystectomies, annotated for 8 surgical phases.
- Cholec80: A larger dataset of 40 videos containing both phase and binary tool annotations. This was used to train the multi-task EndoNet, despite slight differences in phase definitions.
Key Results
The performance was measured using the Jaccard score (Intersection over Union) and Accuracy. The combination of multi-task visual features and long-term temporal modeling proved to be the most effective strategy.
| Network | Temporal Model | Jaccard Score | Accuracy |
|---|---|---|---|
| PhaseNet-m2cai16 | HMM | 64.1 ± 10.3 | 79.5 ± 12.1 |
| EndoNet-Cholec80 | LSTM | 69.8 ± 7.1 | 80.1 ± 17.6 |
| EndoNet-Cholec80 | HMM | 67.7 ± 10.9 | 80.6 ± 11.5 |
The EndoNet-Cholec80 with LSTM achieved the best Jaccard score, demonstrating that features learned from auxiliary tasks (like tool detection) are highly transferable and beneficial for phase recognition.
Conclusion
This research demonstrates that multi-task learning creates more robust visual features for surgical workflow analysis. Furthermore, breaking the Markov assumption with LSTMs allows for a more flexible and accurate representation of the entire surgical procedure. Future work will focus on end-to-end training of the CNN and LSTM components to further optimize performance and move toward real-time clinical application.
Summary updated