Reproduce “A Modular Approach for Clinical SLMs Driven by Synthetic Data with Pre-Instruction Tuning, Model Merging, and Clinical-Tasks Alignment” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Jean-Philippe Corbeil, Amin Dada, Jean-Michel Attendu, Asma Ben Abacha, Alessandro Sordoni, Lucas Caccia, François Beaulieu, Thomas Lin and 2 more

Microsoft Healthcare & Life Sciences researchers developed MediPhi, a collection of 3.8B-parameter Small Language Models (SLMs) adapted for clinical tasks using a modular framework. This approach involved pre-instruction tuning, model merging, and fine-tuning with MediFlow, a 2.5 million instruction synthetic dataset generated by GPT-4o. MediPhi-Instruct achieved an average accuracy of 43.4% on the expanded CLUE+ benchmark, demonstrating competitive performance with larger 8B-parameter general LLMs and outperforming them on specific clinical coding and report analysis tasks.

Key insights

  • Pre-Instruction Tuning (PIT) on synthetically generated instruction-like data is highly effective for medical domain adaptation in SLMs, significantly outperforming standard domain adaptation pre-training (DAPT) and explainer-based methods.
  • Modular model merging techniques like SLERP and BreadCrumbs successfully mitigate catastrophic forgetting during domain adaptation, enabling the unification of multiple domain experts into a single, balanced clinical SLM.
  • High-quality synthetic instruction data, generated and filtered using advanced LLMs (GPT-4o), can effectively address clinical data scarcity, leading to substantial performance gains for SLMs across a variety of clinical NLP tasks.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.