Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 May 6:12:1550990.
doi: 10.3389/fsurg.2025.1550990. eCollection 2025.

Machine learning-based real-time prediction of duodenal stump leakage from gastrectomy in gastric cancer patients

Affiliations

Machine learning-based real-time prediction of duodenal stump leakage from gastrectomy in gastric cancer patients

Jae Hun Chung et al. Front Surg. .

Abstract

Purpose: This study aimed to develop a machine learning (ML) model for real-time prediction of duodenal stump leakage (DSL) following gastrectomy in patients with gastric cancer (GC) using a comprehensive set of clinical variables to improve postoperative outcomes and monitoring efficiency.

Methods: A retrospective analysis was conducted on 1,107 patients with GC who underwent gastrectomy at Pusan National University Yangsan Hospital between 2019 and 2022. One hundred eighty-nine features were extracted from each patient record, including demographic data, preoperative comorbidities, and blood test outcomes from the subsequent seven postoperative days (POD). Six ML algorithms were evaluated: Logistic Regression (LR), K-nearest neighbors (KNN), Support Vector Machine (SVM), Random Forest (RF), Extreme Gradient Boosting (XGB), and Neural Network (NN). The models predicted DSL occurrence preoperatively and on POD 1, 2, 3, 5, and 7. Performance was assessed using the Area Under the Receiver Operating Characteristic Curve (AUROC) and Recall@K.

Results: Among the 1,107 patients, 29 developed DSL. XGB demonstrated the highest AUROC score (0.880), followed by RF (0.858), LR (0.823), SVM (0.819), NN (0.753), and KNN (0.726). The RF achieved the best Recall@K score of 0.643. Including additional POD features improved the predictive performance, with the AUROC value increasing to 0.879 on POD 7. The confidence scores of the model indicated that the DSL predictions became more reliable over time.

Conclusion: The study concluded that ML models, notably the XGB algorithm, can effectively predict DSL in real-time using comprehensive clinical data, enhancing the clinical decision-making process for GC patients.

Keywords: duodenal stump leakage; gastrectomy; gastric cancer; machine learning; predictive modeling.

PubMed Disclaimer

Conflict of interest statement

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Figures

Figure 1
Figure 1
Consort diagram.
Figure 2
Figure 2
Distribution of 189 features across treatment phases.
Figure 3
Figure 3
3-fold cross-validation of performance.
Figure 4
Figure 4
Comprehensive performance of all models across all prediction time (A) AUROC of machine learning models. (B) Recall @ 10%. LR, logistic regression; KNN, K-nearest neighbors; SVM, support vector machine; RF, random forest; XGB, extreme gradient boosting; NN, neural network.
Figure 5
Figure 5
Improvement of AUROC scores with additional features. AUROC, area under receiver operating characteristic curve; SD, Standard deviation.
Figure 6
Figure 6
Increase of predictive performance as more POD information is provided. AUROC, area under receiver operating characteristic curve; POD, postoperative day.
Figure 7
Figure 7
Evolution of confidence score by time. DSL, duodenal stump leakage.
Figure 8
Figure 8
Top 30 important features. CRPDn, CRP on postoperative day n; CRP Δn, rate of decrease in CRP levels on postoperative day n; HbDn, Hemoglobin on postoperative day n; ASTDn, AST on postoperative day n; ALTDn, ALT on postoperative day n; JPL or R Amylase or Lipase Δn, rate of decrease in amylase or lipase levels on postoperative day n; WBCDn, WBC on postoperative day n; WBC Δn, rate of decrease in WBC levels on postoperative day n; SD, Soft diet.

Similar articles

References

    1. Bray F, Ferlay J, Soerjomataram I, Siegel RL, Torre LA, Jemal A. Global cancer statistics 2018: GLOBOCAN estimates of incidence and mortality worldwide for 36 cancers in 185 countries. CA Cancer J Clin. (2018) 68(6):394–424. 10.3322/caac.21492 - DOI - PubMed
    1. Ferlay J, Colombet M, Soerjomataram I, Parkin DM, Pineros M, Znaor A, et al. Cancer statistics for the year 2020: an overview. Int J Cancer. (2021) 149(4):778–89. 10.1002/ijc.33588 - DOI - PubMed
    1. Ramos M, Pereira MA, Barchi LC, Yagi OK, Dias AR, Szor DJ, et al. Duodenal fistula: the most lethal surgical complication in a case series of radical gastrectomy. Int J Surg. (2018) 53:366–70. 10.1016/j.ijsu.2018.03.082 - DOI - PubMed
    1. Baiocchi GL, Giacopuzzi S, Marrelli D, Reim D, Piessen G, Matos Da Costa P, et al. International consensus on a complications list after gastrectomy for cancer. Gastric Cancer. (2019) 22(1):172–89. 10.1007/s10120-018-0839-5 - DOI - PubMed
    1. Cozzaglio L, Coladonato M, Biffi R, Coniglio A, Corso V, Dionigi P, et al. Duodenal fistula after elective gastrectomy for malignant disease. J Gastrointest Surg. (2010) 14(5):805–11. 10.1007/s11605-010-1166-2 - DOI - PubMed

LinkOut - more resources