TL;DR
This paper investigates whether Large Language Models (LLMs) exhibit shared weaknesses in medical question answering, moving beyond individual model performance. By benchmarking 16 LLMs on a novel dataset of Polish medical licensing exam questions, the study reveals consistent patterns in their strengths and weaknesses, which often mirror human performance and are influenced by question length and model confidence.
What Problem Does This Paper Address?
The rapid advancement of LLMs in medical question answering has been impressive, with many models now achieving passing scores on licensing exams. However, their reliability remains a significant concern for real-world applications. To ensure safe and effective deployment, it's crucial to understand not just how individual models perform, but whether there are common vulnerabilities and strengths across the LLM landscape. This paper aims to bridge this gap by identifying shared patterns in LLM performance on medical questions, rather than focusing solely on the capabilities of specific models.
Methods
The researchers evaluated 16 LLMs, including top-tier models like GPT-4o Turbo, Claude Opus, and Gemini 1.5 Pro, alongside older and smaller variants. They employed a zero-shot prompting strategy, presenting each LLM with multiple-choice medical questions. The evaluation focused on two primary metrics: Top-1 Accuracy (whether the model's highest probability prediction was correct) and Expected Accuracy (a measure of accuracy considering the probability distribution over all answer choices, available for open models). To understand the factors influencing performance, they analyzed correlations between LLM accuracy and question difficulty for humans, question length, and model confidence (the probability assigned to the top response). Logistic regression models were used to quantify these relationships.
Datasets
The primary dataset used in this study is a newly collected set of 874 unique questions from the Polish Medical Final Examination (Lekarski Egzamin Końcowy - LEK). This dataset is notable because it allows for per-question comparisons between LLMs and human test-takers, and it's unlikely to have been extensively included in the training data of the tested LLMs due to its manual collection process. The questions cover ten medical categories.
Key Insights and Ideas
- Shared Vulnerabilities Exist: LLMs, regardless of their size or architecture, tend to exhibit similar patterns in which questions they answer correctly and incorrectly. This suggests that underlying architectural choices, training data, or learning objectives might be creating common blind spots.
- Human-like Difficulties: LLMs struggle with questions that are difficult for human experts, particularly those that only top-scoring humans can answer. This implies that the factors making questions challenging for humans might also be challenging for LLMs.
- Question Length Matters (Mostly): Longer questions generally lead to lower LLM accuracy, though the most advanced models show less performance degradation. This suggests that while LLMs are improving at handling longer contexts, it remains a challenge.
- Confidence is Key (But Not Perfect): A higher probability assigned to a top answer generally correlates with higher accuracy, indicating a degree of calibration. However, this doesn't perfectly translate to knowing when they are wrong.
- Specialization vs. Generalization: While specialized medical LLMs exist, the study found that top generalist models often performed as well or better, suggesting that broad capabilities can be highly effective even in specialized domains.
Key Results
- Top Performance: GPT-4o Turbo achieved the highest accuracy at 84%, followed by Claude Opus, Gemini 1.5 Pro, and Llama 3/3.1 models, which scored between 74% and 79%. All tested models surpassed the 56% passing threshold for the exam.
- Model Correlations: LLM accuracies were positively correlated pairwise, ranging from 0.39 to 0.58, indicating a high degree of agreement in their performance on individual questions.
- Human Correlations: LLM performance was positively correlated with average human scores (0.20 to 0.29) but negatively correlated with question difficulty metrics, suggesting LLMs perform better on questions humans find easier.
- Predictive Factors: Question length was a negative predictor of accuracy, while the top output probability was a positive predictor.
- Older Models: Similar patterns of shared weaknesses and correlations with human performance were observed in older LLM generations, suggesting these trends are persistent.
Limitations and Future Work
The authors acknowledge that their analysis focused solely on accuracy in multiple-choice questions, which might not capture all aspects of LLM performance or potential errors in open-ended responses. The choice of prompt can also influence results, and while they tested an alternate prompt, other variations might yield different outcomes. The study also notes that a specific specialist model (Med-Gemini) was unavailable for testing. Future work could explore a wider range of medical tasks beyond question answering, investigate conceptual challenges in LLM adoption, and delve deeper into bias and error patterns in LLM outputs. The persistence of these patterns across model generations suggests that future LLMs trained with similar methods will likely exhibit comparable strengths and weaknesses.
Summary updated