KMed-31B 技术报告

媒体报道 Hugging Face Papers 原文语言:中文

NAVER 团队发布医疗大模型 KMed-31B,面向有限硬件的本地部署。其按输出与反馈差异将医疗任务分为四类,分别训练专科模型后以 MOPD2 蒸馏整合,HealthBench Hard 由 22.

全文

KMed-31B Technical Report

KMed Team at NAVER

Abstract

We present KMed-31B, a medical large language model post-trained from an open-weight model for on-premises deployment with limited hardware. Post-training a model for diverse medical tasks remains difficult, because improving one kind of task can lower performance on another. We attribute this to differences between tasks in expected output and available feedback. Medical question answering and diagnosis prediction have reference answers, whereas clinical inquiry has no single correct response and is judged with rubrics. We therefore divide medical training tasks into four categories by these two properties, train one specialist per category with a reward that its feedback supports, and integrate the specialists into a single student with Multi-teacher On-policy Delta Distillation (MOPD2). For clinical inquiry, we build Synthetic Health Dialogue, a simulated corpus of consultations with lay users and clinicians whose patient cases span common clinical presentations in primary care. Relative to its base model, KMed-31B raises HealthBench Hard from 22.95 to 41.87 and HealthBench Professional from 37.92 to 50.20 in non-thinking mode, and from 23.80 to 51.48 and from 41.97 to 59.18 in thinking mode, while its scores on four multiple-choice medical benchmarks are maintained or slightly improved. KMed-31B has the highest unadjusted HealthBench Hard score among the compared models, including proprietary ones, and scores higher on HealthBench Professional than every open-weight model we compare, including models with more than ten times as many total parameters. Applied to another base model, Qwen3.8-27B, the same training recipe also raises both HealthBench scores. We describe the training recipe, data construction, and settings in detail so that institutions requiring on-premises deployment can develop medical models from open-weight foundations.

1 Introduction

Frontier-level large language models have demonstrated strong performance on medical question answering and health conversations [1, 2]. In real clinical settings, however, services are often not allowed to send patient data outside the institution and must therefore run models on premises with limited hardware resources. This requirement has motivated efforts to develop relatively small open-weight medical models [3, 4]. Despite their small size, these models must still answer knowledge-intensive medical questions, reason about clinical cases, and handle consultations with lay users and clinicians.

Recent open-weight models with around 30B total parameters match much larger models on individual medical benchmarks, but their strengths are uneven across multiple-choice medical questions and health conversations. Gemma-4-31B-IT is on par with GPT-5.6-sol [5] on MedXpertQA Text but falls far behind it on HealthBench Hard and HealthBench Professional, whereas Muse-Glimmer-30B [6] approaches Qwen3.5-397B [7] on both HealthBench benchmarks while its MedXpertQA Text score falls well below that of Gemma-4-31B-IT (Section 4.2).

Figure 1: Medical performance vs. price in thinking and non-thinking modes. Medical performance is the mean of the scores on HealthBench Hard, HealthBench Professional, MedXpertQA Text, JAMA Clinical Challenge, NEJM AI QA, and MedQA-USMLE. Blended prices use a 3:1 input-to-output token ratio. We plot Gemma-4-31B-IT at $0.25 per million tokens and assign the same price to KMed-31B. For the other models, we use the list prices reported by Artificial Analysis [8] (first-party API prices when availa
Figure 1: Medical performance vs. price in thinking and non-thinking modes. Medical performance is the mean of the scores on HealthBench Hard, HealthBench Professional, MedXpertQA Text, JAMA Clinical Challenge, NEJM AI QA, and MedQA-USMLE. Blended prices use a 3:1 input-to-output token ratio. We plot Gemma-4-31B-IT at $0.25 per million tokens and assign the same price to KMed-31B. For the other models, we use the list prices reported by Artificial Analysis [8] (first-party API prices when availa

Figure 1: Medical performance vs. price in thinking and non-thinking modes. Medical performance is the mean of the scores on HealthBench Hard, HealthBench Professional, MedXpertQA Text, JAMA Clinical Challenge, NEJM AI QA, and MedQA-USMLE. Blended prices use a 3:1 input-to-output token ratio. We plot Gemma-4-31B-IT at $0.25 per million tokens and assign the same price to KMed-31B. For the other models, we use the list prices reported by Artificial Analysis [8] (first-party API prices when available, otherwise the median across providers). Frontier curves are interpolated between Pareto-optimal points, and the arrow shows the thinking-mode increase from Gemma-4-31B-IT to KMed-31B.

Figure 2: Non-thinking and thinking results on HealthBench Hard (left) and HealthBench Professional (right), comparing KMed-31B with proprietary and open-weight models. In both modes, KMed-31B has the highest HealthBench Hard score among the models shown and scores above all compared open-weight models on HealthBench Professional. HealthBench scores are reported without length adjustment.
Figure 2: Non-thinking and thinking results on HealthBench Hard (left) and HealthBench Professional (right), comparing KMed-31B with proprietary and open-weight models. In both modes, KMed-31B has the highest HealthBench Hard score among the models shown and scores above all compared open-weight models on HealthBench Professional. HealthBench scores are reported without length adjustment.

Figure 2: Non-thinking and thinking results on HealthBench Hard (left) and HealthBench Professional (right), comparing KMed-31B with proprietary and open-weight models. In both modes, KMed-31B has the highest HealthBench Hard score among the models shown and scores above all compared open-weight models on HealthBench Professional. HealthBench scores are reported without length adjustment.

Improving one of these capabilities through post-training can come at the expense of the other. ConRub-Med reports that rubric-based reinforcement learning (RL) on Qwen3-32B raises HealthBench Hard from 9.46 to 33.17 while lowering MedXpertQA Text from 22.41 to 17.55 [9]. In an Apertus-70B data ablation of Fully Open Meditron, adding synthetic clinical vignettes to the supervised fine-tuning (SFT) mixture improves open-ended clinical preference but lowers MedQA accuracy by 1.33 points [10]. We observe a similar pattern when fine-tuning Gemma-4-31B-IT on consultation dialogues, which improves HealthBench performance but lowers MedXpertQA Text and JAMA Clinical Challenge accuracy even with medical multiple-choice examples mixed in (Section 5.1).

The recurrence of this trade-off across base models and across both SFT and RL leads us to focus on how the tasks are posed and supervised rather than on a particular model or training method. Medical question answering has reference answers against which a response can be checked, whereas clinical inquiry covers open-ended requests from lay users and clinicians that have no single correct response. The quality of a clinical response depends on several aspects at once, such as its accuracy, its completeness, and its appropriateness to the user’s context, and its evaluation therefore requires rubrics that specify criteria for each aspect.

Medical question answering and clinical inquiry thus differ in both expected output and available feedback. In this sense, they constitute distinct domains, as mathematical reasoning and open-ended chat do in general-purpose post-training. Such domains tend to interfere when trained together in a single run [11, 12], and each therefore calls for its own training procedure. Prior medical post-training has addressed such interference by refining the training data mixture or by integrating separately trained specialists [13, 14]; we make this distinction explicit and use it to decide which specialists to train and how to train each one.

We develop KMed-31B from Gemma-4-31B-IT through a post-training recipe that groups medical tasks by expected output and available training feedback and assigns one specialist to each category (Section 2.1). Open-ended question answering, multiple-choice question answering, and diagnosis prediction provide reference answers, so their specialists are trained through RL with answer-matching rewards. Clinical inquiry has no single reference answer and relies on rubric-based feedback, so its specialist follows a dedicated recipe that proceeds from SFT to RL with fixed rubrics and then to Diversified ROPD (D-ROPD), our adaptation of rubric-based on-policy distillation (ROPD) [15]. In the final stage, we regenerate each query’s rubric from fixed reference responses produced by several models together with the specialist’s current rollouts (Section 3.1).

To obtain a single model for deployment, we integrate the specialists through Multi-teacher On-policy Delta Distillation (MOPD2). Multi-teacher on-policy distillation (MOPD) integrates separately trained domain specialists into a single student [16, 17], and our MOPD2 adopts the delta signal of on-policy delta distillation (OPD2) [18]. On the student’s own rollouts, the specialist associated with each task category supplies a token-level signal based on its log-probability difference from a fixed reference model (the pretrained Gemma-4-31B checkpoint), so that the signal reflects what each specialist acquired relative to that checkpoint (Section 3.2).

This recipe requires reference-answer datasets as well as clinical inquiry examples with demonstrations and rubric-based feedback. We prepare the reference-answer tasks from public medical question-answering and clinical case datasets [19, 20, 21]. For clinical inquiry, we construct Synthetic Health Dialogue (SHD), a simulated corpus of consultations with lay users and clinicians whose patient cases are grounded in the clinical skills objectives of the Korean Medical Licensing Examination (Section 2.2.3). Its simulator separates the information available to the user from what the assistant can observe, creating conversations in which relevant context may initially be missing. These conversations provide training queries for SFT and rubric-based RL, with demonstrations generated to encourage seeking missing context and checking the premises of a request.

In both thinking and non-thinking modes, KMed-31B achieves the highest unadjusted HealthBench Hard score among the compared models, including proprietary ones, and scores higher on HealthBench Professional than every open-weight model we compare, including models with more than ten times as many total parameters (Figure 2). Relative to its base model, KMed-31B raises HealthBench Hard from 22.95 to 41.87 and HealthBench Professional from 37.92 to 50.20 in non-thinking mode, without lowering accuracy on any of the four multiple-choice medical benchmarks (Section 4.2). In thinking mode, it scores 51.48 on HealthBench Hard and 59.18 on HealthBench Professional, and it scores higher than the compared medical models from other developers with 27B to 32B parameters on every benchmark for which they have a score (Section 4.3). Applied to Qwen3.8-27B, the same training recipe also increases both HealthBench scores (Section 5.2). With the per-token API price of its base model as a proxy, KMed-31B would extend the price-performance frontier of the comparison set for the six-benchmark average (Figure 1). We describe the training recipe, data construction, and settings in detail so that institutions requiring on-premises deployment can develop medical models from open-weight foundations.

2 Task Taxonomy and Training Data

2.1 Task categories

We organize the training corpus around the task families of medical question answering, diagnosis prediction, and clinical inquiry (Table 1). The three families correspond to core capabilities of medical practice: (i) medical question answering trains the recall and application of medical knowledge, (ii) diagnosis prediction trains the identification of a diagnosis from a full case presentation, and (iii) clinical inquiry trains free-text responses to lay users and clinicians in conversation. Together, they span the progression from medical knowledge to case-level diagnosis to communication with patients and clinicians.

Medical question answering is further divided by answer format into open-ended and multiple-choice items, which gives four task categories. The categories differ in the form of the expected output and in the training feedback available: the two question-answering categories and diagnosis prediction have reference answers that support answer-matching rewards, whereas clinical inquiry responses have no single correct answer and are scored by a rubric-based judge. For Gemma-4-31B-IT, we train a separate specialist teacher for each category in the non-thinking branch, while the thinking branch covers three of these task categories (Section 3).

We select or construct the data for each category as follows (Figure 3). For open-ended question answering, we use MedQA-OE, an open-ended version of the MedQA-USMLE training split [19] in which the answer options are removed and the text of the correct option serves as the reference answer (Section 2.2.1). Multiple-choice items are taken from a subset of the MedMCQA training split [20] that we select by difficulty. The diagnosis prediction specialist is trained on the training split of MedCaseReasoning [21], whose case presentations we rewrite to reduce explicit answer cues (Section 2.2.2). For clinical inquiry, we construct Synthetic Health Dialogue (SHD), a synthetic corpus of consultation exchanges with lay users and clinicians (Section 2.2.3).

Table 1: Training data for the specialist teachers. RLVR denotes reinforcement learning (RL) with verifiable rewards, in which the reward is a match against the reference answer. Rubrics as Rewards (RaR) and D-ROPD are the two RL stages of the clinical inquiry specialist, with rubrics written in advance and with rubrics generated during training, respectively (Section 3.1). All RL stages use GRPO (Section 3.1). The # Train examples column provides the number of RL prompts, except for SFT, where it provides the number of query and response pairs used for supervised fine-tuning of the clinical inquiry specialist before RL.

Task

category

Training

stage

Source Feedback

# Train

examples

Open-ended QA RLVR MedQA-USMLE (open-ended) Answer match 9.3k

Multiple-choice QA RLVR MedMCQA (filtered subset) Answer match 15.5k

Diagnosis prediction RLVR MedCaseReasoning (rewritten) Answer match 13k

Clinical inquiry SFT SHD (queries/responses) Response supervision 50k

Clinical inquiry RL (RaR) SHD (queries/rubrics) Rubric judge 10k

Clinical inquiry RL (D-ROPD) SHD (queries/reference responses) Rubric judge 2k

2.2 Data construction

Figure 3: Construction of the training data, with one example per task category. From top to bottom, the examples come from MedQA-USMLE, MedMCQA, MedCaseReasoning, and SHD. Each row shows the source (left), the construction step (middle), and the resulting training example (right).

2.2.1 Medical question answering

Data sources and task formulation.

Medical question answering uses examination questions with reference answers: MedQA-OE, converted from MedQA-USMLE [19], for the open-ended category and MedMCQA [20] for the multiple-choice category. The two categories differ in the information available when answering. MedMCQA presents answer options, whereas MedQA-OE requires the model to produce an answer without them. We retain the two categories as separate specialist tasks rather than treating option selection and direct answer generation as interchangeable.

Open-ended conversion.

Nemotron-CrossThink [22] removes answer options from multiple-choice training questions and reports higher accuracy on GPQA Diamond [23] and SuperGPQA [24] in its open-ended-format ablation. Motivated by this result, we remove the answer options from MedQA-USMLE and use the text of the correct option as the reference answer, so that the specialist learns to generate the answer rather than select it from options. The question text and source answer are retained; the conversion does not introduce newly generated answer labels.

Suitability screening and subset selection.

Some MedQA-OE items depend on the original answer options or on visual material that is absent from the text. We match the converted items to their source questions and apply an LLM-based suitability check to candidates flagged for visual or option dependence. We screen these items and exclude those judged unsuitable for direct answering, including questions that require missing images or ECGs, questions that ask for an exception or the least likely option, and questions whose reference answer cannot be determined from the question alone. An item is excluded only when the check judges it unsuitable, so candidates that the check marks as uncertain remain in the training set. For MedMCQA, we use a difficulty-filtered subset that excludes questions that the initial checkpoint, Gemma-4-31B-IT, answered correctly in all or in none of 10 sampled responses. This selection targets intermediate empirical difficulty; it does not guarantee non-zero reward variation under the evolving specialist policy.

2.2.2 Diagnosis prediction

Data source and task formulation.

We use the MedCaseReasoning training split [21], in which each case is derived from a published case report and consists of a case presentation, a reasoning section, and a final diagnosis label. The specialist predicts the diagnosis from a case presentation rather than selecting from a supplied list of answer options. The final diagnosis label serves as the reference for answer-matching rewards, but matching it does not by itself establish the completeness of a differential diagnosis.

Presentation rewriting.

Some original MedCaseReasoning case presentations include the final diagnosis or the results of confirmatory tests. To reduce these answer cues, we use Gemini-3.1-Pro-Preview to rewrite the case presentations and reasoning sections from the same source reports. The prompt asks the model to retain presenting symptoms and initial findings while omitting diagnostic conclusions and confirmatory results from the presentation. It also asks the model to support the reasoning section with quotations from the source report. The source report is available during rewriting but is not appended to the specialist’s case input.

Label preservation and quality checks.

The rewritten training set preserves all 13,092 cases and their original diagnosis labels, which we use for reward computation. We check the output schema and required fields, verify label preservation, and inspect diagnostic answer cues and the fidelity of quotations to the source reports, using automated checks and sampled model-based reviews.

2.2.3 Clinical inquiry

We generate Synthetic Health Dialogue (SHD) with an LLM-based simulator for two user populations: (i) lay users, who ask about their own health, the health of someone they care for, or health in general, and (ii) clinicians, who ask for help with patient care, clinical writing, and research. The simulator aims to generate diverse and realistic dialogues across a wide range of clinical scenarios by modeling how these users converse with LLM-based assistants.

Clinical grounding.

Patient cases for both populations come from a shared library based on the clinical skills examination objectives of the Korean Medical Licensing Examination [25]. These objectives define the minimum competencies expected of a primary care physician at licensure across 48 common clinical presentations and tasks. The library covers all of these except breaking bad news and groups their possible causes or case types into 180 families based on the objectives’ categories. Each case combines one of these families with sampled patient attributes, which fix the diagnosis or clinical situation and the patient’s demographic and clinical characteristics.

For lay users, we characterize conversation patterns using HealthChat-11K, which annotates 10,965 user conversations with general-purpose chatbots [26]. These patterns inform the distributions of 46 activities, user-turn counts, and follow-up actions. For clinicians, we use the question-type frequencies reported by Ely et al. [27] for primary care physicians to guide the distribution of patient-care requests. For the specialty distribution of clinician personas, we use U.S. physician workforce statistics as a reference [28, 29]. HealthChat-11K, Ely’s questions, and the workforce statistics contribute only category-level counts, not individual conversations or questions.

Simulator design.

We first use a planner to specify the conditions for each dialogue. It samples the activity, the user persona, the number of user turns, and a patient case or topic. It also assigns each follow-up turn an action, such as adding a detail, pushing back, or narrowing the request. For lay users, it sets the first message’s disclosure level (minimal, partial, or full), with probabilities informed by the context annotations on first messages in HealthChat-11K. Given these conditions, Gemma-4-31B-IT generates user messages and assistant replies.

The model first prepares the user’s initial information and opening message. For lay users, a selected patient case is written as lived experience, with the diagnosis omitted unless the activity assumes it is known. For clinicians, it is written as a chart in clinical shorthand, with added clinical details in a setting plausible for the persona’s specialty. The model also prepares facts the user may learn later, such as a new result or a change in symptoms. Both the initial information and these later facts remain consistent with the sampled case. Next, the model uses the planned activity, persona, and prepared case or selected topic to write the first message and a private record of the user’s goal and relevant undisclosed information. For lay users, the disclosure level is provided only when writing the first message.

The model then continues the dialogue by alternating between assistant replies and user follow-ups. As in patient simulators for diagnostic dialogue [30, 3], the assistant sees only the dialogue so far, while the simulated user also receives the persona, prepared case or topic, private record, and assigned action. At randomly selected assistant turns, the assistant is instructed to ask about missing information, except for lay users with full initial disclosure. After such a turn, the user’s next planned action may be replaced by answering the assistant. For dialogues with a patient case, actions that add a detail, an update, or a new result introduce the next unused fact prepared earlier. After each follow-up, information the simulated user reports as disclosed is removed from the private record.

Training queries, responses, and rubrics.

Each simulated conversation ends with a user turn, and the full conversation serves as one training query for the next assistant response (Table 1). We drop a conversation whose full text or first user message repeats an earlier one. For SFT, we use 50,000 clinician queries, pairing each with a reasoning trace and a final response from Kimi-K3 with thinking on. A user’s request may omit relevant information or rest on a mistaken premise. These responses should therefore identify missing information that could materially change the answer, ask focused questions about it when needed, state assumptions without inventing patient-specific facts, and check the request’s premises for consequential errors. They are generated with a system prompt that states these requirements, which we call the context-and-premise prompt (Appendix A.3).

For RL, we sample 5,000 lay queries and 5,000 of the 50,000 clinician queries. Each RL query is also paired with a rubric that Kimi-K3 writes in advance from the conversation alone: a list of criteria specific to that conversation, each checkable from the conversation and a reply, with positive weights for what the best reply should do and negative weights for errors a reply might make. RL prompts present a multi-turn query as a single message, and Section 3.1 describes how rewards are computed in each RL stage.

3 Training Recipe

Our post-training recipe has two stages (Figure 4) and is defined by task categories, their rewards, and the integration procedure, without reference to a particular base model. We apply it to Gemma-4-31B-IT and also to Qwen3.8-27B, to examine whether it carries over to another model family (Section 5.2). First, we train one specialist teacher per task category, with a reward chosen according to the category’s expected output and the feedback available for training (Section 3.1). Each specialist keeps its own reward and training settings so that it is optimized for its target category and performs strongly within it. Second, we apply OPD2 [18] to multi-teacher on-policy distillation (MOPD) [17], called MOPD2, to train a student to inherit the specialized teachers’ performance in multiple domains (Section 3.2). For each model, the specialists and the student start from the same initial checkpoint, and only the student is used at inference. The recipe has a non-thinking and a thinking branch, each with its own specialists and student. For Gemma-4-31B-IT, the non-thinking branch covers all four task categories and the thinking branch covers all but open-ended question answering. Qwen3.8-27B is trained only in the thinking branch, with all four categories. Appendix A.1 lists the training settings of the non-thinking Gemma-4-31B-IT pipeline.

Figure 4: Post-training pipeline for KMed-31B. Category-specific specialists are first trained with task-specific objectives and then integrated into a student through MOPD2. For each prompt, the student is trained on its own rollouts using token-level feedback derived from the log-probability difference between the corresponding specialist qcq_{c} and a pretrained reference model q0q_{0}. The pipeline is applied separately to the thinking and non-thinking branches (excluding open-ended QA in the thinking branch), yielding one checkpoint per branch.

3.1 Specialist teachers

Specialist teachers are trained using RL with verifiable rewards (RLVR) for the three categories with reference answers and rubric-based rewards for clinical inquiry (Section 2.1). Training uses a leave-one-out variant of group relative policy optimization (GRPO) [31] on the RL prompts of each category (Table 1). For each prompt, the policy samples a group of GG responses, and the advantage of response ii with reward RiR_{i} is (Ri−R¯−i)/σ−i(R_{i}-\bar{R}_{-i})/\sigma_{-i}, where R¯−i\bar{R}_{-i} and σ−i\sigma_{-i} are the mean and standard deviation of the rewards other than RiR_{i}. If the rewards other than RiR_{i} are all equal, so that σ−i=0\sigma_{-i}=0, the advantage is Ri−R¯−iR_{i}-\bar{R}_{-i}. The policy loss is a PPO-style clipped surrogate [32] with a KL penalty toward the run’s initial checkpoint, whose coefficient is set per category.

RLVR specialists.

For the three answer-matching categories, we extract the final answer enclosed in answer tags and compare it with the reference answer after lowercasing and removing all characters other than letters and digits. The reward is 1 on a match and 0 otherwise. For diagnosis prediction only, an LLM judge (Gemma-4-31B-IT) reviews the responses that fail this match and assigns a reward of 1 when the two diagnoses differ in surface form alone. A response truncated at the length limit receives 0. In the answer-matching categories, groups whose responses all receive the same reward are excluded from the training batch, and additional prompts are sampled, following the dynamic sampling of DAPO [33].

Clinical inquiry specialist.

Unlike the previous three tasks with clearly defined correct answers, clinical inquiry often involves open-ended questions with multiple clinically acceptable responses, requiring multi-criteria evaluation to assess response quality. Thus, we introduce a three-stage training process to build the clinical inquiry specialist. It starts with supervised fine-tuning (SFT), along with MedMCQA examples to retain multiple-choice performance. Then, we conduct two learning stages based on rubrics: (i) RL with Rubrics as Rewards (RaR) [34] and (ii) our Diversified ROPD (D-ROPD). Here, a rubric defines a set of criteria that a high-quality response should satisfy for a given clinical inquiry, covering aspects such as clinical accuracy, completeness, and patient safety.

The clinical inquiry specialist training starts from SFT on Synthetic Health Dialogue (SHD) in Table 1. The SHD responses are generated with the context-and-premise prompt described in Section 2.2.3 (full text in Appendix A.3). The next stage is reinforcement learning based on RaR. In RaR, we utilize rubrics written in advance for each query, and a judge reads the query, the rubric, and the final response and assigns one holistic rating, which is rescaled linearly to the unit interval as the reward, following the implicit variant of RaR [34]. The judge uses Gemma-4-31B-IT and does not receive a reference response.

In the final stage, we introduce Diversified ROPD (D-ROPD), which extends rubric-based on-policy distillation (ROPD) [15] from a single teacher to multiple teachers (Figure 5). Unlike RaR, which relies on predefined rubrics, D-ROPD dynamically generates rubrics based on the current policy’s responses and reference responses from diverse teachers. By leveraging multiple teachers, D-ROPD aims to construct evaluation criteria that capture different valid approaches to the same clinical inquiry, rather than favoring a particular reference response.

Figure 5: Comparison of ROPD and D-ROPD in the final training stage of the clinical inquiry specialist. ROPD samples several reference responses from one teacher model, whereas D-ROPD takes one reference response from each of four distinct teacher models, generated with the context-and-premise prompt.

Specifically, we use 2,000 clinical inquiry prompts from Table 1 and generate four reference responses for each query using distinct teacher models. These reference responses are generated once using the same context-and-premise prompt. For each training query, the rubric writer receives the reference responses with the current policy’s rollouts and generates a set of binary evaluation criteria with positive integer weights. Each criterion must be independently verifiable from a single response, without requiring similarity to the wording, structure, or final answer of any reference response.

To compute rewards, a verifier evaluates the current policy’s rollouts against the generated rubric. The verifier receives the query, rubric, and both the policy and reference responses in shuffled order without revealing their sources. For each response, it determines whether each criterion is satisfied. The reward is then computed as the weighted fraction of satisfied criteria:

r⁡(y)=∑jwj​bj​(y)∑jwj,r(y)=\frac{\sum_{j}w_{j}b_{j}(y)}{\sum_{j}w_{j}}, (1)

where wjw_{j} denotes the weight of criterion jj, and bj​(y)∈{0,1}b_{j}(y)\in\{0,1\} indicates whether response yy satisfies the criterion. Both the rubric writer and the verifier use Gemma-4-31B-IT. Although reference responses are used for rubric generation and verification, they are excluded from the GRPO group and reward statistics.

3.2 Multi-teacher OPD2 (MOPD2)

We integrate the specialists trained in Section 3.1 into one student by using Multi-teacher OPD2 (MOPD2), which applies the delta signal of on-policy delta distillation (OPD2) [18] to multi-teacher on-policy distillation (MOPD) [17]. Although each specialist demonstrates improved performance on its own domain, it is hard to integrate multi-domain RL settings into one model. A feasible option is to use multi-domain RL with carefully tuned domain balance, yet we empirically observe that it is not simple to achieve multi-domain performance with a multi-domain RL framework. Thus, we employ MOPD based on the improved objective OPD2, which we call Multi-teacher OPD2 (MOPD2). Instead of the difference between teacher and student, it computes the log-probability difference between the specialist teacher and its base model, which inherits the knowledge obtained for specialist training. Our OPD2 implementation follows Heo et al. [18] and uses the model before instruction tuning (e.g., Gemma-4-31B) as the teacher base.

Training setup.

During MOPD2, the specialist teacher models and the corresponding teacher base model q0q_{0} stay frozen while the student is updated on equally proportioned multi-domain training batches. The prompts come from the RL training data of each category. We group prompts into category-specific batches, and assign each batch to the corresponding specialist teacher. Each batch uses 512 prompts with one rollout per prompt, and training is conducted for a total of 100 iterations.

Token advantage.

Let yy be the student’s rollout for a prompt xx of category cc. qcq_{c} is the specialist teacher for category cc and st=(x,y<t)s_{t}=(x,y_{<t}) is the context of token yty_{t}. 𝔼t\mathbb{E}_{t} denotes the expectation under the student’s next-token distribution πθ​(v∣st)\pi_{\theta}(v\mid s_{t}). With the delta Δt​(v)=log⁡qc​(v∣st)−log⁡q0​(v∣st)\Delta_{t}(v)=\log q_{c}(v\mid s_{t})-\log q_{0}(v\mid s_{t}) and the distillation difference Dt​(v)=log⁡qc​(v∣st)−log⁡πθ​(v∣st)D_{t}(v)=\log q_{c}(v\mid s_{t})-\log\pi_{\theta}(v\mid s_{t}), OPD2 centers both under the student and forms the advantage [18]

AtΔ=Δt​(yt)−𝔼t​[Δt​(v)],AtOPD=Dt​(yt)−𝔼t​[Dt​(v)],A^{\Delta}_{t}=\Delta_{t}(y_{t})-\mathbb{E}_{t}\left[\Delta_{t}(v)\right],\qquad A^{\mathrm{OPD}}_{t}=D_{t}(y_{t})-\mathbb{E}_{t}\left[D_{t}(v)\right], (2)

A^t=AtΔ𝕀{AtΔAtOPD>0}.\hat{A}_{t}=A^{\Delta}_{t}\;\mathbb{I}\left\{A^{\Delta}_{t}A^{\mathrm{OPD}}_{t}>0\right\}. (3)

The advantage value is the centered delta, except when the delta signal is opposite to the original OPD signal AtOPDA^{\mathrm{OPD}}_{t}.

Objective.

For advantage centering, we approximate the expectation by a sum over the top-64 vocabulary entries, rather than the 1,024 used by OPD2 [18]. When the sampled token is not in the top-64 vocabulary, it replaces the least probable entry. The student then minimizes

ℒ(θ)=−1|ℬ|∑y∈ℬ1|y|∑t=1|y|A^tlogπθ(yt∣st)\mathcal{L}(\theta)=-\frac{1}{|\mathcal{B}|}\sum_{y\in\mathcal{B}}\frac{1}{|y|}\sum_{t=1}^{|y|}\hat{A}_{t}\log\pi_{\theta}(y_{t}\mid s_{t}) (4)

over a batch ℬ\mathcal{B} of rollouts, holding A^t\hat{A}_{t} fixed. We also use the KL divergence from the reference model as a regularizer for MOPD2 training, similar to the RL recipe. For models that do not provide a pretrained base model, such as Qwen3.8-27B, we use a base model from an earlier version with a similar size (e.g., Qwen3.5-35B-A3B-Base) as the reference model q0q_{0} in the OPD2 objective.

4 Evaluation

4.1 Evaluation setup

Benchmarks.

We evaluate KMed-31B on six medical benchmarks covering health conversations, clinical case reasoning, and licensing and specialty examination questions. Two of them, HealthBench Hard and HealthBench Professional, evaluate free-text responses using physician-written rubrics. HealthBench Hard is a subset of 1,000 examples, selected as difficult even for frontier models, from HealthBench [1], which contains 5,000 conversations between a model and a lay user or a health professional. HealthBench Professional [2] consists of 525 conversations that physicians wrote while testing a chat assistant for clinicians, about one third of them red-teaming attempts. In both, the rubrics assess the accuracy, completeness, and contextual appropriateness of the next assistant response.

The remaining four are multiple-choice benchmarks, evaluated with text-only inputs. From MedXpertQA [35] we use the text subset, MedXpertQA Text, which contains difficult questions drawn from licensing and specialty examinations. JAMA Clinical Challenge [36] asks for the diagnosis or the next management step in published clinical cases. NEJM AI QA [37] contains English translations of multiple-choice questions from the 2022 Israeli specialist board examinations. MedQA-USMLE [19] contains clinical questions in the style of the U.S. medical licensing examination.

Compared models.

We compare KMed-31B with general-purpose open-weight models spanning a wide range of parameter counts, proprietary models accessed through APIs, and models specialized for the medical domain by other developers. The non-thinking and thinking versions of KMed-31B are trained separately (Section 3). In the comparison with general-purpose models, we report the two versions separately and compare each with models evaluated in the corresponding mode, since generating reasoning traces increases output length and thereby inference latency and cost. The medical models include both open-weight and closed-weight models of varying sizes, and we indicate whether each uses thinking mode. We generate responses from KMed-31B using temperature 1.01.0, top-pp 0.950.95, and top-kk 6464, while the other models evaluated under our protocol use the default generation settings of their respective providers or serving configurations.

HealthBench scoring.

For HealthBench Hard and HealthBench Professional, each model receives the conversation provided in each example and generates the next assistant response. Each final assistant response is judged by GPT-5-mini, which marks every physician-written criterion as met or not met. Following the HealthBench scoring rule [1], an example’s score is the sum of the weights of the met criteria, including negative weights, divided by the sum of all positive weights. Within each run, we average the example scores, clip the mean to [0,1][0,1], and multiply it by 100. The original HealthBench and HealthBench Professional reports use GPT-4.1 and GPT-5.4 as graders, respectively, so our scores are not directly comparable with the scores published there.

Longer responses tend to meet more criteria, and Appendix A.2 reports the length-adjusted score defined for HealthBench Professional [2]. All HealthBench scores in this section are reported without length adjustment. We write avg​@​k\mathrm{avg}@k for the mean of kk run-level scores, where each run generates and grades new responses to all examples, and report HealthBench scores as avg@3.

Multiple-choice scoring.

We evaluate the multiple-choice benchmarks using EvalScope [38]. We report accuracy (%) as avg@10, based on answers extracted from the final responses. NEJM AI QA includes items with multiple reference answers; we count an extracted answer as correct only if it exactly matches the full reference answer set.

Table 2: Comparison with general-purpose models in non-thinking and thinking modes.

Model

HealthBench

Hard

HealthBench

Pro.∗

MedXpertQA

Text

JAMA

C. C.†

NEJM

AI QA

MedQA-

USMLE

Non-thinking, proprietary models

Claude-Opus-5 38.29 67.94 60.45 87.20 83.63 95.85

GPT-5.6-sol 38.59 62.36 52.55 86.41 82.39 93.75

Gemini-3.5-Flash-Lite 22.02 40.13 43.80 78.01 80.62 92.51

Non-thinking, open-weight models and KMed-31B

GLM-5.2 (753B) 21.29 41.39 30.03 76.06 70.74 84.66

Qwen3.5-397B 27.47 44.47 35.88 77.94 75.91 90.10

Gemma-4-31B-IT 22.95 37.92 53.86 75.89 75.54 93.08

Qwen3.8-27B 26.72 41.79 33.99 74.08 67.92 85.91

KMed-31B 41.87 50.20 56.32 76.06 78.03 94.38

Thinking, proprietary models

Claude-Opus-5 42.26 69.20 62.29 88.88 85.13 96.33

GPT-5.6-sol 36.14 66.45 59.51 87.71 85.08 96.41

Gemini-3.1-Pro-Preview 23.14 49.32 71.27 87.80 85.03 96.54

Thinking, open-weight models and KMed-31B

Kimi-K2.7-Code (1T) 34.25 50.30 48.11 82.96 81.43 94.81

GLM-5.2 (753B) 23.23 46.34 51.42 82.99 81.59 95.21

Qwen3.5-397B 29.19 52.90 51.11 79.70 81.38 95.11

Gemma-4-31B-IT 23.80 41.97 58.62 78.02 79.49 94.41

Muse-Glimmer-30B 28.46 51.80 38.57 76.98 76.84 92.33

Qwen3.8-27B 35.64 46.90 43.95 77.94 75.45 94.27

KMed-31B 51.48 59.18 58.64 77.86 79.75 94.38

∗HealthBench Professional. †JAMA Clinical Challenge. HealthBench columns are avg@3 and multiple-choice columns are avg@10. Bold marks the best score in each column within each group.

4.2 Comparison with general-purpose models

Table 2 compares KMed-31B with proprietary and open-weight general-purpose models, and Figure 2 shows the scores on the two HealthBench benchmarks. Compared with the proprietary models, KMed-31B scores highest in both modes on HealthBench Hard, the HealthBench subset selected as difficult for frontier models, ahead of GPT-5.6-sol (38.59) in non-thinking mode and Claude-Opus-5 (42.26) in thinking mode. On HealthBench Professional, which reflects real-world clinician requests, it scores above the Gemini model evaluated in each mode and below GPT-5.6-sol and Claude-Opus-5. Its difference from Claude-Opus-5 on this benchmark is 17.74 points in non-thinking mode and 10.02 points in thinking mode, compared with 30.02 and 27.23 points for Gemma-4-31B-IT.

Compared with the open-weight models, KMed-31B scores highest on both HealthBench Hard and HealthBench Professional in both modes, although several of these models have more than ten times as many total parameters. On HealthBench Hard, it scores 41.87 in non-thinking mode and 51.48 in thinking mode, and the next highest scores are 27.47 for Qwen3.5-397B and 35.64 for Qwen3.8-27B. On HealthBench Professional, it scores 50.20 and 59.18, and the next highest scores are 44.47 and 52.90, both for Qwen3.

正文以来源语言显示。

参考来源

← 返回每日AI报告