Uncertainty Reasoning with Large Language Models for Explainable Disease Diagnosis

Xiaoyang Fan, Yufan Cai, Zhe Hou, Jin Song DongarXiv 2026

TL;DR

This paper introduces a novel neuro-symbolic framework that pairs the natural language capabilities of Large Language Models (LLMs) with the rigorous verification of formal fuzzy logic. By translating vague, real-world patient narratives into weighted symbolic rules, the system delivers highly accurate medical diagnoses accompanied by fully auditable, step-by-step reasoning chains that physicians can inspect and modify.

What Problem Does This Paper Address?

Clinical diagnosis is inherently filled with uncertainty. Patient descriptions are frequently vague ("mild fatigue," "on-and-off chest heaviness"), and clinical guidelines must often be applied to incomplete or conflicting data.

While LLMs are exceptional at extracting insights from unstructured text, they operate as unverifiable "black boxes" prone to hallucinations and poor confidence calibration—making them risky for high-stakes medical decisions. Conversely, purely symbolic logic systems offer pristine transparency but are far too brittle to handle the messy, ambiguous nature of human language. The authors address this tension by creating a trustworthy, human-aligned medical AI that bridges the gap between neural perception and logical deduction.

Methods

The authors propose a three-part architecture to establish a Neuro-symbolic Cycle:

  1. Formal Knowledge Construction: A domain-tuned LLM extracts structured medical entities, temporal cues, and symptom triples (e.g., [chest pain, severity, intermittent]) from free-text notes. These triples are mapped to fuzzy predicates with truth degrees $w \in [0, 1]$ to capture linguistic nuances.
  2. Real-time Diagnostic Engine: Symptoms are weighted using a hybrid approach that combines intrinsic salience (extracted by the LLM) and a neighbor prior (retrieved from a FAISS index of ~100k historical cases). These weighted facts are fed into an SWI-Prolog engine augmented with a fuzzy logic library to execute formal, rule-based inference.
  3. Neural-Symbolic Learning Cycle: The framework avoids rigid rule bases by supporting continuous updates. Clinicians can manually adjust weights or add exception rules via a visual diff tool. Simultaneously, an automated online Passive-Aggressive (PA) ranking algorithm adjusts symptom-disease weights based on misranked ground-truth cases.
Figure 1: The Neuro-symbolic Cycle.

Datasets

The framework was evaluated on three distinct public datasets:

  • gretelai/symptom_to_diagnosis: A single-label dataset containing procedurally generated patient profiles with known ground-truth diagnoses.
  • lavita/ChatDoctor-iCliniq: A multi-label dataset consisting of real doctor-patient dialogues from an online QA platform (evaluated in both raw and trimmed formats).
  • MIMIC-IV (v3.1): A large-scale, multi-label dataset containing structured lab test results and unstructured clinical notes written by physicians.

Key Insights and Ideas

  • Separation of Concerns: The framework elegantly divides labor—delegating language perception and normalization to the LLM, while leaving clinical commitments, verification, and reasoning to the symbolic layer.
  • Fuzzy Logic as a Linguistic Bridge: Instead of forcing qualitative terms like "high fever" into rigid Boolean categories (True/False), treating them as fuzzy predicates preserves vital clinical nuances.
  • Traceability and Counterfactual Audits: Because every update to the knowledge base is versioned as a snapshot, clinicians can perform counterfactual audits to see exactly why a diagnosis changed between model versions.
  • Drastic Cost Reductions: By shifting the heavy lifting of reasoning away from the LLM to a local Prolog engine, the system drastically cuts down on token consumption and operational costs.

Key Results

The Full Hybrid method consistently achieved performance comparable to or better than state-of-the-art LLMs while providing deterministic, verifiable explanations:

  • Accuracy Improvements: On the symptom_to_diagnosis dataset, the Full Hybrid method achieved a Top-1 accuracy of 44.8%, outperforming raw GPT-4o (39.0%) and DeepSeek-R1 (34.4%).
  • MIMIC-IV Success: On the complex MIMIC-IV dataset, the framework achieved a Top-1 accuracy/precision of 57.2%, notably outperforming GPT-4o (53.3%).
  • Efficiency Gains: For a batch of 1,000 samples, the hybrid framework reduced token usage by over 50% (2.87M vs. 5.75M tokens) and cut monetary costs roughly in half ($7.61 vs. $14.68) compared to pure GPT-4o prompting.
Top-k results on symptom_to_diagnosis dataset

Limitations and Future Work

Despite its strong performance, the authors note three primary limitations:

  1. Rule Scalability: The symbolic layer still relies on an initial set of manually curated or template-induced rules, which can limit seamless scaling to entirely new medical domains.
  2. Expert-Dependent Membership Functions: The fuzzy logic module relies on expert-crafted membership functions and fixed clinical thresholds, which might require extensive data-driven calibration to generalize across diverse patient populations.
  3. Static Temporal Modeling: The framework currently treats symptoms as static observations, lacking an explicit, formal representation of how symptoms onset and evolve dynamically over time.

Summary updated

BibTeX
@misc{fan2026uncertainty,
  author = {Xiaoyang Fan and Yufan Cai and Zhe Hou and Jin Song Dong},
  title = {{Uncertainty Reasoning with Large Language Models for Explainable Disease Diagnosis}},
  year = {2026},
  eprint = {2605.25566},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.25566},
}
Figure