How Medprompt pushed GPT-4 past 90% on a medical benchmark
Microsoft’s Medprompt combines example selection, generated reasoning prompts and reordered answer choices to improve GPT-4’s results on medical benchmarks. The researchers also reported gains in other fields, while cautioning that benchmark scores do not establish real-world effectiveness.
A prompting strategy from a Microsoft team helped GPT-4 achieve a hit rate above 90% on the MedQA dataset and the best-reported results across all nine datasets in the MultiMedQA suite. Called Medprompt, the approach combines several ways of supplying examples and organizing answers. The results suggest that how a model is prompted can matter alongside which model is used.
“The story reports better benchmark performance from automated prompting but cautions that this does not establish real-world effectiveness.”Why it scores Idiocracy
Three techniques work together
Medprompt brings together dynamic few-shot selection, self-generated chain-of-thought (CoT), and choice shuffle ensembling. Each technique addresses a different part of answering a question: what context the model sees, how it develops a response, and whether answer order could sway its choice.
- Dynamic example selection: For each new question, the system retrieves similar examples from previously collected training material and provides them as context.
- Self-generated CoT: The model generates a chain-of-thought prompt using CoT prompts that were previously automated from training data.
- Choice shuffle ensembling: The answer choices appear in different orders across multiple attempts. The system selects the answer that receives a majority vote.
The examples used by the method include questions, answers and CoT prompts associated with correct answers. GPT-4 and an embedding model automatically generate this material from benchmarks. During inference, embeddings help locate examples similar to the question at hand.
Benchmark gains and their limits
The Microsoft team reported that Medprompt took GPT-4 above a 90% hit rate on MedQA for the first time. It also produced the best-reported results on all nine benchmark datasets in MultiMedQA. Adding more few-shot examples and more ensemble steps led to further improvements.
Those results describe performance on benchmarks, which are structured evaluations. The researchers caution that strong benchmark performance does not directly show how well GPT-4 and Medprompt would work in real-world settings. A high score on a test therefore should not be treated as proof of effectiveness in practical use.
This distinction matters when interpreting medical AI results. Medprompt demonstrates a way to improve measured answers to benchmark questions; the reported scores alone do not establish what the system can reliably do outside those evaluations.
The approach also improved results in other fields
The team tested Medprompt beyond medical questions, using areas of the MMLU benchmark that included professional law, professional accounting, philosophy and professional psychology. Across these areas, the researchers reported an average improvement of 7.3 percent.
The approach is designed to transfer without requiring expert knowledge or manual prompt design for few-shot examples or chain-of-thought prompts. Instead, it uses automatically generated material and selects relevant examples for each question. That makes the framework less dependent on someone handcrafting a separate prompt for every subject area.
What the results may indicate
The researchers view the findings as evidence that the framework behind Medprompt can generalize to other domains and applications beyond multiple-choice questions. The tests in other MMLU subjects support that possibility, though the source reports benchmark results rather than demonstrating broad real-world performance.
Medprompt’s central lesson is that a general-purpose model may perform differently when its context and answer process are carefully arranged. Example retrieval, generated reasoning prompts and shuffled choices each contribute to the method. The benchmark improvements are notable, but they leave open how the framework performs in practical settings.
Read next