Introduction
Current Medical Dialogue Systems (MDS) primarily function as sophisticated pattern matchers. By fine-tuning on large-scale doctor-patient conversations, these models learn to predict the next word in a sequence but often fail to grasp the underlying clinical logic. This leads to significant issues, including frequency bias—where models favor common diseases over logically sound ones—and a failure to align with clinician preferences, such as the critical need to "rule out" severe but less frequent conditions. To bridge this gap, we introduce EMULATION, a framework designed to align AI responses with the diagnostic reasoning processes used by human physicians.
The EMULATION Framework
The EMULATION framework decomposes the dialogue generation process into a multi-stage reasoning pipeline that mimics clinical thought:
- Abductive Reasoning: This stage identifies a broad set of potential diseases that could explain the patient's reported symptoms. It utilizes a "retrieve-then-refine" strategy, leveraging medical knowledge bases to ensure the candidate list is grounded in clinical reality.
- Deductive Reasoning: Once potential diseases are identified, the model evaluates the patient's specific symptoms against each candidate. It explicitly categorizes findings as "supporting," "opposing," or "irrelevant," providing a structured logical check against the initial abduction.
- Thought Alignment: The core of the framework is the Disease Priority Alignment ranker. This module determines which disease or symptom is most critical to address next, reflecting how doctors prioritize urgent risks. The system then generates a Chain-of-Thought (CoT) reasoning path before producing the final natural language response.
The final implementation utilizes a Qwen-7B backbone, fine-tuned using Low-Rank Adaptation (LoRA) on a specialized corpus of reasoning paths.
The MEDIATOR Dataset
A primary challenge in training reasoning-aligned models is the lack of "internal thought" data in standard dialogue transcripts. To address this, we developed MEDIATOR, a benchmark dataset containing 407,000 annotated thought processes. By using GPT-4 to "reverse-engineer" the likely reasoning paths for every turn in the MedDG and KaMed datasets, we provide a ground-truth signal that allows models to learn the "why" behind a doctor's response, rather than just the "what."
Evaluation and Results
EMULATION was benchmarked against state-of-the-art medical LLMs, including HuatuoGPT-II and DISC-MedLLM.
- Quantitative Performance: On the MedDG dataset, EMULATION achieved an Entity-F1 score of 24.03, outperforming the best fine-tuned baseline (22.92). This suggests a superior ability to identify and discuss relevant medical entities accurately.
- Human Evaluation: Medical students assessed the model's outputs, rating the generated thought processes as 87-90% accurate in medical knowledge and 79-82% rational in logical progression.
- Ablation Analysis: Studies revealed that the Abductive Reasoning module is the most critical component; its removal led to the most significant performance degradation, highlighting the importance of a sound initial diagnostic hypothesis.
Discussion and Conclusion
By requiring models to "think before they speak," EMULATION significantly reduces hallucinations and improves the clinical utility of MDS. The explicit generation of reasoning paths also enhances explainability, allowing human practitioners to verify the AI's logic. While the current reliance on synthetic ground truth from GPT-4 and the increased computational overhead of multi-stage reasoning are limitations, this work represents a major step toward AI that truly emulates the strategic and logical rigor of human doctors.
Summary updated