Sequential diagnosis requires balancing diagnostic accuracy against resource costs through iterative information gathering. Existing Large Language Model (LLM) approaches exhibit a critical knowledge-reasoning gap: despite encoding extensive medical knowledge, they struggle to reason systematically under cost constraints, often resorting to excessive testing. We propose GraphDx, a knowledge-enhanced framework with two core innovations. First, we design an automated pipeline that leverages LLMs to construct Medical Diagnosis Knowledge Graphs (MDKGs) with quantized typicality, action-centric topology, and dual-objective attributes for both diagnostic relevance and cost-sensitivity. Second, we introduce three collaborative agents (Perception, Reasoning, and Decision) where the Perception and Decision Agents handle language understanding and generation, while the Reasoning Agent performs deterministic evidence scoring and cost-aware planning on the MDKG. Experiments on MedQA and MIMIC-IV across three LLM backbones (DeepSeek-V3, Kimi-k2, Llama-3.3) show that GraphDx improves diagnostic success rates from 50--68% to 79--93% while reducing test costs by 20--54%, providing a robust, economical, and interpretable solution for automated clinical diagnosis.
Figures & tables
Method
Explicit KG
Auto Construction
Sequential Diagnosis
Cost- Sensitive
End-to-End LLM Singhal et al. (2023)
✗
–
△
✗
Multi-Agent LLM Nori et al. (2025)
✗
–
✓
△
KG-Enhanced LLM Gao et al. (2025)
✓
✗
△
✗
AutoKG Chen and Bertozzi (2023)
✓
✓
✗
✗
GraphDx (Ours)
✓
✓
✓
✓
Table 1: Comparison of Recent Works and Ours. ✓=Yes, ✗=No, △ =Weak/partial, —=Not applicable.
Figure 1: Overview of the GraphDx framework. Left: Automated MDKG Construction Pipeline (Algorithm 1), utilizing parallel extraction and hybrid alignment to build the graph. Right: Graph-Augmented Diagnostic Agent (Algorithm 2), employing a knowledge-enhanced loop of observation extraction, graph grounding, evidence scoring, and utility-based action planning.
Base Model
Method
Score (0-10) ↑
Cost ()\downarrow$
Turns
Success Rate ↑
Harmful Rate ↓
DeepSeek-V3
Standard LLM
7.25 ± 1.34
1062.69 ± 655.20
4.66 ± 0.77
67.8%
22.5%
MAI-DxO
8.05 ± 0.98
2460.20 ± 1114.69
9.51 ± 2.74
75.0%
13.2%
GraphDx (Ours)
9.05 ± 0.47
537.13 ± 221.24
4.76 ± 0.94
88.7%
7.7%
Kimi-k2
Standard LLM
7.66 ± 1.24
1456.88 ± 575.35
3.62 ± 0.51
66.8%
12.2%
MAI-DxO
6.92 ± 1.61
2220.57 ± 1026.20
11.99 ± 3.54
64.0%
24.5%
GraphDx (Ours)
9.50 ± 0.29
1156.02 ± 407.83
4.17 ± 0.73
93.2%
1.3%
Table 2: Diagnostic Performance Comparison on MedQA Dataset
Figure 2: Joint distribution of Cost vs. Diagnostic Score for DeepSeek-V3 model.
Base Model
Method
Score (0-10) ↑
Cost ()\downarrow$
Turns
Success Rate ↑
Harmful Rate ↓
DeepSeek-V3
Standard LLM
6.60 ± 0.93
737.43 ± 267.38
5.41 ± 0.87
56.8%
18.8%
MAI-DxO
5.57 ± 1.43
1497.13 ± 844.00
11.28 ± 3.53
45.0%
30.5%
GraphDx (Ours)
8.27 ± 0.51
340.98 ± 129.84
5.19 ± 0.93
83.0%
5.7%
Kimi-k2
Standard LLM
6.24 ± 1.08
1040.60 ± 539.29
4.02 ± 0.57
54.2%
23.2%
MAI-DxO
5.19 ± 1.45
956.93 ± 559.68
11.97 ± 3.71
45.0%
36.5%
GraphDx (Ours)
8.06 ± 0.65
658.48 ± 246.00
5.30 ± 1.26
79.3%
7.5%
Table 3: Diagnostic Performance Comparison on MIMIC-IV Dataset
Figure 3: Evolution of GT Disease Rank and Top-k Hit Rate. The blue line (left) shows the decline in average rank, while bars (right) show the increasing probability of GT entering the Top-1/3/5 list.
Method
Score ↑
Cost ()\downarrow$
Success Rate ↑
Harmful Rate ↓
Baseline
7.51 ± 1.30
1857 ± 773
65.7%
12.5%
w/o Graph
8.00 ± 1.21
1710 ± 739
71.5%
10.5%
w/o Inference
8.39 ± 1.08
1286 ± 642
77.5%
11.2%
GraphDx (Full)
9.24 ± 0.57
1066 ± 469
88.3%
4.3%
Table 4: Detailed Ablation Study Results on Llama-3.3
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
Typicality Label
Symbol
Weight Value
Strongly Positive
++
4.0
Positive
+
1.5
Negative
-
-1.5
Strongly Negative
–
-4.0
Appendix
Table 5: Typicality Weights used in Evidence Scoring
Cost Label
Score
Invasiveness
Multiplier
Very Low
1.0
Low
1.0
Low
2.0
Moderate
1.5
Moderate
3.0
High
2.0
High
4.0
Very High
5.0
Appendix
Table 6: Cost Scores and Invasiveness Multipliers
Figure 4: Statistical distribution of key attributes in MDKG.
Figure 5: Sensitivity of Top-1 Accuracy to variations in Strong Evidence Weight ( w++ ) and Absence Penalty ( λ ). The system exhibits a stable performance plateau, demonstrating robustness.
Figure 6: Typical Case Analysis (Scenario 50: Primary Amenorrhea). The Baseline agent (left) misdiagnosed Turner Syndrome by focusing on amenorrhea while ignoring the contradictory evidence of tall stature and fractures . In contrast, GraphDx (right) successfully linked these cues to Aromatase Deficiency via the structured graph, demonstrating the navigational role of structured knowledge.
Real-world clinical diagnosis is a complex process in which the doctor is required to obtain information from both interaction with the patient and conducting medical exams. Additionally, the doctor needs to adapt to different patient personas, as well as noisy and incomplete information that can happen at any time during the process. However, existing benchmarks for medical LLMs and methods for automatic diagnosis largely simplify this process by reducing it to single-turn question answering, noise-free conversations, or sequential exam making, etc., ignoring the interactive and uncertain nature of clinical diagnosis. In this paper, we aim to address this gap by formalizing clinical diagnosis as a Partially Observable Markov Decision Process (POMDP) with three action types: questioning the patient, ordering medical exams as tool calls, and issuing a diagnosis. We also introduce a systematic noise model comprising seven patient noise types and three exam noise types. Using our proposed environment, we train an effective diagnosis agent, MedExAgent, through a two-stage pipeline that first performs supervised finetuning on synthetic conversations structured after the Calgary-Cambridge model for clinical interviews, and then applies DAPO to optimize a composite reward capturing diagnostic accuracy, tool call quality, and exam cost including financial cost and patient discomfort. Through extensive experiments and ablation studies, we demonstrate that MedExAgent achieves diagnostic performance comparable to larger models while maintaining cost-efficient examination strategies.
Yicheng Gao, Xiaolin Zhou, Yahan Li +2
University of Southern California · Arizona State University
There is growing interest in using machine learning (ML) to support clinical diagnosis, but most approaches rely on static, fully observed datasets and fail to reflect the sequential, resource-aware reasoning clinicians use in practice. Diagnosis remains complex and error prone, especially in high-pressure or resource-limited settings, underscoring the need for frameworks that help clinicians make timely and cost-effective decisions. We propose ACTMED (Adaptive Clinical Test selection via Model-based Experimental Design), a diagnostic framework that integrates Bayesian Experimental Design (BED) with large language models (LLMs) to better emulate real-world diagnostic reasoning. At each step, ACTMED selects the test expected to yield the greatest reduction in diagnostic uncertainty for a given patient. LLMs act as flexible simulators, generating plausible patient state distributions and supporting belief updates without requiring structured, task-specific training data. Clinicians can remain in the loop; reviewing test suggestions, interpreting intermediate outputs, and applying clinical judgment throughout. We evaluate ACTMED on real-world datasets and show it can optimize test selection to improve diagnostic accuracy, interpretability, and resource use. This represents a step toward transparent, adaptive, and clinician-aligned diagnostic systems that generalize across settings with reduced reliance on domain-specific data.
Silas Ruhrberg Estévez, Nicolás Astorga, Mihaela van der Schaar
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.
Zhuohan Ge, Haoyang Li, Yubo Wang +3
The Hong Kong Polytechnic University, Hong Kong SAR, China · The Hong Kong University of Science and Technology, Hong Kong SAR, China