atlas

Research map / Probabilistic and scientific modeling / Uncertainty and Gaussian processes

Scalable Bayesian Learning with posteriors

ICLR 2025 · Probabilistic and scientific modeling › Uncertainty and Gaussian processes · approach: Nonparametric and PAC-Bayes Bayesian learning · 3 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces the posteriors PyTorch library for scalable Bayesian learning, frames SGMCMC as a tempered generalization of SGD that yields a parallel-SGMCMC (Bayesian deep ensemble) modification, and demonstrates it on cold posterior, continual LoRA learning with Llama 2, and OOD detection with Llama 3.

Problem

Bayesian learning with modern large models requires approximating high-dimensional posteriors, which is computationally expensive and lacks accessible, scalable, minibatch-capable software in the PyTorch ecosystem.

Approach

A tempered SGMCMC framework in which temperature interpolates between SGMCMC (T=1/N) and gradient descent (T=0), so SGD variants and samplers share one API; a small modification of deep ensembles (adding the noise term, parallel SGMCMC) makes them asymptotically unbiased for the posterior.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use parallel SGHMC epistemic uncertainty instead of point-estimate uncertaintyLlama 3 8B fine-tuned on TQA · TQA Samoan OOD detectionAUROC: 0.80 -> 0.95Helped
Use parallel SGHMC total uncertainty instead of SGD total uncertaintyLlama 3 8B fine-tuned on TQA · TQA Samoan OOD detectionAUROC: 0.80 -> 0.90Helped
Fine-tune with parallel SGHMC instead of SGDLlama 3 8B · TQA English statementsloss: 4.20 -> 4.40Hurt
Use Gaussian posterior approximations at temperature T<1 instead of T=1Laplace and variational inference on the CNN-LSTM · IMDB test setlossHelped
Use linearized Laplace instead of non-linearized LaplaceLaplace on the CNN-LSTM · IMDB test setlossHelped
Use conditional Fisher/GGN instead of empirical FisherLaplace on the CNN-LSTM · IMDB test setlossHelped
Linearize the forward model for variational inferenceVariational inference on the CNN-LSTM · IMDB test setlossHurt
Use parallel SGHMC instead of serial SGHMCSGHMC on the CNN-LSTM · IMDB test setlossHelped
Lower temperature from the parallel-SGHMC setting toward T=0Parallel SGHMC on the CNN-LSTM · IMDB test setlossHurt
Use empirical-Fisher Laplace instead of online SGDLlama 2 with LoRA rank 8 · PG19 continual learningtest lossHelped

Surprising findings

Limitations

Experimental setup

Datasets: IMDB PG19 TQA

Benchmarks: IMDB test set PG19 continual episodes Samoan OOD statements

Metrics: test loss test accuracy AUROC categorical loss on next token

Baselines: MLE MAP Laplace GGN Laplace EF variational inference serial SGHMC SGD AdamW base Llama 3

Builds on: stochastic gradient Langevin dynamics SGHMC deep ensembles LoRA Bernstein-von Mises Laplace approximation

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy