ClinicalAgents: Multi-Agent Orchestration for Clinical Decision Making with Dual-Memory
Organizations: The Hong Kong Polytechnic University, Hong Kong SAR, China · The Hong Kong University of Science and Technology, Hong Kong SAR, China
Abstract
While Large Language Models (LLMs) have demonstrated potential in healthcare, they often struggle with the complex, non-linear reasoning required for accurate clinical diagnosis. Existing methods typically rely on static, linear mappings from symptoms to diagnoses, failing to capture the iterative, hypothesis-driven reasoning inherent in human clinicians. To bridge this gap, we introduce ClinicalAgents, a novel multi-agent framework designed to simulate the cognitive workflow of expert clinicians. Unlike rigid sequential chains, ClinicalAgents employs a dynamic orchestration mechanism modeled as a Monte Carlo Tree Search (MCTS) process. This allows an orchestrator to iteratively generate hypotheses, actively verify evidence, and trigger backtracking when critical information is missing. The foundation of this framework is a Dual-Memory architecture: a mutable working memory that maintains the evolving patient state for context-aware reasoning, and a static experience memory that retrieves clinical guidelines and historical cases via an active feedback loop. Extensive experiments demonstrate that ClinicalAgents achieves the best performance among evaluated baselines, significantly enhancing both diagnostic accuracy and explainability compared to strong single-agent and multi-agent baselines. Our code is released at https://github.com/ZhuohanGe/ClinicalAgents-Code.
Figures & tables
| Notation | Definition |
|---|---|
| Working Memory at step , defined as . | |
| Experience Memory, defined as . | |
| Structured guideline database. | |
| Historical case database. | |
| Retrieved guideline knowledge at step . | |
| Accumulated evidence set at step . |
| Dataset | # Samples | Modality | Task |
|---|---|---|---|
| MedChain ( Liu et al., 2025 ) | 12,163 | T+I | 5-stage pipeline |
| MedDG ( Liu et al., 2022 ) | 17,864 | T | dialogue generation |
| MedQA ( Jin et al., 2021 ) | 1,273 | T | multiple QA |
| PubMedQA ( Jin et al., 2019 ) | 500 | T | y/n/maybe QA |
| MedBullets ( Chen et al., 2025 ) | 308 | T | multiple QA |
| PathVQA ( He et al., 2020 ) | 3,362 | I | binary QA |
| Category | Methods | MedChain | Average | |||||
|---|---|---|---|---|---|---|---|---|
| Specialty Referral | Test Ordering | Examination | Diagnosis | Treatment | ||||
| Acc. (Lv1) | IoU (Lv2) | IoU | DocLens | LLM-judge | IoU | |||
| Single LLM | GPT-5.2 | 0.5467 | 0.3045 | 0.3870 | 0.4276 | 0.5754 | 0.4716 | 0.4521 |
| DeepSeek-R1 | 0.5744 | 0.3124 | 0.3475 | — | 0.4968 | 0.4296 | 0.4321 | |
| Qwen3-VL-235B | 0.5719 | 0.3604 | 0.2867 | 0.3915 | 0.5798 | 0.5017 | 0.4487 | |
| Llama-4-Maverick-17B | 0.5620 | 0.3386 | 0.3075 | 0.3579 | 0.5675 | 0.4048 | 0.4231 | |
| Agreement Pair | Cohen’s | Tol. Acc. ( ) |
|---|---|---|
| Clinician A vs. LLM Judge | 0.77 | 88% |
| Clinician B vs. LLM Judge | 0.82 | 92% |
| Clinician A vs. Clinician B | 0.88 | 94% |
| Metric | Value |
|---|---|
| Backtracking trigger rate (initially wrong cases) | 83% |
| Recovery success rate (initially wrong cases) | 64% |
| Cases with at least one excluded hypothesis | 94% |
| Ablation | SP | TO | EX | Diag | Treat | Average | |
|---|---|---|---|---|---|---|---|
| Acc | IoU | IoU | DocLens | LLM-judge | IoU | ||
| Backbone | 0.5467 | 0.3045 | 0.3870 | 0.4276 | 0.5754 | 0.4716 | 0.4521 |
| + Dual-Memory | 0.6095 | 0.3187 | 0.4157 | 0.4460 | 0.5811 | 0.4863 | 0.4762 |
| + Orchestrator | 0.6125 | 0.3391 | 0.4649 | 0.4673 | 0.5914 | 0.5022 | 0.4962 |
| ALL | 0.6243 | 0.3543 | 0.4820 | 0.4800 | 0.5976 | 0.5259 | 0.5107 |
| Backbone | SP | TO | EX | Diag | Treat | Average | |
|---|---|---|---|---|---|---|---|
| Acc | IoU | IoU | DocLens | LLM-judge | IoU | ||
| Qwen3-VL | 0.6273 | 0.3779 | 0.3717 | 0.4369 | 0.5908 | 0.5229 | 0.4879 |
| HuaTuoGPT | 0.4948 | 0.2839 | 0.3034 | — | 0.5746 | 0.5082 | 0.4330 |
| DeepSeek-R1 | 0.6322 | 0.3621 | 0.4561 | — | 0.5427 | 0.4695 | 0.4925 |
| GPT-5.2 | 0.6243 | 0.3543 | 0.4820 | 0.4800 | 0.5976 | 0.5259 | 0.5107 |
| Method | Avg. Score | Tokens | Latency (s) | Cost (USD) |
|---|---|---|---|---|
| Backbone + SC-3 | 0.4573 | 45,265 | 731.51 | 0.1215 |
| Backbone + SC-5 | 0.4579 | 76,058 | 1243.62 | 0.2148 |
| Backbone + SC-7 | 0.4583 | 104,733 | 1681.43 | 0.2962 |
| MedAgents | 0.4547 | 44,599 | 581.07 | 0.1264 |
| MedChain-Agents | 0.4880 | 30,892 | 433.28 | 0.0879 |
| ClinicalAgents | 0.5107 | 23,438 | 369.07 | 0.0658 |
Appendix figures & tables4 assets
Supplementary material from the paper’s appendix.
Appendix
| Category | Methods | MedQA | PubMedQA | MedBullets | PathVQA | Average |
|---|---|---|---|---|---|---|
| Acc. | Acc. | Acc. | Acc. | |||
| Single LLM | GPT-5.2 | 0.8845 | 0.6820 | 0.7890 | 0.6835 | 0.7598 |
| DeepSeek-R1 | 0.8987 | 0.6200 | 0.7987 | — | 0.7725 | |
| Qwen3-VL-235B | 0.8209 | 0.5620 | 0.6721 | 0.7377 | 0.6982 | |
| Intern-S1 | 0.8256 | 0.7580 | 0.7240 | 0.7374 | 0.7613 | |
| Llama-4-Maverick-17B | 0.8798 | 0.6880 | 0.7695 | 0.6880 | 0.7563 |
| Method | BLEU-1 | BLEU-4 | ROUGE-1 | ROUGE-2 | Entity-F1 |
|---|---|---|---|---|---|
| GPT-5.2 | 39.88 | 21.25 | 13.14 | 4.56 | 15.59 |
| MedAgents | 40.87 | 21.60 | 14.85 0.79 | 4.63 | 16.74 |
| MedChain-Agents | 41.10 1.06 | 22.04 0.74 | 14.40 | 6.60 0.71 | 16.86 1.06 |
| ClinicalAgents | 42.67 0.87 | 23.36 0.62 | 18.43 0.86 | 8.42 0.63 | 20.72 1.17 |
| Phase | Description |
|---|---|
| Perceive (Initial) | Symptoms: recurrent cough, purulent sputum, low-grade fever, and weight loss. |
| Hypothesize 1 | Based on symptoms, the system initially hypothesizes Typical Bacterial Pneumonia . |
| Verify 1 | Orders Chest X-ray, CBC, CRP. Elevated markers (CRP/neutrophils) support infection, but X-ray unexpectedly reveals a spiculated mass and apical cavitation. Unexplained structural abnormalities trigger backtracking. Backtrack. |
| Hypothesize 2 | The single-infection belief is insufficient. The system pivots to co-evaluate malignancy and chronic infection, updating its hypothesis to: Lung Cancer, Tuberculosis, and Pneumonia . |
| Verify 2 (Final) | Orders targeted tests (high-resolution CT, biopsy, GeneXpert, sputum culture). Results definitively confirm Lung Cancer alongside tuberculosis and pneumonia. |
| Phase | Description |
|---|---|
| Perceive (Initial) | Symptoms: Stage IV cervical cancer after chemo-radiotherapy, rectal bleeding, history of HBV infection, ureteral stricture, and hydronephrosis. |
| Hypothesize 1 | Broad hypothesis set: Sinus Tachycardia, Pleural Effusion, Hydronephrosis, Pulmonary Infection, Viral Hepatitis Spectrum, Pericardial Effusion, Radiation Proctitis , and Acute Blood Loss Anemia . |
| Verify 1 | Orders ECG, chest X-ray, CBC, liver panel, renal panel. Sinus Tachycardia and Pleural Effusion are supported, and Acute Blood Loss Anemia is excluded by CBC, but others remain unconfirmed. Backtrack. |
| Hypothesize 2 | Updates hypothesis set: Pulmonary Infection , Hydronephrosis , Viral Hepatitis Spectrum , Pericardial Effusion , and Radiation Proctitis remain active. |
| Verify 2 | Orders chest CT, abdominal ultrasound, HBV-DNA, hepatitis serology panel. Pulmonary Infection is strengthened, but others remain unresolved due to partial evidence return. Backtrack. |
| Hypothesize 3 | Updates hypothesis set: Hydronephrosis and Viral Hepatitis Spectrum remain unresolved. |