Machine Learning Based Prediction of Postoperative Pancreatic Fistula Following Pancreaticoduodenectomy

Ann Surg. 2023 Nov 10. doi: 10.1097/SLA.0000000000006123. Online ahead of print.

Abstract

Objective: To develop a novel machine learning (ML) model to predict clinically relevant postoperative pancreatic fistula (CR-POPF) following pancreaticoduodenectomy (PD).

Summary background data: Accurate prognostication of CR-POPF may allow for risk stratification and adaptive treatment strategies for potential PD candidates. However, antecedent models, such as the modified Fistula Risk Score (mFRS), are limited by poor discrimination and calibration.

Methods: All records entailing PD within the 2014-2018 ACS NSQIP were identified. Additionally, patients undergoing PD at our institution between 2013 and 2021 were queried from our local data repository. An eXtreme Gradient Boosting (XGBoost) model was developed to estimate the risk of CR-POPF using data from the ACS NSQIP and evaluated using institutional data. Model discrimination was estimated using the area under the receiver operating characteristic (AUROC) and precision recall curve (AUPRC).

Results: Overall, 12,281 and 445 patients undergoing PD were identified within the 2014-2018 ACS NSQIP and our institutional registry, respectively. Application of the XGBoost and mFRS scores to the internal validation dataset revealed that the former model had significantly greater AUROC (0.72 vs. 0.68, P<0.001) and AUPRC (0.22 vs. 0.18, P<0.001). Within the external validation dataset, the XGBoost model remained superior to the mFRS with an AUROC of 0.79 (95% CI 0.74-0.84) versus 0.75 (95% CI 0.70-0.80, P<0.001). In addition, AUPRC was higher for the XGBoost model, compared to the mFRS.

Conclusions: Our novel ML model consistently outperformed the previously validated mFRS within internal and external validation cohorts, thereby demonstrating its generalizability and utility for enhancing prediction of CR-POPF.