EHR-Complex: Benchmarking Medical Agents for Complex Clinical Reasoning
On the map: LLM reasoning → Clinical and biomedical applications
also in 1 more
Abstract (arXiv)
Clinical agents promise to democratize access to electronic health records (EHRs), yet existing benchmarks fail to reflect the complexity of practical EHR analysis, e.g., often operating on idealized, clean EHRs via static SQL generation rather than interactive execution. In this work, we introduce EHR-Complex, a large-scale benchmark designed for interactive clinical database reasoning. Built on the large MIMIC-IV substrate (365K patients, 31 tables, 500M+ records), EHR-Complex comprises about 52K tasks spanning six clinical intents, supporting both patient-level and population-level queries, where each task requires an agent to interact with a sandboxed environment by executing SQL queries or Python code. Notably, EHR-Complex considers the real-world SQL task complexity for longitudinal multi-table aggregation and compositional reasoning, resulting in 31.93 SQL structural components per query on average. Evaluation results on EHR-Complex reveal the clinical difficulty of these EHR reasoning scenarios, with the top-performing model achieving only 62.3% exact-match accuracy. Pass^k consistency drops below 50% for nearly all evaluated models at k=4, exposing broad stochastic fragility. A fine-grained analysis of more than 3,800 failed trajectories for representative LLMs reveals three dominant failure modes: SQL logic errors, medical-code lookup failures, and semantic misunderstandings. EHR-Complex provides a rigorous testbed for clinical agents and highlights remaining gaps in robust reasoning for large-scale EHR analysis.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Placed in Clinical and biomedical applications, one of 17 directions in LLM reasoning. Builds on 5 of its 27 references that are in the map. First posted on arXiv 22 Jun 2026.
Builds on
5 of 27 references.
References · 5
- 2024GPT-4o System Cardcited by 4,467
- 2024τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domainscited by 1,280
- 2024DeepSeek-V3 Technical Reportcited by 724
- 2026Kimi K2.5: Visual Agentic Intelligencecited by 449
- 2025FHIR-AgentBench: Benchmarking LLM Agents for Realistic Interoperable EHR Question Answeringcited by 20
Built on by
Citing papers per year: 2026: 5.
5 papers.
- 2026The Path to Self-Evolving Clinical Systems: Scaling Medical Agents from Assistance to Autonomycited by 1
- 2026CliniCARE-Bench: Clinical Calibrated Audit of Medical Reasoning in EHRcited by 1
- 2026MedDDC-Eval: Diagnosis-Decoupled Evaluation of Multi-Turn Medical Consultation Agentscited by 0
- 2026Synthetic Hospital: An Open, Verifiable, Physician-Validated Longitudinal EHR Benchmarkcited by 0
- 2026EHR-RobustGym: Benchmarking and Training Agents for Robust Clinical Reasoningcited by 0
- 2026EHR-RobustGym: Benchmarking and Training Agents for Robust Clinical Reasoning30 Sep 2026
- 2026Synthetic Hospital: An Open, Verifiable, Physician-Validated Longitudinal EHR Benchmark24 Sep 2026
- 2026CliniCARE-Bench: Clinical Calibrated Audit of Medical Reasoning in EHR7 Aug 2026
- 2026MedDDC-Eval: Diagnosis-Decoupled Evaluation of Multi-Turn Medical Consultation Agents21 Jul 2026
- 2026The Path to Self-Evolving Clinical Systems: Scaling Medical Agents from Assistance to Autonomy13 Jul 2026
Similar, not cited
Close in wording, no citation either way
- 2026ART: Action-based Reasoning Task Benchmarking for Medical AI Agents
- 2025EHR-R1: A Reasoning-Enhanced Foundational Language Model for Electronic Health Record Analysis
- 2026Patient-Similarity Cohort Reasoning in Clinical Text-to-SQL
- 2026ClinEnv: An Interactive Multi-Stage Long Horizon EHR Environment for Agents
- 2025From Conversation to Query Execution: Benchmarking User and Tool Interactions for EHR Database Agents
- 2026Beyond Prediction: Longitudinal Reasoning in EHR-Integrated Clinical AI ↗
- 2026LongMedBench: Benchmarking Medical Agents for Long-Horizon Clinical Decision-Making
- 2026PhysicianBench: Evaluating LLM Agents in Real-World EHR Environments