EHR-RobustGym: Benchmarking and Training Agents for Robust Clinical Reasoning

Yitong Qiao, Yancheng Jin, Lei Liu, Yue Shen, Jian Wang +2 more
9/30/2026
cs.AIcs.LG
benchmark-dataset

No confident code implementation found for this paper.

Abstract

In hospital workflows, electronic health records (EHRs) are often noisy, and may not contain the evidence needed to confirm events or measurements referenced in a clinical query. Even when database retrieval succeeds, clinical agents can overlook such discrepancies and return plausible but unsupported answers.

Show full abstract

We introduce EHR-RobustGym, a scalable and interactive environment for evaluating and training robust clinical agents grounded in noisy EHRs. Built on MIMIC-IV hospital records (365K patients, 31 tables, and over 500M records), EHR-RobustGym comprises 5,486 Clean-Noise pairs spanning six clinical intents and both patient-level and population-level queries. The pairs test robustness to Record-level, Value-level, and Query-level noise, while interactive SQL/Python execution and outcome verification support trajectory collection and training. Evaluating multiple LLMs reveals substantial robustness gaps: average task success across proprietary and large-scale open-weight models drops from 62.2% on Clean questions to 37.9% on Noise questions. At k=4, pass^k consistency falls below 50% for most evaluated models, exposing instability in clinical task completion. Supervised fine-tuning and reinforcement learning in EHR-RobustGym improve performance, with gains generalizing to five external EHR benchmarks. Together, these results position EHR-RobustGym as a testbed for evaluating and improving the evidence-grounded robustness of clinical agents.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{qiao2026ehrrobustgym,
  title  = {EHR-RobustGym: Benchmarking and Training Agents for Robust Clinical Reasoning},
  author = {Yitong Qiao and Yancheng Jin and Lei Liu and Yue Shen and Jian Wang and Jinjie Gu and Zhixuan Chu},
  year   = {2026},
  eprint = {2609.39371},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.39371v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.39371.svg)](https://codeofpaper.com/paper/2609.39371)

Discussion