King's College London
UKRI EPSRC
Drive Health

Projects for October 2027 entry are now open.

Explore our updated website for more information about the DRIVE-Health programme and application process.

Projects

Back

Deadline for applications: Tuesday 19 January, 13:00 (UK time)

Project ID:
2728cfm077
Research Theme:
Co-designing Impactful Patient-Centric Healthcare Solutions, Multimodal Patient Data Streams, Next-Generation Clinical User Interfaces, Sustainable Healthcare Data Systems Engineering
Lead Supervisor:
Taiyu Zhu
Department:
Biostatistics and Health Informatics
2nd Supervisor:
Richard Dobson
3rd Supervisor:
James Teo
Project Pool:
Main Catalogue

Towards LLM Agents for Longitudinal Clinical Decision Support in Hospitals

Project Background

Clinical decisions at emergency admission depend on information distributed across years of notes, test results, medication records and discharge correspondence. Under time constraints, clinicians must identify the small subset that is relevant to the current presentation. This creates a defined informatics problem: synthesising a longitudinal record without losing temporal context, contradictory evidence or the provenance of individual clinical statements.

Two lines of published work now make this study possible. Foresight represents a patient as an evolving sequence of clinical concepts and shows the feasibility of learning temporal patient states from structured and unstructured hospital records. In parallel, medical agents have been evaluated in simulated electronic health records, compared with clinicians under matched task conditions and deployed on-premise with decision-time reliability estimates. Prospective evaluation in emergency care also indicates that adoption, workload and fit with routine practice must be measured directly.

These studies point to a broader question: can an agent use the full longitudinal record to support time-critical hospital decisions without obscuring where its information came from? Existing systems are usually evaluated on isolated questions, short record excerpts or retrospective endpoints. LongMemEval and MemoryAgentBench instead frame memory as an incremental process involving retrieval, temporal reasoning, knowledge updating, selective retirement and abstention. Stateful agent benchmarks further show that reliable tool use requires evaluation of intermediate state changes and consistency across repeated runs, not only the final answer. This project will translate these advances into an on-premise hospital agent evaluated on realistic longitudinal tasks and workflow measures.

The project will focus on synthesis of the longitudinal record at emergency admission. The agent will assemble active problems, relevant history, medications, allergies and prior concerns, while retaining links to the documents used. Discharge-summary generation will provide a transfer task to test whether the same agent architecture generalises to a related hospital workflow.

Project Aims and Objectives

The project will develop and evaluate an open-weight hospital AI agent that runs within approved local infrastructure. The agent will select among patient-history search, temporal normalisation, medication reconciliation, calculation and summarisation tools according to the clinical task, available evidence and a defined computational budget. The research will compare record representation, planning, memory and prediction-reward scoring as separate components, and determine when further retrieval is unlikely to resolve uncertainty and clinician review is required.

The technical innovation is a three-layer patient-state architecture coupled to a compact prediction-reward model. A source-linked temporal graph will preserve documented events. A bounded longitudinal memory will carry task-relevant state across tool calls. A predictive trajectory state will guide evidence acquisition but will not be accepted as evidence for a clinical claim. Memory entries will be typed and evidence-linked, with explicit operations for writing, linking, revising and retiring information. The reward model will act as a classifier-based judge, assigning probabilities to candidate claims, memory updates and next actions. Its scores will guide evidence retrieval, revision, stopping and hand-over.

The primary research question is whether this architecture can produce more accurate, relevant and efficient longitudinal clinical syntheses than long-context, fixed-retrieval and single-pass language-model baselines. Evaluation will measure factual support, safety-critical omission, clinician correction burden, latency and computational cost. Incremental memory tests will assess retrieval, temporal reasoning, update fidelity, contradiction preservation, selective retirement, stale-entry errors, evidence traceability and appropriate abstention. The reward model will be compared with prompted generative judges and task-specific classifiers using ranking accuracy, calibration, label efficiency, latency and compute. Stateful tool-use tests will score both the final synthesis and the correctness of intermediate patient-state transitions, including reliability across repeated runs. Prespecified ablations will separate the contributions of record representation, longitudinal memory, cost-aware tool selection, reward-model scoring and hand-over policies. Acute admission synthesis will provide the main evaluation setting, with discharge summaries used for transfer evaluation.

Data and Evaluation

King’s College Hospital provides the intended evaluation setting. CogStack has processed over twelve million free-text documents and more than 250 million diagnostic results, while MedCAT has produced 157 million SNOMED concepts from 9.5 million documents covering 1.07 million patients over nine years. CPRD Aurum with linked Hospital Episode Statistics will extend validation to population-scale longitudinal care pathways, including pre-admission context and transitions between primary and secondary care. Public datasets will support method development and external comparison: MIMIC-IV and eICU for hospital records, EHRSHOT for longitudinal evaluation outside intensive care and BRIDGE for real-world clinical text.

Evaluation will follow a staged, claim-matched protocol. Retrospective development will establish fixed baselines and controlled stress tests for missing, duplicated, contradictory and temporally displaced evidence. Factorial ablations will measure factual support, safety-critical omission, retrieval efficiency, latency and computational cost. The reward model will be assessed separately for ranking accuracy, calibration, label efficiency and selective prediction. A held-out hospital evaluation will use blinded clinician adjudication, followed by a workflow simulation measuring correction time, review burden and actionability under matched access conditions. A silent prospective study will then measure latency, drift and reliability on incoming admissions before any output is shown to clinicians or used in care. Outcomes, subgroup analyses and progression thresholds will be specified before the prospective phase.

Suitable Background

The project is suitable for a student with a strong quantitative background in computer science, engineering, data science, health informatics or statistics. Applicants should have strong programming skills and a sound understanding of modern machine learning. Experience in natural language processing, retrieval or research software engineering would be useful. Clinical training is not required.

Skills and Experience Provided

The student will develop expertise in clinical language model evaluation, longitudinal health-record modelling, agent planning, prediction-reward modelling, tool use, retrieval, provenance, calibration, reliability assessment and human-centred evaluation. They will work with clinicians, information-governance specialists and public contributors in a secure hospital data environment. Models will run on approved local infrastructure, including King’s CREATE and local GPUs at CogStack, so that identifiable records are not transferred to external model providers.