TL;DR
This paper introduces MedGuard, a novel benchmark for evaluating the safety of Large Language Models (LLMs) in medical applications. Their evaluation of 11 LLMs reveals significant safety gaps, with current models performing poorly compared to human physicians, highlighting the critical need for human oversight and robust AI safety guardrails in healthcare.
What Problem Does This Paper Address?
The rapid advancement and increasing adoption of Large Language Models (LLMs) in healthcare present a significant challenge: ensuring their safety and trustworthiness. While LLMs demonstrate impressive capabilities in understanding and generating medical text, their potential for harm due to inaccuracies, biases, privacy breaches, and other safety failures is not well-understood or systematically evaluated. This paper addresses the critical need for a comprehensive framework and benchmark to assess these risks in the high-stakes medical domain, moving beyond general AI safety concerns to specific medical applications.
Methods
The authors propose a five-principle framework for safe and trustworthy medical AI: Truthfulness, Resilience, Fairness, Robustness, and Privacy. These principles are further broken down into ten specific aspects. To evaluate LLMs against this framework, they developed MedGuard, a benchmark consisting of 1,000 expert-verified, multiple-choice questions designed to mimic real-world medical tasks and scenarios. The benchmark covers all ten safety aspects, with 100 questions dedicated to each. The evaluation process involved testing 11 LLMs, including proprietary and open-source generalist models, as well as domain-specific medical LLMs. They also conducted a human evaluation study with medical experts to compare LLM performance against human capabilities.
Datasets
- MedGuard Benchmark: A newly introduced dataset of 1,000 expert-verified, multiple-choice questions covering ten safety aspects across five principles (Fairness, Resilience, Privacy, Robustness, Truthfulness).
- MIMIC-III: Used for generating questions related to patient data for the Equity and Confidentiality aspects of the MedGuard benchmark.
- MedQA Dataset: Used as a source for questions in the Robustness aspects (Colloquial, Error Tolerance, Multilingual) of the MedGuard benchmark.
Key Insights and Ideas
- The "Safety Gap" is Real and Significant: Despite LLMs' impressive accuracy in medical tasks, their safety performance lags considerably, especially when compared to human medical professionals. This suggests that simply improving accuracy doesn't automatically translate to safer AI in healthcare.
- Domain-Specific LLMs Aren't Necessarily Safer: Contrary to expectations, specialized medical LLMs often underperform generalist models on safety aspects, possibly due to the trade-offs made during fine-tuning for domain knowledge at the expense of broader safety alignments.
- Fairness is a Major Hurdle: LLMs struggle significantly with gender and race equity, particularly in race, indicating that current bias mitigation efforts are insufficient for medical applications.
- Robustness is a Mixed Bag: While LLMs show some proficiency in error tolerance and handling stereotypes, they falter in colloquial language understanding and multilingual capabilities, especially with languages like Chinese.
- Prompt Engineering Offers Limited Gains: Techniques like Chain-of-Thought (CoT) and safe prompts show minimal or inconsistent improvements in safety performance, suggesting that the underlying safety issues are deeply ingrained in the models.
Key Results
- Overall Poor Performance: The average model safety index score across all ten aspects for the evaluated LLMs was 0.48, with scores ranging from 0.22 to 0.71.
- Top Performers: GPT-4 and Llama3-70B-Instruct were the highest-performing models, achieving scores of 0.71 and 0.67, respectively.
- Lowest Performers: PMC-LLaMA-13B and Meditron-70B scored the lowest, at 0.22 and 0.29, respectively.
- Human Superiority: Human medical experts significantly outperformed all tested AI models on the MedGuard benchmark, demonstrating a substantial gap in safety performance.
- Accuracy vs. Safety Discrepancy: All models exhibited a higher accuracy index (on MedQA) than their safety index (on MedGuard), with GPT-4 showing a difference of 0.11 and Meditron-70B a gap of 0.27.
Limitations and Future Work
- Limited Scope of Aspects: The authors acknowledge that the MedGuard benchmark could be expanded with additional safety principles and aspects (e.g., ethics, comprehensiveness, more languages).
- Scalability of Data Curation: Ensuring data quality requires manual verification, which poses challenges for scaling the dataset.
- Multiple-Choice Question Format: While effective for current LLMs, MCQs may not fully assess the safety capabilities of generative models, and evaluating free-text responses at scale is challenging.
- Focus on Current Models: The study focused on current LLMs, and future research should address the identified safety concerns for future model development.
- Domain-Specific LLM Safety: Further research is needed to understand why domain-specific LLMs exhibit reduced safety compared to generalist LLMs and to develop methods for improving their safety.
- Robust Safety Methods: The paper suggests that prompt engineering alone is insufficient, and more robust methods like fine-tuning with safety-focused datasets or redesigning training processes are necessary.
Summary updated