Prediction of Immune Checkpoint Inhibitor-Induced Liver Injury in Patients with Gastrointestinal Cancer: Machine Learning Modeling for Time-Stratified Risk Assessment
Open Access
- 20 September 2026
- journal article
- research article
- Published by MDPI AG in Current Oncology
- Vol. 33 (9) , 568
Abstract
Background: Immunotherapy has transformed cancer treatment and is widely used in the Chinese mainland. Though advances have been made, immune checkpoint inhibitor-related liver injury (ICILI) remains a significant clinical challenge. Existing risk models commonly lack time-specific risk stratification for ICILI. The present study aimed to develop and validate interpretable machine learning models to predict grade 2 or higher ICILI at multiple time points in patients with gastrointestinal cancer (GC). Methods: This retrospective cohort study encompassed GC patients who commenced their initial ICI medication between January 2019 and June 2023 at Zhongshan Hospital, Fudan University. Five machine learning algorithms, including Logistic Regression, Random Forest, Extreme Gradient Boosting (XGBoost), Gradient Boosting (GradientBoost), and Adaptive Boosting (AdaBoost), were utilized to develop predictive models for grade ≥ 2 ICILI at specific intervals of 3 months, 6 months, and 12 months. The evaluation of model performance was conducted using the area under the curve (AUC), accuracy, precision, recall, and F1-score. The Shapley Additive exPlanations (SHAP) method was employed to assess feature importance and interpret the final model. Results: A total of 1337, 849, and 401 patients were enrolled in the follow-up groups at 3 months, 6 months, and 12 months. The final model for grade ≥ 2 ICILI was developed with GradientBoost and achieved an AUC of 0.769 (95% CI: 0.732–0.806), with a test set accuracy of 0.834. XGBoost yielded AUCs of 0.671 (95% CI: 0.636–0.706) at 3-month indication, 0.678 (95% CI: 0.638–0.718) at 6 months, and 0.644 (95% CI: 0.589–0.699) at 12-month follow-up in the 5-fold cross-validation. The DCA curve demonstrated solid clinical benefit, whereas the calibration curve indicated good predictive reliability. SHAP analysis identified several parameters as predictive features at different intervals, which suggested that the ICILI determinants varied from acute inflammatory to host-related characteristics. Conclusions: A temporal stratification prediction model for grade ≥ 2 ICILI in GC patients was developed and validated at various intervals using ML algorithms with SHAP interpretability. This methodology facilitated early recognition of varying parameters across different treatment phases, enhancing clinical management and elevating treatment outcomes.Keywords
Funding Information
- Shanghai Municipal Hospital Development Center (SHDC22024203)
- 2024 Shining Across China—Pharmaceutical Research Capacity Building Fund (Z04J2023E095)
This publication has 44 references indexed in Scilit:
- Association between antibiotic use, immune-related adverse events, and efficacy of immunotherapy in esophageal squamous cell carcinomaInternational Journal of Clinical Oncology, 2026
- Development of a Predictive Model for Classifying Immune Checkpoint Inhibitor‐Induced Liver Injury TypesJGH Open, 2025
- Analysis of risk factors for immune checkpoint inhibitor-associated liver injury: a retrospective analysis based on clinical study and real-world dataHepatology International, 2025
- Safety and clinical efficacy of immune checkpoint inhibitors in advanced gastric cancer in the real worldJournal of Cancer Research and Clinical Oncology, 2024
- Impact of proton pump inhibitors on the onset of gastrointestinal immune‐related adverse events during immunotherapyCancer Medicine, 2023
- Immune checkpoint inhibitor-induced hepatitis injury: risk factors, outcomes, and impact on survivalJournal of Cancer Research and Clinical Oncology, 2022
- Using the Common Terminology Criteria for Adverse Events (CTCAE – Version 5.0) to Evaluate the Severity of Adverse Events of Anticancer TherapiesActas Dermo-Sifiliograficas, 2021
- Immunotherapy in gastrointestinal cancer: The current scenario and future perspectivesCancer Treatment Reviews, 2020
- Real world data of liver injury induced by immune checkpoint inhibitors in Japanese patients with advanced malignanciesJournal of Gastroenterology, 2020
- Clinical characteristics, treatment, and prognosis of non-B, non-C hepatocellular carcinoma: a large retrospective multicenter cohort studyJournal of Gastroenterology, 2014