ORIGINAL RESEARCH article
Front. Med.
Sec. Precision Medicine
Interpretable Machine Learning Model for Predicting Covert Hepatic Encephalopathy in Patients with Cirrhosis: A Multicenter Study
Provisionally accepted- 1Shanghai Changzheng Hospital, Huangpu, China
 - 2Naval Medical University, Shanghai, China
 - 3Department of Gastroenterology, Shanghai East Hospital, Tongji University School of Medicine, shanghai, China
 
Select one of your emails
You have multiple emails registered with Frontiers:
Notify me on publication
Please enter your email address:
If you already have an account, please login
You don't have a Frontiers account ? You can register here
Background and Aim: Covert hepatic encephalopathy (CHE) is a neurocognitive complication affecting 40.9–50.4% of patients with cirrhosis, often remaining undiagnosed due to its subclinical nature and limitations of diagnostic tools. Existing tools are constrained by subjectivity, variable sensitivity, and limited accessibility. This study aims to develop and validate interpretable machine learning (ML) models for predicting CHE in cirrhotic patients using multidimensional clinical and lifestyle data. Methods: This retrospective study included 503 patients with liver cirrhosis from 16 medical centers in China. CHE was diagnosed using the psychometric hepatic encephalopathy score and EncephalApp Stroop tests. Recursive Feature Elimination and Pearson correlation analysis were used for feature selection. Eight ML models were implemented to predict CHE. Performance was assessed via AUC, sensitivity, specificity, and decision curve analysis. The SHapley Additive exPlanations (SHAP) values interpreted the optimal model. Results: The LightGBM model achieved the highest AUC of 0.810 in the training set and 0.710 in the validation set. Decision curve analysis showed that LightGBM had better diagnostic performance than RF and XGBoost. The SHAP analysis identified key predictors of CHE, including lower MMSE scores, older age, hypoalbuminemia, lack of prior computer usage, and higher blood urea nitrogen levels. Conclusions: This study presents a novel ML-based approach for predicting CHE in cirrhotic patients, with LightGBM offering the best balance of performance and interpretability. The identified clinical and demographic predictors could facilitate early CHE detection and personalized management, ultimately improving outcomes for this high-risk population.
Keywords: Covert Hepatic Encephalopathy, machine learning, Shapley additive explanations, cirrhosis, Lightgbm
Received: 17 Aug 2025; Accepted: 03 Nov 2025.
Copyright: © 2025 Liu, Ding, Qiu, Wang, Wang, Zeng and Yin. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
* Correspondence: 
Xin  Zeng, zengxinmd1978@163.com
Chuan  Yin, ilse1225@163.com
Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.
