Built independently by an author, for readers. Read the story and support ChapterPal

keyword

stochastic variational inference

Stochastic variational inference is an algorithm for approximating complex posterior probability distributions in Bayesian machine learning models when working with massive datasets. Standard variational inference frames Bayesian posterior approximation as an optimization problem, fitting a tractable family of distributions to the true posterior, but it typically requires processing the complete dataset at every iteration. Stochastic variational inference overcomes this computational bottleneck by utilizing stochastic optimization techniques, subsampling small mini-batches of data at each step to compute noisy yet unbiased estimates of the variational objective gradient. This mini-batch approach dramatically reduces per-iteration computational overhead and memory requirements, enabling scalable learning and uncertainty quantification across large-scale probabilistic models, including topic models, Gaussian processes, and deep probabilistic programs.

5 items

Can You Trust Your Model's Uncertainty? Evaluating Predictive Uncertainty Under Dataset Shift

Can You Trust Your Model's Uncertainty? Evaluating Predictive Uncertainty Under Dataset Shift

Yaniv Ovadia, Emily Fertig, Jie Ren, Zachary Nado, David Sculley, Sebastian Nowozin, Joshua V. Dillon, Balaji Lakshminarayanan, Jasper Snoek

OrganizationsGoogle

Why you should read this

Establishes a critical large-scale benchmark for evaluating state-of-the-art predictive uncertainty quantification methods in machine learning, specifically under challenging dataset shift conditions, revealing that methods marginalizing over models significantly outperform traditional approaches.

Modern machine learning methods including deep learning have achieved great success in predictive accuracy for supervised learning tasks, but may still fall short in giving useful estimates of their predictive {\em uncertainty}. Quantifying uncertainty is especially critical in real-world settings, which often involve input distributions that are shifted from the training distribution due to a variety of factors including sample bias and non-stationarity. In such settings, well calibrated uncertainty estimates convey information about when a model's output should (or should not) be trusted. Many probabilistic deep learning methods, including Bayesian-and non-Bayesian methods, have been proposed in the literature for quantifying predictive uncertainty, but to our knowledge there has not previously been a rigorous large-scale empirical comparison of these methods under dataset shift. We present a large-scale benchmark of existing state-of-the-art methods on classification problems and investigate the effect of dataset shift on accuracy and calibration. We find that traditional post-hoc calibration does indeed fall short, as do several other previous methods. However, some methods that marginalize over models give surprisingly strong results across a broad spectrum of tasks.

Added

2026-04-27

License

Published with permission