TL;DR
KG-Followup is a novel framework that combines large language models (LLMs) with structured medical knowledge graphs and active in-context learning to automate clinical history-taking. By systematically uncovering hidden symptoms and mapping differential diagnosis pathways, it improves follow-up question recall by 5% to 8% over state-of-the-art methods while maintaining a concise, patient-friendly question count.
What Problem Does This Paper Address?
A significant portion of diagnostic errors in medicine stems from incomplete information gathering during initial patient history-taking. While LLMs show promise in reducing physician workloads by handling pre-diagnostic assessments, they often struggle to identify critical "information gaps."
Standard LLMs rely on internal knowledge, which frequently misses subtle, unmentioned clinical connections or fails to ask the strategic follow-up questions needed to rule out severe conditions. This paper addresses the challenge of generating comprehensive, context-aware, and clinically relevant follow-up questions without overwhelming the patient with redundant inquiries.
Methods
The authors introduce KG-Followup, a framework that integrates structured medical knowledge with LLM generation through a multi-stage pipeline:
- Preliminary Clarification: The LLM generates an initial set of questions based solely on its internal knowledge.
- EHR-Guided KG Linking: The LLM extracts medical entities from the patient's message to act as a proxy Electronic Health Record (EHR). These entities are mapped to a biomedical knowledge graph (PrimeKG). The system performs a breadth-first search to find overlapping, clinically relevant concepts, which are then ranked by the LLM to generate symptom-driven questions.
- DDX-Guided KG Reasoning: The LLM proposes a differential diagnosis (DDX). The framework then finds the shortest reasoning paths in the knowledge graph between the patient's symptoms and these potential diagnoses, using the intermediate nodes to formulate targeted questions aimed at confirming or ruling out specific conditions.
- Active In-Context Learning (ICL): To handle edge cases where patient queries cannot be mapped to the knowledge graph, the system treats these as "hard cases" and uses them as few-shot examples to guide the LLM.
- Question Consolidation: To prevent patient fatigue, all generated questions are embedded using a medical encoder, clustered via K-means, and refined by an LLM to eliminate duplicates and redundancies.
Datasets
The framework was evaluated on two key datasets:
- FollowupBench: An existing expert-curated benchmark containing 250 instances with an average of 9 questions per case.
- ClinicalInquiryBench: A new, larger benchmark curated by the authors. It transforms 1,498 context-seeking instances from HealthBench into explicit follow-up evaluation criteria, complete with question weights derived from original physician-annotated rubric scores to reflect diagnostic importance.
Key Insights and Ideas
- Bridging the Knowledge Gap: Structured knowledge graphs act as a "seamless patch-up" for LLMs, providing explicit clinical pathways that internal weights alone cannot reliably replicate. For instance, it helps connect a vague complaint like "stomach issues" to critical unmentioned symptoms like "unintentional weight loss."
- Smart Few-Shot Selection: Rather than choosing random examples for in-context learning, actively selecting "hard cases"—queries that completely fail knowledge graph mapping—significantly boosts the model's ability to handle complex edge cases efficiently.
- Quality Over Quantity: While standard LLMs achieve higher recall simply by asking more questions, KG-Followup achieves superior recall with a tightly controlled, consolidated question pool, optimizing the efficiency of doctor-patient interactions.
Key Results
KG-Followup consistently outperformed state-of-the-art baselines (including GPT-4o and MedGemma-27B) across both benchmarks:
- Recall Improvements: It surpassed existing methods by 5% to 8% in weighted recall, achieving 70% recall on ClinicalInquiryBench and 80% recall on FollowupBench.
- Backbone Synergy: When augmented with the knowledge graph framework, Claude Sonnet outperformed Claude Haiku by up to 4 points, demonstrating that larger models are significantly better at leveraging external structured knowledge.
- Efficiency: As shown in the zero-shot scaling analysis, while standard models require up to 40+ questions to maximize recall, KG-Followup achieves comparable or better results with far fewer questions.
Limitations and Future Work
- Knowledge Graph Dependency: The framework relies heavily on pre-constructed biomedical knowledge graphs. If the underlying graph is incomplete, outdated, or unavailable (such as in low-resource clinical settings), the system's performance may degrade.
- Offline Evaluation Constraints: Both benchmarks evaluate static, single-pass question generation. Real-world clinical workflows are dynamic and iterative; future work will need to test how this framework adapts to multi-turn, live patient dialogues.
- Safety and Bias: The authors note that biases inherent in either the base LLM or the knowledge graph could impact the safety of generated questions, underscoring the need for human oversight before deployment.
Summary updated