A Modular Approach for Clinical SLMs Driven by Synthetic Data with Pre-Instruction Tuning, Model Merging, and Clinical-Tasks Alignment
Jean-Philippe Corbeil, Amin Dada, Jean-Michel Attendu, Asma Ben Abacha, Alessandro Sordoni, Lucas Caccia, Fran\c{c}ois Beaulieu, Thomas Lin, Jens Kleesiek, Paul Vozila

TL;DR
This paper presents a modular framework for adapting small language models to clinical tasks using synthetic data, expert model merging, and alignment techniques, achieving high performance without extensive fine-tuning.
Contribution
The authors introduce MediPhi, a new set of clinical SLMs with pre-instruction tuning, model merging, and a large synthetic dataset for task alignment, advancing clinical NLP capabilities.
Findings
Expert models outperform GPT-4-0125 on clinical benchmarks.
Model merging preserves performance gains across tasks.
Synthetic dataset enables effective model alignment.
Abstract
High computation costs and latency of large language models such as GPT-4 have limited their deployment in clinical settings. Small language models (SLMs) offer a cost-effective alternative, but their limited capacity requires biomedical domain adaptation, which remains challenging. An additional bottleneck is the unavailability and high sensitivity of clinical data. To address these challenges, we propose a novel framework for adapting SLMs into high-performing clinical models. We introduce the MediPhi collection of 3.8B-parameter SLMs developed with our novel framework: pre-instruction tuning of experts on relevant medical and clinical corpora (PMC, Medical Guideline, MedWiki, etc.), model merging, and clinical-tasks alignment. To cover most clinical tasks, we extended the CLUE benchmark to CLUE+, doubling its size. Our expert models deliver relative improvements on this benchmark…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
- 🤗microsoft/MediPhimodel· 4.2k dl· ♡ 194.2k dl♡ 19
- 🤗microsoft/MediPhi-PubMedmodel· 155 dl· ♡ 9155 dl♡ 9
- 🤗microsoft/MediPhi-MedWikimodel· 35 dl· ♡ 335 dl♡ 3
- 🤗microsoft/MediPhi-Instructmodel· 4.8k dl· ♡ 614.8k dl♡ 61
- 🤗microsoft/MediPhi-MedCodemodel· 74 dl· ♡ 674 dl♡ 6
- 🤗microsoft/MediPhi-Clinicalmodel· 418 dl· ♡ 12418 dl♡ 12
- 🤗microsoft/MediPhi-Guidelinesmodel· 34 dl· ♡ 434 dl♡ 4
- 🤗gabriellarson/MediPhi-Instruct-GGUFmodel· 34 dl· ♡ 234 dl♡ 2
- 🤗Mungert/MediPhi-Instruct-GGUFmodel· 250 dl250 dl
- 🤗prathamesh-chavan/MediPhi-MedCode-bnb-4bitmodel
Videos
Taxonomy
MethodsAttention Is All You Need · Linear Layer · Byte Pair Encoding · Label Smoothing · Dropout · Adam · Multi-Head Attention · Dense Connections · Layer Normalization · Softmax
