An explainable ensemble learning approach for liver disease risk prediction with interpretable clinical summaries.
Pranathi Sai, Yandong Wang, Ramalingam Sakthivel, Vijaya Nirmala Pangi, Bing Yang, Santosh Chokkakula
School of Computer Science and Engineering, Vellore Institute of Technology, Chennai, India. · Central Hospital, Tianjin University /Tianjin Third Central Hospital, Tianjin, China.
Key points
From the paper's conclusion- We developed an explainable machine learning (ML) model for liver disease risk prediction using LFTs.
Abstract
BACKGROUND: Liver disease causes more than 2 million annual deaths, often asymptomatic until the early stages. Routine liver function tests (LFTs) are typically interpreted univariately. We developed an explainable machine learning (ML) model for liver disease risk prediction using LFTs. METHODS: Models (logistic regression, random forest, gradient boosting, soft-voting ensemble) were trained on the Kaggle Liver Disease Patient Dataset (LPD, n = 28,948 after removing 1,743 overlaps) and externally validated on the UCI Indian Liver Patient Dataset (ILPD, n = 583). Performance was assessed via AUC and DeLong's test; SHAP provided interpretability and patient-level summaries. RESULTS: The gradient boosting model achieved the best discrimination, with an AUC of 0.96 in the internal holdout set and 0.967 (95% CI 0.953-0.980) in the ILPD validation set, significantly outperforming random forest and the soft-voting ensemble (both AUC 0.939) and logistic regression (AUC 0.759, all p < 0.001). At the conventional 0.50 threshold, the model identified 410/416 liver disease cases (sensitivity 98.6%, accuracy 88.5%). At an optimised threshold of 0.55, accuracy improved to 91.6%, with sensitivity 97.4%, specificity 77.2%, precision 91.4%, and F1-score 0.943; average precision was 0.99 on ILPD. Five-tier risk stratification showed a stepwise increase in observed prevalence from 0% (Very Low) to 98.7% (Very High); the two lowest tiers contained only 1/85 cases, while the two highest tiers captured 97.4% of all cases. SHAP analysis identified direct bilirubin (mean |SHAP| 0.427), alanine aminotransferase (0.367), and alkaline phosphatase (0.355) as the strongest predictors; age and sex contributed minimally. Automated SHAP-based summaries highlighted key contributing biomarkers per patient and flagged discordant findings for review. CONCLUSION: An explainable gradient boosting model using routine LFTs delivers high-accuracy liver disease prediction, with transparent risk stratification and SHAP-based clinical summaries to aid early detection and triage.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Machine Learning for Identification of Cirrhosis in Autoimmune Hepatitis Using Routine Biomarkers and Liver Elastography: Development and External Validation of an Interpretable Classification Model.Biomedicines · 2026
- HepDecide: A Standards-Oriented, Explainable Clinical Decision Support Prototype for the Chronic Liver-Disease Spectrum-Design, Guideline-Grounded Reporting, and a Leakage-Controlled Retrospective Evaluation.Healthcare (Basel, Switzerland) · 2026
- Machine Learning-Driven Noninvasive Prediction of Liver Fibrosis in Unclassified Liver Disease.MedComm · 2026
- An interpretable machine learning model for diagnostic classification of liver cancer using multivariable clinical data.American journal of cancer research · 2026
- Artificial intelligence-based multiclass classification of etiologies in patients with elevated liver enzymes: A prospective cohort study.Hepatology forum · 2026
- Development and validation of a LightGBM-based diagnostic model for acute-on-chronic liver failure in patients with liver cirrhosis: a multicenter retrospective study in an HBV-predominant cohort.Frontiers in medicine · 2026