The Bayesian Learning Rule Beyond KL Geometry

Sophia Sklaviadis, Wu Lin, Mario A. T. Figueiredo, Andre Martins, Thomas Möllenhoff, Mohammad Emtiyaz KhanNeurIPS 2026

TL;DR

Many of our favorite machine learning algorithms—from SGD and Adam to Newton’s method—can be unified under a single framework called the Bayesian Learning Rule (BLR), provided you stick to Gaussians and Kullback-Leibler (KL) divergence. This paper breaks BLR free from that mathematical cage, proving you can preserve its fast, simple, additive parameter updates even when using distributions with hard boundaries or heavy tails. Best of all, turning a state-of-the-art Gaussian deep learning optimizer into one that handles non-Gaussian uncertainty takes changing just a few lines of code.

What Problem Does This Paper Address?

In variational Bayesian inference, instead of finding one single "best" set of model weights (like a Maximum A Posteriori, or MAP, estimate), we try to fit a probability distribution over the weights to capture uncertainty. The Bayesian Learning Rule (BLR) is an elegant framework showing that if you use exponential-family distributions (like Gaussians) and measure distribution closeness using the Kullback-Leibler divergence (KLD), optimizing this distribution reduces to crisp, additive updates.

However, KLD has a strict, unforgiving geometry. It requires absolute continuity: if your variational distribution puts any probability mass somewhere the prior says is impossible, the KL divergence blows up to infinity. Consequently, standard BLR cannot handle distributions whose boundaries shift during training (parameter-dependent bounded support) or distributions with adaptive heavy tails. Even with regular Gaussians, their infinite tails inevitably brush against steep, high-loss regions in the parameter landscape, forcing the center of the Gaussian to shy away from the true MAP optimum.

Figure 1: Left: We generalize the BLR by exploiting the geometry of Fenchel-Young discrepancies. We recover as special cases the BLR and the learning algorithms derived from it, and derive new algorithms using bounded-support and heavy-tailed q-exponential families. Right: Unlike Gaussians, bounded-support q-Gaussians allow control of the support by varying q. Thus, we can fit posteriors that closely track the MAP. The illustrated loss is that of 2D Bayesian logistic regression [Murphy, 2012]. Each circle indicates the first standard deviation, and outer loss contours indicate higher loss values. The Gaussian (q = 1) fit is farther from the MAP because its full support assigns non-negligible mass to high-loss regions; bounded-support q-Gaussians truncate this exploration.

Prior research into alternative divergence measures ($f$-divergences) suggested that KLD was uniquely special—that if you dropped KLD, you lost the clean, additive Bayesian-style updates. The authors ask: Is there another way to generalize KLD so we keep the fast, additive math of the BLR, while unlocking bounded-support and heavy-tailed distributions?

Methods

Instead of replacing KLD with $f$-divergences, the authors look at the underlying convex duality that generates KLD in the first place. They generalize the framework using Fenchel-Young discrepancies (also known as mixed-space Bregman divergences).

Why "mixed-space"? Because the discrepancy compares two different types of mathematical objects: a reference potential (living in a dual function space, replacing a normalized prior) and a candidate probability density. By swapping Shannon entropy (which yields KLD and exponential families) for a general convex generator function $\Omega$, they derive a Generalized BLR. This preserves dual coordinate systems and additive canonical updates across a massive new class of maximum-entropy distributions.

To put this to work, the authors choose the Tsallis negative entropy (controlled by a deformation parameter $q$), which naturally induces $q$-Gaussian distributions:

  • When $q = 1$: You recover standard Gaussians and the classical BLR.
  • When $q < 1$: You get distributions with bounded, parameter-dependent support—meaning probability drops strictly to zero outside a controllable radius.
  • When $q > 1$: You get heavy-tailed distributions (specifically, reparameterized Student-$t$ distributions).

Applying this to quadratic statistics yields $q$-VON (and a factorized mean-field version for high dimensions, $q$-VON-MF). Built directly atop the state-of-the-art Improved Variational Online Newton (IVON) optimizer, $q$-VON requires altering only the noise-sampling step and a couple of scaling constants.

Datasets

The authors evaluate their algorithms on standard benchmarks without introducing new datasets:

  • UCI Credit Approval dataset (for Bayesian logistic regression).
  • MNIST, CIFAR-10, and CIFAR-100 (for neural network image classification).

Key Insights and Ideas

  • Why $f$-divergences failed where Fenchel-Young succeeds: With $f$-divergences, only KLD lets you cleanly separate a ratio of probabilities into a linear expectation. Fenchel-Young discrepancies bypass probability ratios altogether by tilting potentials additively in dual space. Processing data sequentially or all at once yields the exact same tilted potential!
  • Hugging the MAP without losing uncertainty: As shown on the right side of Figure 1, a standard Gaussian ($q=1$) sits far away from the MAP star because its infinite tails get penalized by the steep loss contours nearby. By dialing $q < 1$, $q$-Gaussians chop off those tails, allowing the posterior mean to snuggle right up to the sharp MAP solution while still quantifying local uncertainty.
  • Drop-in non-Gaussian deep learning: Moving beyond Gaussian variational inference in deep networks usually requires painful algorithmic rewrites. Here, the generalized Price's and Bonnet's theorems (gradient identities) take almost the exact same mathematical form, meaning non-Gaussian optimization scales just as easily as IVON.

Key Results

Note that detailed quantitative tables are housed in the paper's appendices, so the main text highlights overarching qualitative and comparative takeaways:

  • Tracking skewed modes: On the UCI Credit Approval logistic regression task, when true posterior marginals (found via MCMC) are skewed, standard Gaussian approximations miss the mode badly. Decreasing $q$ (e.g., to $q = -2$ and $q = -10$) lets $q$-VON-MF closely track the true marginal posterior modes.
  • Learning shape beats blind noise: Across MNIST, CIFAR-10, and CIFAR-100, $q$-VON consistently outperforms standard SGD and a mean-only baseline ($q$-VSGD), proving that actively learning the shape of the $q$-Gaussian posterior beats simple heavy-tailed or bounded noise injection.
  • Accuracy vs. Calibration trade-offs: Tuning tail behavior gives practitioners a new lever. On MNIST, heavy-tailed $q$-VON ($q > 1$) achieves the highest test accuracy, whereas bounded-support $q$-VON ($q < 1$) delivers the best uncertainty calibration.
  • Out-of-the-box competitiveness: On CIFAR-10 and CIFAR-100, $q$-VON-MF matches the performance of heavily tuned Gaussian IVON without needing extra hyperparameter tuning.

Limitations and Future Work

  • High-dimensional quirks: For full- or diagonal-covariance $q$-VON in high dimensions $D$, keeping covariance finite forces heavy-tailed $q$ values very close to $1$, while $D$ dominates the support radius for $q < 1$. Using the factorized mean-field variant ($q$-VON-MF, which effectively sets $D=1$ per parameter) neatly sidesteps this, though it sacrifices parameter correlations.
  • Scale of experiments: Evaluations stop at CIFAR-100; the authors leave large-scale engineering benchmarks—such as LLM training with bounded variance, pruning, and quantization-aware training—to future work.
  • Exciting extensions: Because a factorized Student-$t$ distribution is not rotationally invariant, combining $q$-VON with eigenbasis preconditioners (like SOAP/EVON) could learn richer posterior geometries. The authors also envision deep networks with layer-specific, learnable tail behaviors, as well as designing custom posteriors from proper scoring rules.

Summary updated

Abstract

The Bayesian learning rule (BLR) exploits the relation between Bayesian updating and the Kullback-Leibler divergence (KLD) to derive efficient additive updates for exponential-family variational posteriors. The KL geometry is powerful but restrictive. For instance, posteriors with parameter-dependent support can lead to undefined objectives. We ask which non-KL geometries preserve the additive BLR computation. Previous works that use $f$-divergences suggest that this is only possible with the KLD. Here, we show that this is not true: iteratively locally approximately conjugate updates can be derived for a broad class of mixed-space Bregman or Fenchel-Young discrepancies. These discrepancies not only generalize maximum-entropy families and dual coordinates, but also lead to additive updates including the classical BLR as a special case. This generalized BLR leads to new algorithms that *cannot* be derived from the KL-based BLR. For the Tsallis negative entropy, the generalized BLR yields bounded-support and heavy-tailed $q$-Gaussian posteriors and an easy Newton-like implementation. Experiments up to CIFAR-100 illustrate controllable support and tail behavior and competitive performance. Code is available at https://github.com/team-approx-bayes/qvon.
BibTeX
@inproceedings{sklaviadis2026bayesian,
  author = {Sophia Sklaviadis and Wu Lin and Mario A. T. Figueiredo and Andre Martins and Thomas Möllenhoff and Mohammad Emtiyaz Khan},
  title = {{The Bayesian Learning Rule Beyond KL Geometry}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=lQY2mQuDx9},
}
Figure