EgoSurgery-Phase: A Dataset of Surgical Phase Recognition from Egocentric Open Surgery Videos

Ryo Fujii, Masashi Hatano, Hideo Saito, Hiroki Kajita

Introduction

In recent years, Artificial Intelligence has made significant strides in surgical phase recognition—the automated identification of specific stages in a procedure, such as incision or suturing. However, the vast majority of this progress has been confined to Minimally Invasive Surgery (MIS), where internal cameras provide a relatively stable and controlled view of the surgical field.

In contrast, open surgery remains a "black box" for AI. The transition from the fixed perspective of an endoscope to the egocentric (head-mounted) perspective of a surgeon introduces significant challenges, including rapid head movements, varied lighting conditions, and the presence of multiple personnel. Furthermore, the scarcity of public datasets and stringent privacy concerns regarding personally identifiable information (PII) have hindered development in this space. This paper introduces EgoSurgery-Phase, the first large-scale egocentric dataset for open surgery, and a novel training framework, the Gaze-Guided Masked Autoencoder (GGMAE), designed to leverage surgeon focus for better model performance.

The EgoSurgery-Phase Dataset

To bridge the gap between MIS and open surgery research, the authors curated a multimodal dataset consisting of 20 videos totaling 15 hours of real-world surgical procedures.

Dataset Characteristics:

  • Diversity: The dataset covers 10 distinct types of procedures performed by 8 different surgeons, ensuring a broad representation of surgical techniques.
  • Annotations: Each video is manually labeled into nine sequential phases: Disinfection, Design, Anesthesia, Incision, Dissection, Hemostasis, Irrigation, Closure, and Dressing.
  • Multimodality: Beyond standard RGB video, the dataset includes synchronized eye-gaze heatmaps, providing an empirical record of where the surgeon was looking during each task.
  • Privacy and Pre-processing: To address ethical concerns, videos were subsampled to 0.5 fps and processed to blur faces and remove PII, making the dataset suitable for public research use.

Methodology: Gaze-Guided Masked Autoencoder (GGMAE)

The primary technical innovation presented is the Gaze-Guided Masked Autoencoder (GGMAE). Traditional Masked Autoencoders (MAEs) learn visual representations by masking random patches of a frame and requiring the model to reconstruct the missing pixels. In the context of open surgery, however, random masking is inefficient; much of the frame often contains non-informative data, such as the back of an assistant’s head or dark peripheral areas caused by surgical lighting.

Gaze as a Semantic Prior

GGMAE utilizes the surgeon's eye-gaze data as a "semantic prior." The model operates on the principle that the areas a surgeon focuses on are the most semantically rich and critical for understanding the phase of the surgery.

Inverse Sampling Strategy

Instead of masking random patches, the framework employs Inverse Sampling. Tokens (video patches) that fall under the surgeon's gaze are masked with a higher probability. This forces the encoder to learn deeper, more robust representations of the most important regions by reconstructing them from the surrounding context. By making the reconstruction task harder in the most relevant areas, the model develops a more sophisticated understanding of surgical actions.

Experimental Results

The GGMAE model was evaluated against several state-of-the-art (SOTA) surgical recognition models, including NETE, TeCNO, and PhaseNet.

  • Performance Gains: GGMAE achieved a Jaccard index of 33.9%, outperforming the previous best method (NETE) by an absolute margin of 6.4%.
  • Precision and Recall: The model reached 51.7% Precision and 45.6% Recall, significantly surpassing established baselines.
  • Ablation Study: To isolate the impact of the gaze-guided strategy, the authors compared it to standard random masking. The gaze-guided approach alone provided a 3.3% absolute improvement in the Jaccard index, confirming that surgeon gaze is a powerful signal for self-supervised learning in egocentric environments.

Discussion and Future Work

While EgoSurgery-Phase represents a major step forward, the authors acknowledge several ongoing challenges. Class imbalance remains a hurdle, as phases like "Dissection" naturally last much longer than "Disinfection," making it difficult for models to learn rare events. Additionally, the current dataset relies on a single egocentric perspective. Future iterations could incorporate multi-view data from assistants or nurses to provide a more holistic view of the operating room.

By releasing this dataset and the GGMAE framework, the researchers aim to catalyze AI development for open surgery, eventually enabling real-time surgical assistance and automated workflow analysis in the most common surgical settings.

Summary updated

BibTeX
@inproceedings{fujii2024egosurgery,
  author = {Ryo Fujii and Masashi Hatano and Hideo Saito and Hiroki Kajita},
  title = {{EgoSurgery-Phase: A Dataset of Surgical Phase Recognition from Egocentric Open Surgery Videos}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2024},
  doi = {10.1007/978-3-031-72089-5\_18},
}
Figure