MoBayes: A Modular Bayesian Framework for Separating Reasoning from Language in Conversational Clinical Decision Support

Yusuf Kesmen, Fay Elhassan, Jiayi Ma, Julien Stalhandske, Yena Chang, Alexandra V. Kulinkina, David Sasu, Akhil Arora, Lars Henning Klein, Mary-Anne HartleyNeurIPS 2026

TL;DR

Large language models sound remarkably like fluent doctors, yet asking an autoregressive token predictor to diagnose a patient conflates smooth conversation with rigorous probabilistic reasoning. MoBayes fixes this by enforcing a strict architectural divorce: a tiny, inexpensive LLM handles only the talking and listening, while a deterministic Bayesian engine handles all the mathematical deduction. The result is an auditable clinical support system that outperforms frontier standalone LLMs at a fraction of the cost—and knows exactly when to say "I don't know."

What Problem Does This Paper Address?

For decades, medical AI faced a frustrating trade-off. Early clinical decision support systems used rigorous, auditable math (like Bayesian networks) to narrow down diagnoses, yet failed in practice because they required doctors to act as rigid data-entry clerks. Modern LLMs solved this interface bottleneck overnight through natural conversation, but threw away the math.

When a standalone LLM conducts a diagnostic interview, it has no explicit belief state, no principled way to choose the most informative next question, and notoriously uncalibrated confidence. Even recent "hybrid" or agentic frameworks leave the LLM inside the reasoning loop, leaving them vulnerable to hallucinations, demographic biases, and erratic logic. Furthermore, adapting a fine-tuned medical LLM to a new hospital's patient population requires expensive retraining and raises serious privacy concerns.

Traditional LLM systems vs. MoBayes

Methods

The authors propose MoBayes, built on a philosophy of strict separation between language and clinical reasoning. The LLM never sees the diagnostic state, and the statistical engine never touches raw text.

Figure 2: Overview of the MOBAYES architecture. The LLM acts only as a language layer (parses utterances into evidence triples (f, v, c), verbalises questions selected by the Bayesian module); all reasoning, posterior updates, EIG-based question selection, stopping, and controllable abstention reside in the deterministic, auditable Bayesian module.

The two modules communicate solely via structured evidence triples (feature, value, confidence):

  • The Language Interface (Parser & Verbalizer): When a patient speaks ("I think I had a fever"), a cascade of pattern-matching rules and a lightweight LLM classifies the statement into a schema-validated feature value and one of five discrete linguistic confidence labels (from very_unlikely to very_likely). Shifting the LLM from continuous probability estimation (where LLMs struggle) to coarse ordinal classification plays to its strengths. On the way out, the LLM simply translates the math engine's chosen feature into a natural, empathetic question.
  • The Bayesian Reasoning Module: Operating over an explicit tabular Knowledge Base (KB) of disease priors and conditional feature likelihoods, the engine updates its posterior beliefs using Pearl-style soft-evidence updates (weighting evidence by the parser's confidence). To pick the next question, it calculates Expected Information Gain (EIG)—mathematically selecting the unasked symptom that will shrink diagnostic uncertainty the most.
  • Controllable Orchestration: Once a minimum warm-up period passes, the system commits to a diagnosis as soon as the top disease probability crosses a tunable threshold $\tau$. If a hard question budget runs out first, the system cleanly abstains.
  • Interchangeable Knowledge Bases: The tabular KB can be counted directly from historical clinical records or, when data is scarce, elicited entirely from a frontier LLM offline in two structured prompting stages.

Datasets

MoBayes is tested across three diagnostic-dialogue benchmarks paired with distinct, published patient simulators:

  • DDxPlus: A synthetic dataset of ~1.3M patient records spanning 49 diseases and 314 clinical features. Training splits populate the empirical KB, while held-out test cases are evaluated using both the PatientSim simulator (including adversarial patient personas) and MEDDxAgent’s history-taking simulator.
  • AgentClinic-MedQA: A USMLE-derived multi-agent benchmark evaluated using AgentClinic's native patient, measurement, and moderator agents, paired with an LLM-elicited KB.
  • LLM-Elicited BMRB Disease Set: A custom evaluation over 18 respiratory and acquired diseases drawn from the BMRB Genes/Disease catalogue, where both the KB and simulated test patients are generated by the same frontier LLM to create an apples-to-apples architectural control.

Key Insights and Ideas

  • Extract once, reason deterministically: You might suspect MoBayes only wins because it cheats with ground-truth training statistics. Yet when the authors force a frontier LLM to write the tabular KB from scratch and test against that same frontier LLM acting as a standalone doctor, a cheap MoBayes setup still matches or beats it—especially on rare diseases. Externalizing an LLM's latent medical knowledge once into a static table and applying Bayes' rule beats asking the LLM to reason turn-by-turn.
  • A dial for clinical risk: Standalone LLMs give you a single, uncalibrated take-it-or-leave-it answer. By sweeping the threshold $\tau$, MoBayes gives hospitals a continuous, zero-retraining dial between high-throughput triage (low $\tau$, high coverage) and safety-critical referral (high $\tau$, near-zero error).
  • Immunity to conversational noise: Anxious, verbose, dazed, or distrustful patients cause standalone frontier LLMs to spiral and lose track of clinical logic. Because MoBayes strips away conversational surface style at the parser boundary, its diagnostic accuracy barely flinches.

Key Results

To jointly measure accuracy on committed cases and willingness to answer, the authors introduce the Diagnostic Harmonic Score (DHS)—the harmonic mean of Selective Accuracy and Coverage.

  • Beating Prior Frameworks: On 100-case DDxPlus benchmarks, MoBayes (gpt-5.4-nano) hits a DHS of 90 on both PatientSim and HT-sim, significantly outperforming Chain-of-Thought (69 / 29), Bayesian-CoT (74 / 45), MEDDxAgent (62 / 72), and fine-tuned DiagnosisGPT-34B (20 / 11). On AgentClinic-MedQA, it scores 83 DHS, remaining highly competitive with top agentic baselines (89) at a fraction of the token budget (18.9K vs. 69K–106.8K tokens/case).
  • David Beats Goliath on Cost and Accuracy: Across 50-case evaluations, small sensor models paired with MoBayes routinely beat massive standalone models from their own families. For example, on DDxPlus (PatientSim), MoBayes + GPT-5.4-nano achieves 88.0 DHS (81.2% selective accuracy) compared to standalone GPT-5.4 at 70.4 DHS (64.1% selective accuracy), cutting per-patient API costs from roughly $0.20 down to ~$0.015.
  • Persona Robustness: Under adversarial PatientSim personas (e.g., Distrustful, Dazed, Overanxious), MoBayes maintains stable performance, outperforming standalone GPT-5.4 by +18 to +40 DHS points.
Cost vs. DHS for small MoBayes models vs. frontier standalone LLMs

Limitations and Future Work

  • The Closed-World Assumption: Unlike open-ended LLMs, MoBayes cannot diagnose a disease that isn't in its tabular KB, nor does its naive-Bayes setup naturally model multiple simultaneous diseases. While it safely abstains when encountering unknown conditions, curating the candidate disease list remains a critical human responsibility.
  • Ignored Volunteered Information: Currently, the parser only listens for the answer to the specific question asked at that turn. If a patient spontaneously volunteers an unrelated symptom ("No cough, though my chest feels tight"), the current interface misses it—something standalone LLMs catch naturally.
  • Simulated Patients Only: All evaluations rely on LLM-simulated patients. Moving toward clinical readiness will require prospective trials with real human patients and clinicians, alongside rigorous local validation of any swapped or LLM-elicited knowledge bases.

Summary updated

Abstract

Large language models (LLMs) are increasingly used for conversational clinical decision support, yet they conflate next token prediction with probabilistic decision making. We argue that this conflation reflects an architectural limitation: such systems lack explicit posterior tracking, controllable abstention thresholds, and auditable reasoning chains. We introduce MoBayes, a Modular Bayesian dialogue framework that separates reasoning from language. The LLM acts only as a language interface, parsing patient conversation into structured observations, while a Bayesian module performs probabilistic inference over these observations to update posteriors, select follow-up questions via expected-information-gain and determine when to stop or defer through calibrated decision thresholds. This design enables explicit posterior tracking, controllable selective decision-making, and replaceable population-specific statistical backends without retraining the language model. Across empirical and LLM-generated knowledge bases, MoBayes outperforms standalone frontier LLM doctors, including matched model-family comparisons where inexpensive sensor models paired with MoBayes exceed larger autonomous models at lower cost. The advantage persists under adversarial patient communication styles and across varying diagnostic scenarios. These results suggest that reliable conversational clinical decision support systems should separate probabilistic reasoning from language generation rather than scaling model size alone. Code is available at https://anonymous.4open.science/r/MoBayes/.
BibTeX
@inproceedings{kesmen2026mobayes,
  author = {Yusuf Kesmen and Fay Elhassan and Jiayi Ma and Julien Stalhandske and Yena Chang and Alexandra V. Kulinkina and David Sasu and Akhil Arora and Lars Henning Klein and Mary-Anne Hartley},
  title = {{MoBayes: A Modular Bayesian Framework for Separating Reasoning from Language in Conversational Clinical Decision Support}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=P9HhmWN3zw},
}
Figure