An interpretable machine learning model for identifying coexisting type 2 diabetes in metabolic dysfunction-associated fatty liver disease

Abstract Patients with metabolic dysfunction-associated fatty liver disease (MAFLD) have a significantly higher risk of type 2 diabetes mellitus (T2DM), but hepatocentric risk prediction remains underexplored. This study aims to develop and validate an interpretable machine learning model for identifying concomitant T2DM in MAFLD patients. A prospective cohort of 4,472 MAFLD patients (2022–2025) was analyzed, with random allocation to training (n=3,129) and validation (n=1,343) sets. Four machine learning models were compared, with Boruta and LASSO algorithms used for feature selection. Model performance was evaluated using ROC-AUC, PR-AUC, calibration plots, and SHAP analysis for interpretability. XGBoost demonstrated the best performance with a validation ROC-AUC of 0.799 (95% CI: 0.763–0.835). The final model incorporated eight variables: age, triglycerides, controlled attenuation parameter, liver stiffness measurement, ALT, AST, hsCRP, and eGFR. SHAP analysis identified age, triglycerides, and liver stiffness measurement as predominant predictors. Risk stratification partitioned patients into low, intermediate, and high-risk tiers with progressive T2DM prevalence (7.4%, 28.1%, and 42.1%, respectively). This XGBoost-based framework provides a clinically viable tool for early T2DM identification in MAFLD patients, facilitating tailored metabolic intervention. Trial registration: Chinese Clinical Trial Registry (ChiCTR), ChiCTR2200063127, registered on August 31st, 2022

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-11-02
DOI
https://doi.org/10.1038/s41598-026-73930-9
Primary Topic
Liver Disease Diagnosis and Treatment
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

An interpretable machine learning model for identifying coexisting type 2 diabetes in metabolic dysfunction-associated fatty liver disease

Chenxia Lu, Zixin Shu, Miao Peng, J Wang et al.
8 links
Scientific Reports
Liver Disease Diagnosis and Treatment
article

An interpretable machine learning model for identifying coexisting type 2 diabetes in metabolic dysfunction-associated fatty liver disease

Chenxia Lu, Zixin Shu, Miao Peng, J Wang, Kani Ouyang, Xiaodong Li, Jingjing Huang, Qi Hao, Xi Xu, Hui Zhu, Jia Zhang, Mingzhong Xiao, Shujie Song, Yi Lv
article en

Abstract

Abstract Patients with metabolic dysfunction-associated fatty liver disease (MAFLD) have a significantly higher risk of type 2 diabetes mellitus (T2DM), but hepatocentric risk prediction remains underexplored. This study aims to develop and validate an interpretable machine learning model for identifying concomitant T2DM in MAFLD patients. A prospective cohort of 4,472 MAFLD patients (2022–2025) was analyzed, with random allocation to training (n=3,129) and validation (n=1,343) sets. Four machine learning models were compared, with Boruta and LASSO algorithms used for feature selection. Model performance was evaluated using ROC-AUC, PR-AUC, calibration plots, and SHAP analysis for interpretability. XGBoost demonstrated the best performance with a validation ROC-AUC of 0.799 (95% CI: 0.763–0.835). The final model incorporated eight variables: age, triglycerides, controlled attenuation parameter, liver stiffness measurement, ALT, AST, hsCRP, and eGFR. SHAP analysis identified age, triglycerides, and liver stiffness measurement as predominant predictors. Risk stratification partitioned patients into low, intermediate, and high-risk tiers with progressive T2DM prevalence (7.4%, 28.1%, and 42.1%, respectively). This XGBoost-based framework provides a clinically viable tool for early T2DM identification in MAFLD patients, facilitating tailored metabolic intervention. Trial registration: Chinese Clinical Trial Registry (ChiCTR), ChiCTR2200063127, registered on August 31st, 2022

Scientific Reports
Hubei University of Chinese Medicine (CN), Hubei Provincial Hospital of Traditional Chinese Medicine (CN)
National Natural Science Foundation of China, National Science and Technology Major Project, National Major Science and Technology Projects of China
Good health and well-being
Openalex Percentile: Top 77%
Liver Disease Diagnosis and Treatment
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