Skip to content
Open access

Evaluation of Large Language Models in the Clinical Management of Patients With Upper Gastrointestinal Bleeding: Insights From Real‐World Patient Data

Jul 2026 · DEN Open · Vol 7 · 0 citations · 19 references
Medicine

TL;DR

LLMs showed moderate performance in UGIB risk stratification and endoscopic prediction but were inferior to clinical scores, especially GBS, while hybrid models modestly improved over standalone LLMs but not GBS, supporting their use as adjunct tools rather than clinical decision‐support systems.

Abstract

ABSTRACT Objective To evaluate large language models (LLMs) for pre‐endoscopy (PE) risk stratification and prediction of endoscopic findings in upper gastrointestinal bleeding (UGIB), and compare their performance with clinical risk scores, conventional machine learning (ML) models, and hybrid approaches. Methods This multicenter retrospective study included 384 patients with UGIB who underwent endoscopy. Five LLMs (GPT‐5, Gemini‐2.5‐Flash, Llama 4, Grok, and DeepSeek R1) were tested using structured zero‐shot prompts based on PE clinical and laboratory data. Their performance in identifying high‐risk patients was compared with the Glasgow‐Blatchford Score (GBS), AIMS65, PE Rockall score, and ML models. Hybrid LLM–score models were also assessed. Two gastroenterologists evaluated the quality of LLM‐generated justifications. Results GBS showed the best discriminative performance among clinical scores (area under the receiver operating characteristic curve [AUROC] 0.73). Among LLMs, GPT‐5 achieved the highest accuracy (0.66), while Grok showed the best‐balanced performance (0.59; F1 0.47). Gemini‐2.5‐Flash had the highest sensitivity (0.89) but low specificity (0.21). Endoscopic prediction performance was modest, with Gemini‐2.5‐Flash achieving the highest exact‐match accuracy (0.34) and micro‐F1 (0.38). Hybrid models improved performance over standalone LLMs but did not outperform GBS alone (best: GBS+GPT‐5, AUROC 0.670. LLMs showed higher numerical performance than conventional ML models, but a statistical comparison was not possible due to unavailable instance‐level data. Grok received the highest human evaluation score for explanation quality. Conclusions LLMs showed moderate performance in UGIB risk stratification and endoscopic prediction but were inferior to clinical scores, especially GBS. Hybrid models modestly improved over standalone LLMs but not GBS, supporting their use as adjunct tools rather than clinical decision‐support systems. Trial Registration N/A

Read PDF

Similar papers

Open access Aug 2026

Comparative Predictive Performance of Upper Gastrointestinal Bleeding Risk Scores and the CALLY Index in Geriatric Patients

Conventional scoring systems remained useful for several established clinical outcomes, whereas the CALLY index showed modest discrimination for endoscopic hemostatic therapy and was not significantly associated with transfusion requirements or length of hospital stay.

Muge Gul Gulecoglu Onem, Soner Onem · 0 citations
Aug 2026

Comparison of pre-endoscopic risk scores for identifying high-risk Forrest lesions in emergency department patients with suspected upper gastrointestinal bleeding.

In patients undergoing endoscopy for suspected upper gastrointestinal bleeding, CHAMPS showed stronger discrimination for high-risk Forrest findings than the other evaluated scores, and should be considered complementary to existing pre-endoscopic UGIB risk stratification rather than a replacement for established risk...

Abdullah Onur, Said Abdirahman Ahmed, İbrahim Toker et al. · 0 citations
Review Open access Sep 2026

Clinical characteristics, pathological comorbidities, BMI-for-age Z-score, and machine learning-based exploration of postoperative enterocolitis in iIntestinal neuronal dysplasia: a 20-year retrospective study

Patients were predominantly male, frequently presented with constipation, and most exhibited mixed IND rather than pure IND, highlighting the potential role of nutritional status in postoperative risk stratification.

Qing-Xuan Hu, Zong-Ye Yang, Lei Xiang et al. · 0 citations
Open access Jan 2026

Development and validation of an explainable machine learning model for risk stratification in patients with clinically suspected acute pulmonary embolism: retrospective study

A machine learning model predicts acute pulmonary embolism risk in suspected patients to reduce unnecessary CTPA overuse and radiation exposure and provides interpretable explanations for individual risk predictions.

Qing-Ming Li, Hui-Jun Qin, Jian Xu · 0 citations
Open access Sep 2026

Explainable AI–based prognostication of patients with resectable colorectal liver metastases using preoperative clinical parameters: is it comparable to traditional clinical scoring systems?

Using structured preoperative clinical data, machine-and deep-learning models to predict overall survival in patients with CRLM are developed and compared to well established Basingstoke Predictive Index.

Nikhil Pramod Kumar, S. Drejian, M. Akhavi et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.