Editor’s introduction
The study assesses AI performance in simulated clinical encounters using 333 tasks authored by clinicians, each requiring history-taking, tool requests, and proper diagnosis within a fixed dialogue budget. The benchmark includes specific requirements for asking questions and ordering examinations, with the median case specifying four required topics and five tools. Performance varies significantly across models, with some excelling at diagnosis from full charts but failing in conversational assessment. Clinician ratings confirm that dialogue quality is a key factor, and fine-tuning certain models improves outcomes. The study provides a structured framework for assessing AI in interactive clinical settings, emphasizing the need for comprehensive evaluation beyond diagnostic accuracy.
Introduction
Language models (LMs) are increasingly used to support clinical work, from summarizing records to answering patient questions and assisting with diagnostic decisions. Yet most established medical LM benchmarks test knowledge or diagnosis from a self-contained question or case description. Such tasks provide the information needed to answer the question, leaving untested whether an agent can obtain that information through a clinical encounter. As clinical LM systems become more interactive, evaluation must account for how they gather evidence and carry out an assessment, as well as the conclusions they reach.
Our contributions are threefold. 1) A clinician-authored interactive benchmark. KlinikeBench provides 333 tasks pairing simulated patients and executable clinical tools with clinician-specified assessment requirements, supported by a platform for authoring and revising encounters. 2) An encounter-level evaluation protocol. Strict pass@1 requires correct diagnosis, complete clinical actions, and full must-ask coverage; component scores expose omissions that diagnostic accuracy alone can hide. 3) An empirical study of clinical-agent performance. We evaluate 31 models across seven families: diagnostic accuracy reaches 90.7%, but the best strict pass@1 is only 29.4%. We further examine interaction budgets, single- versus multi-turn diagnosis, patient and judge substitutions, clinician ratings of patient-dialogue quality, and supervised fine-tuning and reinforcement learning of Qwen3-4B. Together, these evaluations generate more than 13,000 agent trajectories, providing a resource for studying and developing LMs for disease diagnosis.
Public resources
The project website provides an interactive leaderboard and benchmark instructions. We release the 333-task benchmark on Harbor Hub; SFT and GRPO training and evaluation code, including task splits and environment setup; 13,962 agent trajectories and SFT data; the Qwen3-4B SFT and SFT + GRPO checkpoints; and an interactive consultation demo. The training repository also documents the host-side key proxy used for patient-simulator and judge requests. Dataset configurations and benchmark-version information are documented in the trajectory dataset card.
Data split
We use all 333 tasks for the main model evaluation. To facilitate the usage to evaluate training algorithms in rare cases, we also provide a split of 283 training tasks and 50 held-out test tasks, with performance reported on the test set.
Implementation details
We integrate KlinikeBench into Harbor, packaging each case as a containerized task with clinical tools and a verifier. The evaluated model uses the ReAct-style Terminus-2 harness to question the patient, execute tools through the clinic command interface, and record a diagnosis. The patient persona and scoring key remain inaccessible to the agent. Within the Harbor evaluation, each model receives the same tasks and tool interface, with one rollout per model–task pair.
Training setup
We train Qwen3-4B using the benchmark’s Harbor environment and Terminus-2 harness, with 283 training tasks and 50 held-out test tasks. We first apply supervised fine-tuning on 1,235 successful frontier-model trajectories from the train split, then compare two GRPO runs initialized from the same Supervised FineTuning (SFT) checkpoint: one optimizes diagnosis correctness, and the other a weighted reward combining all four gates. Both runs use identical data order and hyperparameters. Appendix C provides the data preparation, optimization settings, and evaluation schedule.
Clinician assessment
To assess the quality of virtual patients, thirty clinicians each rated 50 conversations: 35 conversations between our virtual patient and a clinician and 15 reference conversations from MTS-Dialog. MTS-Dialog is a collection of real patient-clinician conversations adopted from real patient records. The 50 conversations are mixed without labels; and then the clinicians are required to assess each conversation from three dimensions: progressive history disclosure, emotional appropriateness, and human-likeness. Each dimension was scored on a 5-point Likert scale (1 = completely unrealistic, 5 = indistinguishable from real patients), yielding 1,500 ratings per dimension and 4,500 ratings in total.
Pass rates do not improve monotonically with more steps
We examine how the budget of interaction steps, which counts dialogue and tool calls, affects strict success while holding the ten-patient-turn limit fixed. Across the default (32-step), 45-step, 60-step, and uncapped conditions, strict pass@1 is 28/34/32/36% for GPT-6-astra, 34/36/40/38% for Claude Opus 5, and 20/26/22/26% for Claude Sonnet 5. Overall, increasing the length of conversation does not consistently increase success, but there is positive influence on the outcome.
Single-turn vs. multi-turn diagnosis
We compare interactive diagnosis with a single-turn variant that supplies the full intake snapshot, including the chief complaint, demographics, severity, duration, history, medications, allergies, and family history. Both settings score the final diagnosis using the same reference-matching criterion. Across all 333 tasks, GPT-5.4, GPT-5.4-mini, and GPT-4o-mini improve by 12.9, 8.7, and 2.4 percentage points in the interactive setting. DeepSeek-v4-pro and DeepSeek-v4-flash instead decline by 34.5 and 46.2 points. Their similar single-turn scores (63.9% and 64.2%) become 29.4% and 18.0% in conversation. This comparison tests evidence gathering and dialogue control as well as diagnosis, while also changing how information is presented.
Qualitative analysis and Discussions
Overall, KlinikeBench serves as a strong proxy for evaluating LMs’ capability in clinical settings, requiring not only correct diagnosis, but proper dialogue and clinical tool usage. Across 31 models, diagnostic accuracy reaches 90.7%, but strict success remains below 30%; component scores expose incomplete history-taking and clinical actions. Patient and judge substitutions show that evaluation choices have limited effects on rankings. Clinician ratings provide descriptive evidence of dialogue quality, and Qwen3-4B fine-tuning improves assessment, while early RL gains remain uncertain, motivating richer evaluation alongside explicit completion criteria. Despite the overall robustness, there are still challenges, motivating the future research on model alignment and benchmark design.
Case authoring and LLM assistance
Clinicians write the patient’s background, history, communication style, and disclosure instructions, together with the accepted diagnosis, required clinical actions, and must-ask topics. LLM assistance helps refine the narrative and translate the authored content into the task schema. Clinicians review and revise the draft before committing it. The task queue and editor provide access to cases as they move through authoring and review; the released benchmark consists of 333 clinician-approved tasks.
Interface and task-specific availability
The agent discovers tools through clinic tools, which returns their names, descriptions, and JSON parameter schemas. Most tools require the active patient_id; additional fields depend on the action. For example, a laboratory order takes test_name, an imaging order takes imaging_type and body_region, and a prescription takes drug_name and dose, with optional route and frequency. Task-specific tools use a generic schema accepting a patient identifier and additional descriptive arguments. The following example illustrates the command interface; the identifier must be replaced with that of the current patient.
Tool availability is derived from each task’s required and optional lists. The diagnosis and differential-recording tools are included by default, while forbidden tool names are excluded. The daemon rejects calls to tools outside the exposed set and arguments that are not JSON objects. Each accepted call and its response are appended to the encounter transcript. record_diagnosis stores the final diagnosis, confidence, and reasoning, and ends the encounter; record_differential records candidate diagnoses without ending it.
Records and clinical actions
Read tools consult the available clinical database or the task’s patient persona and initial state. Write tools update the simulated encounter: laboratory and imaging orders receive identifiers, while prescriptions, referrals, admissions, and plans are stored as structured records. These actions do not trigger external clinical services. In particular, a generic test order acknowledges an order; it does not itself generate a new measurement.
Case-specific studies
In the findings-enabled build, named studies retrieve precomputed responses indexed by task identifier and tool name. The cache contains 132 task–study entries spanning 101 tool names: 130 provide results and two mark a study as not indicated. Entries can include narrative findings, measurements, units, and reference ranges. They are authored offline by an LLM and checked for explicit diagnosis leakage before packaging. Tool execution reads the fixed cache without generating findings online. These responses are simulated clinical observations, not measurements from real patients.
Missing information and defaults
Response behavior depends on the handler. A requested laboratory result that is absent may return not_available; generic retrieval of ordered tests can instead return a result explicitly marked as mocked. Missing vital signs use fixed fallback values, and some history, medication, or allergy fields use default entries. The drug-interaction tool returns a mock database response. Knowledge-graph query tools and their aliases return not_available in the headless runtime. The implementation therefore distinguishes executable tool coverage from the availability of case-specific clinical evidence.
Execution traces and scoring
A local dispatch audit of the findings-enabled corpus covered all 3,550 exposed task–tool pairs: 3,003 used built-in handlers, 37 used aliases, 378 used additional state actions, and 132 returned cached study entries. No pair reached the generic echo fallback or raised a handler exception under the representative audit arguments. This check establishes handler coverage for the released catalogue; it does not validate every possible argument or the clinical accuracy of every response.
Supervised fine-tuning
We collect trajectories from 27 frontier-model configurations on the training tasks, with GPT-5.4-mini as both patient simulator and judge. We retain only trajectories passing all four gates: correct diagnosis, all required tools, full must-ask coverage, and parameterised actions. This yields 1,249 trajectories covering 187 training tasks; removing sequences longer than 20,480 tokens leaves 1,235 trajectories. Each trajectory reconstructs the agent’s original multi-turn chat, including the task prompt, assistant JSON replies containing analysis, plans, and shell commands, and the terminal output after each turn. Every assistant reply is prefixed with an empty thinking block, and the loss is computed only on assistant turns. We fine-tune all model parameters for three epochs using FSDP on eight A100 GPUs, with FP32 master weights and BF16 autocast.
Reinforcement learning
Starting from the SFT checkpoint, we apply GRPO using SkyRL. We do not normalize advantages by the group’s standard deviation and use no KL penalty. The loss averages sequence-level sums of token contributions. Each step samples eight training tasks and generates eight rollouts per task at temperature 1.0. Rollouts are capped at 32 agent turns and 15 minutes; we train on the full trajectory up to 32k tokens and filter out overlong rollouts. Generation with vLLM and training with FSDP share four A100 GPUs per run. Claude Opus 4.6 serves as both the patient simulator and must-ask judge during RL.
Medical knowledge and clinical response quality
MedQA, MedMCQA, and PubMedQA evaluate medical knowledge and reasoning from examination questions or biomedical text, providing a foundation for evaluating clinical language models. MedHELM covers diverse medical tasks, while HealthBench uses physician-written rubrics to assess responses in health conversations. RubricsTree structures health-agent evaluation around atomic, clinically verifiable criteria. KlinikeBench shares the emphasis on explicit clinical criteria, connecting the final diagnosis to the history elicited and actions performed during an encounter.
Interactive diagnostic dialogue
AMIE studies diagnostic conversations through simulation-based training and a blinded evaluation with patient actors and primary-care physicians. The State Aware Patient Simulator supports automated evaluation of multi-turn consultations. AgentClinic combines simulated patient dialogue, multimodal examinations, and tool use, with evaluation extending to patient-centered aspects of interaction. KlinikeBench follows this interactive setting and pairs encounters with clinician-authored must-ask topics, required tools, and action constraints. Our clinician assessment separately examines history disclosure, emotional appropriateness, and human-likeness of the simulated dialogue.
Process-aware consultation benchmarks
MedConsultBench is especially close to our motivation: it evaluates the consultation cycle from history taking to follow-up, tracks information acquisition using atomic information units, and identifies deficiencies that a correct diagnosis can conceal. MedConceal studies elicitation and management of hidden patient concerns under partial observability, with process and outcome evaluation. KlinikeBench complements these efforts by coupling clinician-authored information requirements with executable tools and parameterized action constraints. We report each component and use their conjunction with diagnostic correctness to define strict pass@1, distinguishing models with similar diagnostic accuracy by their assessment behavior.
Clinical tools and workflow execution
MedAgentBench evaluates clinician-written tasks in an electronic health record environment with standardized FHIR interfaces. PhysicianBench studies longer clinical workflows with physician-reviewed checkpoints and execution-grounded verification. MedCUA-Bench evaluates screenshot-based interaction with clinical software using task-completion and safety checks. KlinikeBench connects tool execution to patient questioning within the same encounter: information elicited through dialogue and results obtained through tools jointly support diagnosis. Case-specific requirements additionally check that required clinical actions are completed with appropriate parameters.
Longitudinal records and extended conversations
LongMedBench evaluates reasoning over longitudinal patient records, while ObGynLongBench studies decisions across pregnancy histories and the difficulty of using evidence embedded in electronic health records. MedMT-Bench evaluates instruction following in extended medical dialogues; MediLongChat and MedLoCoMo examine history-aware and multi-session conversation. These settings emphasize retaining and using information across long contexts or successive visits. KlinikeBench focuses on a complementary horizon: actively gathering evidence and completing the required questions, examinations, and decisions within one assessment under an interaction budget.


