Abstract
Medical dialogue systems have attracted growing research attention as they have the potential to provide rapid diagnoses, treatment plans, and health consultations. In medical dialogues, a proper diagnosis is crucial as it establishes the foundation for future consultations. Clinicians typically employ both intuitive and analytic reasoning to formulate a differential diagnosis. This reasoning process hypothesizes and verifies a variety of possible diseases and strives to generate a comprehensive and rigorous diagnosis. However, recent studies on medical dialogue generation have overlooked the significance of modeling a differential diagnosis, which hinders the practical application of these systems. To address the above issue, we propose a medical dialogue generation framework with the Intuitive-then-Analytic Differential Diagnosis (IADDx). Our method starts with a differential diagnosis via retrieval-based intuitive association and subsequently refines it through a graph-enhanced analytic procedure. The resulting differential diagnosis is then used to retrieve medical knowledge and guide response generation. Experimental results on two datasets validate the efficacy of our method. Besides, we demonstrate how our framework assists both clinicians and patients in understanding the diagnostic process, for instance, by producing intermediate results and graph-based diagnosis paths.
Introduction
Medical Dialogue Systems (MDS) aim to bridge the gap between patients and healthcare providers by offering rapid consultations. However, a persistent challenge in current MDS research is the "grounding" problem: while models can generate coherent and polite text, their responses often lack a solid clinical foundation. Unlike human clinicians who perform a rigorous differential diagnosis (DDx)—weighing multiple possibilities and ruling out alternatives—many AI models treat diagnosis as a simple classification task or skip it entirely.
As shown in Figure 1, clinicians use a dual-process cognitive approach. They first form an intuitive hypothesis based on experience and then apply analytical reasoning to verify that hypothesis against medical knowledge. This paper introduces IADDx, a framework designed to mimic this human clinical reasoning process to generate more accurate and interpretable medical advice.
Methodology: The IADDx Framework
The IADDx framework operates through a two-stage differential diagnosis process followed by a knowledge-guided response generation phase.
Stage 1: Intuitive Association
In this stage, the system mimics a doctor's "gut feeling" by recalling similar past cases. Using the current dialogue history, the model retrieves relevant patient cases and disease documents from a curated database. This produces a preliminary list of potential diseases ($d_1, d_2, ..., d_k$), providing a broad starting point for the diagnosis.
Stage 2: Analytic Refinement
To move beyond simple association, the system refines the preliminary list using a Diagnosis-Oriented Graph (DOG). This graph structures medical knowledge into a hierarchy: System → Organ → Disease → Symptom. A "ConceptTransformer" uses cross-attention to map the dialogue history against this graph, verifying the preliminary list and producing a refined, more rigorous diagnosis.
Response Generation
To ensure the dialogue remains clinically relevant, the model utilizes SOAP notes (Subjective, Objective, Assessment, and Plan) to extract structured clinical segments from the chat history. The refined diagnosis and predicted "dialogue acts" (e.g., inquiring about symptoms) guide a Disease-guided Retriever to fetch specific medical passages. Finally, a Fusion-in-Decoder (FiD) generator synthesizes the dialogue history, retrieved passages, and dialogue acts into a final response.
Experimental Evaluation
The model was evaluated on two major Chinese medical dialogue datasets: MedDG (17,000 dialogues in gastroenterology) and KaMed (63,000 dialogues across nearly 100 departments).
Key Results
IADDx consistently outperformed strong baselines, including GPT-2, BART, and the previous state-of-the-art model, DFMed:
- Automatic Metrics: On the MedDG dataset, IADDx achieved a BLEU-1 score of 43.17 and a ROUGE-L (R-1) of 29.60, indicating high overlap with ground-truth doctor responses.
- Clinical Accuracy: The model demonstrated superior "Entity F1" scores, reflecting its ability to correctly identify and mention relevant medical entities like symptoms and tests.
- Human Evaluation: Licensed physicians rated IADDx higher than all baselines in sentence fluency (4.08), knowledge accuracy (2.41), and overall quality (3.83), noting that its treatment plans were more tailored to the specific diagnosis.
Conclusion
By explicitly modeling the dual-process reasoning of clinicians, IADDx addresses the grounding problem in medical dialogue generation. The use of a Diagnosis-Oriented Graph not only improves accuracy but also enhances interpretability by allowing the system to trace a "diagnostic path." Future work will focus on making the dialogue more proactive, enabling the AI to ask targeted "probing" questions to rule out diseases in the differential list more efficiently.
Summary updated