MedKGEval: A Knowledge Graph-Based Multi-Turn Evaluation Framework for Open-Ended Patient Interactions with Clinical LLMs

Yuechun Yu, Han Ying, Haoan Jin, Wenjian Jiang, Dong Xian, Binghao Wang, Zhou Yang, Mengyue Wu

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:

  1. Doctor Agent: The LLM under evaluation.
  2. Patient Agent: Simulates a patient with a specific persona and medical history.
  3. Director Agent: Acts as the orchestrator, retrieving facts from a Knowledge Graph to ensure the Patient Agent remains medically consistent.
  4. Judge Agent: An automated evaluator that scores the Doctor Agent at every turn based on a predefined rubric.
Overview of the MedKGEval framework, illustrating the (1) Setup, (2) Conversation, and (3) Evaluation stages.

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%.

A detailed example of a multi-turn diagnostic interaction. The Director Agent provides turn-by-turn symptoms to the Patient Agent, while the Judge Agent evaluates the Doctor Agent's performance at each step.

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

BibTeX
@misc{yu2025medkgeval,
  author = {Yuechun Yu and Han Ying and Haoan Jin and Wenjian Jiang and Dong Xian and Binghao Wang and Zhou Yang and Mengyue Wu},
  title = {{MedKGEval: A Knowledge Graph-Based Multi-Turn Evaluation Framework for Open-Ended Patient Interactions with Clinical LLMs}},
  year = {2025},
  eprint = {2510.12224},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.12224},
}
Figure