Letter to the Editor Open Access
Copyright ©The Author(s) 2025. Published by Baishideng Publishing Group Inc. All rights reserved.
World J Gastroenterol. May 7, 2025; 31(17): 106592
Published online May 7, 2025. doi: 10.3748/wjg.v31.i17.106592
Illuminating the black box: Machine learning enhances preoperative prediction in intrahepatic cholangiocarcinoma
Eyad Gadour, Mohammed S AlQahtani, Multiorgan Transplant Centre of Excellence, Liver Transplantation Unit, King Fahad Specialist Hospital, Dammam 32253, Saudi Arabia
Eyad Gadour, Internal Medicine, Faculty of Medicine, Zamzam University College, Khartoum North 11113, Khartoum, Sudan
Mohammed S AlQahtani, Department of Surgery, Imam Abdulrahman Bin Faisal University, Dammam 31441, Saudi Arabia
ORCID number: Eyad Gadour (0000-0001-5087-1611).
Author contributions: Gadour E and AlQahtani MS contributed equally. Both authors have read and approved the final manuscript.
Conflict-of-interest statement: The authors declare that they have no conflict of interest.
Open Access: This article is an open-access article that was selected by an in-house editor and fully peer-reviewed by external reviewers. It is distributed in accordance with the Creative Commons Attribution NonCommercial (CC BY-NC 4.0) license, which permits others to distribute, remix, adapt, build upon this work non-commercially, and license their derivative works on different terms, provided the original work is properly cited and the use is non-commercial. See: https://creativecommons.org/Licenses/by-nc/4.0/
Corresponding author: Eyad Gadour, MD, Associate Professor, Multiorgan Transplant Centre of Excellence, Liver Transplantation Unit, King Fahad Specialist Hospital, Ammar Bin Thabit Street, Dammam 32253, Saudi Arabia. eyadgadour@doctors.org.uk
Received: March 3, 2025
Revised: March 13, 2025
Accepted: March 19, 2025
Published online: May 7, 2025
Processing time: 58 Days and 21.5 Hours

Abstract

The study by Huang et al, published in the World Journal of Gastroenterology, advances intrahepatic cholangiocarcinoma (ICC) management by developing a machine-learning model to predict textbook outcomes (TO) based on preoperative factors. By analyzing data from 376 patients across four Chinese medical centers, the researchers identified key variables influencing TO, including Child-Pugh classification, Eastern Cooperative Oncology Group score, hepatitis B status, and tumor size. The model, created using logistic regression and the extreme gradient boosting algorithm, demonstrated high predictive accuracy, with area under the curve values of 0.8825 for internal validation and 0.8346 for external validation. The integration of the Shapley additive explanation technique enhances the interpretability of the model, which is crucial for clinical decision-making. This research highlights the potential of machine learning to improve surgical planning and patient outcomes in ICC, opening possibilities for personalized treatment approaches based on individual patient characteristics and risk factors.

Key Words: Intrahepatic cholangiocarcinoma; Textbook outcome; Machine learning; Predictive model; Shapley additive explanations; Preoperative assessment; Surgical outcomes; Disease-free survival; Extreme gradient boosting; Clinical decision-making

Core Tip: The extreme gradient boosting model, used in conjunction with the Shapley additive explanation algorithm, as described by Huang et al, offers a revolutionary outlook into the future of surgical oncology for patients with intrahepatic cholangiocarcinoma. This model identifies crucial preoperative factors that influence patient outcomes, enhances understanding of disease progression and treatment efficacy, and underscores its utility in clinical decision-making for patient care and surgical interventions. Moreover, its accurate predictive prognostic potential offers insights into successful treatment mechanisms and personalized care strategies.



TO THE EDITOR

The 21st century has witnessed significant improvements in surgical oncology, especially with the integration of artificial intelligence (AI) modalities, which have significantly improved patient outcomes, surgical precision, and diagnostic accuracy[1-4]. Clinically, intrahepatic cholangiocarcinoma (ICC) is primarily characterized by significant challenges owing to its aggressive nature and high recurrence rate[5,6]. Moreover, conventional prognostic models have relied significantly on postoperative pathological findings in ICC care, limiting their utility in surgical decision-making. These challenges highlight the growing need for more advanced, complex, and highly effective prognostic models to increase the accuracy of postoperative risk assessment[7,8].

To this effect, a recent publication in the World Journal of Gastroenterology by Huang et al[1], which assessed the use of machine learning algorithms in surgical intervention for ICC, represents a significant advancement in treating and managing this disease. Huang et al[1] sought to develop an interpretable machine-learning model capable of predicting textbook outcomes (TO) in patients with ICC before surgical intervention to aid in clinical decision-making and improve patient management. The model developed by Huang et al[1] has significant implications for the management of ICC in clinical practice. It enables preoperative prediction of TOs, allows personalized treatment planning, and improves patient counseling. The model’s high accuracy and interpretability through Shapley additive explanation (SHAP) analysis provides clinicians with valuable insights into the key factors influencing surgical outcomes, potentially leading to more informed decision-making and optimized perioperative care strategies for patients with ICC. The research by Huang et al[1] is particularly noteworthy for its novel application of advanced computational techniques to address complex medical problems by identifying subtle patterns and correlations in patient data that may not be apparent through conventional analysis. This approach can potentially revolutionize ICC treatment and offer a more personalized, data-driven strategy for patient management[1,8].

Understanding TOs

Tsilimigras et al[9] define TOs as “the optimal course following surgery that is better aligned with patients’ expectations around optimal care”. This composite metric encompasses several factors, including clear surgical margins, absence of perioperative blood transfusion, severe complications, prolonged hospitalization or readmissions, and postoperative mortality for 30 days[10-12]. Predicting a patient’s likelihood of achieving these outcomes before surgery is vital for effective surgical planning and optimal resource management. Moreover, research has shown that achieving TOs improves both short- and long-term patient outcomes. Nathan et al[13] highlighted that patients who met TO criteria had higher survival rates compared to those who did not.

Huang et al[1] built on this assertion by employing an extreme gradient boosting (XGBoost) model to assess preoperative clinical parameters from 376 patients with ICC undergoing liver resection between 2011 and 2017. Among the studied cohort, 150 patients (52.3%) in the training group and 49 patients (55.1%) in the validation group achieved TO. Patients who achieved TO had a disease-free survival (DFS) rate of 64.2% at 1 year, 56.8% at 2 years, and 43.4% at 3 years. In contrast, patients who did not achieve TO had substantially lower DFS rates of 44.7%, 32.5%, and 25.2% at the same time points (P < 0.05), underscoring the clinical utility of TO as a valuable predictor of postoperative recovery and long-term prognosis. The four key preoperative factors were the Eastern Cooperative Oncology Group score, hepatitis B status, Child-Pugh score, and tumor size. Corresponding logistic regression analysis revealed a significant correlation between these variables and TO achievement.

The ability to accurately predict preoperative TO has immense clinical value. Typically, ICC prognosis has been evaluated using postoperative pathological markers; however, this study shifts the paradigm by employing an XGBoost model to assess preoperative clinical factors. The model showed high predictive accuracy, with area under the curve values of 0.8825 (internal validation) and 0.8346 (external validation)[1]. The XGBoost machine learning model was highlighted by Xu and Lu[14] in a SEER-based comparative study of 1055 patients with ICC in conjunction with the American Joint Commission on Cancer (AJCC) system. The study reported AUC, sensitivity, specificity, and a positive predictive value of 0.811, 0.573, 0.890, and 0.849, respectively, compared to 0.713, 0.478, 0.814, and 0.726, respectively, for the AJCC system. These findings underscore the superior predictive performance of machine learning models over traditional staging systems in the prognosis of ICC.

Lim et al[15] applied the XGBoost model in a multi-institutional survival estimation analysis of 993 patients with ICC in Korea, analyzing survival probabilities at 3, 6, and 12 months. The model demonstrated strong predictive performance, with AUC values of 0.778, 0.794, and 0.784 for the respective time points. Compared to these two studies, a distinguishing feature of the approach used by Huang et al[1] was the incorporation of the SHAP algorithm.

The SHAP algorithm

Rasheed et al[16] describe the SHAP algorithm as a game-theory-based approach designed to improve the transparency of machine learning models by assigning importance scores to each predictor variable. This algorithm quantifies the contribution of each feature to the prediction of a model, offering an intuitive visualization of the influence of specific factors on individual patient outcomes. Unlike traditional black-box AI models, SHAP values allow clinicians to understand the rationale behind predictions and increase their trust in machine learning-assisted decision-making. This algorithm, in combination with XGBoost, has previously been used for risk assessment and individual prediction of central cervical lymph node metastasis in patients diagnosed with papillary thyroid carcinoma, as demonstrated by Zou et al[17]. The study utilized an XGBoost model combined with the SHAP algorithm. XGBoost is an advanced machine-learning technique that enhances predictive accuracy through iterative tree-based learning, while SHAP improves model interpretability by quantifying the contribution of each feature to predictions, which is crucial for clinical decision-making in the management of ICC.

In the study by Huang et al[1], SHAP analysis ranked the relative importance of variables influencing TO prediction, identifying tumor size as the most impactful factor, followed by Child-Pugh classification, hepatitis B status, and ECOG score. Moreover, the SHAP summary plots revealed that larger tumor sizes negatively influenced TO probability, whereas better Child-Pugh scores and the absence of hepatitis B infection increased the likelihood of achieving TO. Additionally, SHAP dependence plots highlighted the interactions between variables, demonstrating how different variables interplay to influence outcomes.

Implications for surgical oncology

The findings of Huang et al[1] findings have significant implications for surgical oncology and hepatobiliary surgery. First, by identifying high-risk patients preoperatively, clinicians can implement tailored interventions such as prehabilitation programs, enhanced perioperative monitoring, and more aggressive multimodal management strategies. Additionally, accurate TO prediction can improve patient counseling, allowing for more realistic expectations regarding postoperative recovery and long-term prognosis.

Furthermore, the strong correlation between TO achievement and improved DFS emphasizes the importance of perioperative quality metrics in the management of ICC. Patients who achieved TO exhibited significantly better DFS rates at 1, 2, and 3 years compared to those who did not, thereby reinforcing the clinical utility of TO as a composite outcome measure.

Challenges and future directions

Despite its strengths, the study by Huang et al[1] has several limitations. As this was a retrospective analysis, inherent selection bias cannot be ruled out. Additionally, excluding other potentially influential variables, such as body mass index, comorbidities, and inflammatory markers, may limit the model’s predictive capacity. Expanding the dataset to include diverse populations, particularly from non-hepatitis B virus-endemic regions, could enhance the generalizability of the findings. Future research should explore the integration of radiomic and genomic biomarkers to further enhance predictive accuracy. Additionally, prospective validation in a randomized controlled setting would be instrumental for confirming the clinical applicability of this model.

CONCLUSION

Machine-learning framework that advances the preoperative assessment of patients with ICC is innovative. The model not only enhances the prognostic accuracy but also bridges the gap between AI and its clinical applicability. As machine learning continues to revolutionize oncologic care, studies like this pave the way for more personalized, data-driven surgical strategies, ultimately improving patient outcomes in ICC.

Footnotes

Provenance and peer review: Invited article; Externally peer reviewed.

Peer-review model: Single blind

Specialty type: Gastroenterology and hepatology

Country of origin: Saudi Arabia

Peer-review report’s classification

Scientific Quality: Grade C

Novelty: Grade B

Creativity or Innovation: Grade C

Scientific Significance: Grade B

P-Reviewer: Dabelo LH S-Editor: Fan M L-Editor: Filipodia P-Editor: Yu HG

References
1.  Huang TF, Luo C, Guo LB, Liu HZ, Li JT, Lin QZ, Fan RL, Zhou W, Li JD, Lin KC, Tang SC, Zeng YY. Preoperative prediction of textbook outcome in intrahepatic cholangiocarcinoma by interpretable machine learning: A multicenter cohort study. World J Gastroenterol. 2025;31:100911.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Full Text (PDF)]  [Reference Citation Analysis (1)]
2.  Lococo F, Ghaly G, Flamini S, Campanella A, Chiappetta M, Bria E, Vita E, Tortora G, Evangelista J, Sassorossi C, Congedo MT, Valentini V, Sala E, Cesario A, Margaritora S, Boldrini L, Mohammed A. Artificial intelligence applications in personalizing lung cancer management: state of the art and future perspectives. J Thorac Dis. 2024;16:7096-7110.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Full Text (PDF)]  [Reference Citation Analysis (0)]
3.  Sebastian AM, Peter D. Artificial Intelligence in Cancer Research: Trends, Challenges and Future Directions. Life (Basel). 2022;12.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Cited by in RCA: 40]  [Reference Citation Analysis (0)]
4.  Varghese C, Harrison EM, O'Grady G, Topol EJ. Artificial intelligence in surgery. Nat Med. 2024;30:1257-1268.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Reference Citation Analysis (0)]
5.  Vijgen S, Terris B, Rubbia-Brandt L. Pathology of intrahepatic cholangiocarcinoma. Hepatobiliary Surg Nutr. 2017;6:22-34.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Cited by in Crossref: 57]  [Cited by in RCA: 82]  [Article Influence: 10.3]  [Reference Citation Analysis (0)]
6.  Banales JM, Marin JJG, Lamarca A, Rodrigues PM, Khan SA, Roberts LR, Cardinale V, Carpino G, Andersen JB, Braconi C, Calvisi DF, Perugorria MJ, Fabris L, Boulter L, Macias RIR, Gaudio E, Alvaro D, Gradilone SA, Strazzabosco M, Marzioni M, Coulouarn C, Fouassier L, Raggi C, Invernizzi P, Mertens JC, Moncsek A, Ilyas SI, Heimbach J, Koerkamp BG, Bruix J, Forner A, Bridgewater J, Valle JW, Gores GJ. Cholangiocarcinoma 2020: the next horizon in mechanisms and management. Nat Rev Gastroenterol Hepatol. 2020;17:557-588.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Full Text (PDF)]  [Cited by in Crossref: 1555]  [Cited by in RCA: 1431]  [Article Influence: 286.2]  [Reference Citation Analysis (0)]
7.  Papadomanolakis-Pakis N, Munch PV, Carlé N, Uhrbrand CG, Haroutounian S, Nikolajsen L. Prognostic clinical prediction models for acute post-surgical pain in adults: a systematic review. Anaesthesia. 2024;79:1335-1347.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Cited by in Crossref: 1]  [Reference Citation Analysis (0)]
8.  Altaf A, Endo Y, Guglielmi A, Aldrighetti L, Bauer TW, Marques HP, Martel G, Alexandrescu S, Weiss MJ, Kitago M, Poultsides G, Maithel SK, Pulitano C, Shen F, Cauchy F, Koerkamp BG, Endo I, Pawlik TM. Upfront surgery for intrahepatic cholangiocarcinoma: Prediction of futility using artificial intelligence. Surgery. 2025;179:108809.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Cited by in Crossref: 2]  [Reference Citation Analysis (0)]
9.  Tsilimigras DI, Pawlik TM, Moris D. Textbook outcomes in hepatobiliary and pancreatic surgery. World J Gastroenterol. 2021;27:1524-1530.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Full Text (PDF)]  [Cited by in CrossRef: 14]  [Cited by in RCA: 28]  [Article Influence: 7.0]  [Reference Citation Analysis (0)]
10.  Merath K, Chen Q, Bagante F, Beal E, Akgul O, Dillhoff M, Cloyd JM, Pawlik TM. Textbook Outcomes Among Medicare Patients Undergoing Hepatopancreatic Surgery. Ann Surg. 2020;271:1116-1123.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Cited by in Crossref: 184]  [Cited by in RCA: 177]  [Article Influence: 35.4]  [Reference Citation Analysis (0)]
11.  Merath K, Chen Q, Bagante F, Alexandrescu S, Marques HP, Aldrighetti L, Maithel SK, Pulitano C, Weiss MJ, Bauer TW, Shen F, Poultsides GA, Soubrane O, Martel G, Koerkamp BG, Guglielmi A, Itaru E, Cloyd JM, Pawlik TM. A Multi-institutional International Analysis of Textbook Outcomes Among Patients Undergoing Curative-Intent Resection of Intrahepatic Cholangiocarcinoma. JAMA Surg. 2019;154:e190571.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Cited by in Crossref: 87]  [Cited by in RCA: 162]  [Article Influence: 27.0]  [Reference Citation Analysis (0)]
12.  Kolfschoten NE, Kievit J, Gooiker GA, van Leersum NJ, Snijders HS, Eddes EH, Tollenaar RA, Wouters MW, Marang-van de Mheen PJ. Focusing on desired outcomes of care after colon cancer resections; hospital variations in 'textbook outcome'. Eur J Surg Oncol. 2013;39:156-163.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Cited by in Crossref: 108]  [Cited by in RCA: 218]  [Article Influence: 16.8]  [Reference Citation Analysis (1)]
13.  Nathan H, Pawlik TM, Wolfgang CL, Choti MA, Cameron JL, Schulick RD. Trends in survival after surgery for cholangiocarcinoma: a 30-year population-based SEER database analysis. J Gastrointest Surg. 2007;11:1488-96; discussion 1496.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Cited by in Crossref: 172]  [Cited by in RCA: 184]  [Article Influence: 10.2]  [Reference Citation Analysis (0)]
14.  Xu Q, Lu X. Development and validation of an XGBoost model to predict 5-year survival in elderly patients with intrahepatic cholangiocarcinoma after surgery: a SEER-based study. J Gastrointest Oncol. 2022;13:3290-3299.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Full Text (PDF)]  [Cited by in RCA: 5]  [Reference Citation Analysis (0)]
15.  Lim J, Jeon HG, Seo Y, Kim M, Moon JU, Cho SH. Survival Prediction Model for Patients with Hepatocellular Carcinoma and Extrahepatic Metastasis Based on XGBoost Algorithm. J Hepatocell Carcinoma. 2023;10:2251-2263.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Full Text (PDF)]  [Reference Citation Analysis (0)]
16.  Rasheed K, Qayyum A, Ghaly M, Al-Fuqaha A, Razi A, Qadir J. Explainable, trustworthy, and ethical machine learning for healthcare: A survey. Comput Biol Med. 2022;149:106043.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Cited by in Crossref: 1]  [Cited by in RCA: 62]  [Article Influence: 20.7]  [Reference Citation Analysis (0)]
17.  Zou Y, Shi Y, Sun F, Liu J, Guo Y, Zhang H, Lu X, Gong Y, Xia S. Extreme gradient boosting model to assess risk of central cervical lymph node metastasis in patients with papillary thyroid carcinoma: Individual prediction using SHapley Additive exPlanations. Comput Methods Programs Biomed. 2022;225:107038.  [RCA]  [PubMed]  [DOI]  [Full Text]  [Cited by in Crossref: 2]  [Cited by in RCA: 13]  [Article Influence: 4.3]  [Reference Citation Analysis (0)]