mlsanityData to 26 Nov 2026

Benchmark of THReD: Evaluating an LLM Agent and Its Preprocessing Tools for Turning Electronic Health Records into AI-Ready Datasets

arXiv 2611.02484 ↗Submitted 2 Nov 2026cs.AIcited by 0

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

Abstract (arXiv)

LLM agents are increasingly built into data-analysis software, yet little evidence shows how reliably they preprocess clinical data or whether the tools they invoke give correct, reproducible output. We report a benchmark of THReD, a web-based system that turns electronic health record (EHR) extracts into AI-ready datasets through a chat agent whose proposed steps run only after user confirmation. The agent benchmark has 141 tasks (100 templates) in seven categories, including goal-level requests, failure recovery, requests calling for no action, schema variation and prompt injection through the data, on synthetic tables calibrated to a regional health information exchange; success is judged by checks on the produced data. Over 2,550 episodes with Claude Haiku 5.5 in four context configurations, the deployed agent completed 92.7% (95% CI 88.1-96.4) of tasks on its first answer, abstained on every advice request, recovered from every injected fault, and never proposed an action requested by planted text. Without the data profile, completion fell to 58.0%; goal-level requests were hardest (80.6%). Six experiments on real records of two chronic-disease cohorts and on synthetic data at scale validate the tools: 91-92% of inferred patient classes and 99.7-99.8% of inferred vital-sign labels were correct in masked reconstruction; a dictionary builder combining curated dictionaries with LLM suggestions mapped 99.0% of 2,208 raw variants correctly; all 2,176 replays of 128 saved pipelines gave byte-identical files under pinned dependencies; subgroup differences in inference accuracy vanished within facility and lookup key; and the same-day consolidation rule changed 90-day emergency revisit rates by up to 3.2 points without shifting cohort composition by more than one point. Processing time grew roughly linearly to 5.5 million records while the prompt stayed at about 13 thousand tokens.

Key facts. No citing papers in the map yet (data through 26 Nov 2026). Placed in Medical and scientific domain agents, one of 16 directions in LLM agents and tool use. Builds on 21 of its 25 references that are in the map. Submitted 2 Nov 2026.

Builds on

21 of 25 references.

References · 21

  1. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,765
  2. 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,340
  3. 2023MemGPT: Towards LLMs as Operating Systemscited by 1,655
  4. 2025A-MEM: Agentic Memory for LLM Agentscited by 1,253
  5. 2024Evaluating Very Long-Term Conversational Memory of LLM Agentscited by 977
  6. 2024LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memorycited by 876
  7. 2023MemoryBank: Enhancing Large Language Models with Long-Term Memorycited by 630
  8. 2025Memory-R1: Enhancing Large Language Model Agents to Manage and Utilize Memories via Reinforcement Learningcited by 263
  9. 2025LightMem: Lightweight and Efficient Memory-Augmented Generationcited by 222
  10. 2025Memory OS of AI Agentcited by 175
  11. 2025On Memory Construction and Retrieval for Personalized Conversational Agentscited by 118
  12. 2026Agentic Memory: Learning Unified Long-Term and Short-Term Memory Management for Large Language Model Agentscited by 91
9 more
  1. 2025From Single to Multi-Granularity: Toward Long-Term Memory Association and Selection of Conversational Agentscited by 35
  2. 2026StructMem: Structured Memory for Long-Horizon Behavior in LLMscited by 23
  3. 2025ZARA: Training-Free Motion Time-Series Reasoning via Evidence-Grounded LLM Agentscited by 18
  4. 2025Shifting from Ranking to Set Selection for Retrieval Augmented Generationcited by 17
  5. 2026Chronos: Temporal-Aware Conversational Agents with Structured Event Retrieval for Long-Term Memorycited by 9
  6. 2026HiGMem: A Hierarchical and LLM-Guided Memory System for Long-Term Conversational Agentscited by 9
  7. 2026D-Mem: A Dual-Process Memory System for LLM Agentscited by 7
  8. 2026When Your Agent Opens the Chat App: Agent-Controlled Search over Raw Chat Logs Rivals Structured Memorycited by 7
  9. 2026CueMem: Cue-Guided Context Reconstruction for Long-Term Conversational Memorycited by 3

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026ART: Action-based Reasoning Task Benchmarking for Medical AI Agents
  2. 2025MedAgentBench: A Realistic Virtual EHR Environment to Benchmark Medical LLM Agents
  3. 2025FHIR-AgentBench: Benchmarking LLM Agents for Realistic Interoperable EHR Question Answering
  4. 2026PhysicianBench: Evaluating LLM Agents in Real-World EHR Environments
  5. 2026Can LLM Agents Generate Real-World Evidence? Evaluating Observational Studies in Medical Databases
  6. 2024LLMs-based Few-Shot Disease Predictions using EHR: A Novel Approach Combining Predictive Agent Reasoning and Critical Agent Instruction
  7. 2026EHR-RobustGym: Benchmarking and Training Agents for Robust Clinical Reasoning
  8. 2026AgentRx: A Benchmark Study of LLM Agents for Multimodal Clinical Prediction Tasks