Multitask Learning of Temporal Connectionism in Convolutional Networks using a Joint Distribution Loss Function to Simultaneously Identify Tools and Phase in Surgical Videos

Shanka Subhra Mondal, Rachana Sathish, Debdoot SheetarXiv 2019

Abstract

Surgical workflow analysis is of importance for understanding the onset and persistence of surgical phases and individual tool usage across surgery. This is beneficial for clinical quality control and hospital administration planning. Currently, combinations of convolutional neural networks (CNN) and recurrent neural networks (RNN) are popular for video analysis. In this paper, we propose a multi-task learning framework using a CNN followed by a bi-directional long short-term memory (Bi-LSTM) network to encapsulate both forward and backward temporal dependencies. Furthermore, the joint distribution indicating the set of tools associated with a phase is used as an additional loss during learning to correct for their co-occurrence. Experimental evaluation on the Cholec80 dataset yields a mean average precision (mAP) of 0.99 for tool identification and 0.86 for phase identification, outperforming prior art.

Introduction

Surgical workflow analysis—the ability to automatically track what is happening in an operating room—is crucial for hospital efficiency, surgeon training, and post-operative review. However, analyzing surgical video is notoriously difficult due to anatomical occlusions, camera motion jitter, and specular reflections.

Most existing methods treat tool detection and phase identification as separate problems or fail to account for the logical relationship between them. For example, a "clipper" tool is highly likely to appear during a "clipping and cutting" phase but almost never during "initial preparation." This paper aims to bridge that gap by teaching the AI the inherent "rules" of surgery through multitask learning and temporal context.

Methodology

The authors proposed a two-stage multitask learning pipeline designed to capture both visual features and temporal context:

  1. Feature Extraction (CNN): A ResNet-50 architecture (pre-trained on ImageNet) extracts high-level visual features from individual video frames.
  2. Temporal Modeling (Bi-LSTM): These features are fed into a Bi-directional Long Short-Term Memory (Bi-LSTM) network. Unlike standard LSTMs that only look at past frames, a Bi-LSTM looks at both past and future frames to understand the context of the current moment.
  3. The Joint Distribution Loss: This is the paper's core innovation. The authors integrated a co-occurrence matrix into the training process as a third loss function ($L_3$). If the model predicts a tool-phase combination that is statistically impossible, the joint loss function heavily penalizes the network, forcing it to "self-correct."
The detailed multitask learning pipeline, illustrating the integration of ResNet-50, Bi-LSTM, and the joint distribution loss functions ($L_3, J_3$).

Dataset and Task

The model was evaluated on the Cholec80 dataset, a standard benchmark in the field containing 80 videos of cholecystectomy (gallbladder removal) surgeries. The dataset includes annotations for 7 surgical phases and 7 specific surgical tools.

The seven surgical tools identified by the framework: Grasper, Bipolar, Hook, Clipper, Scissors, Irrigator, and Specimen bag.

By training the network to identify tools and phases simultaneously, the shared features learned by the CNN become more robust. The joint distribution loss acts as a "sanity check," encoding the logic of the surgical procedure to reduce impossible predictions.

Key Results

The proposed method significantly outperformed several baselines, including the well-known Endonet architecture.

Metric Proposed Method Baseline (Endonet/BL6)
Tool Detection (mAP) 0.99 0.81
Phase Detection (mAP) 0.857 0.848
Phase Accuracy 0.966 0.92

While phase detection results were comparable to the state-of-the-art, the tool detection performance (0.99 mAP) was a significant leap forward, likely due to the Bi-LSTM's ability to smooth out transient occlusions and the logical constraints provided by the joint loss function.

Limitations and Future Work

The authors acknowledge that the Cholec80 dataset comes from a single hospital, and a more diverse dataset is needed to ensure the model generalizes across different surgical styles. Future work will focus on moving toward a true "end-to-end" system, expanding into tool localization (finding where the tool is), and implementing rotation-invariant convolutions to handle camera movement during surgery.

Summary updated

BibTeX
@misc{mondal2019multitask,
  author = {Shanka Subhra Mondal and Rachana Sathish and Debdoot Sheet},
  title = {{Multitask Learning of Temporal Connectionism in Convolutional Networks using a Joint Distribution Loss Function to Simultaneously Identify Tools and Phase in Surgical Videos}},
  year = {2019},
  eprint = {1905.08315},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1905.08315},
}
Figure