BMC Medical Research Methodology (Oct 2024)

Deep learning models for the prediction of acute postoperative pain in PACU for video‐assisted thoracoscopic surgery

  • Cao Zhang,
  • Jiangqin He,
  • Xingyuan Liang,
  • Qinye Shi,
  • Lijia Peng,
  • Shuai Wang,
  • Jiannan He,
  • Jianhong Xu

DOI
https://doi.org/10.1186/s12874-024-02357-5
Journal volume & issue
Vol. 24, no. 1
pp. 1 – 13

Abstract

Read online

Abstract Background Postoperative pain is a prevalent symptom experienced by patients undergoing surgical procedures. This study aims to develop deep learning algorithms for predicting acute postoperative pain using both essential patient details and real-time vital sign data during surgery. Methods Through a retrospective observational approach, we utilized Graph Attention Networks (GAT) and graph Transformer Networks (GTN) deep learning algorithms to construct the DoseFormer model while incorporating an attention mechanism. This model employed patient information and intraoperative vital signs obtained during Video-assisted thoracoscopic surgery (VATS) surgery to anticipate postoperative pain. By categorizing the static and dynamic data, the DoseFormer model performed binary classification to predict the likelihood of postoperative acute pain. Results A total of 1758 patients were initially included, with 1552 patients after data cleaning. These patients were then divided into training set (n = 931) and testing set (n = 621). In the testing set, the DoseFormer model exhibited significantly higher AUROC (0.98) compared to classical machine learning algorithms. Furthermore, the DoseFormer model displayed a significantly higher F1 value (0.85) in comparison to other classical machine learning algorithms. Notably, the attending anesthesiologists' F1 values (attending: 0.49, fellow: 0.43, Resident: 0.16) were significantly lower than those of the DoseFormer model in predicting acute postoperative pain. Conclusions Deep learning model can predict postoperative acute pain events based on patients' basic information and intraoperative vital signs.

Keywords