[Paper Review] Leveraging Medical Knowledge Graphs Into Large Language Models for Diagnosis Prediction: Design and Application Study
The paper introduces Dr.Knows, a knowledge-graph–powered path model that selects top N diagnoses via multi-hop UMLS paths to augment LLMs for diagnosis generation, improving precision and explainability.
Electronic Health Records (EHRs) and routine documentation practices play a vital role in patients' daily care, providing a holistic record of health, diagnoses, and treatment. However, complex and verbose EHR narratives overload healthcare providers, risking diagnostic inaccuracies. While Large Language Models (LLMs) have showcased their potential in diverse language tasks, their application in the healthcare arena needs to ensure the minimization of diagnostic errors and the prevention of patient harm. In this paper, we outline an innovative approach for augmenting the proficiency of LLMs in the realm of automated diagnosis generation, achieved through the incorporation of a medical knowledge graph (KG) and a novel graph model: Dr.Knows, inspired by the clinical diagnostic reasoning process. We derive the KG from the National Library of Medicine's Unified Medical Language System (UMLS), a robust repository of biomedical knowledge. Our method negates the need for pre-training and instead leverages the KG as an auxiliary instrument aiding in the interpretation and summarization of complex medical concepts. Using real-world hospital datasets, our experimental results demonstrate that the proposed approach of combining LLMs with KG has the potential to improve the accuracy of automated diagnosis generation. More importantly, our approach offers an explainable diagnostic pathway, edging us closer to the realization of AI-augmented diagnostic decision support systems.
Motivation & Objective
- Address diagnostic accuracy and safety when using LLMs for medical diagnosis generation.
- Leverage a medical knowledge graph derived from UMLS to guide probabilistic diagnosis reasoning.
- Develop a graph-based module (Dr.Knows) to retrieve explainable diagnostic paths.
- Evaluate Dr.Knows as both a standalone predictor and as a prompting aid for LLMs.
Proposed method
- Construct a UMLS-based knowledge graph focusing on SNOMED CT CUIs.
- Retrieve 1-hop subgraphs around input concepts and encode with Stack Graph Isomorphism Network (SGIN).
- Rank and select top N diagnostic paths via a Path Ranker using attention over path representations and input narrative.
- Train with a joint loss: BCE for CUI prediction and contrastive learning to shape representations.
- Evaluate Dr.Knows on mimic-iii and in-house datasets using Recall@N, Precision@N, and F-score (CUI-F).
- Prompt foundation models (T5 variants and GPT-3.5-chat) with path-derived outputs to assess impact on diagnosis generation.
Experimental results
Research questions
- RQ1Can a knowledge-graph–driven path generator (Dr.Knows) improve diagnostic CUI prediction over baselines?
- RQ2Do path-based prompts to LLMs enhance diagnosis generation metrics (ROUGE, CUI-F) compared to non-path prompts?
- RQ3How do different prompt styles (subject-matter vs non-subject-matter) affect performance of small and large foundation models?
Key findings
- Dr.Knows variants achieve higher precision and F-score than concept-extractor and T5 baselines on CUI prediction.
- On mimic-iii, MultiAttn and TriAttn variants with top-N selection outperform baselines in Recall/Precision/F-Score for CUI prediction.
- For in-house data, TriAttn W and related variants reach notable gains in CUI-F compared to concept extraction alone.
- Path-informed prompts improve ROUGE-L and CUI-F scores for T5-based prompt-tuning and for GPT-3.5–based zero-shot prompting, with VanillaT5+Path achieving top ROUGE-L and strong CUI-F.
- ChatGPT with path prompts (ChatGPT+Path) shows instances where reasoning explicitly cites KG paths, aiding diagnosis justification.
- Across 237 test samples, 38% of ChatGPT+Path outputs include explicit path-based reasoning connections to diagnoses.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.