BayesPath: Reliability-Aware Bayesian Reasoning for Whole-Slide Pathology Agents

Bryan Wong, Xun Xu, Jongwoo Kim, Huazhu Fu, Nancy F. Chen +1 more
11/25/2026
cs.CV
bayesian

Official code: bryanwong17/BayesPath (0 stars, MIT, last commit 2026-11-25).

Abstract

Diagnosing whole-slide images (WSIs) requires hypothesis-driven reasoning: pathologists form a differential diagnosis, seek discriminative evidence, weigh its reliability, and stop once it suffices. However, existing training-free WSI agents lack an explicit framework for such reasoning.

Show full abstract

They typically use a large language model (LLM) to aggregate the region descriptions of a multimodal LLM (MLLM), without a belief over the candidates or regard for the descriptions' reliability. Consequently, a repeated model error counts as independent evidence for an incorrect diagnosis. We introduce BayesPath, a training-free WSI agent that casts the pathologist's Scan-Look-Weigh-Decide process as reliability-aware Bayesian reasoning. An explicit belief over the candidates is updated with each observation through a reliability-aware likelihood and guides where to look next and when to stop. This likelihood corrects for the models' answer bias, discounts correlated observations, and captures diagnostic confusions estimated without labels. The updates form an interpretable evidence trail of how each observation shapes the belief. On five MultiPathQA tasks spanning slide classification and slide VQA, BayesPath achieves the highest average accuracy among training-free agents, 58.6% against 34.1% for the next best, with large gains on slide classification. On identical observations, Bayesian updating outperforms LLM aggregation on average, even with a larger LLM. BayesPath's belief is also better calibrated than naive Bayes, so uncertain cases can be deferred to pathologists. Code is available at https://github.com/bryanwong17/BayesPath

View on arXivView PDF

Code Implementations(1)

MIT

BayesPath: Reliability-Aware Bayesian Reasoning for Whole-Slide Pathology Agents

00Nov 25, 20266 days agoMIT
agentic-aibayesian-inferencecomputational-pathologywhole-slide-image

Similar Papers

Cite this paper

@article{wong2026bayespath,
  title  = {BayesPath: Reliability-Aware Bayesian Reasoning for Whole-Slide Pathology Agents},
  author = {Bryan Wong and Xun Xu and Jongwoo Kim and Huazhu Fu and Nancy F. Chen and Mun Yong Yi},
  year   = {2026},
  eprint = {2611.33935},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.33935v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.33935.svg)](https://codeofpaper.com/paper/2611.33935)

Discussion