TL;DR
This paper introduces Meerkat, a new family of open-source medical AI models that achieve enhanced reasoning capabilities by training on medical textbooks. These models, ranging from 7 to 70 billion parameters, significantly outperform existing open-source models and even rival commercial giants like GPT-4 on medical benchmarks, notably achieving the USMLE passing threshold for a 7B model.
What Problem Does This Paper Address?
The medical field is increasingly seeing the potential of large language models (LLMs) for tasks like decision support and clinical inquiry. However, the widespread adoption of powerful commercial LLMs is hampered by privacy and security concerns due to their closed-source nature. While open-source alternatives exist, they often lack the sophisticated multi-step reasoning abilities crucial for complex medical problem-solving. This gap arises because smaller models, unlike their massive commercial counterparts, don't inherently develop "chain-of-thought" (CoT) reasoning during pre-training. The paper aims to bridge this gap by developing open-source medical LLMs with robust reasoning skills.
Methods
The core innovation lies in the training methodology for the Meerkat models. They are built upon existing state-of-the-art open-source LLMs (Mistral-7B, LLaMA-3) and fine-tuned using a novel, high-quality dataset. This dataset includes:
- Synthetic Chain-of-Thought (CoT) Data: Generated by prompting GPT-4 to provide step-by-step reasoning for USMLE-style questions.
- Medical Textbook Augmentation: An additional 78K CoT data points were created by using GPT-4 to generate questions and reasoning paths from 18 English medical textbooks, covering diverse medical disciplines. This approach aims to reduce hallucination and ensure coverage of essential medical knowledge.
- Diverse Instruction-Following Datasets: Existing datasets for medical applications were repurposed to enhance the models' versatility across various use cases, including free-form QA, multi-turn dialogue, and clinical note generation.
Datasets
- MedQA: A dataset of USMLE-style questions used for generating initial CoT data.
- MedBooks-CoT-18 (New): A newly constructed dataset containing 78K synthetic question-answer pairs and CoT reasoning paths generated from 18 medical textbooks.
- MedMCQA, LiveQA, MedicationQA, ChatDoctor-cleaned, MedQA-dialogue, AlpaCare: Existing instruction-following and dialogue datasets repurposed for medical domain applications.
Key Insights and Ideas
- Textbooks as a Rich Source for Reasoning: The paper demonstrates that medical textbooks, when processed to extract CoT reasoning paths, are a highly effective source for imbuing LLMs with advanced medical reasoning capabilities.
- CoT Fine-tuning is Crucial for Medical Reasoning: Fine-tuning with CoT data significantly boosts performance on medical QA tasks, highlighting the importance of explicit reasoning steps for complex problem-solving.
- Open-Source Models Can Rival Commercial Giants: Meerkat models show that with the right training data and methodology, smaller open-source LLMs can achieve performance comparable to, and in some cases exceeding, much larger proprietary models like GPT-4.
- Size Matters, But Data Matters More: While larger models (70B) naturally perform better, the significant gains seen in the 7B and 8B Meerkat models underscore the impact of specialized, high-quality training data.
Key Results
- USMLE Passing Threshold: Meerkat-7B is the first 7B-parameter model to surpass the USMLE passing threshold (60% accuracy) on the MedQA benchmark, achieving 77.1%.
- Outperforming Baselines: Meerkat models consistently outperformed previous best open-source models like MediTron-7B and BioMistral-7B, as well as GPT-3.5, across six medical benchmarks.
- GPT-4 Performance: Meerkat-70B outperformed GPT-4 by an average of 1.3% on six medical benchmarks.
- Clinical Case Diagnosis: Meerkat-70B correctly diagnosed 21 out of 38 complex clinical cases, surpassing human performance (13.8) and closely matching GPT-4 (21.8).
- Detailed Responses: Meerkat models provided more detailed free-form responses to clinical queries compared to existing small models and GPT-3.5.
Limitations and Future Work
- Factuality in Smaller Models: While Meerkat models show strong completeness, they exhibit inferior factuality performance compared to GPT-3.5 and GPT-4, indicating that hallucination remains a challenge for smaller models.
- Lack of RLHF: The models were not fine-tuned using preference alignment techniques like RLHF, which could lead to unsupported, unsafe, or biased responses.
- Future Work: The authors suggest advancing these models further and investigating their effectiveness across various clinical settings, potentially incorporating RLHF for improved safety and reliability. They also emphasize the need for expert validation before deployment in real-world scenarios.
Summary updated