A knowledge-guided and pattern-constrained framework for medical dialogue generation.
Yuhong He, Yi Hong, Xinping Gao, Shizhu He, Yongqi Zhang, Jun Wan
School of Computer Science and Engineering, Macau University of Science and Technology, Macao, 519087, China; School of Artificial Intelligence, Zhongkai University of Agriculture and Engineering, Guangzhou, 510225, China. Electronic address: yuhonghe.ai@gmail.com. · School of Artificial Intelligence, Zhongkai University of Agriculture and Engineering, Guangzhou, 510225, China.
Key points
From the paper's conclusion- To address these challenges, we present a knowledge-guided and pattern-constrained framework (KGPC) for MDG, which leverages comprehensive clinical evidence and learnable structural constraint to guide response generation toward clinical accuracy and structural coherence.
Abstract
Medical dialogue generation (MDG) aims to generate clinically accurate and structurally coherent responses from doctor-patient interactions by integrating comprehensive clinical cues and organizing them in a clinically logical manner. Existing approaches primarily rely on explicit entities and relations from medical knowledge graphs (KGs), overlooking implicit clinical cues essential for constructing a comprehensive patient state. Moreover, insufficient structural constraint for clinically organized generation limits their ability to coherently transform clinical evidence into assessment and actionable plans. To address these challenges, we present a knowledge-guided and pattern-constrained framework (KGPC) for MDG, which leverages comprehensive clinical evidence and learnable structural constraint to guide response generation toward clinical accuracy and structural coherence. Specifically, KGPC constructs a heterogeneous patient condition graph by enriching explicit dialogue entities with implicit clinical cues inferred from medical KGs and temporal signals, and retrieves context-relevant knowledge paths through hierarchical dialogue-aware traversal as reliable evidence for accurate reasoning. Meanwhile, KGPC derives a learnable structural constraint signal by converting dialogues into Subjective, Objective, Assessment, and Plan (SOAP)-style notes, retrieving SOAP notes of similar clinical states, and aggregating their structural representations. The retrieved knowledge paths, dialogue history, and structural constraint signal are jointly incorporated into the generator, grounding response generation in comprehensive clinical cues and guiding it to follow clinically logical structural patterns, thereby producing structurally coherent responses. Experiments on four public datasets show that KGPC consistently outperforms competitive baselines. Further analyses confirm module complementarity, clinical reliability, and plug-and-play adaptability across open-source LLM backbones.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A knowledge-guided agentic framework for mitigating patient-context ambiguity in health queriesarXiv · 2026
- KOSMOS: Ontology-Based Knowledge Graph Scaffolding for Medical Documentation GenerationInformation · 2026
- MedGraph: Maintaining Patient State with Graph Memory for Long-Term Medical DialoguearXiv · 2026
- Towards conversational artificial intelligence for disease managementNature · 2026
- Large Language Models for Structured Clinical Data Analysis: Dual-Agent Grounding and ValidationarXiv · 2026
- TabMedQA: From Structured Data to Question-Answer Datasets in Early Clinical Decision-MakingmedRxiv · 2026