[Paper Review] Temporal Memory Relation Network for Workflow Recognition from Surgical Video
This paper proposes Temporal Memory Relation Network (TMRNet), an end-to-end deep learning model that enhances surgical workflow recognition by integrating long-range temporal memory and multi-scale temporal convolutions through a non-local bank operator. The method achieves state-of-the-art performance, reaching 78.9% Jaccard on the Cholec80 dataset, significantly outperforming prior approaches.
Automatic surgical workflow recognition is a key component for developing context-aware computer-assisted systems in the operating theatre. Previous works either jointly modeled the spatial features with short fixed-range temporal information, or separately learned visual and long temporal cues. In this paper, we propose a novel end-to-end temporal memory relation network (TMRNet) for relating long-range and multi-scale temporal patterns to augment the present features. We establish a long-range memory bank to serve as a memory cell storing the rich supportive information. Through our designed temporal variation layer, the supportive cues are further enhanced by multi-scale temporal-only convolutions. To effectively incorporate the two types of cues without disturbing the joint learning of spatio-temporal features, we introduce a non-local bank operator to attentively relate the past to the present. In this regard, our TMRNet enables the current feature to view the long-range temporal dependency, as well as tolerate complex temporal extents. We have extensively validated our approach on two benchmark surgical video datasets, M2CAI challenge dataset and Cholec80 dataset. Experimental results demonstrate the outstanding performance of our method, consistently exceeding the state-of-the-art methods by a large margin (e.g., 67.0% v.s. 78.9% Jaccard on Cholec80 dataset).
Motivation & Objective
- To address the challenge of recognizing surgical workflows in long-duration videos with complex, variable temporal dynamics.
- To integrate long-range temporal dependencies and multi-scale motion patterns without disrupting joint spatio-temporal feature learning.
- To develop an efficient, real-time capable model for clinical deployment in operating theatres.
- To enable accurate recognition across diverse surgical phases with varying durations and motion patterns.
- To provide a generalizable framework applicable beyond surgery to other medical sequential data tasks.
Proposed method
- A long-range memory bank is pre-computed from the entire surgical video and stored offline to serve as a persistent source of supportive temporal cues.
- A temporal variation layer applies multi-scale temporal convolutions to enhance features extracted from the memory bank, capturing diverse motion durations.
- A non-local bank operator computes attention weights between current frame features and memory bank features, enabling long-range context modeling.
- The non-local operation is integrated into the backbone network to attend to relevant long-range cues without disrupting end-to-end spatio-temporal learning.
- The memory bank is updated online during inference by appending the latest frame feature, enabling real-time operation with minimal latency.
- The model is trained end-to-end with no post-processing, ensuring real-time inference speed (~0.08s per frame on a single GPU).
Experimental results
Research questions
- RQ1Can long-range temporal memory improve recognition accuracy in surgical video workflows with high intra-phase variance?
- RQ2How does multi-scale temporal modeling enhance recognition of actions with variable durations in surgical phases?
- RQ3Can a non-local attention mechanism effectively relate current features to distant past cues without degrading spatio-temporal representation learning?
- RQ4What is the optimal temporal context length for surgical workflow recognition, and does performance saturate beyond a certain duration?
- RQ5To what extent can the proposed method generalize to other medical video analysis tasks requiring long-range temporal modeling?
Key findings
- TMRNet achieves 78.9% Jaccard score on the Cholec80 dataset, significantly outperforming the previous state-of-the-art method (67.0%).
- The model achieves 92.1% precision, 91.1% recall, and 93.7% accuracy on Cholec80 when combined with post-processing, surpassing refined SOTA results (91.6%, 90.1%, 93.3%).
- Performance saturates around 30 seconds of context, as longer inputs introduce noise from artifacts like smoke, blood, and lens cleaning, leading to slight degradation.
- The method maintains high inference speed (~0.08s per frame), enabling real-time deployment in clinical settings.
- The long-range memory bank is pre-computed once and reused, avoiding redundant computation during training.
- The model generalizes well to other surgical procedures and can be extended to non-surgical medical video tasks such as microscopy tracking and ultrasound analysis.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.