acceptodds
Published as a conference paper at NeurIPS 2026

SOAP-Bubbles: Effective and Scalable Variational Learning with Structured Covariances

Robert Adrian Minut, Nico Daheim, Marco Miani, Mohammad Emtiyaz Khan, Wu Lin, Thomas Möllenhoff

Abstract

Structured posteriors are expected to be better than mean-field posteriors, but recent variational learning methods for large deep networks only use Gaussians with diagonal covariance. A reason is that diagonal covariances can be estimated by simple modifications of existing optimizer's implementations, for instance, the IVON optimizer closely follows Adam's code. Unfortunately, no such alternatives for Gaussians with structured covariances are effective and scalable. Here, we fill this gap and show that block-diagonal covariances can be obtained by adapting the SOAP optimizer. Specifically, our Eigenspace Variational Online Newton (EVON) method modifies SOAP to run IVON instead of Adam in the Eigenspace of the preconditioner. We refer to the posteriors obtained this way as 'SOAP-Bubbles' and show that for logistic regression they recover the optimal posterior approximation among full Gaussians. For language model pretraining we get significant improvements in validation loss over IVON without any increase in cost, and ensembling models drawn from SOAP-Bubbles reduces the test loss more than ensembling using IVON's posterior. Our work shows that there is a fundamental connection between second-order optimization and Gaussian posteriors, which can be used to improve the accuracy of variational learning.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 49%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.33 over 3 reviews, above 49% of the others.
Reviewer_QdK1OpenReview ↗
Rating
4
Clarity
4
Confidence
5
Originality
3
Quality
3
Significance
3
Read review
Summary

The authors introduce EVON, an extension of the IVON optimiser for VI over non-diagonal Gaussian variational families, by connecting recent work on optimisation in deep learning (SOAP & ShampoO optimisers) to the IVON optimiser and VI over Gaussian variational families. The introduced EVON is able to learn non-diagonal Gaussian variational families; IVON can only perform mean-field Gaussian VI and, by doing so, extends the recent trend of optimiser-inspired VI algorithms to more structured variational families. The paper is generally well written and clear in its presentation, and the experimental results support the claim and expectation that EVON can learn more posterior approximations than IVON for language models with millions of parameters (small-scale Llama models).

Strengths and weaknesses

Strengths The paper is generally well written, the exposition is clear, and the method is sound. The proofs that I checked (Thm. 1, Thm. 2) are sound, and the experimental results (w.r.t. a comparison against IVON) support that EVON is promising. I also think that linking variational inference to recent advancements in the optimisation literature is elegant, and I appreciate that EVON is a minimal change solution to perform VI using recent optimisers used in the literature.

Weaknesses In contrast to the IVON paper, this work is clearly less innovative and despite the claim of the authors that they show that EVON is scalable to large models, only relatively small language models have been used in the evaluation. I also found the evaluation on the CLIP style model to be disappointing, as EVON is only used in the fine-tuning stage, something that can probably be achieved with more traditional non-diagonal VI optimisation schemes or recent advancements in VI with score-based matching. Moreover, the complete lack of comparisons to approaches other than IVON is striking in this paper. For example, recent papers on Laplace approximations for both LLama[1] and CLIP[2] models are substantially more comprehensive in their evaluation and only comparing to a mean-field VI optimiser, which is effectively a sub-routing of the proposal, seem like an ablation than a proper evaluation of the method. Moreover, for readers less in familiar and more sceptical about Bayesian DL than myself would likely not see why EVON is a relevant technique as few of the presented experiments support that one should use EVON over SOAP. The only real comparision is Table 1 in which SOAP often outperforms or is en-par with EVON. Additionally, no baseline comparision with temperature scaling is presented, which may result in more competetive baseline results for SOAP in terms of ECE and NLPD. All of this makes it hard to judge the what the benefit of using EVON is, other than that it outperforms IVON.

Questions
  • "A naive optimisation [...] would require twice the amount of variables [...] do not introduce any such[S] overheads, as shown by [...]", it seems to me that this is still the case for IVON or EVON, but that the additional parameters are simply part of the optimiser now. In this consideration, I find that this paragraph is potentially misleading. Note that there is also a minor typo on such[S].
  • "have not yet been shown to work well for modern language model training, and similar is to be expected of their noisy [...]", this sentence seems to be broken, or at least I do not understand what it is trying to say.
  • Alg. 2 has several variables that are either not explained in sufficient detail and/or not initialised (e.g., Hi,jH_i,j) and implementing EVON based on the pseudocode at its current stage might be challenging.
  • Could the authors provide an ablation on the effect of some of the chosen implementation "tricks", e.g., what is the effect of the clip ratio, what is the effect of the phased gradients vs non-phased gradients?
  • I believe that "surprisingly exact" should be "surprisingly accurate", as something is either exact or not exact and can't really be surprisingly exact.
  • Figure 4 states HMC as exact, but HMC is an approximation scheme that is only exact in the asymptotic regime.
  • From Fig. 5, it seems that EVON underperforms (compared to the MAP/Mean) if not sufficiently many MC samples are used. What is the computational overhead that authors expect when using EVON during inference (predictions) in contemporary LLMs models, and what would be approaches to mitigate the computational overhead? Also, what is the variance of the improvements wrt number of MC samples?
  • Looking at Fig. 5, it is not clear to me that the optimisation converged. What happens if the experiment is extended to 20k steps instead?
  • Is it correct that the optimisation trajectory plotted in Fig.5 is only for one run? If so, how stable is the optimisation, and what does the variance over multiple runs look like?
  • What is the performance in NLPD & ECE compared to existing baselines (temperature scaling [1] and Laplace approximation [2])?
  • What is the performance of CLIP compared to existing baselines (temperature scaling [1] and Laplace approximation [3])?
  • Can the authors provide information on whether the results in Table 1 are statistically significant?
  • Generally, one of the concerns I have when looking at the evaluation is that for EVON to work, one needs to generate a larger set of samples from the posterior than IVON, which introduces a potentially substantial computational overhead. Thus, I would have wanted to see an application or setting where there is a clear benefit to using EVON (over IVON, SOAP, or any other cheaper alternative) that justifies the additional computational burden.

[1] Guo et al. On calibration of modern neural networks, ICML 2017. [2] Yang et al. Bayesian Low-rank Adaptation for Large Language Models, ICLR 2024. [3] Baumann et al. Post-hoc probabilistic vision-language models, ICLR 2026.

Limitations

Yes

Paper formatting concerns

No formatting issues.

Final justification

I thank the authors again for their rebuttal.

After the AC and reviewer discussion, I decided to keep my initial positive rating, as no additional discussions and arguments (on either side) appeared, and my main concern about "What is the relevance outside of posterior estimation to ML practitioners?" remains. I would encourage the authors to flesh out a stronger case for EVON in the final version of the paper to strengthen its chance for adoption by the broader ML community.

Reviewer_KKSjOpenReview ↗
Rating
5
Clarity
4
Confidence
4
Originality
3
Quality
3
Significance
3
Read review
Summary

This paper proposes a new method called EVON, which computes a diagonal Gaussian variational posterior in a preconditioned version of the parameter space, which is non-diagonal in the original space. The trick is to combine the SOAP method for estimating a suitable eigenbasis with the IVON method for efficiently implement diagonal SVI using a noisy version of Adam. The method provably recovers the exact Gaussian posterior for linear and logistic regression, if the input matrix is orthogonal. They show a helpful 1d qualitative example, and then do larger scale experiments on NanoGPT (125M), Llama (134M) and Clip-VIT finetuning. They show that EVON is much better than IVON in terms of validation loss and improvement over plugin mean using test time posterior sampling. However, the gains over computing a point estimate using SOAP seem small to non-existent, at least for the LLM experiments.

Strengths and weaknesses

Strengths: elegant method, simple to implement, theoretically justified. Improves on prior SOTA for large Bayesian neural nets (IVON).

Weaknesses: the benefits of the Bayesian approach seem marginal compared to SOAP - the claim (below fig 5) that "EVON improves over IVON and reaches an overall lower loss than SOAP" does not seem valid - the final points of the two curves are basically on top of each other, and I do not believe any difference is statistically significant.

Questions
  • fig 5 (right), it seems that for EVON, the red curve with 4 MC samples is worse than the plugin mean and you need to go to 16 samples to get any gains (which is 16 x slower than a plugin estimate). Why is this?

  • fig 5 (middle) it seems the run time for EVON is basically the same as for SOAP, which is surprising, since you need to do extra computations like eigendecomposition. Why is this? (Do you just set T to be a larger number, so the cost of eig(L),eig(R) is rarely incurred?

  • have you considered applying your method to non deep learning models (eg hierarchical bayes), where the gains may be much more significant?

Limitations
  • the gains of the VI seem very marginal compared to a plug-in estimate.
  • Fig 5 (right) looks nice, but predicting using K samples from the posterior costs K times more than predicting with a standard model, so you could just train a larger model for the same cost and would likely get even better ppl scores
  • tuning the zeta regularizer incurs additional cost
Paper formatting concerns

none - very clear

Reviewer_xomQOpenReview ↗
Rating
4
Clarity
3
Confidence
4
Originality
4
Quality
3
Significance
4
Read review
Summary

This paper proposes EVON (Eigenspace Variational Online Newton), which modifies SOAP optimizer to run IVON (mean-field) based on the rotated eigen-basis. This results in obtaining the block-diagonal Gaussian posterior with only a few line changes to SOAP.

Strengths and weaknesses

Strengths:

  • The paper has a clean, well-motivated idea that addresses a real gap: structured covariance variational learning that scales to transformers is novel, and the connection the authors draw between SOAP's eigenbasis and structured variational posteriors is elegant.
  • The improvement is obtained without increasing the size of the posterior parameterization, and the diagnosis of mean-field's failure as a basis problem is interesting.
  • Fig 1 (left) comparing IVON and EVON communicates the core idea immediately.
  • Fig 2 is an effective presentation of how modifying a few lines of SOAP is easy to implement.
  • Theorem 2 is a nice explanation of the empirical findings in Fig 3.

Weaknesses:

  • The abstract states "For language model pretraining we get significant improvements in validation loss over IVON without any increase in cost." The phased gradient scheme is a source of per-step overhead. Fig. 5 (middle) reports loss vs. wall-clock time, but the curves terminate at different times for the same 10,000 steps, implying higher per-step cost for EVON. The paper also reports no memory comparison against IVON and SOAP.
  • Figs. 1 and 5 appear to be single runs, as no error bars are reported. Given the small gaps between methods, error bars seem crucial in both figures. Even a few seeds on the cheaper nanoGPT setup with a variance band would substantially strengthen the paper. Right now, the central empirical claim cannot be distinguished from seed noise.
  • Theorem 2 is based on simultaneous diagonalizability, and corollary 1 specifies orthogonal datapoints/features. This almost never holds in practice. It is fine as intuition, but should not be presented as evidence that SOAP-Bubbles recover the exact posterior.
  • The paper does not compare against any structured-posterior methods, even though SLANG uses the same USPS setup, so running it would be trivial.
  • CLIP results (Table 1) are mixed, and EVON is not uniformly best. For example, plain EVON is worse than plain IVON on five of eight datasets in ECE, and EVON shows gain only after 32-sample averaging.
  • Ablations would help, since EVON modifies SOAP on multiple items. Isolating each component's contribution would clarify what drives the gains. For example, spectral clipping is known to help on its own (without the other modifications).
Questions
  • What is the optimization problem (Eq 1) being solved when the eigen-basis moves?
  • In Table 1, the effect of Bayesian Model Averaging is not clear. For example, it worsens ECE for EVON in SVHN and for IVON in CARS. Do you have any intuition on that?
Limitations

yes

Paper formatting concerns

None

Final justification

I thank the authors for a thorough, responsive rebuttal and will maintain Borderline Accept.

  • Resolved: SOAP-vs-EVON memory overhead is negligible; the revised runtime wording and Theorem 2 scope clarification are both fine.

  • Strengthened: the 350M LLaMA result begins to address scale, and the reran CLIP table is more convincing than the original.

  • Partially addressed: the ablation shows whitening (spectral clipping) is the dominant driver, partly confirming my concern that much of the gain is optimizer-side. Though, Plain EVON still beats the non-whitened variants and BMA helps every config, so the structured-posterior contribution is real.

  • Still open: multi-seed error bars and SLANG are deferred to camera-ready and unverifiable, so the core claim rests on unseeded runs.

That said, I keep Borderline Accept and expect this work to be a useful addition to the program.

Comments on the paper

1 comment
Meta-review

After consideration of the author rebuttal, reviewers all have on overall positive assessment of variational inference algorithm proposed here, which has a good conceptual motivation and is technically well-executed. Some ratings are borderline, primarily due to concerns about how innovative and novel the method is, as well as the fact that some experiments show comparable (rather than boosted) performance to prior work. Overall, however, the contributions here are sufficient for acceptance. When preparing the final manuscript, be sure to incorporate the additional experimental and conceptual comparisons from the rebuttals.

Note also that an automated NeurIPS paper checker detected the following: The paper 'Validated variational inference via practical posterior error bounds' by J. Huggins, M. Kasprzak, T. Campbell, and T. Broderick exists and was published in 2020, but it was published in the International Conference on Artificial Intelligence and Statistics (AISTATS), not the International Conference on Machine Learning (ICML).

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.