Assessing the diagnostic accuracy of ChatGPT-4 in the histopathological evaluation of liver fibrosis in MASH
Authors:
- Davide PanzeriDPDavide Panzeri
- Thiyaphat LaohawetwanitTLThiyaphat Laohawetwanit
- Reha AkpinarRAReha Akpinar
- Camilla De CarloCCCamilla De Carlo
- Vincenzo BelsitoVBVincenzo Belsito
- Luigi TerraccianoLTLuigi Terracciano
- Alessio AghemoAAAlessio Aghemo
- Nicola PuglieseNPNicola Pugliese
- Giuseppe ChiricoGiuseppe Chirico
- Donato InversoDIDonato Inverso
- Julien CalderaroJCJulien Calderaro
- Laura SironiLSLaura Sironi
Open Access
- 30 April 2025
- journal article
- research article
- Published by Wolters Kluwer Health in Hepatology Communications
- Vol. 9 (5)
Abstract
Background: Large language models like ChatGPT have demonstrated potential in medical image interpretation, but their efficacy in liver histopathological analysis remains largely unexplored. This study aims to assess ChatGPT-4-vision's diagnostic accuracy, compared to liver pathologists' performance, in evaluating liver fibrosis (stage) in metabolic dysfunction–associated steatohepatitis. Methods: Digitized Sirius Red-stained images for 59 metabolic dysfunction–associated steatohepatitis tissue biopsy specimens were evaluated by ChatGPT-4 and 4 pathologists using the NASH-CRN staging system. Fields of view at increasing magnification levels, extracted by a senior pathologist or randomly selected, were shown to ChatGPT-4, asking for fibrosis staging. The diagnostic accuracy of ChatGPT-4 was compared with pathologists' evaluations and correlated to the collagen proportionate area for additional insights. All cases were further analyzed by an in-context learning approach, where the model learns from exemplary images provided during prompting. Results: ChatGPT-4's diagnostic accuracy was 81% when using images selected by a pathologist, while it decreased to 54% with randomly cropped fields of view. By employing an in-context learning approach, the accuracy increased to 88% and 77% for selected and random fields of view, respectively. This method enabled the model to fully and correctly identify the tissue structures characteristic of F4 stages, previously misclassified. The study also highlighted a moderate to strong correlation between ChatGPT-4's fibrosis staging and collagen proportionate area. Conclusions: ChatGPT-4 showed remarkable results with a diagnostic accuracy overlapping those of expert liver pathologists. The in-context learning analysis, applied here for the first time to assess fibrosis deposition in metabolic dysfunction–associated steatohepatitis samples, was crucial in accurately identifying the key features of F4 cases, critical for early therapeutic decision-making. These findings suggest the potential for integrating large language models as supportive tools in diagnostic pathology. ExportKeywords
This publication has 37 references indexed in Scilit:
- Accuracy, Reliability, and Comprehensibility of ChatGPT-Generated Medical Responses for Patients With Nonalcoholic Fatty Liver DiseaseClinical Gastroenterology and Hepatology, 2023
- Liver fibrosis quantified by image morphometry predicts clinical outcomes in patients with non-alcoholic fatty liver diseaseHepatology International, 2023
- Quality of ChatGPT Responses to Questions Related To Liver TransplantationJournal of Gastrointestinal Surgery, 2023
- A Machine Learning Approach Enables Quantitative Measurement of Liver Histology and Disease Monitoring in NASHHepatology, 2021
- Automated quantification and architectural pattern detection of hepatic fibrosis in NAFLDAnnals of Diagnostic Pathology, 2020
- Comparison and correlation of fibrosis stage assessment by collagen proportionate area (CPA) and the ELF panel in patients with chronic liver diseaseDigestive and Liver Disease, 2019
- Determinants of fibrosis progression and regression in NASHJournal of Hepatology, 2018
- Increased risk of mortality by fibrosis stage in nonalcoholic fatty liver disease: Systematic review and meta‐analysisHepatology, 2017
- Fibrosis stage is the strongest predictor for disease‐specific mortality in NAFLD after up to 33 years of follow‐upHepatology, 2014
- Design and validation of a histological scoring system for nonalcoholic fatty liver disease†Hepatology, 2005