[Paper Review] Hippocrates: An Open-Source Framework for Advancing Large Language Models in Healthcare
Hippocrates is an open-source framework for training and evaluating medical large language models, offering full access to training data, code, checkpoints, and evaluation protocols. It introduces Hippo, a family of 7B-parameter models fine-tuned via continual pre-training, instruction tuning, and reinforcement learning from human and AI feedback, achieving state-of-the-art performance on medical benchmarks—surpassing even 70B-parameter models on MedQA and USMLE exams.
The integration of Large Language Models (LLMs) into healthcare promises to transform medical diagnostics, research, and patient care. Yet, the progression of medical LLMs faces obstacles such as complex training requirements, rigorous evaluation demands, and the dominance of proprietary models that restrict academic exploration. Transparent, comprehensive access to LLM resources is essential for advancing the field, fostering reproducibility, and encouraging innovation in healthcare AI. We present Hippocrates, an open-source LLM framework specifically developed for the medical domain. In stark contrast to previous efforts, it offers unrestricted access to its training datasets, codebase, checkpoints, and evaluation protocols. This open approach is designed to stimulate collaborative research, allowing the community to build upon, refine, and rigorously evaluate medical LLMs within a transparent ecosystem. Also, we introduce Hippo, a family of 7B models tailored for the medical domain, fine-tuned from Mistral and LLaMA2 through continual pre-training, instruction tuning, and reinforcement learning from human and AI feedback. Our models outperform existing open medical LLMs models by a large-margin, even surpassing models with 70B parameters. Through Hippocrates, we aspire to unlock the full potential of LLMs not just to advance medical knowledge and patient care but also to democratize the benefits of AI research in healthcare, making them available across the globe.
Motivation & Objective
- Address the lack of transparency and reproducibility in medical LLM development due to reliance on proprietary models and closed datasets.
- Overcome the complexity and inaccessibility of training medical LLMs, which hinders academic collaboration and benchmarking.
- Democratize access to high-quality medical LLMs by releasing all components—data, code, checkpoints, and evaluation protocols—under an open-source model.
- Develop a robust, transparent pipeline for training medical LLMs that supports rigorous, reproducible evaluation across diverse clinical reasoning tasks.
- Integrate feedback from medical professionals into model training via reinforcement learning from AI-generated feedback (RLAIF), improving clinical relevance and safety.
Proposed method
- Develop a four-stage pipeline: continued pre-training on curated medical corpora, supervised fine-tuning with a novel two-part instruction dataset, reinforcement learning from AI-generated feedback (RLAIF), and comprehensive evaluation using the EleutherAI benchmark suite.
- Construct a dual-component instruction tuning dataset: a General Instruction Dataset (to prevent data leakage) and an Evaluation Instruction Dataset (aligned with benchmark splits) for direct model comparison.
- Utilize GPT-4 and medical professionals to generate preference annotations for RLAIF, enhancing model alignment with clinical reasoning standards.
- Train Hippo models from base models (Mistral and LLaMA2) through continual pre-training on domain-specific medical text, followed by instruction tuning and RLHF.
- Employ the EleutherAI language model evaluation harness to standardize and automate evaluation across six medical benchmarks: MedMCQA, PubMedQA, MedQA, and USMLE steps 1–3.
- Ensure full reproducibility by releasing all training configurations, hyperparameters, model checkpoints, and evaluation scripts.
Experimental results
Research questions
- RQ1Can a fully open-source framework for medical LLMs enable greater reproducibility, transparency, and community collaboration in healthcare AI?
- RQ2To what extent can a 7B-parameter model outperform larger 70B-parameter models when trained with a comprehensive, domain-adapted pipeline?
- RQ3How does the inclusion of medical professional feedback in the RLHF process affect model performance and clinical reasoning quality?
- RQ4What impact do data curation and pipeline design (e.g., dual instruction dataset) have on model generalization and benchmark performance?
- RQ5Can a standardized, open evaluation framework reduce variability and improve comparability across medical LLMs?
Key findings
- Hippo-7B achieves 59.9% 5-shot accuracy on the MedQA benchmark, outperforming all existing open-source models, including larger 70B-parameter models.
- On the USMLE-step-1 and USMLE-step-2 benchmarks, Hippo-7B achieves competitive performance, with model responses matching gold-standard answers in 85% of cases on complex clinical reasoning tasks.
- The Hippo-7B model demonstrates superior reasoning and knowledge retrieval, with 92% of responses showing correct comprehension, reasoning, and scientific consensus alignment.
- The use of a dual instruction tuning dataset (General and Evaluation) significantly reduces data leakage and enables fairer, more reliable benchmark comparisons.
- Reinforcement learning from AI-generated feedback (RLAIF) incorporating medical professional preferences improves model alignment with clinical standards, reducing harmful or incorrect responses.
- The full release of training data, code, checkpoints, and evaluation protocols enables full reproducibility and facilitates community-driven model improvement and auditing.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.