[Paper Review] Vision-Language and Large Language Model Performance in Gastroenterology: GPT, Claude, Llama, Phi, Mistral, Gemma, and Quantized Models
The study evaluates medical reasoning of LLMs and VLMs on gastroenterology board-style questions, comparing proprietary, open-source, and quantized models, with and without images, and prompts.
Background and Aims: This study evaluates the medical reasoning performance of large language models (LLMs) and vision language models (VLMs) in gastroenterology. Methods: We used 300 gastroenterology board exam-style multiple-choice questions, 138 of which contain images to systematically assess the impact of model configurations and parameters and prompt engineering strategies utilizing GPT-3.5. Next, we assessed the performance of proprietary and open-source LLMs (versions), including GPT (3.5, 4, 4o, 4omini), Claude (3, 3.5), Gemini (1.0), Mistral, Llama (2, 3, 3.1), Mixtral, and Phi (3), across different interfaces (web and API), computing environments (cloud and local), and model precisions (with and without quantization). Finally, we assessed accuracy using a semiautomated pipeline. Results: Among the proprietary models, GPT-4o (73.7%) and Claude3.5-Sonnet (74.0%) achieved the highest accuracy, outperforming the top open-source models: Llama3.1-405b (64%), Llama3.1-70b (58.3%), and Mixtral-8x7b (54.3%). Among the quantized open-source models, the 6-bit quantized Phi3-14b (48.7%) performed best. The scores of the quantized models were comparable to those of the full-precision models Llama2-7b, Llama2--13b, and Gemma2-9b. Notably, VLM performance on image-containing questions did not improve when the images were provided and worsened when LLM-generated captions were provided. In contrast, a 10% increase in accuracy was observed when images were accompanied by human-crafted image descriptions. Conclusion: In conclusion, while LLMs exhibit robust zero-shot performance in medical reasoning, the integration of visual data remains a challenge for VLMs. Effective deployment involves carefully determining optimal model configurations, encouraging users to consider either the high performance of proprietary models or the flexible adaptability of open-source models.
Motivation & Objective
- Assess medical reasoning performance of LLMs and VLMs in gastroenterology using board-style questions (300 items, 138 image-containing).
- Systematically compare configurations across proprietary, open-source, and quantized models.
- Evaluate impact of images and captions on VLM/LLM performance.
- Explore prompts, interfaces, and computing environments on model accuracy.
Proposed method
- Use 300 gastroenterology board-style MCQs (138 image-containing) to test model performance.
- Evaluate multiple model families: GPT (3.5, 4, 4o, 4omini), Claude (3, 3.5), Gemini (1.0), Mistral, Llama (2, 3, 3.1), Mixtral, Phi (3).
- Test across interfaces (web, API), computing environments (cloud, local), and precisions (quantized vs full-precision).
- Assess accuracy with a semiautomated pipeline.
Experimental results
Research questions
- RQ1How do proprietary LLMs and open-source LLMs compare in accuracy on gastroenterology questions?
- RQ2What is the impact of image content on VLM/LLM performance, and does captioning help?
- RQ3How does model quantization affect performance relative to full-precision models?
- RQ4Which model configurations and prompts maximize medical reasoning accuracy in gastroenterology?
Key findings
- GPT-4o achieved 73.7% accuracy and Claude3.5-Sonnet achieved 74.0% accuracy among proprietary models.
- Top open-source models reached 64% (Llama3.1-405b) and 58.3% (Llama3.1-70b).
- Quantized Phi3-14b (6-bit) achieved 48.7% accuracy and was comparable to full-precision Llama2-7b, Llama2-13b, and Gemma2-9b.
- VLM performance on image-containing questions did not improve with images or LLM-generated captions; 10% accuracy increase occurred with human-crafted image descriptions.
- Overall, LLMs show strong zero-shot medical reasoning, but visual data integration remains challenging for VLMs.
- The study provides guidance on choosing between high-performing proprietary models and adaptable open-source options.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.