When Has a Bayesian Neural Network Sampled Enough? Adaptive Inference Time with Statistical Guarantees
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.
Create a lesson
Metadata
- Comments
- 40th Conference on Neural Information Processing Systems (NeurIPS 2026). Workshop: E-Values: From Statistics to ML
Related papers
SAE-Audit: Clinical-Trial Prediction via Inference-Time Optimization of Black-Box LLMs Audited by Sparse Autoencoder Evidence
Shared title terminologycs.AIJunbo Shen
ConicFlow: constrained Inference-time optimal control for flow matching models
Shared title terminologycs.AIShervin Khalafi, Kasra Fallah, Sung Cho et al.
On the estimation and validity of AI time horizons---a statistical look at the METR plot
Shared title terminologycs.AIDrew T. Nguyen, William Fithian
Prior or Feedback? What an LLM Uses When Adapting Neural Operators
Shared title terminologycs.AIJulian Chan, Javier Mora Jimenez
MetaSkill: Reusable Problem-Solving Methods for Adaptive Skill Orchestration in LLM Agents
Shared title terminologycs.AITianxing Wang, Mingming Zhao, Shuai Huang et al.
Neural Agent Compiler: Learning to Schedule Soft Dependencies
Shared title terminologycs.AIBo Yan, Peng Wang, Zihan Chen et al.