DeepPhase: Surgical Phase Recognition in CATARACTS Videos

Odysseas Zisimopoulos, Evangello Flouty, Imanol Luengo, Petros Giataganas, Jean Nehme, Andre Chow, Danail StoyanovarXiv 2018

TL;DR

DeepPhase is a deep learning framework that automates surgical workflow analysis in cataract surgery videos by combining tool recognition with temporal phase inference. By feeding high-level visual features from a ResNet-152 into an LSTM, the system achieves 99% accuracy in tool detection and over 78% in surgical phase recognition, paving the way for real-time intraoperative assistance.

What Problem Does This Paper Address?

In the operating room, understanding the "surgical workflow"—the sequence of steps or phases in a procedure—is vital for improving safety, training, and efficiency. If a computer can recognize what a surgeon is doing in real-time, it can provide early warnings, predict the next required instrument, or automatically generate post-operative reports.

However, automating this is difficult. Surgical videos are complex, featuring varying lighting, occlusions, and subtle transitions between steps. While previous research focused on laparoscopy (abdominal surgery), this paper tackles cataract surgery, the most common surgical procedure worldwide. The challenge lies in accurately detecting 21 different tools and mapping their usage to 14 distinct procedural phases.

Methods

The authors propose a two-stage deep learning pipeline:

  1. Tool Recognition (CNN): They utilize ResNet-152, a deep residual network pre-trained on ImageNet, to perform multi-label classification on individual video frames. This stage identifies which of the 21 surgical tools are present and touching the eyeball.
  2. Phase Recognition (RNN): Because surgical phases are sequential, the current phase depends heavily on what happened previously. The authors use Recurrent Neural Networks—specifically Long Short-Term Memory (LSTM) and Gated Recurrent Units (GRU)—to process sequences of 100 frames (about 33 seconds of video).

The researchers experimented with two types of inputs for the RNN: simple binary vectors (is the tool there or not?) and high-level visual features extracted from the CNN's final pooling layer.

The DeepPhase pipeline: ResNet-152 extracts features from video frames, which are then processed by an RNN to classify the surgical phase.

Datasets

The study uses the CATARACTS dataset, which contains 50 videos (25 for training, 25 for testing) recorded at 30 fps.

  • Tool Annotations: The original dataset included labels for 21 tool classes.
  • New Phase Annotations: A key contribution of this paper is the addition of surgical phase annotations for all 50 videos. A medical doctor and an ophthalmology nurse hand-labeled 14 distinct phases, such as "capsulorhexis" and "phacoemulsification," creating a new benchmark for the community.
Examples of surgical tools from the CATARACTS dataset and their corresponding labels.

Key Insights and Ideas

  • Visual Features > Binary Labels: The LSTM performed significantly better when trained on raw visual features from the CNN rather than just binary tool presence. This suggests the model captures crucial nuances like tool motion, orientation, and lighting that simple "presence" labels miss.
  • Temporal Context is King: The use of RNNs allows the model to maintain the "correct" phase even during brief moments when tools are absent or the view is obscured, provided the preceding sequence was clear.
  • Tool-Phase Correlation: The results confirm that specific tools are highly predictive of specific phases. For instance, the appearance of a viscoelastic cannula is a strong signal for the injection phases.

Key Results

  • Tool Detection: The ResNet-152 model achieved a 99.07% Hamming accuracy on the hold-out test set and an AUC of 97.69% on the official CATARACTS challenge set, placing it near the top of the leaderboard.
  • Phase Recognition: The best-performing model (LSTM trained on visual features) achieved 78.28% accuracy on the test set.
  • Qualitative Success: The model successfully navigated complex transitions, though it occasionally struggled with "noisy" frames or false positives when tools were visible but not actually touching the eyeball.
Qualitative results showing successful tool and phase recognition, alongside a few failure cases like false positives on the micromanipulator.

Limitations and Future Work

The primary bottleneck identified was class imbalance. Some surgical phases are very short or occur rarely, meaning the model doesn't see enough examples to learn them effectively. For example, phases 3 and 4 appeared in only two videos, leading to poor performance on those specific steps.

To improve DeepPhase, the authors suggest:

  • Data Augmentation: Using techniques to artificially increase the representation of rare phases.
  • Advanced Architectures: Exploring bidirectional RNNs or Temporal Convolutional Networks (TCNs) to capture even longer-term dependencies.
  • End-to-End Training: Moving away from the two-stage pipeline toward a single model that learns features and temporal sequences simultaneously.

Summary updated

BibTeX
@misc{zisimopoulos2018deepphase,
  author = {Odysseas Zisimopoulos and Evangello Flouty and Imanol Luengo and Petros Giataganas and Jean Nehme and Andre Chow and Danail Stoyanov},
  title = {{DeepPhase: Surgical Phase Recognition in CATARACTS Videos}},
  year = {2018},
  eprint = {1807.10565},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1807.10565},
}
Figure