MedDoc-Bot: A Chat Tool for Comparative Analysis of Large Language Models in the Context of the Pediatric Hypertension Guideline
Authors:
- 15 July 2024
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE) in Annual International Conference of the IEEE Engineering in Medicine and Biology Society
- Vol. 2024, 1-4
Abstract
This research focuses on evaluating the noncommercial open-source large language models (LLMs) Meditron, MedAlpaca, Mistral, and Llama-2 for their efficacy in interpreting medical guidelines saved in PDF format. As a specific test scenario, we applied these models to the guidelines for hypertension in children and adolescents provided by the European Society of Cardiology (ESC). Leveraging Streamlit, a Python library, we developed a user-friendly medical document chatbot tool (MedDoc-Bot). This tool enables authorized users to upload PDF files and pose questions, generating interpretive responses from four locally stored LLMs. A pediatric expert provides a benchmark for evaluation by formulating questions and responses extracted from the ESC guidelines. The expert rates the model-generated responses based on their fidelity and relevance. Additionally, we evaluated the METEOR and chrF metric scores to assess the similarity of model responses to reference answers. Our study found that Llama-2 and Mistral performed well in metrics evaluation. However, Llama-2 was slower when dealing with text and tabular data. In our human evaluation, we observed that responses created by Mistral, Meditron, and Llama-2 exhibited reasonable fidelity and relevance. This study provides valuable insights into the strengths and limitations of LLMs for future developments in medical document interpretation. Open-Source Code: https://github.com/yaseen28/MedDoc-BotKeywords
All Related Versions
This publication has 8 references indexed in Scilit:
- The Faiss LibraryIEEE Transactions on Big Data, 2025
- Large language models encode clinical knowledgeNature, 2023
- Hypertension in children and adolescentsEuropean Heart Journal, 2022
- The path for medical associations to sponsor trustworthy guidelines: is it feasible?Journal of the Royal Society of Medicine, 2022
- S2ORC: The Semantic Scholar Open Research Corpus2020
- Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks2019
- Meteor2007
- Clinical guidelines: Using clinical guidelinesBMJ, 1999