Aggregating Long-Term Context for Learning Laparoscopic and Robot-Assisted Surgical Workflows

Yutong Ban, Guy Rosman, Thomas M. Ward, Daniel A. Hashimoto, Taisei Kondo, Hidekazu Iwaki, Ozanan R. Meireles, Daniela Rus · DOI

Abstract

Analyzing surgical workflow is crucial for surgical assistance robots to understand surgeries. With the understanding of the complete surgical workflow, the robots are able to assist the surgeons in intra-operative events, such as by giving a warning when the surgeon is entering specific keys or high-risk phases. Deep learning techniques have recently been widely applied to recognizing surgical workflows. Many of the existing temporal neural network models are limited in their capability to handle long-term dependencies in the data, instead, relying upon the strong performance of the underlying per-frame visual models. We propose a new temporal network structure that leverages task-specific network representation to collect long-term sufficient statistics that are propagated by a sufficient statistics model (SSM). We implement our approach within an LSTM backbone for the task of surgical phase recognition and explore several choices for propagated statistics. We demonstrate superior results over existing and novel state-of-the-art segmentation techniques on two laparoscopic cholecystectomy datasets: the publicly available Cholec80 dataset and MGH100, a novel dataset with more challenging and clinically meaningful segment labels.

Introduction

For surgical assistance robots to be effective, they must possess a deep understanding of the surgical workflow—identifying current actions and predicting subsequent steps. While deep learning has significantly advanced surgical phase recognition, standard temporal models like CNN-LSTMs often struggle with "short-term memory." In procedures such as laparoscopic cholecystectomy (gallbladder removal), distinct phases can appear visually identical, leading to misidentification if the model loses track of long-term context. This paper introduces a framework designed to overcome these long-term dependency challenges, providing the "situational awareness" necessary for complex, non-linear surgical environments.

Methodology: The SSM-LSTM Framework

The proposed SSM-LSTM architecture addresses the limitations of standard LSTMs by explicitly aggregating global context through a "side channel" of statistical summaries. The framework consists of three primary components:

  1. Visual Backbone: A standard ResNet CNN extracts high-level visual features from individual video frames.
  2. Sufficient Statistic Models (SSM): This module calculates and propagates "sufficient statistics" of the surgery's history. By maintaining a "History Memory," the SSM provides the model with a map of the procedure's progress. Key statistics explored include Hidden Markov Models (HMM) for transition smoothing, Cumulative Sum Likelihood (CSL) to track phase accumulation, and Wavelet Transforms for multi-scale temporal patterns.
  3. Augmented LSTM: The global statistics from the SSM are concatenated with local visual features. This allows the LSTM to make informed decisions based on both immediate visual input and the broader procedural context.
The SSM-LSTM architecture integrates a visual CNN backbone with a Sufficient Statistics Model (SSM) and an LSTM to aggregate long-term surgical context.

Datasets and Evaluation

The model was rigorously evaluated on two distinct datasets:

  • Cholec80: A standard public dataset featuring 80 videos with 7 broad surgical phases.
  • MGH100: A more complex dataset introduced by the authors from Massachusetts General Hospital. It contains 100 videos with 13 granular phases, including "checkpoints" and non-linear workflows where phases may repeat or vary in order.

Results and Discussion

The SSM-LSTM framework achieved state-of-the-art performance, reaching 90.0% accuracy on the Cholec80 dataset. More importantly, it showed significant improvements on the challenging MGH100 dataset, particularly for short-duration phases (under 30 seconds). Accuracy for these short phases jumped from 12.5% with a standard LSTM to 31.2% with the SSM-augmented model.

Qualitative comparison of surgical phase recognition on the MGH100 dataset, showing ground truth (a), model predictions (b), and phase probabilities (c).

A key insight is that "where we are" in a surgery is often more informative than "what the image looks like." By providing the model with a map of completed tasks—such as confirming a cystic duct has already been divided—the system can resolve visual ambiguities between early and late-stage dissection phases. This clinical relevance is vital for safety warnings, such as distinguishing between clipping the cystic artery versus the cystic duct.

Conclusion

The SSM-LSTM represents a significant step toward robust surgical workflow analysis. While "Checkpoint" phases remain difficult to identify due to their lack of distinct signatures, the integration of long-term statistical context provides a powerful tool for real-time recognition. Future work will focus on making the pipeline entirely end-to-end differentiable and exploring "acausal" models for post-operative quality assessment.

Summary updated

BibTeX
@misc{ban2020aggregating,
  author = {Yutong Ban and Guy Rosman and Thomas M. Ward and Daniel A. Hashimoto and Taisei Kondo and Hidekazu Iwaki and Ozanan R. Meireles and Daniela Rus},
  title = {{Aggregating Long-Term Context for Learning Laparoscopic and Robot-Assisted Surgical Workflows}},
  year = {2020},
  eprint = {2009.00681},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2009.00681},
}
Figure