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

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Corbeil, Jean-Philippe, Dada, Amin, Attendu, Jean-Michel, Abacha, Asma Ben, Sordoni, Alessandro, Caccia, Lucas, Beaulieu, François, Lin, Thomas, Kleesiek, Jens, Vozila, Paul
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911122424070144
author Corbeil, Jean-Philippe
Dada, Amin
Attendu, Jean-Michel
Abacha, Asma Ben
Sordoni, Alessandro
Caccia, Lucas
Beaulieu, François
Lin, Thomas
Kleesiek, Jens
Vozila, Paul
author_facet Corbeil, Jean-Philippe
Dada, Amin
Attendu, Jean-Michel
Abacha, Asma Ben
Sordoni, Alessandro
Caccia, Lucas
Beaulieu, François
Lin, Thomas
Kleesiek, Jens
Vozila, Paul
contents 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 over the base model without any task-specific fine-tuning: 64.3% on medical entities, 49.5% on radiology reports, and 44% on ICD-10 coding (outperforming GPT-4-0125 by 14%). We unify the expert models into MediPhi via model merging, preserving gains across benchmarks. Furthermore, we built the MediFlow collection, a synthetic dataset of 2.5 million high-quality instructions on 14 medical NLP tasks, 98 fine-grained document types, and JSON format support. Alignment of MediPhi using supervised fine-tuning and direct preference optimization achieves further gains of 18.9% on average.
format Preprint
id arxiv_https___arxiv_org_abs_2505_10717
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle A Modular Approach for Clinical SLMs Driven by Synthetic Data with Pre-Instruction Tuning, Model Merging, and Clinical-Tasks Alignment
Corbeil, Jean-Philippe
Dada, Amin
Attendu, Jean-Michel
Abacha, Asma Ben
Sordoni, Alessandro
Caccia, Lucas
Beaulieu, François
Lin, Thomas
Kleesiek, Jens
Vozila, Paul
Computation and Language
Artificial Intelligence
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 over the base model without any task-specific fine-tuning: 64.3% on medical entities, 49.5% on radiology reports, and 44% on ICD-10 coding (outperforming GPT-4-0125 by 14%). We unify the expert models into MediPhi via model merging, preserving gains across benchmarks. Furthermore, we built the MediFlow collection, a synthetic dataset of 2.5 million high-quality instructions on 14 medical NLP tasks, 98 fine-grained document types, and JSON format support. Alignment of MediPhi using supervised fine-tuning and direct preference optimization achieves further gains of 18.9% on average.
title A Modular Approach for Clinical SLMs Driven by Synthetic Data with Pre-Instruction Tuning, Model Merging, and Clinical-Tasks Alignment
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2505.10717