Health & Medicinearticle2026-11-02

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

Open access0 citations

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

// Source

View paper (DOI)Open access versionOpenAlexScientific ReportsPublished 2026-11-02

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

Institutions: Hubei University of Chinese Medicine, Hubei Provincial Hospital of Traditional Chinese Medicine