Introduction
Evaluating Large Language Models (LLMs) for clinical applications presents significant challenges. Traditional benchmarks often rely on static, single-turn tasks, such as multiple-choice medical exams, or post-hoc reviews of completed transcripts. However, clinical practice is inherently dialogic; a physician must iteratively gather information, filter noise, and synthesize data revealed over multiple turns. Static benchmarks fail to capture this "in-situ" dynamic, often missing critical issues like model "drift," failure to ask necessary clarifying questions, or overlooked safety warnings.
MedKGEval addresses this gap by introducing a novel multi-agent framework that leverages medical knowledge graphs (KGs) to simulate and evaluate realistic, multi-turn doctor-patient interactions. By assessing LLMs at every turn of a conversation, the framework uncovers subtle reasoning flaws and safety risks that end-of-conversation evaluations typically miss.
Framework Design and Methodology
The MedKGEval pipeline utilizes four specialized agents to create a controllable, knowledge-grounded environment:
- Doctor Agent: The LLM under evaluation.
- Patient Agent: Simulates a patient with a specific persona and medical history.
- Director Agent: Acts as the orchestrator, retrieving facts from a Knowledge Graph to ensure the Patient Agent remains medically consistent.
- Judge Agent: An automated evaluator that scores the Doctor Agent at every turn based on a predefined rubric.
The system is grounded by MedKG, a comprehensive medical knowledge graph integrated from major sources including CMeKG, PrimeKG, MedQA, and NLPEC. The framework extracts specific "subgraphs" (e.g., related to a particular disease or drug) to ground each test case in verified medical facts, mitigating the risk of LLM hallucinations during simulation. The evaluation was conducted on 1,000 bilingual test cases (500 Chinese, 500 English) focusing on medication consultation and disease diagnosis.
Multi-Turn Interaction and Evaluation
A key innovation of MedKGEval is the role of the Director Agent. Without KG-grounding, patient simulators often become generic or inconsistent. With the Director, the alignment between patient responses and medical facts increased from approximately 60% to over 91%.
This turn-by-turn approach allows for the measurement of distinct clinical skills, such as "History-taking." The researchers found that some models excel at data gathering but struggle with final synthesis, while others "jump the gun" by issuing diagnoses prematurely without sufficient evidence—a phenomenon termed "premature convergence."
Key Results and Insights
- Performance Trends: Large general-purpose models, such as DeepSeek-R1-671B and GPT-4o, frequently outperformed smaller, medically-specialized models. This suggests that the complex reasoning required for multi-turn dialogue benefits significantly from higher parameter counts and broader reasoning capabilities.
- The Comprehensiveness Gap: Models generally demonstrated higher "correctness" (avoiding false statements) than "comprehensiveness" (including all necessary information). In clinical settings, omissions—such as failing to mention a critical drug interaction—can be as hazardous as hallucinations.
- Model Leaders: DeepSeek-R1-671B emerged as a top performer, particularly in Chinese scenarios. In English, LLaMA3.1-70B showed exceptional history-taking abilities, systematically gathering patient information before reaching a conclusion.
Conclusion and Future Work
MedKGEval provides a robust, language-agnostic framework for testing the multi-turn reasoning of clinical LLMs. While currently focused on diagnosis and medication consultation, the authors plan to expand the framework to include treatment planning and chronic disease management. Future work will also explore using MedKGEval as a reward signal for Reinforcement Learning to directly enhance the multi-turn clinical reasoning capabilities of future models.
Summary updated