Manuscript Offprint

arXiv:2611.03948

Balancing Chain-of-Thought and Answer Supervision for Small Language Models on Medical Question Answering

Le Zhou, Xiao Luo, Chinmay Chandra, Zhan Zhang

Le Zhou

Pace University

New York City, USA

lz25261n@pace.edu

Xiao Luo

Southern Methodist University

Dallas, USA

xnluo@smu.edu

Chinmay Chandra

Pace University

New York City, USA

cc55048n@pace.edu

Zhan Zhang

Pace University

New York City, USA

zzhang@pace.edu

Abstract—Small language models (<9B parameters) can support local medical question answering (QA) while reducing privacy and latency concerns, but effective fine-tuning remains challenging. This paper compares two chain-of-thought (CoT) supervised fine-tuning methods: Uniform-across-Sequence (UaS), which applies equal loss weighting to the full CoT-and-answer sequence, and Segment-weighted (SwS), which separately weights CoT and answer losses. We evaluate six general- and medical-domain models on multiple-choice QA (MedQA and EMS-MCQA) and free-text QA (Med-O1). Results show that neither method is universally best: on multiple-choice QA (MedQA and EMS-MCQA), SwS generally performs better, with general-purpose models benefiting most; notably, Qwen3.5-4B improves by up to 44.8% over its zero-shot baseline on MedQA. In contrast, medical-domain models show smaller or even negative gains on MCQs. On free-text QA (Med-O1), UaS performs best for nearly all models and provides consistent improvements across both model types, with the 3B Llama-3.2 model approaching the performance of much larger 7B medical-domain models. We also find that excessively long CoT generation is associated with lower performance in some models on either multiple-choice or free-text QA tasks, suggesting that limiting the CoT length during training may benefit selected models. Overall, the results show that CoT loss weighting should be matched to the task format and the knowledge already encoded in the base model, rather than using a single fine-tuning strategy for all clinical QA tasks.

Index Terms—E-Health Applications, Resource-Constrained AI, Small Language Models, Chain-of-Thought, Supervised Fine-Tuning, Medical Question Answering, Clinical Decision Support

I. INTRODUCTION

Large language models (LLMs) have shown substantial promise for medical question-answering (QA), supporting applications ranging from clinical decision support to medical education and preparation for medical licensing examinations [1]–[3]. However, deploying these capabilities in real-world clinical and educational settings increasingly demands small language models (SLMs) that can be deployed locally rather than relying on large proprietary systems, owing to constraints around computational cost, latency, data privacy, and local hosting requirements in healthcare environments [3], [4]. Given the benefits of SLMs, recent research has increasingly explored effective approaches for training and fine-tuning these models for medical QA tasks [5], [6]. Conventional instruction tuning trains SLMs to map a clinical question directly to a final answer, optimizing for benchmark accuracy without requiring the model to explicitly articulate the reasoning underlying its prediction [7], [8]. Although this approach can improve task performance, training only on final answers provides little visibility into whether the model's reasoning process is clinically sound and offers no mechanism for identifying flawed reasoning that may nevertheless produce a correct answer by chance [9]. Chain-of-thought (CoT) supervision, in which models are trained to generate an explicit reasoning trace alongside the final answer, has emerged as a promising alternative. Foundational studies demonstrated that CoT supervision can substantially improve performance on complex reasoning tasks [10], [11], while more recent work has shown that supervising intermediate reasoning steps and process traces can improve reasoning quality, robustness, and interpretability compared with training based only on final answers [12], [13]. As a result, supervised fine-tuning (SFT) that incorporates CoT reasoning has increasingly been used to improve the reasoning capabilities of language models. Despite this shift, an important training design question remains largely unexplored: when optimizing models to generate both reasoning traces and final answers, how should the loss associated with these two components be balanced? This question is particularly important for SLMs, whose limited representational capacity may require trade-offs between learning effective reasoning processes and producing accurate final answers.

In this work, we address this question by implementing different loss weighting strategies that jointly fine-tune language models on CoT rationales and final answers, allowing the relative contribution of reasoning versus answer tokens to be explicitly controlled during training. We apply this approach across two broad categories of SLMs: three medical-domain models (BioMistral-7B, Meerkat-8B, and Lingshu-7B) and three general-purpose models with no medical pretraining (Llama-3.2-3B, Qwen3.5-4B, and Qwen3.5-9B). This selection allows us to examine not only whether the joint CoT-and-answer fine-tuning improves performance within a given model category, but also whether its benefits depend on the model's prior medical domain exposure. We evaluate our approach on three datasets spanning different clinical reasoning demands: MedQA, a widely used USMLE-style multiple-choice benchmark; Med-O1, which pairs questions with longer, more complex CoT traces and free-form responses; and EMS-MCQA, a multiple-choice benchmark grounded in emergency medical services protocols.

Our results show that joint CoT-and-answer fine-tuning improves medical QA performance, although the magnitude of improvement varies across models and tasks. Notably, general-purpose SLMs (Llama-3.2-3B, Qwen3.5-4B, and Qwen3.5-9B) generally show larger gains than medical-domain models (BioMistral-7B, Lingshu-7B, and Meerkat-8B), suggesting that explicit reasoning supervision may help compensate, at least in part, for the absence of medical domain pretraining. However, this benefit is not universal, as models with stronger baseline medical performance show smaller or even negative gains in some settings. These findings demonstrate that the way reasoning and answer losses are balanced during fine-tuning can influence model performance and should therefore be considered in relation to both the underlying model and the medical question answering task.

In summary, this paper makes the following contributions:

We examine different loss weighting strategies for jointly fine-tuning SLMs on CoT rationales and final answers, enabling explicit control over the relative contribution of reasoning and answer supervision during training.

  • We systematically evaluate these strategies across six SLMs, including both medical-domain and general-purpose models ranging from 3B to 9B parameters, on three medical QA datasets.

  • We find that excessively long CoT generation is associated with lower accuracy in some model-task settings, suggesting that adaptive training strategies based on the CoT length may benefit certain models.

In summary, our work offers practical guidance on how to balance reasoning and answer supervision when adapting compact, locally deployable SLMs for medical QA, particularly in settings where both answer accuracy and the quality of clinical reasoning are critical.

References (33)