Automated segmentation of phases, steps, and tasks in laparoscopic cholecystectomy using deep learning

Surg Endosc. 2024 Jan;38(1):158-170. doi: 10.1007/s00464-023-10482-3. Epub 2023 Nov 9.

Abstract

Background: Video-based review is paramount for operative performance assessment but can be laborious when performed manually. Hierarchical Task Analysis (HTA) is a well-known method that divides any procedure into phases, steps, and tasks. HTA requires large datasets of videos with consistent definitions at each level. Our aim was to develop an AI model for automated segmentation of phases, steps, and tasks for laparoscopic cholecystectomy videos using a standardized HTA.

Methods: A total of 160 laparoscopic cholecystectomy videos were collected from a publicly available dataset known as cholec80 and from our own institution. All videos were annotated for the beginning and ending of a predefined set of phases, steps, and tasks. Deep learning models were then separately developed and trained for the three levels using a 3D Convolutional Neural Network architecture.

Results: Four phases, eight steps, and nineteen tasks were defined through expert consensus. The training set for our deep learning models contained 100 videos with an additional 20 videos for hyperparameter optimization and tuning. The remaining 40 videos were used for testing the performance. The overall accuracy for phases, steps, and tasks were 0.90, 0.81, and 0.65 with the average F1 score of 0.86, 0.76 and 0.48 respectively. Control of bleeding and bile spillage tasks were most variable in definition, operative management, and clinical relevance.

Conclusion: The use of hierarchical task analysis for surgical video analysis has numerous applications in AI-based automated systems. Our results show that our tiered method of task analysis can successfully be used to train a DL model.

Keywords: Automated annotation; Deep learning; Hierarchical task analysis; Video-based assessment.

MeSH terms

  • Cholecystectomy
  • Cholecystectomy, Laparoscopic*
  • Deep Learning*
  • Humans
  • Neural Networks, Computer