Can Continual Pretraining Bridge the Performance Gap between General-purpose and Specialized Language Models in the Medical Domain?
Niclas Doll, Jasper Schulze Buschhoff, Shalaka Satheesh, Hammam Abdelwahab, Héctor Allende-Cid, Katrin Klug
Abstract
This paper narrows the performance gap between small, specialized models and significantly larger general-purpose models through domain adaptation via continual pre-training and merging. We address the scarcity of specialized non-English data by constructing a high-quality German medical corpus (FineMed-de) from FineWeb2. This corpus is used to continually pre-train and merge three well-known LLMs (ranging from to parameters), creating the DeFineMed model family. A comprehensive evaluation confirms that specialization dramatically enhances model performance on German medical benchmarks. Furthermore, the pairwise win-rate analysis of the Qwen2.5-based models demonstrates an approximately -fold increase in the win-rate against the much larger Mistral-Small-24B-Instruct through domain adaptation. This evidence positions specialized models as a competitive, resource-efficient solution for complex medical instruction-following tasks. While model merging successfully restores instruction-following abilities, a subsequent failure mode analysis reveals inherent trade-offs, including the introduction of language mixing and increased verbosity, highlighting the need for more targeted fine-tuning in future work. This research provides a robust, compliant methodology for developing specialized LLMs, serving as the foundation for practical use in German-speaking healthcare contexts.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Lineage
- Scaling Data-Constrained Language Models cites Unsupervised Cross-lingual Representation Learning at Scale
- A Comprehensive Survey of Scientific Large Language Models and Their Applications in Scientific Discovery cites BioMistral: A Collection of Open-Source Pretrained Large Language Models for Medical Domains
- BioMistral: A Collection of Open-Source Pretrained Large Language Models for Medical Domains cites FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning
Builds on10
- FlashAttention-2: Faster Attention with Better Parallelism and Work PartitioningTri DaoICLR 2024 · 2,600 citations
- Unsupervised Cross-lingual Representation Learning at ScaleAlexis Conneau, Kartikay Khandelwal, Naman Goyal, Vishrav Chaudhary et al.ACL 2020 · 539 citations
- Scaling Data-Constrained Language ModelsNiklas Muennighoff, Alexander M. Rush, Boaz Barak, Teven Le Scao et al.NeurIPS 2023 · 475 citations
- BioMistral: A Collection of Open-Source Pretrained Large Language Models for Medical DomainsYanis Labrak, Adrien Bazoge, Emmanuel Morin, Pierre-Antoine Gourraud et al.ACL Findings 2024 · 271 citations
- A Comprehensive Survey of Scientific Large Language Models and Their Applications in Scientific DiscoveryYu Zhang, Xiusi Chen, Bowen Jin, Sheng Wang et al.EMNLP 2024 · 28 citations
Related papers
- Beyond Fine-tuning: Unleashing the Potential of Continuous Pretraining for Clinical LLMsClément Christophe, Tathagata Raha, Svetlana Maslenkova, Muhammad Umar Salman et al.EMNLP Findings 2024 · 1 citation
- Efficient Domain Continual pretraining by Mitigating the Stability GapYiduo Guo, Jie Fu, Huishuai Zhang, Dongyan ZhaoACL 2025
- Efficient Continual Pre-training for Building Domain Specific Large Language ModelsYong Xie, Karan Aggarwal, Aitzaz AhmadACL Findings 2024 · 25 citations
- Learning Faster with Better Tokens: Parameter-Efficient Vocabulary Adaptation for Specialized Text SummarizationGunjan Balde, Soumyadeep Roy, Mainack Mondal, Niloy GangulyACL 2026
- Biomed-Enriched: Data-Efficient Biomedical Pretraining via Paragraph-Level AnnotationRian Touchent, Nathan Godey, Éric Villemonte de la ClergerieACL Findings 2026
