ChatGPT improves usability, effectiveness, scalability, interpretability and accessibility, in early diagnosis of metabolic dysfunction-associated fatty liver disease
Authors:
Open Access
- 24 December 2025
- journal article
- Published by Springer Nature in BMC Gastroenterology
- Vol. 25 (1) , 868
Abstract
Metabolic dysfunction-associated fatty liver disease (MAFLD) is one of the most common chronic liver diseases. We aimed to conduct a pilot study to evaluate the potential utility of ChatGPT in early diagnosis of MAFLD. We retrospectively analyzed data from participants undergoing annual health examinations at the First Affiliated Hospital, Zhejiang University School of Medicine in 2022. Questionnaires, laboratory tests, physical examinations, and liver ultrasonography were conducted. We built MAFLD-GPT by leveraging the GPT-3.5-turbo model provided by OpenAI. Zero-shot and few-shot learning approaches were used to identify patterns within the MAFLD data samples to construct an MAFLD model. We compared MAFLD-GPT with Machine Learning Technique (MAFLD-ML). In total, 7,571 participants were included in the study, with 123 cases containing non-numeric data. MAFLD-GPT generates predictions using prompt engineering with zero- or few-shot training samples, whereas machine learning methods require massive training data. MAFLD-GPT demonstrated superior performance in recall and F1-score compared to traditional ML models, highlighting its potential for MAFLD diagnosis. The initial in-context examples (3-shot) brought the largest performance gain (F1 score = 0.724) in MAFLD-GPT, which outperformed SVM (the best performance achieved by traditional ML algorithms) by 6.1%. In addition, the evaluation results of the MAFLD-GPT model on 123 feature-missing samples demonstrated that MAFLD-GPT achieved promising scalability on non-numeric features. Importantly, MAFLD-GPT has the potential to be accessible to the public and to present its results in a clear and understandable manner. MAFLD-GPT surpasses the MAFLD-ML model in terms of usability, effectiveness, scalability, interpretability and accessibility, demonstrating its tremendous potential for early diagnosis of MAFLD. The online version contains supplementary material available at 10.1186/s12876-025-04442-5.Keywords
Funding Information
- National Natural Science Foundation of China (No.8220030273)
This publication has 24 references indexed in Scilit:
- Large language models for clinical decision support in gastroenterology and hepatologyNature Reviews Gastroenterology & Hepatology, 2025
- Explainability enhanced liver disease diagnosis technique using tree selection and stacking ensemble-based random forest modelInformatics and Health, 2025
- A multicenter clinical AI system study for detection and diagnosis of focal liver lesionsNature Communications, 2024
- Machine learning for microbiologistsNature Reviews Microbiology, 2023
- The prevalence and incidence of NAFLD worldwide: a systematic review and meta-analysisThe Lancet Gastroenterology & Hepatology, 2022
- EASL Clinical Practice Guidelines on non-invasive tests for evaluation of liver disease severity and prognosis – 2021 updateJournal of Hepatology, 2021
- Applications of artificial intelligence (AI) in researches on non-alcoholic fatty liver disease(NAFLD) : A systematic reviewReviews in Endocrine and Metabolic Disorders, 2021
- The Chinese Society of Hepatology position statement on the redefinition of fatty liver diseaseJournal of Hepatology, 2021
- Machine Learning and the Future of Cardiovascular CareJACC, 2021
- A new definition for metabolic dysfunction-associated fatty liver disease: An international expert consensus statementJournal of Hepatology, 2020