Can Generalist Foundation Models Outcompete Special-Purpose Tuning? Case Study in Medicine
arXiv:2311.16452
Abstract
Generalist foundation models such as GPT-4 have displayed surprising capabilities in a wide variety of domains and tasks. Yet, there is a prevalent assumption that they cannot match specialist capabilities of fine-tuned models. For example, most explorations to date on medical competency benchmarks have leveraged domain-specific training, as exemplified by efforts on BioGPT and Med-PaLM. We build on a prior study of GPT-4's capabilities on medical challenge benchmarks in the absence of special training. Rather than using simple prompting to highlight the model's out-of-the-box capabilities, we perform a systematic exploration of prompt engineering. We find that prompting innovation can unlock deeper specialist capabilities and show that GPT-4 easily tops prior leading results for medical benchmarks. The prompting methods we explore are general purpose, and make no specific use of domain expertise, removing the need for expert-curated content. Our experimental design carefully controls for overfitting during the prompt engineering process. We introduce Medprompt, based on a composition of several prompting strategies. With Medprompt, GPT-4 achieves state-of-the-art results on all nine of the benchmark datasets in the MultiMedQA suite. The method outperforms leading specialist models such as Med-PaLM 2 by a significant margin with an order of magnitude fewer calls to the model. Steering GPT-4 with Medprompt achieves a 27% reduction in error rate on the MedQA dataset over the best methods to date achieved with specialist models and surpasses a score of 90% for the first time. Beyond medical problems, we show the power of Medprompt to generalize to other domains and provide evidence for the broad applicability of the approach via studies of the strategy on exams in electrical engineering, machine learning, philosophy, accounting, law, nursing, and clinical psychology.
arXiv comment21 pages, 7 figures
Cited by in corpus (11)
- Hidden flaws behind expert-level accuracy of multimodal GPT-4 vision in medicine
- Prompt engineering paradigms for medical applications: scoping review and recommendations for better practices
- Designing Heterogeneous LLM Agents for Financial Sentiment Analysis
- Exploring scalable medical image encoders beyond text supervision
- Image and Data Mining in Reticular Chemistry Using GPT-4V
- From Intention To Implementation: Automating Biomedical Research via LLMs
- Leveraging large language models for structured information extraction from pathology reports
- Combining Insights From Multiple Large Language Models Improves Diagnostic Accuracy
- Retrieving Evidence from EHRs with LLMs: Possibilities and Challenges
- Automated Spinal MRI Labelling from Reports Using a Large Language Model
- Searching Personal Collections