Optimization of hepatological clinical guidelines interpretation by large language models: a retrieval augmented generation-based framework
Top Cited Papers
Open Access
- 23 April 2024
- journal article
- research article
- Published by Springer Nature in npj Digital Medicine
- Vol. 7 (1) , 1-9
Abstract
Large language models (LLMs) can potentially transform healthcare, particularly in providing the right information to the right provider at the right time in the hospital workflow. This study investigates the integration of LLMs into healthcare, specifically focusing on improving clinical decision support systems (CDSSs) through accurate interpretation of medical guidelines for chronic Hepatitis C Virus infection management. Utilizing OpenAI’s GPT-4 Turbo model, we developed a customized LLM framework that incorporates retrieval augmented generation (RAG) and prompt engineering. Our framework involved guideline conversion into the best-structured format that can be efficiently processed by LLMs to provide the most accurate output. An ablation study was conducted to evaluate the impact of different formatting and learning strategies on the LLM’s answer generation accuracy. The baseline GPT-4 Turbo model’s performance was compared against five experimental setups with increasing levels of complexity: inclusion of in-context guidelines, guideline reformatting, and implementation of few-shot learning. Our primary outcome was the qualitative assessment of accuracy based on expert review, while secondary outcomes included the quantitative measurement of similarity of LLM-generated responses to expert-provided answers using text-similarity scores. The results showed a significant improvement in accuracy from 43 to 99% (p < 0.001), when guidelines were provided as context in a coherent corpus of text and non-text sources were converted into text. In addition, few-shot learning did not seem to improve overall accuracy. The study highlights that structured guideline reformatting and advanced prompt engineering (data quality vs. data quantity) can enhance the efficacy of LLM integrations to CDSSs for guideline delivery.Keywords
This publication has 50 references indexed in Scilit:
- Scrutinizing ChatGPT Applications in Gastroenterology: A Call for Methodological Rigor to Define Accuracy and Preserve PrivacyClinical Gastroenterology and Hepatology, 2024
- Applying artificial intelligence to clinical decision support in mental health: What have we learned?Health Policy and Technology, 2024
- Evaluating ChatGPT in Medical Contexts: The Imperative to Guard Against Hallucinations and Partial AccuraciesClinical Gastroenterology and Hepatology, 2023
- Accuracy, Reliability, and Comprehensibility of ChatGPT-Generated Medical Responses for Patients With Nonalcoholic Fatty Liver DiseaseClinical Gastroenterology and Hepatology, 2023
- Physician-level determinants of HCV screening during pregnancy in a U.S. sampleArchives of Gynecology and Obstetrics, 2023
- Harnessing language models for streamlined postcolonoscopy patient management: a novel approachGastrointestinal Endoscopy, 2023
- Quality of ChatGPT Responses to Questions Related To Liver TransplantationJournal of Gastrointestinal Surgery, 2023
- Artificial intelligence‐based clinical decision support in modern medical physics: Selection, acceptance, commissioning, and quality assuranceMedical Physics, 2020
- Hepatitis C Guidance 2019 Update: American Association for the Study of Liver Diseases–Infectious Diseases Society of America Recommendations for Testing, Managing, and Treating Hepatitis C Virus InfectionHepatology, 2020
- A Diagram is Worth a Dozen Images2016