Towards evaluating and building versatile large language models for medicine

Chaoyi Wu, Pengcheng Qiu, Jinxin Liu, Hongfei Gu, Na Li, Ya Zhang, Yanfeng Wang, Weidi Xie

Introduction

While Large Language Models (LLMs) have demonstrated remarkable proficiency in passing standardized medical licensing examinations (MCQA), their performance often falters when applied to real-world clinical workflows. This discrepancy highlights a significant gap between "knowing medical facts" and "performing clinical work." Current benchmarks rely heavily on multiple-choice formats, which fail to capture the complexities of interpreting Electronic Health Records (EHR), generating treatment recommendations, or accurate ICD coding.

To address this, researchers have introduced MedS-Bench and MedS-Ins, a comprehensive ecosystem designed to train and evaluate medical LLMs across a versatile range of clinical tasks. This initiative aims to move the field beyond simple fact recall toward genuine clinical utility.

The MedS Framework: Benchmarking and Instruction Tuning

The researchers adopted a two-pronged approach to bridge the gap between theoretical knowledge and clinical application. First, they developed MedS-Bench, a rigorous benchmark comprising 28 datasets organized into 11 high-level clinical task categories. These categories include Clinical Report Summarization, Diagnosis, Treatment Planning, and Named Entity Recognition (NER).

Second, they created MedS-Ins, a massive instruction-tuning dataset. Inspired by the "Super-NaturalInstructions" framework, MedS-Ins aggregates 58 open-source biomedical NLP datasets into a unified format. This dataset contains approximately 5 million instances with 19,000 unique instructions across 122 tasks, spanning domains such as standardized exams, clinical texts, academic papers, medical knowledge bases, and doctor-patient conversations.

Overview of the MedS-Ins framework, illustrating the transition from diverse clinical tasks and datasets to a unified instruction-tuning format.

Methodology and Model Training

The core of this research involved training MMedIns-Llama 3, an open-source model based on the Llama 3 architecture. The model underwent supervised fine-tuning (SFT) on the MedS-Ins dataset for 5 epochs. The training process utilized 32 Ascend 910B GPUs, totaling over 380 hours of compute time.

A key insight from this methodology is that instruction diversity is paramount. The researchers found that training on 122 distinct tasks with hand-written definitions allowed the model to generalize far more effectively than training on a single massive corpus of medical text alone.

A detailed breakdown of the MedS-Bench ecosystem, showing the distribution of samples across categories like Diagnosis, Text Summarization, and NER.

Key Results and Performance

The resulting model, MMedIns-Llama 3, demonstrated dominant performance across specialized clinical tasks, often surpassing proprietary giants like GPT-4 and Claude-3.5:

  • Medical Summarization: The model achieved an average BLEU/ROUGE score of 46.82/48.38, nearly doubling the performance of GPT-4 (24.46/25.66).
  • Named Entity Recognition (NER): It reached an average F1-score of 79.29, significantly outperforming GPT-4 (59.52) and other open-source alternatives.
  • Clinical Decision Support: In specialized tasks such as treatment planning (SEER dataset) and diagnosis (DDXPlus), the model achieved accuracy scores of 98.47% and 97.53%, respectively.
  • Competitive MCQA: While clinical tasks were the priority, the model remained competitive on medical exams, outperforming GPT-3.5 with an average accuracy of 63.9% across multilingual benchmarks.

Discussion and Future Directions

The study proves that a relatively small (8B parameter) open-source model, when tuned on high-quality, diverse medical instructions, can surpass much larger proprietary models in specialized domains. However, the authors acknowledge several limitations. The model has yet to undergo real-world clinical trials, and while 11 categories represent a significant advancement, they do not encompass the full complexity of every medical specialty.

Furthermore, the current version of MedS-Ins is primarily English-centric. Future work will focus on expanding language support and aligning model safety with human preferences to ensure that AI-generated medical advice remains ethical and unbiased. The researchers have made MedS-Ins fully accessible and launched a dynamic leaderboard for MedS-Bench to foster continued community innovation in versatile medical AI.

Summary updated

BibTeX
@article{wu2025towards,
  author = {Chaoyi Wu and Pengcheng Qiu and Jinxin Liu and Hongfei Gu and Na Li and Ya Zhang and Yanfeng Wang and Weidi Xie},
  title = {{Towards evaluating and building versatile large language models for medicine}},
  journal = {Npj Digit. Medicine},
  year = {2025},
  doi = {10.1038/s41746-024-01390-4},
}
Figure