Scalable Bayesian Gaussian Process Classification for Cancer Histopathology: Calibrated Uncertainty Under Distribution Shift
Abstract
Reliable uncertainty quantification is essential for clinical deployment of cancer diagnosis models, yet neural networks and variational Gaussian process methods can produce overconfident predictions, particularly under the distribution shifts that arise when models trained at one hospital are applied at another. We present a scalable Bayesian Gaussian Process Classification (GPC) framework that operates on frozen pathology foundation model embeddings (Phikon) and combines accelerated Randomly Pivoted Cholesky (RPCholesky) for low-rank kernel factorization, Hamiltonian Monte Carlo (HMC) with non-centered parameterization for posterior sampling, and a pivots-as-inducing-points scheme for prediction. This makes HMC posterior sampling in the low-rank latent representation tractable at N approximately 300,000 training points, enabling HC-based low-rank GPC on substantially larger datasets than prior MCMC-based demonstrations. We evaluate on two histopathology benchmarks for breast cancer metastasis detection: PCam and CAMELYON17-WILDS, where the latter tests calibration under hospital-level distribution shift. Compared to stochastic variational GP and neural network baselines, our method improves calibration and predictive performance - reducing expected calibration error by up to 88% and false negative rate by up to 90% - with the largest gains appearing under distribution shift, suggesting that HMC-based posterior sampling provides more trustworthy uncertainty estimates for cross-site pathology classification.
Create a lesson
Related papers
Uncertainty calibration in Bayesian M/EEG source imaging
Shared title terminologycs.LGIsmail Huseynov, Mohammad Orabe, Srikantan Nagarajan et al.
Performance metrics in machine learning: a scenario-based guide from the confusion matrix to calibration, regression and uncertainty
Shared title terminologycs.LGMehmet Baygin, Sengul Dogan, Turker Tuncer
Two-stage residual learning for calibrated uncertainty in solar irradiance forecasts
Shared title terminologycs.LGRR Flanagan, E Kasha, PW Talbot et al.
TrustMix: Graceful Degradation for Pretrained Models under Distribution Shift
Shared title terminologycs.LGJuliusz Ziomek, Maike Osborne, Yee Whye Teh
A trust layer for fast pedestal-stability surrogates: calibrated error bars, out-of-distribution alarms and few-shot recalibration
Shared title terminologycs.LGAmin Vakhshouri
SteelAgent: LLM-Orchestrated, Physics-Informed Steel Property Prediction with Audited Generalization and Calibrated Uncertainty
Shared title terminologycs.LGAleksandr Volkov, Roman Sultimov, Mikhail Kuzin et al.