mlsanityData to 14 Oct 2026

From Conversation to Query Execution: Benchmarking User and Tool Interactions for EHR Database Agents

arXiv 2509.23415 ↗First posted 27 Sep 2025cs.AIcited by 1

On the map: LLM agents and tool use → Medical and scientific domain agents

Abstract (arXiv)

Despite the impressive performance of LLM-powered agents, their adoption for Electronic Health Record (EHR) data access remains limited by the absence of benchmarks that adequately capture real-world clinical data access flows. In practice, two core challenges hinder deployment: query ambiguity from vague user questions and value mismatch between user terminology and database entries. To address this, we introduce EHR-ChatQA, an interactive database question answering benchmark that evaluates the end-to-end workflow of database agents: clarifying user questions, using tools to resolve value mismatches, and generating correct SQL to deliver accurate answers. To cover diverse patterns of query ambiguity and value mismatch, EHR-ChatQA assesses agents in a simulated environment with an LLM-based user across two interaction flows: Incremental Query Refinement (IncreQA), where users add constraints to existing queries, and Adaptive Query Refinement (AdaptQA), where users adjust their search goals mid-conversation. Experiments with state-of-the-art LLMs (e.g., o4-mini and Gemini-2.5-Flash) over five i.i.d. trials show that while the best-performing agents achieve Pass@5 of over 90% (at least one of five trials) on IncreQA and 60-70% on AdaptQA, their Pass^5 (consistent success across all five trials) is substantially lower, with gaps of up to about 60%. These results underscore the need to build agents that are not only performant but also robust for the safety-critical EHR domain. Finally, we provide diagnostic insights into common failure modes to guide future agent development. Our code and data are publicly available at https://github.com/glee4810/EHR-ChatQA.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Medical and scientific domain agents, one of 16 directions in LLM agents and tool use. Builds on 4 of its 30 references that are in the map. First posted on arXiv 27 Sep 2025.

Builds on

4 of 30 references.

Closest ancestors · 2

Same direction, newest first

  1. 2025MedAgentGym: A Scalable Agentic Training Environment for Code-Centric Reasoning in Biomedical Data Science4 Jun
  2. 2025MedAgentBench: A Realistic Virtual EHR Environment to Benchmark Medical LLM Agents24 Jan

Other references · 2

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  2. 2024Reliable LLM-based User Simulator for Task-Oriented Dialogue Systemscited by 25

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2025FHIR-AgentBench: Benchmarking LLM Agents for Realistic Interoperable EHR Question Answering
  2. 2026EHRNavigator: A Multi-Agent System for Patient-Level Clinical Question Answering over Heterogeneous Electronic Health Records
  3. 2026EHR-Complex: Benchmarking Medical Agents for Complex Clinical Reasoning
  4. 2026EHR-RobustGym: Benchmarking and Training Agents for Robust Clinical Reasoning
  5. 2025SCARE: A Benchmark for SQL Correction and Question Answerability Classification for Reliable EHR Question Answering
  6. 2024The Geometry of Queries: Query-Based Innovations in Retrieval-Augmented Generation for Healthcare QA
  7. 2023On Evaluating the Integration of Reasoning and Action in LLM Agents with Database Question Answering
  8. 2026GraphRAG on Consumer Hardware: Benchmarking Local LLMs for Healthcare EHR Schema Retrieval