Surgical Gesture Recognition Based on Bidirectional Multi-Layer Independently RNN with Explainable Spatial Feature Extraction

Dandan Zhang, Ruoxi Wang, Benny Lo

Introduction

In Robot-Assisted Minimally Invasive Surgery (RAMIS), automated gesture recognition is a foundational step toward objective skill assessment and autonomous surgical assistance. However, analyzing surgical video presents significant challenges. Tasks are often long, exceeding 1,000 frames, which causes standard Recurrent Neural Networks (RNNs) like LSTMs to suffer from "gradient decay"—effectively losing context from the beginning of a task. Furthermore, the "black box" nature of deep learning models often prevents clinical adoption, as surgeons require transparent explanations for AI-driven decisions.

This research addresses these issues by proposing a framework that combines a Bidirectional Multi-Layer Independently RNN (BML-indRNN) with a fine-tuned VGG16 network, achieving high accuracy while providing explainable visual feedback via Grad-CAM.

Methodology

The proposed pipeline is divided into three distinct steps: data preprocessing, spatial feature extraction, and temporal sequence modeling.

The comprehensive three-step pipeline for surgical gesture recognition, illustrating the flow from raw video data to final gesture labels.

Spatial Feature Extraction

The system utilizes a VGG16 architecture, originally pre-trained on ImageNet, as its spatial feature extractor. The researchers fine-tuned the model specifically on surgical data, freezing early layers to retain general visual features while training later layers to recognize domain-specific objects like metallic tools, sutures, and tissue interactions.

BML-indRNN

To model the long temporal sequences of surgical tasks, the framework employs an Independently Recurrent Neural Network (IndRNN). Unlike standard RNNs, IndRNNs use element-wise neurons that are independent of each other, allowing the network to remain stable over significantly longer time steps without vanishing gradients. By making the architecture bidirectional, the model leverages both past and future context to classify the current frame.

Explainability via Grad-CAM

To solve the transparency problem, the authors integrated Gradient-weighted Class Activation Mapping (Grad-CAM). This technique produces heatmaps over the video frames, highlighting the specific pixels—such as tooltips or the needle—that most influenced the model’s classification.

Data and Preprocessing

The model was evaluated using the JIGSAWS (JHU-ISI Gesture and Skill Assessment Working Set) database, specifically focusing on the suturing task, which involves 10 distinct gestures (e.g., reaching for the needle, pushing the needle through tissue).

The data preprocessing workflow: original 640x480 video frames are cropped and resized to 224x224 to meet the input requirements of the neural network.

As shown above, the original video data was downsampled and cropped to 224x224. This ensures the spatial feature extractor receives standardized input while maintaining the visual fidelity of the surgical field.

Results and Discussion

The proposed BML-indRNN + DCNN framework reached a state-of-the-art accuracy of 87.13% on the suturing task. This performance significantly outperformed several established baselines:

  • TCN (Temporal Convolutional Network): 81.4%
  • Seg-ST-CNN: 74.2%
  • MsM-CRF: 71.8%

Key Insights

  • Stability in Long Sequences: The IndRNN architecture successfully handled sequences longer than 1,000 frames, a threshold where traditional LSTMs often fail.
  • The Necessity of Fine-Tuning: The researchers noted that a "stock" VGG16 model produced nonsensical Grad-CAM heatmaps. Only after fine-tuning on surgical data did the model correctly focus its attention on relevant objects like the needle tip and suture thread.
  • Contextual Accuracy: The bidirectional approach proved vital for distinguishing between gestures that look similar in isolation but differ based on the preceding or succeeding actions.

Conclusion

By combining stable long-sequence modeling with explainable spatial features, this framework offers a robust and transparent solution for surgical gesture recognition. While currently focused on suturing, future work aims to validate the model on additional tasks, incorporate robotic kinematic data, and optimize the system for real-time clinical assistance.

Summary updated

BibTeX
@inproceedings{zhang2021surgical,
  author = {Dandan Zhang and Ruoxi Wang and Benny Lo},
  title = {{Surgical Gesture Recognition Based on Bidirectional Multi-Layer Independently RNN with Explainable Spatial Feature Extraction}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2021},
  doi = {10.1109/icra48506.2021.9561803},
}
Figure