Surgical video workflow analysis via visual-language learning

Pengpeng Li, Xiangbo Shu, Chun-Mei Feng, Yifei Feng, Wangmeng Zuo, Jinhui Tang

Abstract

Surgical video workflow analysis has made intensive development in computer-assisted surgery by combining deep learning models, aiming to enhance surgical scene analysis and decision-making. However, previous research has primarily focused on coarse-grained analysis of surgical videos, e.g., phase recognition, instrument recognition, and triplet recognition that only considers relationships within surgical triplets. In order to provide a more comprehensive fine-grained analysis of surgical videos, this work focuses on accurately identifying triplets < instrument , verb , target > from surgical videos. Specifically, we propose a vision-language deep learning framework that incorporates intra- and inter- triplet modeling, termed I 2 TM, to explore the relationships among triplets and leverage the model understanding of the entire surgical process, thereby enhancing the accuracy and robustness of recognition. Besides, we also develop a new surgical triplet semantic enhancer (TSE) to establish semantic relationships, both intra- and inter-triplets, across visual and textual modalities. Extensive experimental results on surgical video benchmark datasets demonstrate that our approach can capture finer semantics, achieve effective surgical video understanding and analysis, with potential for widespread medical applications.

Introduction: The Challenge of Fine-Grained Analysis

In minimally invasive surgery, surgeons rely heavily on video feeds. AI systems that can "understand" these workflows are vital for real-time decision support, post-operative review, and training. However, most existing models are "coarse-grained"—they might recognize a tool or a general phase (like "cleaning"), but they miss the nuance of specific interactions.

The challenge lies in recognizing action triplets: <instrument, verb, target>. To do this accurately, a model must understand:

  1. Intra-triplet relations: How a specific tool relates to a specific action and tissue (e.g., a "hook" is used to "dissect" a "gallbladder," not a "liver").
  2. Inter-triplet relations: How one action logically follows or co-occurs with another (e.g., "retracting the liver" often happens alongside "dissecting the gallbladder").
Surgical action triplets identifying instruments, verbs, and targets.

Previous models often treated these components in isolation or struggled with the "long-tail" problem, where rare but critical actions are frequently misidentified.

Methodology: The $I^2TM$ Framework

The authors propose the $I^2TM$ (Intra- and Inter-triplet Modeling) framework, which uses a dual-branch approach to fuse visual data with linguistic knowledge.

The I2TM framework architecture featuring Intra- and Inter-Triplet Semantic Enhancers.

The framework consists of two primary components:

  • Intra-Triplet Semantic Enhancer (Intra-TSE): This visual branch uses cross-attention to let the features of the instrument, verb, and target interact. It also includes a Coordinate Spatio-Temporal Module (CSTM) using bidirectional LSTMs to capture how these components move and relate in space over time.
  • Inter-Triplet Semantic Enhancer (Inter-TSE): This "language" side leverages a pre-trained CLIP text encoder to create semantic embeddings of surgical actions. It constructs dual graphs (one textual, one visual) and uses Graph Convolutional Networks (GCNs) to model the logical dependencies between different types of triplets.

The model also employs Prediction Calibration, where it predicts the instrument, verb, and target individually and then uses those results to refine the final triplet prediction, ensuring internal consistency.

Experimental Results

The model was evaluated on several industry-standard benchmarks for laparoscopic cholecystectomy, including CholecT50, CholecT45, and Cholec80. The $I^2TM$ framework outperformed existing state-of-the-art (SOTA) models across nearly all metrics:

  • Accuracy Boost: On the CholecT45 dataset, it achieved a 4.1% gain in Triplet Average Precision ($AP_{IVT}$) over the previous leader (RiT).
  • Top-K Performance: In the CholecTriplet Challenge, its "Top 5" accuracy reached 77.29%, a significant jump from the previous best of 69.35%.
  • Rare Class Mastery: The model showed dramatic improvements in identifying infrequent actions. For example, the recognition of "adhesion" (a difficult target) improved from an AP of 13.9% to 30.0%.

Discussion and Key Insights

  • Semantics as a Scaffold: By using CLIP, the model gains a "common sense" understanding of language. This helps it recognize rare actions because it understands the semantic relationship between a tool and its typical targets, even if it hasn't seen thousands of visual examples.
  • Context is King: Modeling "inter-triplet" relationships allows the AI to disambiguate similar-looking scenes by looking at the broader surgical context.
  • Spatial-Temporal Awareness: The CSTM module is crucial; the way a tool approaches a tissue over several frames is often more informative than a single static image.

Despite these gains, challenges remain. The model sometimes fails to detect tools at the video frame boundaries and struggles with surgical smoke. Future work may involve integrating "dehazing" algorithms or automatically generating more flexible text prompts.

Conclusion

The $I^2TM$ framework represents a significant step forward in surgical video analysis. By capturing both intra- and inter-triplet semantics through a vision-language approach, it achieves more robust and fine-grained understanding of surgical workflows, paving the way for advanced computer-assisted surgery applications.

Summary updated

BibTeX
@inproceedings{li2025surgical,
  author = {Pengpeng Li and Xiangbo Shu and Chun-Mei Feng and Yifei Feng and Wangmeng Zuo and Jinhui Tang},
  title = {{Surgical video workflow analysis via visual-language learning}},
  booktitle = {Npj},
  year = {2025},
  doi = {10.1038/s44401-024-00010-3},
}
Figure