644. CUSTOMIZING A LARGE LANGUAGE MODEL TO PROVIDE CLINICALLY TAILORED ADVICE FOR EMERGENCY ESOPHAGEAL IMPACTIONS

Abstract Background There is interest in applying Large Language Models (LLMsclinically, but they are not trained for medical purposes. Equally, the development of LLMsrequires significant time and financial resources. Customizing an existing LLM for clinical purposes may overcome these limitations and would be of interest to clinicians, patients, hospital managers, and government/policy makers. Methods Thirty patient cases with nonbony esophageal impactions were developed using guidance from UpToDate. Standardized prompts were engineered for physicians as the end user. The customization tool was applied to ChatGPT-4.0 to create the Esophageal Impaction Tool (GPT-EIT), which provides advice for managing patients with esophageal impactions. Both GPT-EIT and the generic ChatGPT-4.0 models were queried February 28th, 2024. Their performance was evaluated based on guidelines for the removal of foreign bodies from the European Society of Gastrointestinal Endoscopy. Outcome data was presented using descriptive statistics in the form of counts and percentages. Results The GPT-EIT provided accurate recommendations for 30/30 (100.0%) cases. Each case was managed appropriately, recommending that stable patients received endoscopy within 24 hours, while patients with drooling were recognized as a surgical emergency and advice was given to provide endoscopy within 2 hours, but no more than 6 hours. GPT-EIT also advised to consider the appropriateness of treatment for patients presenting at 97 years of age based on their comorbidities and health status. The generic ChatGPT-4.0 model produced accurate guidance for 14/30 (46.7%) of cases. Patients with signs of significant obstruction would not have received timely endoscopy (Table 1). Conclusions ChatGPT can be customized to overcome limitations with its training dataset to develop clinically relevant, accurate advice for esophageal impactions. Clinicians, patients, hospital managers, and policymakers should take note that this methodology may be applied for other clinical purposes to avoid limitations related to resource constraints with developing LLMsfrom scratch.

Authors

Institutions

Publication Details

Journal
Diseases of the Esophagus
Published
2024-09-01
DOI
https://doi.org/10.1093/dote/doae057.345
Primary Topic
Emergency and Acute Care Studies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

644. CUSTOMIZING A LARGE LANGUAGE MODEL TO PROVIDE CLINICALLY TAILORED ADVICE FOR EMERGENCY ESOPHAGEAL IMPACTIONS

Nader Hanna, Bright Huo
Diseases of the Esophagus
Emergency and Acute Care Studies
article

644. CUSTOMIZING A LARGE LANGUAGE MODEL TO PROVIDE CLINICALLY TAILORED ADVICE FOR EMERGENCY ESOPHAGEAL IMPACTIONS

Nader Hanna, Bright Huo
article en

Abstract

Abstract Background There is interest in applying Large Language Models (LLMsclinically, but they are not trained for medical purposes. Equally, the development of LLMsrequires significant time and financial resources. Customizing an existing LLM for clinical purposes may overcome these limitations and would be of interest to clinicians, patients, hospital managers, and government/policy makers. Methods Thirty patient cases with nonbony esophageal impactions were developed using guidance from UpToDate. Standardized prompts were engineered for physicians as the end user. The customization tool was applied to ChatGPT-4.0 to create the Esophageal Impaction Tool (GPT-EIT), which provides advice for managing patients with esophageal impactions. Both GPT-EIT and the generic ChatGPT-4.0 models were queried February 28th, 2024. Their performance was evaluated based on guidelines for the removal of foreign bodies from the European Society of Gastrointestinal Endoscopy. Outcome data was presented using descriptive statistics in the form of counts and percentages. Results The GPT-EIT provided accurate recommendations for 30/30 (100.0%) cases. Each case was managed appropriately, recommending that stable patients received endoscopy within 24 hours, while patients with drooling were recognized as a surgical emergency and advice was given to provide endoscopy within 2 hours, but no more than 6 hours. GPT-EIT also advised to consider the appropriateness of treatment for patients presenting at 97 years of age based on their comorbidities and health status. The generic ChatGPT-4.0 model produced accurate guidance for 14/30 (46.7%) of cases. Patients with signs of significant obstruction would not have received timely endoscopy (Table 1). Conclusions ChatGPT can be customized to overcome limitations with its training dataset to develop clinically relevant, accurate advice for esophageal impactions. Clinicians, patients, hospital managers, and policymakers should take note that this methodology may be applied for other clinical purposes to avoid limitations related to resource constraints with developing LLMsfrom scratch.

Diseases of the EsophagusVol. 37(Supplement_1)
McMaster University (CA)
Partnerships for the goals
Openalex Percentile: Top 75%
Emergency and Acute Care Studies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.