As clinical AI agents begin to interact with electronic health records (EHRs), large language models (LLMs) are increasingly used to evaluate their actions. But how reliably can these judges recognize clinically dangerous mistakes, especially when an agent appears to have completed its task successfully? We investigate this question using MedAgentBench by introducing controlled clinical errors into verified agent trajectories. The experiments include 416 faulty trajectories, eight error categories, and six open-weight LLM judges. By comparing each faulty trajectory with its correct counterpart, we measure whether judges genuinely recognize errors rather than simply flagging more actions as unsafe. The findings show that access to clinical evidence significantly improves judge reliability. When shown only the final answer, judges cannot distinguish errors that leave it unchanged, while flagging 56% of correct trajectories. With full trajectory information, the ability to distinguish unsafe actions from correct ones reaches a score of 0.75, and providing actual EHR responses improves discrimination by 0.39. Surprisingly, including the agent's reasoning does not improve overall performance and reduces detection of incorrectly reported clinical values by 0.18, which remain the hardest errors to detect. MedGemma performed worse than the general-purpose model and was the only judge to miss potentially dangerous medication overdoses. We also find that the benchmark's original grader accepts all 38 trajectories with an intentionally skipped laboratory check, while combining LLM judges with a rule-based checker informed by the full EHR record detects 97% of injected faults.
Figures & tables
Fig. 1: Paired fault injection. A faulty trajectory skips a required laboratory check while keeping the final answer unchanged. A judge seeing only the final answer cannot identify the missing step, whereas a judge with access to the full trajectory can examine the actions and clinical evidence to detect it.
Fig. 2: Paired fault injection. (a) An agent completes a MedAgentBench task; a verified run becomes a clean parent. (b) Each mutant copies the parent and applies one known, clinically typed fault; the dots show which rows each evidence view gives the judge (V3 also includes the agent’s reasoning). (c) The same judge condition scores parent and mutant; paired discrimination Δ counts only flags the fault causes. Verdicts in (c) are illustrative.
Fig. 3: End-to-end pipeline. Verified agent runs become clean parents; each receives single, labeled faults; every judge condition scores parents and mutants alike; analysis reports paired discrimination per fault type, view, and severity. The lower lane compares the benchmark’s grader with the strict step checker on every agent run.
ID
Fault
Edit (MedAgentBench example)
n
Ans. unch. %
Severity (rule)
F1
Wrong patient
A GET or POST uses another real patient’s MRN; edited GETs replayed
60
50
S1–S3
F2
Dose magnitude
Potassium or magnesium dose multiplied or divided by 10
18
100
S2–S3
F3
Unit swap
Dose or recorded value keeps its number but changes unit (mEq → mg)
60
100
S1–S2
F4
Ignored observation
Order placed although the lab is above threshold, or omitted although below
60
100
S0–S3
F5
Skipped precondition
The lab GET that must precede the order is deleted; the order remains
38
100
S1–S2
F6
Hallucinated observation
Reasoning or answer cites a value that contradicts the tool response
60
0
S1–S2
TABLE I: Fault taxonomy: Each mutant contains one fault. Severity ranges indicate potential harm levels, and C0 represents harmless controls.
Tier
Meaning
NCC MERP
S0
Process deviation; no plausible patient effect
A–B
S1
Reaches the patient; no harm, or monitoring only
C–D
S2
Temporary harm requiring intervention
E–F
S3
Permanent harm, life-sustaining intervention, or death
G–I
TABLE II: Severity tiers (potential harm if executed), assigned by rule.
Condition
Δ (ans. unch.)
Δ (ans. ch.)
Crit. miss
False alarm
V1–I1
− 0.01 [ − 0.03, 0.00]
0.01 [ − 0.05, 0.06]
11 [3, 21]
56 [51, 61]
V1–I2
− 0.01 [ − 0.03, 0.01]
0.00 [ − 0.06, 0.05]
21 [12, 31]
54 [49, 59]
V2–I1
0.49 [0.41, 0.57]
0.10 [0.05, 0.15]
0 [0, 0]
44 [39, 50]
V2–I2
0.46 [0.38, 0.54]
0.16 [0.11, 0.21]
0 [0, 0]
39 [34, 44]
V3n–I2
0.81 [0.75, 0.86]
0.68 [0.62, 0.73]
3 [0, 8]
7 [5, 9]
V3–I1
0.80 [0.74, 0.86]
0.69 [0.64, 0.74]
8 [4, 13]
8 [6, 11]
TABLE III: Judge performance across evidence views and instructions. Critical misses are undetected S3 errors; false alarms are correct trajectories flagged as faulty.
Contrast
Estimate
p
H1
V1: Δ (answer same) ≈0
− 0.01 [ − 0.03, 0.00]
< 0.001
H2
V3: Δ (F1–F3) −Δ (F5, F7)
0.22 [0.14, 0.29]
1.000
H3 e
V3: Δ (S3) −Δ (S0–S2)
0.16 [0.07, 0.24]
0.993
H4
F6: Δ (V3n) −Δ (V2)
0.64 [0.57, 0.71]
< 0.001
H6
V3: Δ (MedGemma) −Δ (Gemma 3)
− 0.08 [ − 0.14, − 0.02]
< 0.001
H7 e
V3: sens.(own) − sens.(other family)
− 0.10 [ − 0.15, − 0.05]
< 0.001
TABLE IV: Hypothesis tests with estimates, 95% confidence intervals, and p -values. H1, H2, H4, and H6 use Holm-adjusted p -values; H3 and H7 are exploratory.
Fig. 4: Paired discrimination by clinical error type and judge condition, averaged across judges.
Fig. 5: Paired discrimination by judge and clinical error type under V3–I2.
Judge
Δ V1–I1
Δ V3–I2
Sensitivity
False alarm
Critical miss
Paired AUROC
ECE
Qwen3 8B r
− 0.04
0.67 [0.58, 0.76]
87
13
0 [0, 0]
0.86
0.10
Qwen3 32B r
0.04
0.81 [0.76, 0.87]
89
5
0 [0, 0]
0.93
0.07
gpt-oss 20B r
− 0.01
0.69 [0.63, 0.75]
71
1
0 [0, 0]
0.81
0.19
gpt-oss 120B r
− 0.04
0.77 [0.67, 0.86]
96
14
0 [0, 0]
0.93
0.03
Gemma 3 27B
0.02
0.81 [0.76, 0.86]
85
3
0 [0, 0]
0.94
0.09
MedGemma 27B m
− 0.02
0.73 [0.68, 0.79]
78
3
33 [8, 67]
0.89
0.15
TABLE V: Performance of the six judges under V3–I2, with V1–I1 shown for comparison. Sensitivity, false alarms, and critical misses are percentages. Confidence-based metrics use scores aligned with the returned verdict. r Reasoning model; m medically tuned model.
Fault
n
Grader
Checker
Judges
Majority
F1 Wrong patient
60
100
100
98
100
F2 Dose magnitude
18
100
100
93
100
F3 Unit swap
60
100
30
99
100
F4 Ignored observation
60
100
100
78
85
F5 Skipped precondition
38
0
100
95
95
F6 Hallucinated observation
60
100
70
49
35
TABLE VI: Clinical fault detection rates for the benchmark grader, rule-based checker, and LLM judges (%).
Agent
Runs
Grader pass %
Passes flagged %
Pass and clean
gpt-oss 120B
630
48
0.7
301
Qwen3 32B
630
45
2.5
277
TABLE VII: Comparison of the benchmark grader and step checker on unmodified agent runs.
Large language model (LLM)-as-a-judge research uses language models to score, compare, and verify AI outputs as scalable alternatives to human evaluation.
Large language models (LLMs) now reach expert-level scores on medical licensing exams, encouraging the assumption that high scores imply safe medical judgment while patients increasingly use them for health advice. We show this assumption is fragile: when misleading context is injected into questions that LLMs originally answer correctly, they abandon the correct answer. We call the ability to maintain correct judgment under adversarial context epistemic resilience, and introduce MedMisBench to measure it. MedMisBench contains 10,932 medical question items and 48,889 misleading context-option pairs spanning medical reasoning, agentic capability, and patient-journey evaluation. Across 11 model configurations, mean accuracy falls from 71.1% on original questions to 38.0% under focused misleading context, with 51.5% attack success. The most damaging injections are formal, rule-like fabrications: authority-framed falsehoods reach 69.5% attack success and exception-poisoning claims reach 64.1%. A 14-member clinical panel from 7 countries identified serious potential harm in 38.2% of reviewed cases. MedMisBench exposes a structural blind spot in LLM evaluation in medical settings: existing benchmarks measure what models know, but not whether they preserve correct medical judgment under misleading context.
Hongjian Zhou, Xinyu Zou, Jinge Wu +19
University of Oxford · University of Washington · University College London +1
Clinical decisions are often required under incomplete information. Clinical experts must identify whether available information is sufficient for judgment, as both premature conclusion and unnecessary abstention can compromise patient safety. To evaluate this capability of large language models (LLMs), we developed ClinDet-Bench, a benchmark based on clinical scoring systems that decomposes incomplete-information scenarios into determinable and undeterminable conditions. Identifying determinability requires considering all hypotheses about missing information, including unlikely ones, and verifying whether the conclusion holds across them. We find that recent LLMs fail to identify determinability under incomplete information, producing both premature judgments and excessive abstention, despite correctly explaining the underlying scoring knowledge and performing well under complete information. These findings suggest that existing benchmarks are insufficient to evaluate the safety of LLMs in clinical settings. ClinDet-Bench provides a framework for evaluating determinability recognition, leading to appropriate abstention, with potential applicability to medicine and other high-stakes domains, and is publicly available.
Yusuke Watanabe, Yohei Kobashi, Takeshi Kojima +3
Kyoto University, Department of Biomedical Data Intelligence · Kyoto University, Department of Cardiovascular Medicine · The University of Tokyo
Large Language Models (LLMs) show great potential as clinical agents, yet existing benchmarks reduce clinical workflows to static predictions or unconstrained Markov Decision Processes (MDPs) with coarse action sets. To address this, we introduce GPAgentBench-2K, the first Constrained MDP (CMDP) LLM-agent benchmark for primary-care clinical decision-making, constructed from expert-validated records of real-world GP encounters. Our environment models a full spectrum of six foundational clinical actions, imposes a topological workflow prior over the action space, and operationalizes safety-informed abstention as a first-class outcome. Evaluating 16 state-of-the-art LLMs reveals a significant performance degradation as the action space scales. Crucially, we uncover a clinical quality-safety gap: even frontier models with the highest diagnosis accuracy violate safety constraints in over half of high-risk cases. Finally, we establish a reference point using Constrained Group Relative Policy Optimization (C-GRPO), and show that while explicitly modeling constraints improves performance over unconstrained RL methods, it remains far from clinically acceptable safety.