Is Biomedical Specialization Still Worth It? Insights from Domain-Adaptive Language Modelling with a New French Health Corpus
Organizations: Université Grenoble Alpes, CNRS, Grenoble INP, LIG, 38000 Grenoble, France · Sorbonne Université, LIMICS, 15 rue de l’École de Médecine, 75006 Paris, France
Abstract
Large language models (LLMs) have demonstrated remarkable capabilities across diverse domains, yet their adaptation to specialized fields remains challenging, particularly for non-English languages. This study investigates domain-adaptive pre-training (DAPT) as a strategy for specializing small to mid-sized LLMs in the French biomedical domain through continued pre-training. We address two key research questions: the viability of specialized continued pre-training for domain adaptation and the relationship between domain-specific performance gains and general capability degradation. Our contributions include the release of a fully open-licensed French biomedical corpus suitable for commercial and open-source applications, the training and release of specialized French biomedical LLMs, and novel insights for DAPT implementation. Our methodology encompasses the collection and refinement of high-quality French biomedical texts, the exploration of causal language modeling approaches using DAPT, and conducting extensive comparative evaluations. Our results cast doubt on the efficacy of DAPT, in contrast to previous works, but we highlight its viability in smaller-scale, resource-constrained scenarios under the right conditions. Findings in this paper further suggest that model merging post-DAPT is essential to mitigate generalization trade-offs, and in some cases even improves performance on specialized tasks at which the DAPT was directed.
Figures & tables
| Source name | Document type | Commercial | # docs | # words | Reference |
| HAL | Scientific | Yes | 26,987 | 703,473,770 | CNRS (2001) |
| HAS | Scientific | Yes | 11,334 | 96,173,390 | Haute Autorité de Santé (HAS) (2021c) |
| ISTEX | Scientific | Yes | 12,179 | 43,138,368 | CNRS (2012) |
| BDPM | Medication | Yes | 11,026 | 20,035,903 | BDPM (2013) |
| WIKIPEDIA | Encyclopedic | Yes | 9,957 | 6,531,021 | Wikipedia Contributors (2025) |
| WMT16 | Scientific | Yes | 587,075 | 6,490,287 | Bojar et al. (2016) |
| Task Group | Topic | Abbreviation | Source | Eval. Metric | # Questions |
|---|---|---|---|---|---|
| (EN/FR)-MEDICAL | Anatomy | Anat. | MMLU | Accuracy | 135 |
| Clinical Knowledge | C.K. | MMLU | Accuracy | 265 | |
| College Biology | CBio. | MMLU | Accuracy | 144 | |
| College Medicine | CMed. | MMLU | Accuracy | 173 | |
| Health | n/a | MMLU-Pro-X | Exact match | 687 | |
| Medical Genetics | MGen. | MMLU | Accuracy | 100 |
| Subject | Anat. | C.K. | CBio. | CMed. | Health | MGen. | ProMed. |
|---|---|---|---|---|---|---|---|
| Qwen3-0.6B-Base | 30.4 4.0 | 49.8 3.1 | 39.6 4.1 | 42.8 3.8 | 15.9 1.4 | 48.0 5.0 | 37.1 2.9 |
| +PDAPT | 39.3 4.2 | 50.2 3.1 | 41.0 4.1 | 49.1 3.8 | 16.9 1.4 | 48.0 5.0 | 44.5 3.0 |
| +SLERP | 43.7 4.3 | 49.8 3.1 | 43.8 4.1 | 42.8 3.8 | 18.0 1.5 | 44.0 5.0 | 37.9 2.9 |
| Qwen3-1.7B-Base | 48.1 4.3 | 59.2 3.0 | 54.2 4.2 | 59.5 3.7 | 25.9 1.7 | 66.0 4.8 | 56.2 3.0 |
| +PDAPT | 58.5 4.3 | 59.2 3.0 | 60.4 4.1 | 57.8 3.8 | 24.3 1.6 | 62.0 4.9 | 57.7 3.0 |
| +SLERP | 51.9 4.3 | 61.1 3.0 | 60.4 4.1 | 61.8 3.7 | 26.2 1.7 | 67.0 4.7 | 59.6 3.0 |
| Subject | Anat. | C.K. | CBio. | CMed. | Health | MGen. | ProMed. |
|---|---|---|---|---|---|---|---|
| Qwen3-0.6B-Base | 47.4 4.3 | 57.0 3.0 | 59.7 4.1 | 52.6 3.8 | 22.4 1.6 | 62.0 4.9 | 55.5 3.0 |
| +PDAPT | 40.7 4.2 | 51.3 3.1 | 59.0 4.1 | 51.4 3.8 | 18.0 1.5 | 52.0 5.0 | 50.7 3.0 |
| +SLERP | 41.5 4.3 | 54.0 3.1 | 59.7 4.1 | 53.2 3.8 | 22.0 1.6 | 59.0 4.9 | 53.7 3.0 |
| Qwen3-1.7B-Base | 59.3 4.2 | 67.9 2.9 | 72.9 3.7 | 68.2 3.6 | 34.6 1.8 | 73.0 4.5 | 64.7 2.9 |
| +PDAPT | 57.8 4.3 | 68.7 2.9 | 74.3 3.7 | 65.9 3.6 | 30.3 1.8 | 69.0 4.6 | 59.9 3.0 |
| +SLERP | 59.3 4.2 | 67.9 2.9 | 73.6 3.7 | 67.1 3.6 | 35.7 1.8 | 71.0 4.6 | 63.6 2.9 |
| Subject | Bus. | CS | Econ. | Hist. | Law | Phil. | Psych. |
|---|---|---|---|---|---|---|---|
| Qwen3-0.6B-Base | 19.1 1.4 | 19.5 2.0 | 23.5 1.5 | 13.4 1.7 | 7.3 0.8 | 17.0 1.7 | 26.2 1.6 |
| +PDAPT | 15.8 1.3 | 8.8 1.4 | 16.1 1.3 | 14.2 1.8 | 8.4 0.9 | 16.2 1.7 | 18.4 1.4 |
| +SLERP | 19.4 1.4 | 12.7 1.6 | 21.4 1.4 | 15.0 1.8 | 7.2 0.8 | 15.8 1.6 | 26.7 1.6 |
| Qwen3-1.7B-Base | 35.6 1.7 | 27.1 2.2 | 37.2 1.7 | 18.9 2.0 | 8.2 0.9 | 23.0 1.9 | 38.8 1.7 |
| +PDAPT | 26.2 1.6 | 18.8 1.9 | 33.3 1.6 | 17.1 1.9 | 7.5 0.9 | 20.0 1.8 | 32.5 1.7 |
| +SLERP | 33.0 1.7 | 27.6 2.2 | 35.5 1.6 | 17.6 2.0 | 9.1 0.9 | 22.2 1.9 | 37.1 1.7 |
| Subject | Bus. | CS | Econ. | Hist. | Law | Phil. | Psych. |
|---|---|---|---|---|---|---|---|
| Qwen3-0.6B-Base | 28.8 1.6 | 26.1 2.2 | 31.5 1.6 | 16.0 1.9 | 11.2 1.0 | 19.4 1.8 | 36.6 1.7 |
| +PDAPT | 18.1 1.4 | 20.5 2.0 | 25.7 1.5 | 15.5 1.9 | 10.3 1.0 | 15.8 1.6 | 27.7 1.6 |
| +SLERP | 27.0 1.6 | 24.9 2.1 | 30.7 1.6 | 17.1 1.9 | 10.4 1.0 | 19.0 1.8 | 34.5 1.7 |
| Qwen3-1.7B-Base | 37.1 1.7 | 39.0 2.4 | 46.0 1.7 | 27.6 2.3 | 14.6 1.1 | 34.1 2.1 | 47.0 1.8 |
| +PDAPT | 33.2 1.7 | 34.4 2.3 | 43.8 1.7 | 25.5 2.2 | 14.8 1.1 | 29.1 2.0 | 42.5 1.8 |
| +SLERP | 42.6 1.8 | 39.0 2.4 | 45.4 1.7 | 25.5 2.2 | 14.2 1.1 | 32.7 2.1 | 45.9 1.8 |
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
| Model | Average Ranking |
|---|---|
| Qwen3-32B | 1.57 |
| Qwen3-14B | 2.43 |
| MedGemma-27B-it | 2.71 |
| Qwen3-8B-Base | 3.71 |
| Qwen3-8B | 4.86 |
| Qwen3-4B | 6.86 |
| Type | Model | Accuracy (%) | |||
|---|---|---|---|---|---|
| Anatomy | Clinical Knowledge | ||||
| EN | FR | EN | FR | ||
| Base | Gemma3-270m-pt | 16.30 3.2 | 16.30 3.2 | 28.68 2.8 | 23.77 2.6 |
| Baguettotron | 20.00 3.5 | 26.67 3.8 | 24.53 2.6 | 24.53 2.6 | |
| Qwen3-0.6B-Base | 47.41 4.3 | 29.63 3.9 | 56.98 3.0 | 49.81 3.1 | |
| Llama3.2-1B | 40.74 4.2 | 26.67 3.8 | 30.57 2.8 | 27.55 2.8 | |
| Type | Model | Accuracy (%) | |||
|---|---|---|---|---|---|
| College Biology | College Medecine | ||||
| EN | FR | EN | FR | ||
| Base | Gemma3-270m-pt | 20.83 3.4 | 21.53 3.4 | 23.70 3.2 | 19.65 3.0 |
| Baguettotron | 26.39 3.7 | 18.06 3.2 | 27.17 3.4 | 23.12 3.2 | |
| Qwen3-0.6B-Base | 59.72 4.1 | 39.58 4.1 | 52.60 3.8 | 40.46 3.7 | |
| Llama3.2-1B | 77.08 3.5 | 62.50 4.1 | 64.74 3.6 | 59.54 3.7 | |
| Type | Model | Accuracy (%) | |||
|---|---|---|---|---|---|
| Medical Genetics | Professional Medecine | ||||
| EN | FR | EN | FR | ||
| Base | Gemma3-270m-pt | 25.00 4.4 | 23.00 4.2 | 43.38 3.0 | 23.16 2.6 |
| Baguettotron | 30.00 4.6 | 24.00 4.3 | 44.85 3.0 | 20.96 2.5 | |
| Qwen3-0.6B-Base | 62.00 4.9 | 47.00 5.0 | 55.51 3.0 | 37.13 2.9 | |
| Llama3.2-1B | 80.00 4.0 | 67.00 4.7 | 69.85 2.8 | 55.51 3.0 | |
| Type | Model | Accuracy (%) | |
|---|---|---|---|
| EN | FR | ||
| Base | Gemma3-270m-pt | 9.02 1.1 | 9.46 1.1 |
| Baguettotron | 10.92 1.2 | 6.26 0.9 | |
| Qwen3-0.6B-Base | 22.42 1.6 | 15.87 1.4 | |
| Llama3.2-1B | 14.85 1.4 | 10.77 1.2 | |
| Gemma3-1B-pt | 10.92 1.2 | 9.75 1.1 | |
Domain-Adaptive Pretraining
Domain-adaptive pretraining specializes pretrained models by continuing self-supervised training on data from a target domain.
See all 44 papers