MultiDx: A Multi-Source Knowledge Integration Framework towards Diagnostic Reasoning

Yimin Deng, Zhenxi Lin, Yejing Wang, Guoshuai Zhao, Pengyue Jia, Zichuan Fu, Derong Xu, Yefeng Zheng, Xiangyu Zhao, Li Zhu, Xueming Qian

TL;DR

MultiDx is a novel two-stage framework that enhances LLM-based medical diagnostic reasoning by integrating diverse, dynamic knowledge sources like real-time web search, structured clinical notes (SOAP), and historical case databases. By mimicking standard clinical workflows—generating a suspected disease list followed by differential diagnosis—MultiDx significantly improves both diagnostic accuracy and the verifiability of its reasoning paths.

What Problem Does This Paper Address?

While Large Language Models (LLMs) excel at commonsense reasoning, medical diagnosis remains a significant hurdle. Current medical LLM frameworks suffer from two primary flaws:

  1. Knowledge Insufficiency: They rely heavily on static pre-trained internal knowledge or fixed databases, making them poorly equipped to handle rare, complex, or rapidly evolving diseases.
  2. Lack of Clinical Alignment: Most existing methods focus strictly on the accuracy of the final prediction (the "black-box" answer), completely ignoring the reasoning trajectory.

In clinical practice, a diagnosis without a clear justification is untrustworthy. Doctors and patients alike need a structured, verifiable "chain of medical evidence"—known as a differential diagnosis—to validate an AI's conclusions. MultiDx bridges this gap by aligning LLM reasoning with standard clinical workflows.

An example showing why structured diagnostic reasoning is vital for clinical trust compared to a simple black-box prediction.

Methods

MultiDx introduces a two-stage pipeline designed to mirror how human physicians approach complex cases: Multi-source Knowledge-guided Diagnosis Generation followed by Evidence Integration and Differential Diagnosis.

Stage 1: Multi-Source Knowledge-Guided Diagnosis Generation

The framework extracts candidate disease lists and reasoning paths from four distinct, complementary knowledge streams:

  • SOAP Structuring: Raw, unstructured patient case reports are often noisy. MultiDx uses an LLM to standardize inputs into the classic medical SOAP format (Subjective symptoms, Objective examination results, Assessment, and Plan).
  • Medical Case Database (Hierarchical RAG): To leverage historical clinical wisdom, the system performs a two-tier retrieval. First, it finds similar overall cases using BM25 textual similarity. Second, it extracts fine-grained reasoning steps from the database by calculating the Jaccard similarity of biomedical entities (extracted via SciSpacy).
  • Web Search Agent: To handle rare or newly documented conditions, an iterative agentic search module creates a high-level browsing plan, queries the live web, and incrementally updates its internal memory to synthesize up-to-date findings.

Stage 2: Evidence Integration and Differential Diagnosis

Once the four separate candidate lists are generated, a final reasoning LLM acts as the chief resident:

  1. Disease Matching: It unifies synonyms across lists under canonical medical terms (e.g., mapping "heart attack" to "myocardial infarction").
  2. Support Aggregation: It counts votes and analyzes the ranking of candidates across the different knowledge sources.
  3. Differential Diagnosis: Instead of a simple majority vote, the LLM is explicitly prompted to use clinical logic to compare top candidates, actively defending or ruling out diseases based on the patient's specific clinical features.
  4. Final Re-ranking: It outputs a finalized, ranked disease list accompanied by a structured reasoning trace.

Datasets

The authors evaluated MultiDx on two public benchmarks that emphasize clinical reasoning paths over simple multiple-choice answering:

  • MedCaseReasoning: A dataset containing 14,489 QA cases paired with detailed, human-annotated reasoning statements from real-world medical case reports. 13,092 cases were used to populate the historical case database, and 300 test samples were used for evaluation.
  • DiReCT: A dataset consisting of clinical notes meticulously annotated by physicians to map out the full trajectory from initial observations to final diagnosis. 50 samples were randomly selected for evaluation.

Key Insights and Ideas

  • Clinical Formatting is a Prompt Booster: Simply reformatting raw text into a standardized SOAP format (w/ SOAP variant) improved baseline diagnostic accuracy without adding any external data. Standardizing data layout helps LLMs process clinical information more effectively.
  • Granular RAG Beats Whole-Case RAG: Retrieving individual, entity-aligned reasoning steps (w/ related trace) yielded better diagnostic accuracy than retrieving entire historical cases (w/ related case). Medical logic is modular; bits of reasoning from a completely different disease can help solve the current case if they share underlying biomedical entities.
  • Live Search is Essential for the Unseen: In evaluations split between "seen" diseases (present in the training database) and "unseen" diseases, the web search module was the single most critical component for maintaining high accuracy on unseen cases, proving that static weights are insufficient for open-world medicine.
  • Voting is Not Reasoning: Simple consensus voting across different modules fails to capture nuanced medical conflicts. Forcing the model to perform an explicit differential diagnosis step in Stage 2 significantly boosted performance over a baseline voting strategy.

Key Results

MultiDx was evaluated using Reasoning Recall (how well it recovers key clinical inference steps) and Hit@k Accuracy (whether the correct diagnosis is within the top $k$ predictions). Using DeepSeek-R1 as the backbone, MultiDx achieved state-of-the-art performance across the board:

  • MedCaseReasoning Test Set: MultiDx achieved a Hit@1 accuracy of 42.0% and a Hit@5 accuracy of 57.7%, outperforming the raw DeepSeek-R1 backbone (36.0% Hit@1, 41.9% Hit@5) and surpassing specialized agentic baselines like OpenAI-DR.
  • DiReCT Test Set: MultiDx achieved the highest Reasoning Recall (0.665) and Hit@1 accuracy (33.3%), validating its capacity to generalize to entirely different clinical note styles.
  • Model Agnostic: When ported to a smaller backbone model (Qwen3-14B), MultiDx boosted Hit@1 accuracy from 28.4% to 39.9%, proving the framework's architecture is robust regardless of the underlying LLM scale.

Limitations and Future Work

Despite its strong performance, the authors note a few limitations:

  • Dependency on Source Quality: Because MultiDx relies heavily on external knowledge integration, its final diagnosis can be degraded if web search results are noisy, irrelevant, or of low quality.
  • Decoupled Pipeline: The current two-stage architecture completely separates knowledge extraction from the final differential diagnosis. The authors plan to explore joint learning mechanisms in the future to tightly couple these stages, which could improve overall coherence, speed, and performance.

Summary updated

BibTeX
@inproceedings{deng2026multidx,
  author = {Yimin Deng and Zhenxi Lin and Yejing Wang and Guoshuai Zhao and Pengyue Jia and Zichuan Fu and Derong Xu and Yefeng Zheng and Xiangyu Zhao and Li Zhu and Xian Wu and Xueming Qian},
  title = {{MultiDx: A Multi-Source Knowledge Integration Framework towards Diagnostic Reasoning}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2026},
  doi = {10.18653/v1/2026.findings-acl.1646},
}
Figure