TL;DR
MedRAG is a multimodal healthcare copilot that combines Retrieval-Augmented Generation (RAG) with Knowledge Graph (KG)-elicited reasoning to significantly improve diagnostic accuracy. By seamlessly integrating real-time voice consultations, electronic health records (EHRs), and structured medical knowledge, it helps clinicians differentiate between look-alike diseases and proactively suggests follow-up questions.
What Problem Does This Paper Address?
Clinical misdiagnosis is a major global challenge that compromises patient safety and drives up healthcare costs. While Large Language Models (LLMs) and standard Retrieval-Augmented Generation (RAG) systems show promise in medicine, they often fall short in real-world clinical workflows.
Existing heuristic-based RAG models frequently struggle to differentiate between diseases with highly overlapping symptoms (e.g., distinguishing lumbar canal stenosis from general sciatica), leading to vague or incorrect recommendations. Furthermore, medical data is inherently multimodal—spanning doctor-patient conversations, typed queries, and structured health records—yet existing AI assistants lack the structured reasoning capabilities required to synthesize these diverse sources effectively.
Methods
MedRAG introduces a framework that fuses the flexibility of LLMs with the precision of structured medical knowledge.
The system consists of three main components:
- Multimodal Input Processing: It supports three input modes to fit clinical workflows: non-intrusive real-time voice monitoring (using Google’s Speech-to-Text API to capture doctor-patient dialogue), direct EHR file uploads, and standard keyboard text queries.
- Knowledge Graph-Elicited Reasoning RAG: This is the core innovation. MedRAG constructs a four-tiered diagnostic Knowledge Graph (KG) from an EHR database, clustering similar diseases into hierarchical categories and decomposing them into unique features (further augmented using GPT-4o). When a patient's symptoms are input, the system extracts relevant
⟨disease, relation, feature⟩triplets to provide structured context to the backbone LLM. - Hybrid Retrieval & Proactive Questioning: In parallel to the KG, the system uses OpenAI’s
text-embedding-3-largeto perform a dense vector search (via FAISS) and retrieve the top 3 most similar historical EHR cases. If the accumulated patient information is deemed insufficient based on a semantic similarity threshold, MedRAG identifies missing critical features in the KG and proactively generates follow-up questions for the clinician to ask.
Datasets
The authors evaluated MedRAG using two primary datasets:
- DDXPlus: A benchmark public dataset for differential medical diagnosis.
- CPDD: A private dataset collected from Tan Tock Seng Hospital in Singapore, used to validate the system's performance in a real-world clinical context.
Key Insights and Ideas
- Neuro-Symbolic Synergy: Purely parametric LLMs or basic vector-search RAG models lack the granular discrimination needed for complex medical diagnoses. Combining symbolic AI (Knowledge Graphs) with neural AI (LLMs) allows the model to reason through clinical uncertainties rather than just matching keywords.
- Proactive vs. Passive Assistance: Instead of waiting for perfect data, MedRAG evaluates its own informational confidence. By proactively suggesting targeted follow-up questions, it acts as an active collaborator in the diagnostic process rather than a passive text generator.
Key Results
MedRAG was tested against several state-of-the-art open-source and closed-source LLMs.
In a diagnostic case study for a patient presenting with lower back and leg pain, standard models like Llama3.1-8b, Mixtral-8x7b, and Qwen2.5-72b provided ambiguous or incomplete diagnoses (e.g., generic sciatica). MedRAG precisely identified lumbar canal stenosis and immediately suggested a clarifying follow-up question: "Is the pain worse when standing or walking down hill?"
Quantitative evaluations on the CPDD dataset showed that using the MedRAG framework with GPT-4o achieved a diagnostic accuracy of up to 91.87% on text inputs, consistently outperforming vanilla implementations.
Additionally, a human evaluation conducted with four experienced doctors revealed that MedRAG outperformed vanilla GPT-4o across all evaluated human factors—including Trust, Clinical Relevance, and Safety—with its most significant margin of victory occurring in Adoption Intention. Doctors noted that its emphasis on evidence-based reasoning aligned well with clinical standards.
Limitations and Future Work
Not explicitly discussed in the paper.
Summary updated