Can LLM Agents Generate Real-World Evidence? Evaluating Observational Studies in Medical Databases
On the map: LLM agents and tool use → Medical and scientific domain agents
Abstract (arXiv)
Observational studies can yield clinically actionable evidence at scale, but executing them on real-world databases is open-ended and requires coherent decisions across cohort construction, analysis, and reporting. Prior evaluations of LLM agents emphasize isolated steps or single answers, missing the integrity and internal structure of the resulting evidence bundle. To address this gap, we introduce RWE-bench, a benchmark grounded in MIMIC-IV and derived from peer-reviewed observational studies. Each task provides the corresponding study protocol as the reference standard, requiring agents to execute experiments in a real database and iteratively generate tree-structured evidence bundles. We evaluate six LLMs (three open-source, three closed-source) under three agent scaffolds using both question-level correctness and end-to-end task metrics. Across 162 tasks, task success is low: the best agent reaches 39.9%, and the best open-source model reaches 30.4%. Agent scaffolds also matter substantially, causing over 30% variation in performance metrics. Furthermore, we implement an automated cohort evaluation method to rapidly localize errors and identify agent failure modes. Overall, the results highlight persistent limitations in agents' ability to produce end-to-end evidence bundles, and efficient validation remains an important direction for future work. Code and data are available at https://github.com/somewordstoolate/RWE-bench.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Placed in Medical and scientific domain agents, one of 16 directions in LLM agents and tool use. Builds on 22 of its 45 references that are in the map. First posted on arXiv 24 Mar 2026.
Builds on
22 of 45 references.
Closest ancestors · 2
Same direction, newest first
- 2025ReasonMed: A 370K Multi-Agent Generated Dataset for Advancing Medical Reasoning11 Jun
- 2025MedAgentBench: A Realistic Virtual EHR Environment to Benchmark Medical LLM Agents24 Jan
Other references · 20
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2024OSWorld: Benchmarking Multimodal Agents for Open-Ended Tasks in Real Computer Environmentscited by 1,134
- 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 956
- 2022DS-1000: A Natural and Reliable Benchmark for Data Science Code Generationcited by 442
- 2024MLE-bench: Evaluating Machine Learning Agents on Machine Learning Engineeringcited by 429
- 2023MLAgentBench: Evaluating Language Agents on Machine Learning Experimentationcited by 339
- 2025PaperBench: Evaluating AI's Ability to Replicate AI Researchcited by 286
- 2024Data Interpreter: An LLM Agent For Data Sciencecited by 222
- 2025WebSailor: Navigating Super-human Reasoning for Web Agentcited by 218
- 2025Lingshu: A Generalist Foundation Model for Unified Multimodal Medical Understanding and Reasoningcited by 217
- 2024The BrowserGym Ecosystem for Web Agent Researchcited by 152
- 2024DS-Agent: Automated Data Science by Empowering Large Language Models with Case-Based Reasoningcited by 119
8 more
- 2024DSBench: How Far Are Data Science Agents from Becoming Data Science Experts?cited by 119
- 2023ACI-BENCH: a Novel Ambient Clinical Intelligence Dataset for Benchmarking Automatic Visit Note Generationcited by 116
- 2024MedCalc-Bench: Evaluating Large Language Models for Medical Calculationscited by 64
- 2025MLR-Bench: Evaluating AI Agents on Open-Ended Machine Learning Researchcited by 57
- 2023MedAlign: A Clinician-Generated Dataset for Instruction Following with Electronic Medical Recordscited by 54
- 2023EHRSQL: A Practical Text-to-SQL Benchmark for Electronic Health Recordscited by 42
- 2023BioCoder: A Benchmark for Bioinformatics Code Generation with Large Language Modelscited by 24
- 2025DAgent: A Relational Database-Driven Data Analysis Report Generation Agentcited by 12
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2026Time to REFLECT: Can We Trust LLM Judges for Evidence-based Research Agents?
- 2026FastOMOP: A Foundational Architecture for Reliable Agentic Real-World Evidence Generation on OMOP CDM data
- 2024Agentic LLM Workflows for Generating Patient-Friendly Medical Reports
- 2026MedicalHarness: A Controlled Evaluation of LLMs and Agent Harnesses on Medical Tasks
- 2026AgentRx: A Benchmark Study of LLM Agents for Multimodal Clinical Prediction Tasks
- 2026ClinSeekAgent: Automating Multimodal Evidence Seeking for Agentic Clinical Reasoning
- 2026LUMEN: Cost-Transparent Multi-Agent Pipeline for Automated Systematic Review and Meta-Analysis
- 2026Ascent: An Agentic System over the Model Context Protocol for Real-World Clinical Data Analysis