ClinDEF: A Dynamic Evaluation Framework for Large Language Models in Clinical Reasoning

Yuqi Tang, Jing Yu, Zichang Su, Kehua Feng, Zhihui Zhu, Libin Wang, Lei Liang, Qiang Zhang, Keyan Ding, Huajun ChenarXiv 2025 · DOI

Abstract

Traditional evaluation of Large Language Models (LLMs) in the medical domain has relied heavily on static benchmarks, such as multiple-choice questions from the USMLE. These methods often fail to capture the iterative, multi-turn nature of real-world clinical reasoning and are susceptible to data contamination. We introduce ClinDEF, a dynamic evaluation framework that simulates the clinical encounter through a three-agent interaction: a Doctor Agent (the LLM), a Patient Agent, and an Examiner Agent. By grounding case generation in medical knowledge graphs, ClinDEF provides a robust assessment of diagnostic accuracy, efficiency, and quality. Our findings reveal that while current state-of-the-art models achieve high diagnostic accuracy, they exhibit significant weaknesses in proactive information gathering and the management of clinical uncertainty.

Introduction

The rapid advancement of LLMs has sparked interest in their application as clinical decision support tools. However, existing evaluation paradigms are often "process-blind," focusing solely on the final answer rather than the reasoning path taken to reach it. In a clinical setting, a physician must actively elicit information, order appropriate tests, and refine a differential diagnosis. ClinDEF addresses these limitations by transforming evaluation into a dynamic, interactive simulation that measures not just what a model knows, but how it thinks and acts.

Methodology: The Three-Agent Simulation

ClinDEF structures the evaluation as a conversation between three specialized agents:

  1. Doctor Agent: The LLM under test, responsible for interviewing the patient and ordering tests.
  2. Patient Agent: An automated persona that provides history and symptoms based on a hidden case profile.
  3. Examiner Agent: A gatekeeper for objective data, providing laboratory and imaging results only upon specific request.
The ClinDEF reasoning chain illustrates the iterative process of asking questions and requesting tests to reach a final diagnosis.

To ensure the evaluation is both medically sound and resistant to memorization, ClinDEF utilizes a Knowledge-Grounded Case Generation pipeline. It samples diseases from a Knowledge Graph (KG) and retrieves clinical details from a Medical Encyclopedia (KE) to synthesize unique, medically consistent patient cases that the models are unlikely to have encountered during training.

Evaluation Framework

ClinDEF evaluates models across three primary dimensions:

  • Diagnostic Accuracy: The correctness of the final diagnosis.
  • Diagnostic Efficiency: Measured by the number of turns taken and the "Positive Hit Rate"—the ratio of useful clinical findings elicited to the total number of inquiries.
  • Diagnostic Quality Score (DQS): An OSCE-inspired rubric that scores seven dimensions of clinical practice, including Chief Complaint Exploration and Uncertainty Management. This is scored by an "LLM-as-a-Judge" committee, which has shown high correlation (0.80–0.87) with human physician assessments.
An example of the interaction between the Examiner Agent and the Doctor Agent during the diagnostic process.

Key Findings and Results

The evaluation of 15 leading LLMs, including proprietary and open-source models, yielded several critical insights:

The Information Gathering Gap

A significant finding was the passivity of even the most advanced models. Models like Gemini-2.5-Pro and GPT-4.1-mini often failed to perform thorough history taking, scoring poorly on Chief Complaint Exploration. They frequently missed mandatory follow-up questions that a human practitioner would prioritize.

Overconfidence and Uncertainty

Models demonstrated a systemic lack of "Diagnostic Uncertainty." They tended to issue definitive diagnoses prematurely based on incomplete evidence. In the DQS evaluation, most models scored near the bottom for uncertainty management, highlighting a critical area for improvement in clinical safety.

Performance Comparison

  • Top Performer: Gemini-2.5-Pro achieved the highest diagnostic accuracy (72.87%) and the best overall Quality Score (70.0/100).
  • Efficiency: Claude-4-Sonnet demonstrated the most "clinically loaded" inquiries, achieving the highest Positive Hit Rate (71.09%).
  • Open-Source Progress: Models like Llama-4-Maverick and DeepSeek-V3 showed competitive performance, significantly narrowing the gap with proprietary counterparts.

Conclusion and Future Work

ClinDEF represents a shift toward more realistic, process-oriented evaluation of AI in medicine. While LLMs show promise in diagnostic accuracy, their inability to proactively gather information and manage uncertainty remains a hurdle for clinical integration. Future iterations of ClinDEF will aim to incorporate multi-modal data (e.g., actual medical imaging) and expand the action space to include treatment planning and longitudinal follow-up.

Summary updated

BibTeX
@misc{tang2025clindef,
  author = {Yuqi Tang and Jing Yu and Zichang Su and Kehua Feng and Zhihui Zhu and Libin Wang and Lei Liang and Qiang Zhang and Keyan Ding and Huajun Chen},
  title = {{ClinDEF: A Dynamic Evaluation Framework for Large Language Models in Clinical Reasoning}},
  year = {2025},
  eprint = {2512.23440},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.23440},
}
Figure