An explainable ensemble learning approach for liver disease risk prediction with interpretable clinical summaries

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.

Authors

Institutions

Publication Details

Journal
Frontiers in Artificial Intelligence
Published
2026-11-10
DOI
https://doi.org/10.3389/frai.2026.1988857
Primary Topic
Artificial Intelligence in Healthcare
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

An explainable ensemble learning approach for liver disease risk prediction with interpretable clinical summaries

Vijaya Nirmala Pangi, Santosh Chokkakula, Ramalingam Sakthivel, Pranathi Sai et al.
Frontiers in Artificial Intelligence
Artificial Intelligence in Healthcare
article

An explainable ensemble learning approach for liver disease risk prediction with interpretable clinical summaries

Vijaya Nirmala Pangi, Santosh Chokkakula, Ramalingam Sakthivel, Pranathi Sai, Yandong Wang, Bing Yang
article en

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.

Frontiers in Artificial IntelligenceVol. 9
Tianjin University (CN), Chungbuk National University (KR), Adikavi Nannaya University (IN), Krirk University (TH), Tianjin Third Central Hospital (CN), Tianjin Medical University (CN), Vellore Institute of Technology University (IN)
Artificial Intelligence in Healthcare
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon