Think Step by Step: Chain-of-Gesture Prompting for Error Detection in Robotic Surgical Videos

Zhimin Shao, Jialang Xu, Danail Stoyanov, Evangelos B. Mazomenos, Yueming Jin
6/27/2024
cs.CVcs.AIcs.RO

No official code found. Best implementation: jinlab-imvr/Chain-of-Gesture (14 stars, last commit 2025-08-26).

Abstract

Despite significant advancements in robotic systems and surgical data science, ensuring safe and optimal execution in robot-assisted minimally invasive surgery (RMIS) remains a complex challenge. Current surgical error detection methods involve two parts: identifying surgical gestures and then detecting errors within each gesture clip. These methods seldom consider the rich contextual and semantic information inherent in surgical videos, limiting their performance due to reliance on accurate gesture identification. Motivated by the chain-of-thought prompting in natural language processing, this letter presents a novel and real-time end-to-end error detection framework, Chain-of-Thought (COG) prompting, leveraging contextual information from surgical videos. This encompasses two reasoning modules designed to mimic the decision-making processes of expert surgeons. Concretely, we first design a Gestural-Visual Reasoning module, which utilizes transformer and attention architectures for gesture prompting, while the second, a Multi-Scale Temporal Reasoning module, employs a multi-stage temporal convolutional network with both slow and fast paths for temporal information extraction. We extensively validate our method on the public benchmark RMIS dataset JIGSAWS. Our method encapsulates the reasoning processes inherent to surgical activities enabling it to outperform the state-of-the-art by 4.6% in F1 score, 4.6% in Accuracy, and 5.9% in Jaccard index while processing each frame in 6.69 milliseconds on average, demonstrating the great potential of our approach in enhancing the safety and efficacy of RMIS procedures and surgical education. The code will be available.

View on arXivView PDF

Code Implementations(1)

[IEEE RA-L&ICRA2025] Think Step by Step: Chain-of-Gesture Prompting for Error Detection in Robotic Surgical Videos

141Shell, PythonSep 20, 20241 years ago

Similar Papers

Cite this paper

@article{shao2024think,
  title  = {Think Step by Step: Chain-of-Gesture Prompting for Error Detection in Robotic Surgical Videos},
  author = {Zhimin Shao and Jialang Xu and Danail Stoyanov and Evangelos B. Mazomenos and Yueming Jin},
  year   = {2024},
  eprint = {2406.19217},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.19217v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.19217.svg)](https://codeofpaper.com/paper/2406.19217)

Discussion