SOAP-Bubbles: Structured Weight Uncertainty for Neural Networks

Adrian Robert Minut, Nico Daheim, Marco Miani, Mohammad Emtiyaz Khan, Wu Lin +1 more
6/22/2026
cs.LG

No official code found. Best implementation: team-approx-bayes/evon-experiments (1 star, GPL-3.0, last commit 2026-08-26).

Abstract

Structured weight-uncertainty can improve many aspects of deep learning, but it remains costly to estimate and difficult to implement. Here, we show that these issues can be addressed by adapting the SOAP optimizer. Our key idea is to run IVON, an existing diagonal-covariance variational method, in the eigenspace of SOAP's preconditioner and then use the preconditioner to transform the diagonal estimate into a non-diagonal covariance. The resulting method has costs similar to those of SOAP and requires no drastic changes to training pipelines. We call the posteriors obtained in this way SOAP-Bubbles and our new optimizer Eigenspace-VON (EVON). We show that, for logistic regression, EVON recovers the exact Gaussian covariance and that, for language model pretraining, it yields significantly better results than existing diagonal-covariance methods. Our work makes it easier to estimate more expressive posterior distributions for deep learning at scale.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

Experiment code, scripts, and supporting utilities used for the paper "SOAP-Bubbles: Structured Weight Uncertainty for Neural Networks".

11Shell, PythonJul 9, 20261 months agoGPL-3.0

Similar Papers

Cite this paper

@article{minut2026soapbubbles,
  title  = {SOAP-Bubbles: Structured Weight Uncertainty for Neural Networks},
  author = {Adrian Robert Minut and Nico Daheim and Marco Miani and Mohammad Emtiyaz Khan and Wu Lin and Thomas Möllenhoff},
  year   = {2026},
  eprint = {2606.23357},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.23357v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.23357.svg)](https://codeofpaper.com/paper/2606.23357)

Discussion