MURPHY: Relations Matter in Surgical Workflow Analysis

Shang Zhao, Yanzhe Liu, Qiyuan Wang, Dai Sun, Rong Liu, S. Kevin ZhouarXiv 2022

Abstract

Autonomous robotic surgery has advanced significantly based on analysis of visual and temporal cues in surgical workflow, but relational cues from domain knowledge remain under investigation. Complex relations in surgical annotations can be divided into intra- and inter-relations, both valuable to autonomous systems to comprehend surgical workflows. Intra- and inter-relations describe the relevance of various categories within a particular annotation type and the relevance of different annotation types, respectively. This paper aims to systematically investigate the importance of relational cues in surgery. First, we contribute the RLLS12M dataset, a large-scale collection of robotic left lateral sectionectomy (RLLS), by curating 50 videos of 50 patients operated by 5 surgeons and annotating a hierarchical workflow, which consists of 3 inter- and 6 intra-relations, 6 steps, 15 tasks, and 38 activities represented as the triplet of 11 instruments, 8 actions, and 16 objects, totaling 2,113,510 video frames and 12,681,060 annotation entities. Correspondingly, we propose a multi-relation purification hybrid network (MURPHY), which aptly incorporates novel relation modules to augment the feature representation by purifying relational features using the intra- and inter-relations embodied in annotations. The intra-relation module leverages a R-GCN to implant visual features in different graph relations, which are aggregated using a targeted relation purification with affinity information measuring label consistency and feature similarity. The inter-relation module is motivated by attention mechanisms to regularize the influence of relational features based on the hierarchy of annotation types from the domain knowledge. Extensive experimental results on the curated RLLS dataset confirm the effectiveness of our approach, demonstrating that relations matter in surgical workflow analysis.

Introduction

Surgical Process Modeling (SPM) is critical for the development of autonomous robotic surgery and AI-assisted monitoring. Traditionally, AI models have focused on visual and temporal cues—identifying tools and tracking their movements over time. However, surgery is inherently hierarchical and governed by domain-specific logic. A high-level Step (e.g., mobilization of the liver) is composed of specific Tasks (e.g., dissection of a ligament), which are further broken down into fine-grained Activities (e.g., a specific instrument performing an action on an anatomical object).

The hierarchical structure of surgical workflow annotations, illustrating the intra- and inter-relations between steps, tasks, and activities.

Existing models often treat these labels as independent, ignoring the rich relational information available in surgical protocols. This paper introduces the MURPHY framework, which treats surgical workflow analysis as a relational problem, explicitly modeling the "intra-" and "inter-relations" that define surgical procedures.

The RLLS12M Dataset

To support this research, the authors curated RLLS12M, a landmark large-scale dataset for Robotic Left Lateral Sectionectomy.

  • Scale: 50 full-length clinical videos comprising over 2.1 million frames.
  • Annotations: 12.6 million entities across a three-level hierarchy (6 steps, 15 tasks, 38 activities).
  • Complexity: Activities are represented as (Instrument, Action, Object) triplets, involving 11 instruments, 8 actions, and 16 objects.
  • Real-world Challenges: The dataset includes "under-effective" frames—moments of tool adjustment or waiting—which are notoriously difficult for AI to classify but essential for realistic surgical understanding.

The MURPHY Framework

The Multi-Relation Purification Hybrid (MURPHY) network incorporates two novel modules to bake domain knowledge into the deep learning architecture:

Overview of the MURPHY architecture, featuring implicit relation learning via R-GCN and explicit inter-relation learning via Hierarchical Relation Cross Attention (HRCA).

1. Implicit Relation Learning (R-GCN)

To handle intra-relations (relationships within the same level, such as tool co-occurrence), MURPHY uses a Relational Graph Convolutional Network. It dynamically builds an adjacency matrix that combines visual feature similarity with "label consistency" to purify relational features, ensuring the model focuses on logically consistent tool-action-object combinations.

2. Explicit Inter-Relation Learning (HRCA)

To handle inter-relations (the hierarchy between levels), the authors developed Hierarchical Relation Cross Attention. This module uses a pre-defined knowledge matrix to ensure that predictions for fine-grained activities are constrained by the predicted high-level step. This coarse-to-fine scheme prevents visual noise in low-level tasks from disrupting the overall workflow prediction.

Experimental Results

MURPHY consistently outperformed state-of-the-art (SOTA) models like AttentionTripnet and MTMS-TCN across multiple metrics:

  • Accuracy: On the RLLS dataset, MURPHY achieved a 73.16 mAP (Mean Average Precision), significantly higher than the 70.38 mAP of standard CNN-LSTM baselines.
  • Sequence Prediction: The model showed marked improvements in "Edit Distance," indicating a better grasp of the correct chronological sequence of surgical events.
  • Generalization: Cross-validation across different surgeons demonstrated that the relational modules help the AI focus on the underlying logic of the surgery rather than the specific visual styles of individual practitioners.

Conclusion and Future Work

The success of MURPHY demonstrates that domain-specific relations act as powerful regularizers for surgical AI. By forcing the model to respect the inherent hierarchy of the procedure, it becomes more robust to visual obstructions like smoke or blood.

Despite these gains, a human-AI gap remains, as professional surgeons achieve an mAP of ~84.5 on the same tasks. Future research will focus on improving long-term temporal consistency and incorporating anatomical visual cues—such as the shapes and locations of specific liver segments—to further bridge the gap toward human-level surgical understanding.

Summary updated

BibTeX
@misc{zhao2022murphy,
  author = {Shang Zhao and Yanzhe Liu and Qiyuan Wang and Dai Sun and Rong Liu and S. Kevin Zhou},
  title = {{MURPHY: Relations Matter in Surgical Workflow Analysis}},
  year = {2022},
  eprint = {2212.12719},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2212.12719},
}
Figure