Research map / Large language models / Agents, code and math
EHRAgent: Code Empowers Large Language Models for Few-shot Complex Tabular Reasoning on Electronic Health Records
Wenqi Shi, Ran Xu, Yuchen Zhuang, Yue Yu, Jieyu Zhang, Hang Wu, Yuanda Zhu, Joyce Ho, Carl Yang, May D. Wang
Georgia Institute of Technology · Emory University · University of Washington
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use EHRAgent instead of the strongest baseline | LLM agents with GPT-4 · MIMIC-III | success rate (%): 39.05 -> 58.97 | Improved |
| use EHRAgent instead of the strongest baseline | LLM agents with GPT-4 · eICU | success rate (%): 40.69 -> 53.10 | Improved |
| use EHRAgent instead of the strongest baseline | LLM agents with GPT-4 · TREQS | success rate (%): 40.10 -> 69.70 | Improved |
| add medical information integration (ablation) | EHRAgent · MIMIC-III | success rate (%): 33.66 -> 58.97 | Improved |
| add long-term memory demonstrations (ablation) | EHRAgent · MIMIC-III | success rate (%): 51.73 -> 58.97 | Improved |
| add interactive coding with code plans (ablation) | EHRAgent · MIMIC-III | success rate (%): 24.55 -> 58.97 | Improved |
| add rubber duck debugging via error tracing (ablation) | EHRAgent · MIMIC-III | success rate (%): 42.86 -> 58.97 | Improved |
| use natural-language agents without environmental feedback (CoT, Self-Consistency, Chameleon) | baselines · MIMIC-III, eICU, TREQS | success rate (%): all below 40% | Hurt |
| increase number of demonstrations | AutoGen · MIMIC-III | success and completion rate | Hurt |
| increase number of demonstrations | EHRAgent · MIMIC-III | success and completion rate | No clear effect |
| replace GPT-4 with GPT-3.5-turbo base LLM | EHRAgent and baselines · MIMIC-III | success rate: EHRAgent still outperforms all baselines with gain of 6.72% | Hurt |
Later papers that compared with this method
1 later accepted paper reports EHRAgent as a baseline in their results tables; 0 of them report a better number on most of the results they share with it.
- HypEHR: Hyperbolic Modeling of Electronic Health Records for Efficient Question Answering (ACL 2026 · better on 1 of 2 shared results)
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Open problems in mathematical and structural reasoning benchmarks
Which reasoning benchmarks hold up beyond one language, text-only prompts and one judge model?
- Benchmarks cover one language or a few high-resource ones. · 25 papers state it
- Evaluation and inference cost more than the plain baseline. · 12 papers state it
- Tasks are text-only, with no images, audio or other modalities. · 11 papers state it
Closest papers by meaning
- Toward Better EHR Reasoning in LLMs: Reinforcement Learning with Expert Attention Guidance (AAAI 2026 · similarity 0.88)
- Instruction Tuning Large Language Models to Understand Electronic Health Records (NeurIPS 2024 · similarity 0.87)
- From Conversation to Query Execution: Benchmarking User and Tool Interactions for EHR Database Agents (ICLR 2026 · similarity 0.86)
- PhysicianBench: Evaluating LLM Agents in Real-World EHR Environments (NeurIPS 2026 · similarity 0.85)
- MedLA: A Logic-Driven Multi-Agent Framework for Complex Medical Reasoning with Large Language Models (AAAI 2026 · similarity 0.85)
- MedChain: Bridging the Gap Between LLM Agents and Clinical Practice with Interactive Sequence (NeurIPS 2025 · similarity 0.85)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.