Surgformer: Surgical Transformer with Hierarchical Temporal Attention for Surgical Phase Recognition

Shu Yang, Luyang Luo, Qiong Wang, Hao Chen
8/7/2024
cs.CV

Official code: isyangshu/Surgformer (51 stars, last commit 2025-08-28).

Abstract

Existing state-of-the-art methods for surgical phase recognition either rely on the extraction of spatial-temporal features at a short-range temporal resolution or adopt the sequential extraction of the spatial and temporal features across the entire temporal resolution. However, these methods have limitations in modeling spatial-temporal dependency and addressing spatial-temporal redundancy: 1) These methods fail to effectively model spatial-temporal dependency, due to the lack of long-range information or joint spatial-temporal modeling. 2) These methods utilize dense spatial features across the entire temporal resolution, resulting in significant spatial-temporal redundancy. In this paper, we propose the Surgical Transformer (Surgformer) to address the issues of spatial-temporal modeling and redundancy in an end-to-end manner, which employs divided spatial-temporal attention and takes a limited set of sparse frames as input. Moreover, we propose a novel Hierarchical Temporal Attention (HTA) to capture both global and local information within varied temporal resolutions from a target frame-centric perspective. Distinct from conventional temporal attention that primarily emphasizes dense long-range similarity, HTA not only captures long-term information but also considers local latent consistency among informative frames. HTA then employs pyramid feature aggregation to effectively utilize temporal information across diverse temporal resolutions, thereby enhancing the overall temporal representation. Extensive experiments on two challenging benchmark datasets verify that our proposed Surgformer performs favorably against the state-of-the-art methods. The code is released at https://github.com/isyangshu/Surgformer.

View on arXivView PDF

Code Implementations(1)

[MICCAI 2024] Surgformer: Surgical Transformer with Hierarchical Temporal Attention for Surgical Phase Recognition

5114Shell, MATLABJun 23, 20241 years agoNOASSERTION

Similar Papers

Cite this paper

@article{yang2024surgformer,
  title  = {Surgformer: Surgical Transformer with Hierarchical Temporal Attention for Surgical Phase Recognition},
  author = {Shu Yang and Luyang Luo and Qiong Wang and Hao Chen},
  year   = {2024},
  eprint = {2408.03867},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.03867v1}
}

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/2408.03867.svg)](https://codeofpaper.com/paper/2408.03867)

Discussion