Abstract
Objective:
Predicting health outcomes from electronic health records (EHRs) is challenging because traditional models rely on structured data and often ignore external medical knowledge. We propose an approach that integrates structured EHR with text‑based clinical evidence to improve prediction and interpretability.
Methods:
We introduce PHO-Agents, a multi-agent system powered by large language models (LLMs) for health outcome prediction. Structured EHR sequences are encoded to produce attention-based representations and initial logits, which are converted into patient summaries by a data agent. A retrieval agent gathers relevant clinical guidelines. Research and practical doctor agents independently assess the patient, and a leader agent synthesizes their analyses. Outputs from the EHR-based model and the LLM agents are fused to generate final predictions and explanation reports. PHO-Agents was evaluated on three real-world cohorts: acute kidney injury (AKI) patients (in-hospital mortality), chronic kidney disease patients (AKI onset within two years), and cancer patients receiving immune checkpoint inhibitors (immune-related adverse events within one year).
Results:
PHO-Agents outperformed single-agent and multi-agent LLM baselines across all cohorts. In the AKI mortality task, it achieved a PR-AUC of 90.20 ± 2.07, compared with 56.46 ± 2.98 for the best single-agent baseline. Similar gains were observed in the ICI and CKD cohorts. Ablation studies showed that both multi-agent reasoning and logit-level fusion contributed to performance improvements, and case analyses demonstrated clinically consistent explanations.
Conclusion:
PHO-Agents integrates longitudinal EHR modeling with collaborative LLM reasoning, improving predictive performance, interpretability, and robustness across diverse clinical tasks. This hybrid approach offers a trustworthy strategy for real-world clinical decision support.
Keywords: Health outcome prediction, Knowledge retrieval, Electronic health records (EHR), Multimodal data integration, Large language models (LLMs), Multi-agent systems, Clinical decision support
INTRODUCTION
As healthcare systems transition toward digital infrastructures, diverse data sources such as laboratory measurements, medications, diagnoses, clinic notes, and medical images, support a wide range of data-driven applications aimed at improving patient care and health outcome prediction1-3. Among these resources, structured electronic health records (EHRs) are collected through standardized clinical workflows, making data reliable and well-suited for large-scale deep learning models4,5. Over the past decade, deep learning models have played a major role in leveraging structured EHR data for predictive tasks. Models such as recurrent neural networks, temporal convolutional networks, and transformers can capture complex longitudinal patterns in patient trajectories and achieve strong performance in predicting outcomes such as mortality, hospital readmission, chronic disease onset, and treatment toxicity3,6-8. However, most EHR-based predictive models rely on structured inputs and lack access to the broader biomedical knowledge that clinicians use during clinical reasoning and therapeutic decision making9-11. Without the ability to incorporate biomedical literature or evidence-based clinical guidelines, these deep learning models typically function as "black boxes" and struggle to provide interpretable justifications for their predictions12,13. This creates a gap between algorithmic output and real-world clinical reasoning, ultimately limiting the usefulness of these models in practice, where transparent and explainable decision support is essential for clinical adoption14,15.
Recent advances in large language models (LLMs) have created new opportunities for health outcome prediction and improved interpretability through natural-language reasoning16,17. Compared with traditional deep learning models, LLMs provide strong natural language reasoning capabilities and can synthesize diverse sources of biomedical knowledge, including scientific literature, disease mechanisms, and medical practical guidelines. In particular, Retrieval-Augmented Generation (RAG) techniques enable LLMs to retrieve relevant medical evidence and incorporate it into the reasoning process, generating explanations that resemble expert clinical interpretation. Early applications in clinical question answering, guidelines interpretation, and medical summarization highlight the potential of LLMs to enhance medical decision support by combining evidence retrieval with advanced reasoning18-24. Despite these advantages, single-LLM systems face several critical limitations. They may generate inconsistent predictions for the same patient across different data modalities, struggle to integrate specialized domain knowledge, and often underperform models trained on structured EHR data3,25. These limitations can lead to instability, hallucinations, and insufficient grounding in real-world clinical data26. To address these issues, recent research has explored multi-agent LLM frameworks that simulate collaboration among specialized clinical experts. In such multi-agent LLM systems, different agents are assigned distinct roles, such as diagnostician, evidence reviewer, or conflict resolver, allowing complex tasks to be decomposed into subtasks handled through collaboration and iterative debate18,21,24,27-29. Frameworks such as MedAgents24, ReConcile18 and Multi-Agent Debate (MAD)21 demonstrate that structured coordination across agents reduces reasoning errors, mitigates hallucinations, and improves transparency.
Taken together, these observations highlight a critical gap in current approaches. Structured EHR models provide strong predictive performance by effectively capturing longitudinal patterns in patient data, yet they offer limited interpretability and lack access to the broader biomedical knowledge that underpins clinical decision-making. In contrast, LLM-based approaches provide rich reasoning capabilities and can synthesize diverse sources of biomedical knowledge12,15, but they often lack grounding in structured patient data and may produce unstable or inconsistent outputs. The strengths of these paradigms are therefore highly complementary, addressing each other’s key limitations. Integrating these approaches offers a promising opportunity to develop predictive systems that are both accurate and interpretable. Multi-agent LLM frameworks further enable structured collaboration among specialized reasoning components, allowing the system to evaluate evidence, discuss alternative interpretations, and produce more reliable conclusions. These complementary capabilities motivate the development of hybrid architectures that combine structured predictive modeling with collaborative LLM reasoning to support more trustworthy and clinically meaningful health outcome prediction.
To bridge this gap and fully leverage these complementary strengths, we propose PHO-Agents, a hybrid multi-agent framework that integrates structured EHR modeling with collaborative LLM reasoning for predicting health outcomes. The framework combines two important data sources: structured EHR features, and external biomedical knowledge retrieved from PubMed and specialized clinical practice guidelines. PHO-Agents employs a coordinated reasoning process across five specialized agents, i.e. data agent, retrieval agent, research doctor agent, practical doctor agent and leader agent. Within this framework, structured EHR data are first processed by a structured EHR model, and the predictive signals are provided to the multi-agents reasoning module. In this module, specialized agents are responsible for interpreting patient data, retrieving relevant medical evidence, performing clinical reasoning, and synthesizing final predictions. PHO-Agents offers three main contributions. First, it introduces a unified prediction framework that integrates structured EHR modeling with LLM-based clinical reasoning, bridging structured data-driven prediction and knowledge-driven interpretation within a single architecture. Second, the framework demonstrates improved predictive performance. Across multiple real-world clinical datasets, it outperforms models based solely on structured EHR deep learning as well as systems relying exclusively on LLMs, including both single-LLM and multi-agent approaches. Third, the framework demonstrates practical deployability and efficiency. Only the structured predictive model requires training, avoiding LLM fine-tuning and enabling implementation with modest computational resources and low API cost.
METHODS
Cohort Definition
This study utilized structured patient-level EHR data from two sources: the MIMIC-IV critical care database30 and the University of Florida Health Integrated Data Repository (UFHealth IDR)31. MIMIC-IV is a publicly available database developed by the MIT Laboratory for Computational Physiology and contains de-identified electronic health records from patients admitted to the Beth Israel Deaconess Medical Center30. The UFHealth IDR is a secure clinical data warehouse and aggregates data from UF Health multiple clinical and administrative platforms, including the Epic electronic health record system. The repository contains over one billion clinical observations covering more than 2 million patients, enabling large-scale studies that support scientific discovery and improvements in patient care and healthcare quality31. All analyses were limited to adult patients aged 18 years or older. Observation windows for each cohort were defined based on the index diagnosis or treatment dates described below. Patients were excluded if essential demographic fields or outcome relevant time stamps were missing. This study obtained MIMIC-IV access through PhysioNet credentialing and approval from the UF Institutional Review Board (IRB), IRB202600454.
To evaluate the proposed framework across diverse clinical settings, we constructed three cohorts spanning critical care, chronic disease management, and oncology. Specifically, these include (1) an acute kidney injury (AKI) cohort of ICU patients with in-hospital mortality as the outcome, (2) a chronic kidney disease (CKD) cohort with prediction of future AKI risk, and (3) an immune checkpoint inhibitor (ICI) cohort of cancer patients with prediction of immune-related adverse events (irAEs). All cohorts were defined using standardized diagnosis and treatment codes, clinically relevant features, and well-defined observation windows to ensure consistency and robustness across datasets.
For the AKI cohort, we identified a clinically relevant subset of ICU patients who experienced AKI with tubular necrosis from the MIMIC-IV dataset. The primary outcome was in-hospital mortality, defined as discharge disposition recorded as death. AKI with tubular necrosis was identified using ICD-9 code 584.5 and ICD-10 code N17.0. Patients were required to have at least one ICU stay with complete demographic information, complete admission and discharge time stamps, and sufficient longitudinal clinical measurements. To construct a structured and time ordered analytic dataset, we selected vital signs and laboratory features commonly used in critical care assessment. These included demographics (sex, age, height, and weight), hemodynamic indicators (systolic, diastolic, and mean blood pressure and heart rate), respiratory measurements (respiratory rate, oxygen saturation, and fraction of inspired oxygen), metabolic or laboratory values (blood glucose and pH), body temperature, and neurological assessments captured by the three components of the Glasgow Coma Scale. Record time was retained to preserve longitudinal ordering, and a binary outcome label was included for conducting supervised learning.
For the CKD cohort, we included patients with a diagnosis of CKD from the UFHealth IDR. The primary outcome was the occurrence of AKI within two years following the initial CKD diagnosis. CKD cases were defined using ICD-10 codes N18.x and ICD-9 codes 585.x, while AKI events were identified using ICD-10 codes N17.x and ICD-9 codes 584.x. Patients with less than two years of follow-up were excluded to ensure adequate outcome observation. Laboratory features were selected based on clinical relevance and prevalence, including renal function indicators (e.g., serum creatinine, blood urea nitrogen), hematologic parameters (e.g., hemoglobin), serum glucose, electrolytes (e.g., sodium, potassium, calcium), liver function markers (e.g., bilirubin, alkaline phosphatase), and differential cell counts. Demographics (age, sex, and race) were also included to provide patient context and support adjustment for potential confounders.
For the ICI cohort, we identified cancer patients who received ICI therapy from the UFHealth IDR. The primary outcome was the occurrence of irAEs within one year after initiation of ICI therapy. Cancer diagnoses were identified using ICD-10 codes C00–C97 and ICD-9 codes 140–209. ICI exposure included FDA-approved PD-L1 inhibitors (e.g., atezolizumab, durvalumab, avelumab), PD-1 inhibitors (e.g., nivolumab, pembrolizumab, cemiplimab), and CTLA-4 inhibitors (e.g., ipilimumab), administered alone or in combination. Exposure was identified using RxNorm, NDC, and HCPCS codes across prescribing, dispensing, administration, and procedure tables. The earliest recorded administration date was defined as the index treatment date. irAEs were defined as new diagnoses occurring within one year after treatment initiation, based on ICD-9 and ICD-10 codes covering multiple organ systems. Patients with missing treatment dates or insufficient follow-up were excluded.
Data Preprocessing
All three datasets were processed using a unified and standardized preprocessing pipeline to ensure consistency and compatibility with subsequent modeling frameworks. For longitudinal preprocessing, laboratory records were aggregated at the patient level and strictly ordered according to recorded timestamps to preserve clinical progression. To ensure sufficient longitudinal signal for sequence modeling, the analysis was restricted to patients with an adequate number of laboratory visits, with cohort-specific minimum thresholds defined a priori. For patients with extensive records, sequence length was standardized by selecting a fixed number of the most recent visits per patient, truncating backward in time from the latest record. This strategy ensured consistent sequence lengths across patients while prioritizing clinically proximal measurements for prediction. The truncation length was determined separately for each dataset according to sampling density and data availability. Measurement frequency varied substantially across cohorts, with approximately daily sampling in the ICU cohort and irregular, event-driven sampling in the ICI and CKD cohorts. To avoid introducing artificial signals, observations were not resampled or interpolated to fixed intervals. Instead, the original visit structure was preserved, and time intervals were explicitly encoded as model features. For each visit, derived variables included time since the first recorded measurement and the interval since the previous visit, which were incorporated as numeric features to the visit-level laboratory feature.
For cleaning and splitting, missingness patterns were assessed across all features, and variables with excessive proportions of missing values were excluded from further analysis. Outliers were identified using modified interquartile range (IQR) based thresholds to minimize removal of clinically plausible extreme values. Values flagged as outliers were treated as missing and subsequently addressed during imputation. Within each patient’s longitudinal sequence, missing values were imputed using a last observation carried forward strategy32, whereby the most recently recorded measurement was carried forward to replace subsequent missing values, consistent with clinical practice. For features with missing values at the initial time point, imputation was performed using the median value computed from the training set. All continuous variables were normalized using z-score scaling. The normalization parameters, including feature-wise means and standard deviations, were estimated exclusively from the training set and subsequently applied to the validation and test sets to prevent data leakage and preserve strict separation between model development and evaluation phases. Each dataset was independently partitioned into training, validation, and test subsets using patient-level stratified sampling according to outcome labels, ensuring consistent class distributions across subsets while preventing information leakage.
After data processing, three datasets consisted of longitudinal patient sequences ordered by laboratory measurement timestamps, with fully normalized and imputed features. These sequences are then converted into a formatted input, including ordered visit-level vectors, timestamp encoding, and sequence masks. This unified structure ensures that all datasets can be modeled consistently and integrated seamlessly into the PHO-Agents pipeline. A summary of dataset characteristics, including sample size, class imbalance, and the proportions of the training, validation, and test sets, is presented in Table 1 to provide a clear overview of the three cohorts.
Table 1: Dataset characteristics, data splits, and outcome distributions.
The AKI cohort from MIMIC-IV is used to predict in-hospital mortality, where cases correspond to patient death and controls to survival. The ICI cohort from UFHealth IDR focuses on predicting immune-related adverse events (irAEs), with cases indicating patients who developed irAEs and controls indicating those who did not. The CKD cohort from UFHealth IDR is used to predict AKI onset, where cases represent patients who developed AKI and controls represent those who did not.
| Cohort | Outcome | Total # | Split | # Samples | (%) | Case | (%) | Control | (%) |
|---|---|---|---|---|---|---|---|---|---|
| AKI (MIMIC-IV) | mortality | 6,165 | Train | 4,931 | 79.98 | 1,236 | 25.07 | 3,695 | 74.93 |
| Val | 617 | 10.01 | 155 | 25.12 | 462 | 74.88 | |||
| Test | 617 | 10.01 | 155 | 25.12 | 462 | 74.88 | |||
| ICI (UFHealth) | irAEs onset | 1,864 | Train | 1,304 | 69.96 | 1,117 | 85.66 | 187 | 14.34 |
| Val | 280 | 15.02 | 240 | 85.71 | 40 | 14.29 | |||
| Test | 280 | 15.02 | 240 | 85.71 | 40 | 14.29 | |||
| CKD (UFHealth) | AKI onset | 3,344 | Train | 2,340 | 69.98 | 953 | 40.73 | 1,387 | 59.27 |
| Val | 502 | 15.01 | 205 | 40.84 | 297 | 59.16 | |||
| Test | 502 | 15.01 | 205 | 40.84 | 297 | 59.16 |
To further ensure a rigorous evaluation pipeline, each subset served a strictly defined role throughout the entire PHO-Agents workflow. The training set was used exclusively for EHR-based model training. The validation set was used for early stopping and subsequently for training the fusion module, which integrates predictive logits generated independently by the EHR-based model and the multi-agent reasoning. The test set was reserved solely for final performance evaluation and was not involved in any stage of model development or selection. The multi-agent reasoning module does not involve any learnable parameters and was applied to the validation and test sets independently without any parameter updates, ensuring that test set predictions remain fully uncontaminated. This three-stage separation guarantees that the fusion module is trained on data not used during the EHR-based model optimization, and that all reported test set results reflect unbiased generalization performance.
Medical Corpus
The research paper corpus was constructed using PubMed, a publicly accessible biomedical literature database maintained by the U.S. National Library of Medicine33. To assemble a task-specific literature corpus, structured keyword searches were performed by combining title and abstract terms with MeSH descriptors to improve retrieval precision. Search strategies were tailored to each prediction task to capture key dimensions of relevant medical knowledge, including clinical outcomes (e.g., irAEs, AKI), target populations (e.g., ICU, cancer, or CKD patients), therapeutic contexts (e.g., ICIs), and relevant biomarkers or laboratory measurements. Boolean queries were constructed using both controlled vocabulary and free-text terms, with task-specific adaptations to reflect differences in cohorts, outcomes, and interventions. For example, searches for the ICI cohort emphasized irAEs and treatment-specific terminology, whereas AKI-related searches focused on kidney injury phenotypes and mortality outcomes, and CKD-related searches targeted disease progression and AKI risk. Retrieved articles were ranked by relevance and screened by domain experts, and the titles and abstracts of selected studies were aggregated to form the final corpus used in the retrieval-augmented generation process.
The clinical guideline corpus was constructed from authoritative, evidence-based practice guidelines to provide standardized recommendations for diagnosis, management, and risk stratification. Three primary sources were used: the KDIGO Clinical Practice Guidelines for Acute Kidney Injury34, the ASCO Clinical Practice Guidelines for the Management of Immune-Related Adverse Events in Patients Treated With Immune Checkpoint Inhibitor Therapy35, and the Merck Manual Professional Version36. These sources were selected for their clinical relevance, rigorous evidence synthesis, and widespread adoption. KDIGO guidelines supported AKI-related tasks, including both AKI and CKD cohorts, by providing definitions, staging criteria, risk factors, and management recommendations. The ASCO guidelines were used for the ICI cohort, offering detailed protocols for identifying, grading, and managing irAEs. The Merck Manual served as a general reference, providing complementary clinical knowledge on diseases, symptoms, and laboratory interpretation across conditions.
System Workflow
PHO-Agents is a hybrid clinical decision-support system that combines the EHR-based predictive model with LLM-driven clinical reasoning (Figure 1). By progressively integrating structured patient data with external biomedical knowledge, the system generates risk estimates that are both evidence-based and clinically aligned, supporting transparent and precise decision-making for patient care.
Figure 1: The Framework of PHO-Agents.

PHO-Agents integrates the EHR-based predictive model with multi-agent clinical reasoning and knowledge retrieval to generate calibrated, interpretable outcomes. The six-stage pipeline comprises model-based risk estimation, data-to-text context generation, knowledge retrieval, collaborative reasoning among doctor agents, leader-agent synthesis, and fusion of predictions with explanations.
Step 1 EHR-based Predictive Modeling
In this study, we adopt an EHR-based predictive model with strong performance on longitudinal visit data. Given time-series structured data where represents features at time step , the EHR-based model computes and outputs a predictive logit :
To explain the model’s prediction, we compute and extract SHAP values for each feature, then select the top-K most important features :
where represents feature contribution to the prediction.
Step 2 Contextual Patient Representation
The data agent transforms the structure patient features and EHR-based model outputs into a templated patient context . This includes demographics, vital signs, lab results, model-derived predictive logits, and feature importance:
Step 3 Retrieval-Augmented Knowledge Injection
To integrate authoritative external evidence, we develop a retrieval agent. This agent is implemented by a dual-encoder system includes two coordinated encoders, the query encoder optimized for patient context and the article encoder for longer biomedical documents , jointly trained in a shared vector space to enable direct semantic similarity computation:
Given the patient context embedding , relevant knowledge is retrieved from PubMed abstracts () or clinical practice guideline repositories () through inner-product similarity search over a FAISS index of pre-indexed document embeddings:
Step 4 Agents Clinical Reasoning
Two independent doctor agents, a literature-driven Research Doctor and a guideline-focused Practical Doctor, analyze the patient from complementary perspectives. Each generates a revised logit (), natural-language explanation (), and confidence score ():
Step 5 Leader Agent Coordination
A leader agent orchestrates an iterative consultation process that simulates real-world multidisciplinary case discussions. At each iteration , the leader agent collects the logits and explanations produced by the doctor agents and synthesizes them into a consensus-driven intermediate report:
The updated report is redistributed back to both agents to support a new round of reasoning. This iterative process continues until consensus is reached, i.e., the report stabilizes :
Upon convergence, the leader agent generates a collaborative inference logit and final consolidated explanation summarizing the unified clinical judgment:
This arbitration mechanism provides a structured approach to consensus building, reduces hallucination risks, and maintains alignment with evidence-backed clinical reasoning throughout the multi-agent interaction.
Step 6 Logistic Regression Fusion
To combine the complementary strengths of structured EHR modeling and multi-agent LLM reasoning, we develop a two-stage model stacking framework. First, the EHR-based model provides a baseline predictive logit , while the leader agent outputs a knowledge-enhanced estimate logit . These probabilities are then used as features for a logistic regression meta-learner that produces the final prediction:
Where denotes the sigmoid activation function. Model parameters are learned by minimizing a regularized logistic loss:
With selected through cross-validated hyperparameter search. This fusion mechanism adaptively learns the relative reliability of each model and mitigates overfitting through regularization, thereby improving both predictive accuracy and calibration.
Implementation Details
In this implementation, the RETAIN model11 is selected as the EHR-based model due to its interpretability and strong performance on longitudinal patient visit data. The open-source large language model Llama-3.3-70B-Instruct37 served as the primary generative engine and was accessed through the NaviGator API, a secure, institution-managed platform provided by the University of Florida, ensuring that all data processing occurs under strict privacy and security compliance. For embedding and retrieval of medical text, MedCPT38 is employed as a dense retrieval model with a bi-encoder architecture that encodes both corpus and queries into shared vector representations. All experiments were conducted on a Linux-based high-performance computing cluster. Jobs were executed on two compute nodes, each equipped with one NVIDIA L4 GPU (24GB VRAM) and 128 GB of system memory, managed by the Slurm workload scheduler. The environment utilized CUDA 12.8. All models were implemented using Python 3.9.23, PyTorch 2.3.0 and Transformers 4.33.2.
Baselines
To rigorously evaluate the performance of PHO-Agents, we compare against a comprehensive set of state-of-the-art single-agent and multi-agent LLM baselines that span both EHR-driven and knowledge-driven predictive paradigms. Single-agent methods include zero-shot prompting39, few-shot prompting40 with in-context demonstrations, and self-consistency41 decoding, which aggregates multiple reasoning trajectories to produce more stable predictions. These methods assess the intrinsic capability of a standalone LLM to interpret structured clinical data and perform diagnostic reasoning without coordinated knowledge exchange. Beyond single-agent inference, we benchmark against leading multi-agent frameworks designed to enhance medical reasoning through collaborative interactions. ReConcile18 employs a round-table consensus mechanism in which multiple LLMs iteratively share explanations and refine predictions based on confidence-weighted evidence. MedAgents24 extends this paradigm to healthcare by assigning specialized clinical roles to agents, enabling multidisciplinary reasoning and iterative refinement of decision outputs. Multi-Agent Debate (MAD)21 introduces adversarial argumentation, where agents challenge each other’s conclusions under a judge’s supervision, promoting diverse perspectives and mitigating degeneration-of-thought issues observed in self-reflective single-agent systems. Collectively, these baselines represent some of the most advanced and widely adopted frameworks for clinical reasoning with LLMs. They provide a strong foundation for evaluating whether PHO-Agents’ integration of structured EHR representation learning with coordinated multi-agent medical knowledge exchange offers measurable improvements. Comparisons focus on predictive performance, interpretability, and robustness, which are critical for ensuring reliability and suitability for real-world clinical deployment.
Evaluation Metrics
All three cohorts exhibit class imbalance, where adverse outcomes such as mortality or AKI onset are minority events. To comprehensively assess predictive performance under this setting, three metrics were adopted: Area Under the Receiver Operating Characteristic Curve (ROC-AUC), Area Under the Precision–Recall Curve (PR-AUC), and the minimum of precision and recall (Min(p, re)). ROC-AUC measures the distinguishing ability of a model across all possible decision thresholds by evaluating its capacity to rank positive cases above negative ones42. While ROC-AUC provides an overall estimate of classification separability, it can be overly optimistic for heavily imbalanced datasets. PR-AUC directly focuses on the performance for the positive class by summarizing the trade-off between precision and recall across thresholds43. Because it accounts for the prevalence of rare events, PR-AUC is particularly informative for imbalanced clinical outcome prediction tasks, where identifying true high-risk patients is of primary importance. The minimum of precision and recall (Min(p, re)) was used to evaluate the balance between detection accuracy and false-alarm control at a fixed decision threshold. As a conservative metric, Min(p, re) explicitly reflects the weaker component of precision and recall, thereby mitigating the risk of inflated performance driven by optimizing a single metric. These complementary metrics reflect both threshold-independent performance (PR-AUC, ROC-AUC) and threshold-dependent evaluations (Min(p, re)), providing a comprehensive assessment of the model’s predictive performance and practical reliability in imbalanced EHR-based outcome prediction settings.
RESULTS
Overview of PHO-Agents
PHO-Agents is a hybrid architecture that combines an EHR-based predictive model with LLM-powered agents to provide interpretable reasoning, including Data Agent, Retrieval Agent, Research Doctor Agent, Practical Doctor Agent and Leader Agent (Figure 1). The PHO-Agents system first applies RETAIN to process structured EHR data, producing predictive logits and feature weights. Then, the Data Agent semantically combines the raw structured patient data with RETAIN’s outputs and converts them into a natural-language patient context. Using this context, the Retrieval Agent identifies the top-k most relevant documents from the research literature and clinical guidelines to assemble external medical knowledge for downstream reasoning. Utilizing these different knowledge sources, PHO-Agents instantiates two doctor agents with distinct clinical focus areas. Each agent independently evaluates the patient case, generating differential assessments and reasoning chains. A leader agent orchestrates an iterative consultation process that simulates real-world multidisciplinary case discussions: it coordinates dialogue between the doctor agents, synthesizes their perspectives into an evolving summary report, and repeatedly redistributes this report until a stable consensus is achieved. Once consensus is reached, the leader agent produces a collaborative inference logit and an explanatory report. Finally, PHO-Agents integrates the RETAIN-derived logit with the multi-agent inference logit using a logistic-regression fusion module to generate the system’s final prediction. The output includes a calibrated outcome probability and an interpretable, clinically aligned outcome report.
Performance Comparison of PHO-Agents and Baseline Models
Table 2 provides a comprehensive comparison of PHO-Agents with the standalone EHR-based predictive model, baseline single-agent, and multi-agent LLM systems across three clinically distinct prediction benchmarks. The three cohorts include critical care (AKI, in-hospital mortality), oncology (ICI, irAEs occurrence within one year), and chronic disease management (CKD, AKI onset within two years), as described in the Cohort Definition section. Model performance was evaluated using PR-AUC, ROC-AUC, and Min(p, re), which together capture discriminative ability and robustness under class imbalanced clinical settings. The inclusion of the standalone EHR-based predictive model as a baseline allows for direct quantification of the incremental benefit introduced by the multi-agent reasoning and logit-level fusion components, isolating the contribution of LLM-based clinical reasoning from the underlying EHR predictive signal.
Table 2: Performance comparison across different cohorts.
Results are reported as mean ± standard deviation. Evaluation is conducted on the test sets of the AKI, ICI, and CKD cohorts using PR-AUC, ROC-AUC, and the minimum of precision and recall (MIN(p, re)).
| Methods | AKI cohort | ICI cohort | CKD cohort | |||||||
|---|---|---|---|---|---|---|---|---|---|---|
| PR-AUC | ROC-AUC | MIN(p, re) | PR-AUC | ROC-AUC | MIN(p, re) | PR-AUC | ROC-AUC | MIN(p, re) | ||
| RETAIN | 86.77 ± 1.70 | 90.21 ± 1.17 | 76.83 ± 2.19 | 89.73 ± 2.00 | 61.61 ± 5.02 | 89.38 ± 1.79 | 56.31 ± 3.65 | 66.25 ± 2.48 | 56.06 ± 2.89 | |
| Single-LLMs | zero-shot | 56.46 ± 2.98 | 71.03 ± 1.92 | 57.49 ± 2.93 | 88.54 ± 2.10 | 53.70 ± 4.56 | 85.54 ± 2.09 | 56.07 ± 3.63 | 66.19 ± 2.48 | 56.49 ± 3.08 |
| few-shot | 51.36 ± 2.95 | 66.04 ± 2.08 | 50.89 ± 2.68 | 88.95 ± 1.87 | 61.78 ± 4.35 | 87.15 ± 2.09 | 56.06 ± 3.66 | 66.39 ± 2.57 | 55.83 ± 3.26 | |
| self-consistency | 45.88 ± 2.67 | 59.26 ± 1.83 | 41.60 ± 2.13 | 87.41 ± 2.04 | 56.52 ± 3.84 | 85.52 ± 2.11 | 42.06 ± 2.23 | 50.79 ± 2.08 | 42.37 ± 1.96 | |
| Multi-LLMs | ReConcile | 62.86 ± 4.41 | 71.76 ± 2.84 | 58.79 ± 3.61 | 88.86 ± 2.10 | 55.13 ± 4.20 | 85.84 ± 2.14 | 55.45 ± 3.56 | 64.90 ± 2.69 | 55.56 ± 3.16 |
| MAD | 58.50 ± 4.50 | 69.33 ± 2.97 | 58.71 ± 3.95 | 89.43 ± 2.05 | 56.94 ± 4.44 | 86.22 ± 2.09 | 57.34 ± 3.48 | 65.94 ± 2.40 | 56.01 ± 2.94 | |
| MedAgents | 61.14 ± 4.50 | 71.03 ± 3.08 | 59.33 ± 3.97 | 86.84 ± 2.50 | 49.13 ± 4.64 | 85.52 ± 2.11 | 44.85 ± 3.32 | 52.02 ± 2.55 | 43.74 ± 2.66 | |
| PHO-Agents | 90.20 ± 2.07 | 92.56 ± 1.55 | 79.08 ± 2.83 | 92.91 ± 2.35 | 68.25 ± 7.28 | 89.22 ± 2.69 | 61.08 ± 5.46 | 70.50 ± 3.51 | 59.91 ± 4.26 | |
Across all benchmarks, Single-agent LLM approaches, including zero-shot, few-shot, and self-consistency prompting, consistently underperformed the standalone EHR-based model across all cohorts, particularly on PR-AUC. For example, in the AKI mortality task, self-consistency achieved a PR-AUC of only 45.88 ± 2.67, compared with 86.77 ± 1.70 for the EHR-based model alone, highlighting the fundamental limitation of LLM-only approaches when applied to structured clinical prediction tasks without grounding in EHR-derived signals. Multi-agent LLM baselines, including ReConcile, MAD, and MedAgents, showed marginal improvements over single-agent methods, suggesting that structured agent coordination provides some benefit, yet remains insufficient in the absence of quantitative EHR representation. These results underscore that neither single-agent nor multi-agent LLM systems, when operating without structured EHR signals, can match the predictive reliability of data-driven models trained on longitudinal patient records.
PHO-Agents consistently achieved the highest performance across nearly all metrics and cohorts. In the AKI cohort, it attained a PR-AUC of 90.20 ± 2.07 and a ROC-AUC of 92.56 ± 1.55, with MIN(p, re) improving from 76.83 ± 2.19 (EHR-based model alone) to 79.08 ± 2.83, reflecting better precision-recall balance in a critical care setting where false negatives carry significant clinical consequences. In the ICI cohort, PHO-Agents achieved the highest PR-AUC of 92.91 ± 2.35 over the EHR-based model (89.73 ± 2.00) and all LLM-based baselines, highlighting the value of knowledge-grounded reasoning in oncology settings where irAEs prediction requires integrating nuanced immunological evidence beyond structured laboratory data alone. In the CKD cohort, where absolute performance levels were lower across all methods due to the inherent difficulty of predicting AKI onset over a two-year horizon, PHO-Agents still achieved the best performance across all three metrics (PR-AUC: 61.08 ± 5.46; ROC-AUC: 70.50 ± 3.51; MIN(p, re): 59.91 ± 4.26), demonstrating that knowledge-grounded multi-agent reasoning can extract complementary prognostic signals even in tasks primarily driven by routine laboratory measurements. Taken together, these results demonstrate that PHO-Agents' integration of structured EHR representation learning with collaborative, knowledge-grounded multi-agent reasoning yields consistent and robust predictive gains across diverse clinical contexts, with the incremental improvements over the standalone EHR model confirming that LLM-based reasoning contributes meaningfully beyond the EHR signal alone.
Case Study on Reasoning Capabilities
To further demonstrate the end-to-end collaborative reasoning process of PHO-Agents in a real clinical setting, we present a case study of an older female patient with multi-site cancer undergoing ICI therapy who was assessed as being at high risk for irAEs (Figure 2). The RETAIN model first analyzed the patient’s structured longitudinal EHR data, including laboratory measurements such as hemoglobin, blood urea nitrogen, blood glucose, and others, and produced an initial irAEs risk score of 0.86246. In parallel, the model generated feature-level importance weights, identifying Mean Corpuscular Hemoglobin (MCH), Serum/Plasma Creatinine, and AST as the most influential predictors contributing to the risk estimate (Figure 2, I). Based on these structured inputs and model outputs, the data agent translated the patient’s numeric clinical profile into a natural-language patient context, summarizing her cancer status, treatment background, abnormal laboratory trends, and model-indicated risk factors. This step provided an interpretable bridge between raw EHR data and downstream multi-agent reasoning.
Figure 2: Case study of predicting irAEs in a cancer patient receiving ICI therapy.

Using the generated patient context, the RAG agent retrieved evidence from both peer-reviewed literature and the ASCO Guideline (2021): Management of Immune-Related Adverse Events in Patients Treated With Immune Checkpoint Inhibitor Therapy, with particular emphasis on hepatotoxicity, hematologic abnormalities, and inflammatory responses (Figure 2, II). Two doctor agents then independently interpreted the case from complementary perspectives. The research doctor agent focused more on model-indicated signals and literature-supported associations, emphasizing abnormalities such as reduced MCH and elevated AST as meaningful warning signs linked to irAEs development. The practical doctor agent, from a clinical management perspective, highlighted elevated AST, total bilirubin, blood glucose, and inflammatory-related markers, and connected these findings to possible liver injury, systemic inflammation, and the patient’s overall vulnerability given her advanced age and malignancy (Figure 2, III). A leader agent summarized these initial opinions and coordinated a second round of discussion, during which both doctor agents refined their interpretations after reviewing each other’s reasoning and the retrieved evidence (Figure 2, IV). Through this iterative consultation process, the agents reached a stronger consensus that the patient had a high likelihood of irAEs, especially considering abnormal liver function indicators and multiple concurrent laboratory abnormalities. Finally, the leader agent produced a consensus report and integrated the doctor agents’ predictive logits with the RETAIN-derived signal to generate the final calibrated prediction, yielding a final risk score of 0.8778 (Figure 2, V). In this case, PHO-Agents not only identified a high-risk patient but also provided a transparent reasoning trail grounded in both patient-specific data and clinical knowledge, illustrating its potential to support interpretable risk assessment in complex oncology settings.
Ablation Study
To quantify the contribution of collaborative clinical reasoning, an ablation analysis varied the number of doctor agents instantiated within PHO-Agents: (i) 0 agent (only the EHR-based predictive model), (ii) 1 agent, and (iii) 2 agents (full configuration). Performance was evaluated across three clinical prediction tasks: in-hospital mortality prediction (AKI cohort), irAE prediction (ICI cohort), and AKI onset prediction (CKD cohort). As shown in Table 3, introducing clinical agent reasoning steadily improves predictive performance compared with the baseline zero-agent configuration. In the AKI cohort, performance exhibited a smaller but stable gain with additional agents. The two-agent setting delivered the best ROC-AUC (92.56 ± 1.55) and improved MIN(p, re) (79.08 ± 2.83), demonstrating that collaborative reasoning can still enrich well-structured clinical domains despite strong baseline signals. In the ICI cohort, where expert reasoning is critical, adding two doctor agents achieved the highest ROC-AUC. Similar performance gains were observed in the PR-AUC metric, which emphasizes the weaker of precision and recall, showing a measurable improvement from 89.73 ± 2.00 (0-agent) to 92.91 ± 2.35 (2-agents). For the CKD cohort, improvements were modest yet directional, with the full 2-agent approach achieving the highest performance. These results indicate that knowledge-based multi-agent assessment can provide useful diagnostic details even in tasks driven by routine laboratory tests and demographic data.
Table 3: Ablation study on the number of doctor agents and knowledge sources.
We evaluate the impact of varying the number of doctor agents and the inclusion of external medical knowledge from PubMed and clinical practice guidelines across three cohorts: AKI, ICI, and CKD. Results are reported as mean ± standard deviation on the test sets, using AUC-PR, AUC-ROC, and the minimum of precision and recall (MIN(p, re)).
| #Doctor Agents | Corpus | AKI cohort | ICI cohort | CKD cohort | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| PubMed | Practical Guideline | PR-AUC | ROC-AUC | MIN(p, re) | PR-AUC | ROC-AUC | MIN(p, re) | PR-AUC | ROC-AUC | MIN(p, re) | |
| 0 | – | – | 86.77 ± 1.70 | 90.21 ± 1.17 | 76.83 ± 2.19 | 89.73 ± 2.00 | 61.61 ± 5.02 | 89.38 ± 1.79 | 56.31 ± 3.65 | 66.25 ± 2.48 | 56.06 ± 2.89 |
| 1 | ✓ | – | 86.81 ± 1.71 | 90.22 ± 1.19 | 77.12 ± 2.07 | 92.72 ± 2.32 | 66.99 ± 7.22 | 88.74 ± 2.36 | 60.66 ± 5.56 | 70.32 ± 3.58 | 59.81 ± 4.29 |
| 1 | – | ✓ | 86.82 ± 1.70 | 90.27 ± 1.18 | 76.93 ± 2.12 | 92.71 ± 2.41 | 67.62 ± 7.72 | 88.59 ± 2.45 | 60.54 ± 5.60 | 70.37 ± 3.63 | 59.91 ± 4.22 |
| 2 | ✓ | ✓ | 90.20 ± 2.07 | 92.56 ± 1.55 | 79.08 ± 2.83 | 92.91 ± 2.35 | 68.25 ± 7.28 | 89.22 ± 2.69 | 61.08 ± 5.46 | 70.50 ± 3.51 | 59.91 ± 4.26 |
To evaluate the contribution of structured and unstructured predictive integration, we conducted an ablation study comparing PHO-Agents with and without the final logistic-regression fusion module. The without fusion condition uses only the multi-agent collaborative inference logit, whereas the full PHO-Agents system incorporates both logits from the EHR-based predictive model and multi-agent reasoning logits into a unified calibrated prediction (Table 4). Across all three clinical tasks, fusion consistently improved discrimination performance and class-imbalance robustness. In the AKI dataset, PHO-Agents achieved the strongest PR-AUC (90.20 ± 2.07) and the best MIN(p, re) (79.08 ± 2.83), indicating that integrating structured physiological dynamics with contextual reasoning reduces false-negative risk in critical care settings. Fusion benefits were also demonstrated in the irAE prediction task. The full PHO-Agents pipeline delivered meaningful gains over the without fusion variant in PR-AUC metrics. Additionally, the improvement in the conservative MIN(p, re) metric further demonstrates the role of fusion in achieving balanced clinical trade-offs when identifying high-risk patients for adverse immune responses. While the prediction task in the CKD dataset is primarily driven by structured renal function indicators and comorbidity-related laboratory values, the fusion module still contributed incremental performance gains in both PR-AUC (61.08 ± 5.46) and ROC-AUC (70.50 ± 3.51). These improvements suggest the benefits of integrating the EHR-based predictive model with knowledge-grounded multi-agent reasoning. By combining time-series risk representations with collaborative reasoning, the system’s ability to detect subtle early deterioration signals in CKD patients at risk of progressing to AKI is enhanced. The strengthened MIN(p, re) metric further supports that fusion improves sensitivity to high-risk cases while maintaining precision, which is an essential requirement in proactive AKI prevention and intervention. To summarize, these results underscore fusion as a key mechanism for unifying complementary signal sources, enabling PHO-Agents not only to reason more like clinicians but also to preserve and reinforce quantifiable trends embedded within real-world EHR time-series. The ability to jointly leverage mechanistic risk factors and knowledge-grounded judgment improves robustness and calibration across diverse patient populations.
Table 4: Ablation study on logit-level fusion between the EHR-based predictive model and LLM-based inference.
We evaluate the effect of fusing the prediction logits produced by RETAIN model with LLM-powered inference across the AKI, ICI, and CKD cohorts. Results are reported as mean ± standard deviation on the test sets using PR-AUC, ROC-AUC, and the minimum of precision and recall (MIN(p, re)).
| Method | AKI cohort | ICI cohort | CKD cohort | ||||||
|---|---|---|---|---|---|---|---|---|---|
| PR-AUC | ROC-AUC | MIN(p, re) | PR-AUC | ROC-AUC | MIN(p, re) | PR-AUC | ROC-AUC | MIN(p, re) | |
| w/o Fusion | 86.33 ± 1.76 | 89.80 ± 1.23 | 76.25 ± 2.24 | 88.79 ± 2.24 | 58.00 ± 5.00 | 87.46 ± 1.96 | 56.29 ± 3.55 | 66.53 ± 2.44 | 55.44 ± 2.88 |
| PHO-Agents | 90.20 ± 2.07 | 92.56 ± 1.55 | 79.08 ± 2.83 | 92.91 ± 2.35 | 68.25 ± 7.28 | 89.22 ± 2.69 | 61.08 ± 5.46 | 70.50 ± 3.51 | 59.91 ± 4.26 |
Cost Analysis
To assess real-world deployment feasibility, we quantified the per-patient computational cost of PHO-Agents across the three clinical prediction settings (Figure 3). Results show that the system achieves multi-source reasoning with very low latency and minimal operational expense. On average, a full PHO-Agents inference requires only 7 to 9 LLM API interactions per patient, reflecting an efficient consultation process despite multi-agent conversations. The total number of generated tokens remains modest, with per-patient usage below 15k prompt tokens and 2.2k output tokens across datasets. End-to-end inference completes within 1 minute for most cases, indicating near real-time decision support capability suitable for clinical workflow integration. Importantly, the per-patient cost is extremely low, ranging from $0.012 to $0.014, demonstrating that advanced collaborative LLM reasoning can be delivered at a price point competitive with conventional risk prediction models. Notably, the cancer task presents slightly higher API usage, consistent with more extensive knowledge retrieval and longer reasoning traces required for immunotherapy toxicity assessment. Overall, PHO-Agents successfully balances predictive strength, interpretability, and operational efficiency. It enables scalable deployment within cost-constrained healthcare environments.
Figure 3: Per-patient computational cost of PHO-Agents across three clinical datasets.

We report the average API cost, execution time and number of prompt and output token consumption incurred per patient. Results are shown for the AKI cohort, ICI cohort, and CKD cohort, demonstrating comparable computational overhead and cost efficiency across different disease settings.
DISCUSSION
In this study, we propose PHO-Agents, a hybrid clinical risk prediction framework that tightly integrates structured EHR time-series modeling with transparent LLM-based multi-agent medical reasoning to advance both predictive performance and interpretability. The system leverages an EHR-based predictive model to capture quantitative disease progression patterns from longitudinal EHR signals, while domain-specialized LLM doctor agents contextualize these signals using medical knowledge grounded in published literature and clinical guidelines. Through coordinated multi-agent debate, revision, and consensus formation, PHO-Agents operationalizes a multidisciplinary consultation paradigm that closely mirrors real-world diagnostic and prognostic workflows. Across diverse disease settings, this synergistic fusion of mechanistic temporal modeling and collaborative knowledge-driven reasoning substantially improves risk stratification performance, yielding superior discrimination and more balanced precision–recall trade-offs compared with single-agent or non-fusion baselines. Beyond accuracy gains, PHO-Agents generates transparent, text-based reasoning chains that articulate how structured clinical trends align with external medical evidence, fostering auditability, clinician trust, and shared decision-making. The iterative consensus mechanism further mitigates individual agent bias and overconfidence, enhancing the robustness and reliability of model outputs. Importantly, these advantages are achieved with minimal operational overhead, maintaining inference costs below $0.02 per patient and average runtimes of approximately one minute, demonstrating that scalable and interpretable multi-agent collaboration is feasible for real-world clinical deployment.
Building on this hybrid design, PHO-Agents exhibits several distinctive advantages that further strengthen both predictive reliability and clinical trustworthiness. First, the framework integrates targeted multi-source medical knowledge systematically. It retrieves and synthesizes evidence from complementary corpora such as PubMed research articles and disease-specific clinical guidelines. Unlike prior multi-agent approaches that often rely on generic web search or singlesource prompting22,28,29, this knowledge-grounded retrieval strategy supports more contextualized and disease-aware reasoning, improving robustness and generalizability across different medical knowledge domains. Second, PHO-Agents uniquely combines structured EHR representation learning with LLM-based multi-agent interpretability in a tightly coordinated inference pipeline. Structured EHR data are clinically validated and temporally precise indicators of patient physiology. When modeled using deep learning methods, they provide robust quantitative signals for health outcome prediction. Meanwhile, large language models are excellent at contextual interpretation and natural-language reasoning, enabling them to articulate underlying causal patterns and clinical rationale. These two paradigms have complementary strengths: structured data modeling ensures accuracy and numerical fidelity, whereas LLM-based multi-agent reasoning ensures transparency and medical explainability. By coupling both components in a collaborative inference pipeline, PHO-Agents overcomes limitations inherent in single-modality systems and delivers predictions that are both strongly data-driven and interpretable. Finally, PHO-Agents demonstrates robust and consistent performance across diverse disease settings. PHO-Agents consistently improves ROC-AUC, PR-AUC, and balanced precision–recall metrics across three distinct clinical prediction tasks, indicating reliable generalization across varied patient populations and outcome mechanisms. Collectively, these results highlight the adaptability of PHO-Agents for real-world clinical deployment. In such settings, reliable risk estimation, explainable reasoning, and consistency across conditions are prerequisites for clinician adoption and trustworthy decision support14.
Despite the demonstrated strengths of PHO-Agents, several important directions remain for future work. First, the current evaluation is limited to retrospective datasets derived from U.S. healthcare institutions. While these settings provide rich and well-curated EHR data, further validation across international cohorts, diverse healthcare systems, and low-resource environments is necessary to establish the framework’s generalizability and clinical robustness. Prospective studies and external validation on heterogeneous populations will be particularly important for assessing real-world performance and fairness. Second, although PHO-Agents grounds multi-agent reasoning in curated PubMed literature and clinical practice guidelines, the reliability of agent conclusions inevitably depends on the quality, completeness, and timeliness of the retrieved evidence. This dependency is especially pronounced in rapidly evolving clinical domains, where emerging findings may not yet be reflected in established guidelines. Future work could explore adaptive retrieval strategies, continual learning, and evidence quality assessment mechanisms to improve robustness under knowledge uncertainty. In addition, since PHO-Agents relies on LLM-based reasoning, the risk of hallucination cannot be fully eliminated, even when predictive accuracy remains high. Developing safeguards may further enhance trustworthiness. Finally, the current implementation integrates structured laboratory and diagnosis information with textual medical knowledge only. Extending the framework to incorporate additional data modalities is a promising direction for enabling more comprehensive and context-aware clinical reasoning. Together, these directions position PHO-Agents as a step toward scalable, interpretable, and knowledge-aware AI that can meaningfully support precision medicine and trustworthy clinical decision-making.
Funding Support
Q.S. is supported by the National Institute of General Medical Sciences of the National Institutes of Health (R35GM151089). J.S. is supported by the National Library of Medicine of the National Institutes of Health (R01LM013771). J.S. is also supported by the National Institute of Health Office of the Director (OT2OD031919), the Indiana University Melvin and Bren Simon Comprehensive Cancer Center Support Grant from the National Cancer Institute (P30CA 082709), and the Indiana University Precision Health Initiative. T.S. is supported by the National Institute of General Medical Sciences of the National Institutes of Health (K23GM147805).
Footnotes
Code availability
All code used to develop the PHO-Agents system and generate the results in this study is publicly available under the MIT License at https://github.com/QSong-github/PHO-Agents.
Conflict of Interest Disclosures
The authors have no conflict of interest to disclose.
Compliance with Ethics Requirements
This article does not contain any studies with human or animal subjects.
REFERENCES
- 1.Bhaskhar N, Ip W, Chen JH, Rubin DL. Clinical outcome prediction using observational supervision with electronic health records and audit logs. J Biomed Inform. Nov 2023;147:104522. doi: 10.1016/j.jbi.2023.104522 [DOI] [PubMed] [Google Scholar]
- 2.Miotto R, Li L, Kidd BA, Dudley JT. Deep Patient: An Unsupervised Representation to Predict the Future of Patients from the Electronic Health Records. Sci Rep. May 17 2016;6:26094. doi: 10.1038/srep26094 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3.Rajkomar A, Oren E, Chen K, et al. Scalable and accurate deep learning with electronic health records. NPJ Digit Med. 2018;1:18. doi: 10.1038/s41746-018-0029-1 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4.Wang J, Luo J, Ye M, et al. Recent Advances in Predictive Modeling with Electronic Health Records. IJCAI (U S). Aug 2024;2024:8272–8280. doi: 10.24963/ijcai.2024/914 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5.Xiao C, Choi E, Sun J. Opportunities and challenges in developing deep learning models using electronic health records data: a systematic review. J Am Med Inform Assoc. Oct 1 2018;25(10):1419–1428. doi: 10.1093/jamia/ocy068 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 6.Avati A, Jung K, Harman S, Downing L, Ng A, Shah NH. Improving palliative care with deep learning. BMC Med Inform Decis Mak. Dec 12 2018;18(Suppl 4):122. doi: 10.1186/s12911-018-0677-8 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7.Hu Q, Chen Y, Zou D, He Z, Xu T. Predicting adverse drug event using machine learning based on electronic health records: a systematic review and meta-analysis. Front Pharmacol. 2024;15:1497397. doi: 10.3389/fphar.2024.1497397 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8.Zhang XS, Tang F, Dodge HH, Zhou J, Wang F. Metapred: Meta-learning for clinical risk prediction with limited patient electronic health records. 2019:2487–2495. [Google Scholar]
- 9.Garriga R, Buda TS, Guerreiro J, Omana Iglesias J, Estella Aguerri I, Matic A. Combining clinical notes with structured electronic health records enhances the prediction of mental health crises. Cell Rep Med. Nov 21 2023;4(11):101260. doi: 10.1016/j.xcrm.2023.101260 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10.Tayefi M, Ngo P, Chomutare T, et al. Challenges and opportunities beyond structured data in analysis of electronic health records. Wiley Interdisciplinary Reviews: Computational Statistics. 2021;13(6):e1549. [Google Scholar]
- 11.Choi E, Bahadori MT, Sun J, Kulas J, Schuetz A, Stewart W. Retain: An interpretable predictive model for healthcare using reverse time attention mechanism. Advances in neural information processing systems. 2016;29 [Google Scholar]
- 12.Ghassemi M, Naumann T, Schulam P, Beam AL, Chen IY, Ranganath R. A Review of Challenges and Opportunities in Machine Learning for Health. AMIA Jt Summits Transl Sci Proc. 2020;2020:191–200. [PMC free article] [PubMed] [Google Scholar]
- 13.Han X, Hu P, Ding J-E, Lu C, Liu F, Ning Y. No Black Boxes: Interpretable and Interactable Predictive Healthcare with Knowledge-Enhanced Agentic Causal Discovery. arXiv preprint arXiv:250516288. 2025; [Google Scholar]
- 14.Abgrall G, Holder AL, Chelly Dagdia Z, Zeitouni K, Monnet X. Should AI models be explainable to clinicians? Crit Care. Sep 12 2024;28(1):301. doi: 10.1186/s13054-024-05005-y [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.Sadeghi Z, Alizadehsani R, Cifci MA, et al. A review of Explainable Artificial Intelligence in healthcare. Computers and Electrical Engineering. 2024;118:109370. [Google Scholar]
- 16.Makarov N, Bordukova M, Quengdaeng P, et al. Large language models forecast patient health trajectories enabling digital twins. NPJ Digit Med. Oct 1 2025;8(1):588. doi: 10.1038/s41746-025-02004-3 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17.Sim SZY, Chen T. Critique of impure reason: Unveiling the reasoning behaviour of medical large language models. Elife. Oct 28 2025;14 doi: 10.7554/eLife.106187 [DOI] [Google Scholar]
- 18.Chen J, Saha S, Bansal M. Reconcile: Round-table conference improves reasoning via consensus among diverse llms. 2024:7066–7085. [Google Scholar]
- 19.De Maio C, Fenza G, Furno D, Grauso T, Loia V. A multi-agent architecture for privacy-preserving natural language interaction with fhir-based electronic health records. IEEE; 2024:1–6. [Google Scholar]
- 20.Li H, Cheng X, Zhang X. Accurate Insights, Trustworthy Interactions: Designing a Collaborative AI-Human Multi-Agent System with Knowledge Graph for Diagnosis Prediction. 2025:1–15. [Google Scholar]
- 21.Liang T, He Z, Jiao W, et al. Encouraging divergent thinking in large language models through multi-agent debate. 2024:17889–17904. [Google Scholar]
- 22.Öğdü ÇU, Arslanoğlu K, Karaköse M. An Adaptive Multi-Agent LLM-Based Clinical Decision Support System Integrating Biomedical RAG and Web Intelligence. IEEE Access. 2025; [Google Scholar]
- 23.Peng Q, Cai Y, Liu J, et al. Integration of multi-source medical data for medical diagnosis question answering. IEEE Transactions on Medical Imaging. 2024;44(3):1373–1385. [Google Scholar]
- 24.Tang X, Zou A, Zhang Z, et al. Medagents: Large language models as collaborators for zero-shot medical reasoning. 2024:599–621. [Google Scholar]
- 25.Brown KE, Yan C, Li Z, et al. Large language models are less effective at clinical prediction tasks than locally trained machine learning models. J Am Med Inform Assoc. May 1 2025;32(5):811–822. doi: 10.1093/jamia/ocaf038 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 26.Pandit S, Xu J, Hong J, et al. Medhallu: A comprehensive benchmark for detecting medical hallucinations in large language models. arXiv preprint arXiv:250214302. 2025; [Google Scholar]
- 27.Li R, Wang X, Berlowitz D, Mez J, Lin H, Yu H. CARE-AD: a multi-agent large language model framework for Alzheimer's disease prediction using longitudinal clinical notes. NPJ Digit Med. Aug 24 2025;8(1):541. doi: 10.1038/s41746-025-01940-4 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 28.Wang Z, Zhu Y, Zhao H, et al. Colacare: Enhancing electronic health record modeling through large language model-driven multi-agent collaboration. 2025:2250–2261. [Google Scholar]
- 29.Yue L, Xing S, Chen J, Fu T. Clinicalagent: Clinical trial multi-agent system with large language model-based reasoning. 2024:1–10. [Google Scholar]
- 30.Johnson A, Bulgarelli L, Pollard T, Horng S, Celi LA, Mark R. Mimic-iv. PhysioNet Available online at: https://physionetorg/content/mimiciv/10/(accessed August 23, 2021). 2020:49–55. [Google Scholar]
- 31.About Us » Integrated Data Repository Research Services » Clinicaland Translational Science Institute » University of Florida. Accessed April 6, 2022, https://idr.ufhealth.org/about-us/ [Google Scholar]
- 32.Hamer RM, Simpson PM. Last observation carried forward versus mixed models in the analysis of psychiatric clinical trials. American Psychiatric Association; 2009. p. 639–641. [Google Scholar]
- 33.Canese K, Weis S. PubMed: the bibliographic database. The NCBI handbook. 2013;2(1):2013. [Google Scholar]
- 34.Khwaja A. KDIGO clinical practice guidelines for acute kidney injury. Nephron Clin Pract. 2012;120(4):c179–84. doi: 10.1159/000339789 [DOI] [PubMed] [Google Scholar]
- 35.Brahmer JR, Lacchetti C, Schneider BJ, et al. Management of Immune-Related Adverse Events in Patients Treated With Immune Checkpoint Inhibitor Therapy: American Society of Clinical Oncology Clinical Practice Guideline. J Clin Oncol. Jun 10 2018;36(17):1714–1768. doi: 10.1200/JCO.2017.77.6385 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 36.Porter RS, Kaplan JL. The Merck manual of diagnosis and therapy. Merck Sharp & Dohme Corp.; 2011. [Google Scholar]
- 37.Grattafiori A, Dubey A, Jauhri A, et al. The llama 3 herd of models. arXiv preprint arXiv:240721783. 2024; [Google Scholar]
- 38.Jin Q, Kim W, Chen Q, et al. MedCPT: Contrastive Pre-trained Transformers with large-scale PubMed search logs for zero-shot biomedical information retrieval. Bioinformatics. Nov 1 2023;39(11)doi: 10.1093/bioinformatics/btad651 [DOI] [Google Scholar]
- 39.Kojima T, Gu SS, Reid M, Matsuo Y, Iwasawa Y. Large language models are zero-shot reasoners. Advances in neural information processing systems. 2022;35:22199–22213. [Google Scholar]
- 40.Reynolds L, McDonell K. Prompt programming for large language models: Beyond the few-shot paradigm. 2021:1–7. [Google Scholar]
- 41.Wang X, Wei J, Schuurmans D, et al. Self-consistency improves chain of thought reasoning in language models. arXiv preprint arXiv:220311171. 2022; [Google Scholar]
- 42.Corbacioglu SK, Aksel G. Receiver operating characteristic curve analysis in diagnostic accuracy studies: A guide to interpreting the area under the curve value. Turk J Emerg Med. Oct–Dec 2023;23(4):195–198. doi: 10.4103/tjem.tjem_182_23 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 43.Sofaer HR, Hoeting JA, Jarnevich CS. The area under the precision-recall curve as a performance metric for rare binary events. Methods in Ecology and Evolution. 2019;10(4):565–577. [Google Scholar]
