What Does Neuro Mean to Cardio? Investigating the Role of Clinical Specialty Data in Medical LLMs
Xinlan Yan, Di Wu, Yibin Lei, Christof Monz, Iacer Calixto
TL;DR
This work introduces S-MedQA, the first English medical QA dataset with fine-grained clinical specialty annotations across 15 specialties, created by augmenting MedQA and MedMCQA with machine-assisted labeling and expert validation. Through single- and multi-label annotation via prompts, voting, and conformal prediction, the authors enable cross-disciplinary QA evaluation and analyze how fine-tuning on specialty data affects performance. Key findings show that cross-specialty transfer often outperforms in-domain fine-tuning, and that improvements stem mainly from domain shifting (general to medical) rather than injection of specialty-specific knowledge, as evidenced by token-probability shifts and overlap analyses. The work provides a valuable resource for benchmarking medical LLMs, informs data-selection strategies for fine-tuning, and suggests that future work should explore domain-focused pretraining and cross-domain transfer to better capture clinical knowledge.
Abstract
In this paper, we introduce S-MedQA, an English medical question-answering (QA) dataset for benchmarking large language models (LLMs) in fine-grained clinical specialties. S-MedQA has over 20k examples, covers 15 medical specialties, and QA pairs can have multiple specialty annotations (e.g., when a question is cross-disciplinary), constructed with both machine and expert verification to maximize data availability. We use S-MedQA to investigate the role of clinical specialty data in the knowledge-intensive scenario of medical QA. Our results show that 1) training on data from a clinical specialty does not necessarily lead to best performance on that specialty, and 2) regardless of the specialty the LLM was fine-tuned on, token probabilities of clinically relevant terms increase consistently across all specialties. Thus, we hypothesize improvement gains are derived mostly from domain shifting (e.g., general to medical) rather than specialty-specific knowledge injection, and suggest rethinking the role of fine-tuning data in the medical domain.
