cs.AIOct 8, 2026

When Has a Bayesian Neural Network Sampled Enough? Adaptive Inference Time with Statistical Guarantees

Authors: Fabian Denoodt, Sibylle Hess

Organizations: Eindhoven University of Technology

Abstract

Bayesian neural network predictions are commonly approximated using a fixed number of Monte Carlo samples per input, without controlling the resulting error that comes from this finite sample. We propose the use of confidence sequences to dynamically determine how many samples are needed while maintaining statistical guarantees. We consider several ways in which predictive probabilities are used, including identifying the most likely class, approximating the full predictive distribution, and resolving probability-threshold decisions. Sampling stops once the corresponding decision can be made with the desired guarantee. Experiments show that the method allocates the computational budget efficiently, assigning more samples to ambiguous inputs than to easy inputs while preserving reliable decisions and reducing overall latency relative to a fixed Monte Carlo budget.

Explore similar work

CardsList
  1. Position: The Time for Sampling Is Now! Charting a New Course for Bayesian Deep Learning

    May 20, 2026Emanuel Sommer, David RügamerBayesian Neural NetworksEfficient Neural Network Inference

  2. Neural Architectures for Amortized Bayesian Inference: Statistical Foundations and Empirical Assessments

    Jan 12, 2026Roy Shivam Ram Shreshtth, Arnab Hazra, Gourab MukherjeeUncertainty QuantificationAmortized Inference

  3. Guiding Posterior Exploration with Optimizer-Derived Geometry

    Jul 28, 2026Moritz Schlager, Emanuel Sommer, Thomas Möllenhoff +1Bayesian Neural NetworksMarkov Chain Monte Carlo