pith. sign in

arxiv: 1902.02476 · v2 · pith:Y2HPKGJ4new · submitted 2019-02-07 · 💻 cs.LG · cs.AI· cs.CV· stat.ML

A Simple Baseline for Bayesian Uncertainty in Deep Learning

classification 💻 cs.LG cs.AIcs.CVstat.ML
keywords learningswagdeepdistributioniteratesaveragingbayesiancalibration
0
0 comments X
read the original abstract

We propose SWA-Gaussian (SWAG), a simple, scalable, and general purpose approach for uncertainty representation and calibration in deep learning. Stochastic Weight Averaging (SWA), which computes the first moment of stochastic gradient descent (SGD) iterates with a modified learning rate schedule, has recently been shown to improve generalization in deep learning. With SWAG, we fit a Gaussian using the SWA solution as the first moment and a low rank plus diagonal covariance also derived from the SGD iterates, forming an approximate posterior distribution over neural network weights; we then sample from this Gaussian distribution to perform Bayesian model averaging. We empirically find that SWAG approximates the shape of the true posterior, in accordance with results describing the stationary distribution of SGD iterates. Moreover, we demonstrate that SWAG performs well on a wide variety of tasks, including out of sample detection, calibration, and transfer learning, in comparison to many popular alternatives including MC dropout, KFAC Laplace, SGLD, and temperature scaling.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 3 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Bayesian E(3)-Equivariant Interatomic Potential with Iterative Restratification of Many-body Message Passing

    cs.LG 2025-10 unverdicted novelty 6.0

    Bayesian E(3)-equivariant MLPs with joint energy-force NLL loss achieve competitive accuracy while enabling uncertainty-guided active learning, OOD detection, and calibration.

  2. Assessing the Performance-Efficiency Trade-off of Foundation Models in Probabilistic Electricity Price Forecasting

    cs.LG 2026-04 unverdicted novelty 5.0

    Foundation models slightly outperform task-specific models on probabilistic electricity price forecasts but the gap narrows or reverses with extra features or few-shot adaptation, showing that efficiency often outweig...

  3. Confidence Calibration for Convolutional Neural Networks Using Structured Dropout

    cs.LG 2019-06 unverdicted novelty 5.0

    Structured dropout improves confidence calibration in CNNs by promoting ensemble diversity, with empirical support on SVHN, CIFAR-10, CIFAR-100 and in Bayesian active learning.