[Paper Review] MedDM:LLM-executable clinical guidance tree for clinical decision-making
This paper introduces MedDM, a large-scale medical diagnostic decision-making dataset derived from clinical practice guidelines, and proposes LLM-executable clinical guidance trees (CGT) to enhance large language models (LLMs) for specialized, multi-turn clinical decision-making. By converting flowcharts from 5,000 medical literature sources into structured, natural language-based decision trees, the framework enables LLMs to perform differential diagnosis through iterative patient dialogue, significantly improving diagnostic accuracy and clinical reasoning over standard medical Q&A models.
It is becoming increasingly emphasis on the importance of LLM participating in clinical diagnosis decision-making. However, the low specialization refers to that current medical LLMs can not provide specific medical advice, which are more like a medical Q\&A. And there is no suitable clinical guidance tree data set that can be used directly with LLM. To address this issue, we first propose LLM-executavle clinical guidance tree(CGT), which can be directly used by large language models, and construct medical diagnostic decision-making dataset (MedDM), from flowcharts in clinical practice guidelines. We propose an approach to screen flowcharts from medical literature, followed by their identification and conversion into standardized diagnostic decision trees. Constructed a knowledge base with 1202 decision trees, which came from 5000 medical literature and covered 12 hospital departments, including internal medicine, surgery, psychiatry, and over 500 diseases.Moreover, we propose a method for reasoning on LLM-executable CGT and a Patient-LLM multi-turn dialogue framework.
Motivation & Objective
- To address the low specialization of current medical LLMs, which treat diagnosis as simple Q&A rather than multi-round, guided inquiry.
- To construct a publicly available, high-quality medical diagnostic decision-making dataset (MedDM) from real clinical practice guidelines.
- To design a novel LLM-executable clinical guidance tree (CGT) representation that encodes differential diagnosis logic in natural language for direct LLM reasoning.
- To develop a decision-retrieval-based dialogue framework enabling LLMs to emulate physician-like reasoning through iterative symptom collection and guideline-aligned decision paths.
- To evaluate the framework’s effectiveness in generating accurate, clinically credible responses through multi-turn patient-LLM interactions.
Proposed method
- Extracted 1202 clinical flowcharts from 5,000 medical literature sources using layout analysis and image preprocessing to isolate relevant flowchart-containing pages.
- Developed a flowchart recognition model combining Faster R-CNN for node detection (98% accuracy) and contour detection with DBSCAN clustering to identify connecting lines and decision paths.
- Applied CnOCR for text recognition within flowcharts and used a team of 7 medical calibrators to manually verify and correct node and connection relationships.
- Transformed recognized flowcharts into LLM-executable clinical guidance trees (CGT) by representing each node in natural language and encoding decision logic as structured, machine-readable text.
- Implemented a vector database to store CGT representations and used cosine similarity between rewritten patient dialogue embeddings and CGT vectors to retrieve relevant decision paths.
- Built a multi-turn dialogue system where the LLM uses retrieved CGT paths as external knowledge to guide reasoning, generating responses that include follow-up questions, diagnoses, or treatment plans.
Experimental results
Research questions
- RQ1Can LLMs be effectively guided by structured, natural language-based clinical decision trees to perform multi-turn, differential diagnosis reasoning rather than simple symptom Q&A?
- RQ2How can flowcharts from clinical practice guidelines be systematically extracted, converted, and validated into a standardized, LLM-accessible format for medical decision-making?
- RQ3To what extent does using a retrieval-augmented generation framework with LLM-executable CGTs improve the accuracy and clinical credibility of LLM-generated medical responses?
- RQ4How does the integration of expert-verified, guideline-derived decision trees affect the consistency and reasoning quality of LLM-driven patient dialogues?
- RQ5Can a large-scale, publicly available dataset of clinical decision trees (MedDM) serve as a foundation for benchmarking and advancing LLM-based clinical decision support systems?
Key findings
- The MedDM dataset comprises 1,202 validated clinical guidance trees extracted from 5,000 medical literature sources, covering 12 hospital departments and over 500 diseases.
- The flowchart recognition pipeline achieved 98% accuracy in node detection using Faster R-CNN, enabling reliable structural extraction from medical images.
- The LLM-executable CGT representation successfully encoded differential diagnosis logic in natural language, allowing direct reasoning by LLMs without requiring symbolic logic conversion.
- The decision-retrieval-based dialogue framework enabled LLMs to emulate physician-like inquiry patterns, dynamically selecting follow-up questions based on patient responses and CGT logic.
- The framework demonstrated improved diagnostic reasoning quality over standard LLMs, with responses showing greater alignment to clinical guideline pathways and reduced generic or speculative answers.
- The study establishes a foundation for future benchmarking by releasing MedDM and the CGT framework as a public resource for advancing LLM-based clinical decision support.
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.