The Bayesian Learning Rule Beyond KL Geometry
Organizations: Instituto de Telecomunicações and Instituto Superior Técnico, Universidade de Lisboa, Portugal · University of Central Florida, USA · RIKEN Center for Advanced Intelligence Project, Japan · TU Darmstadt and hessian.AI, Germany
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: combined with posterior families with parameter-dependent support it can lead to undefined objectives. We ask which non-KL geometries preserve the additive BLR computation. Previous works that use -divergences suggest that this is only possible with the KLD. Here, we show that this is not true. We show that additive information-geometric optimization algorithms can be derived for the class of mixed-space Bregman or Fenchel-Young discrepancies. These discrepancies induce generalized maximum-entropy families, dual coordinates, and generalized-BLR canonical gradient updates, recovering the classical BLR. The generalized BLR leads to new algorithms that cannot be derived from the KL-based BLR. For the Tsallis negentropy with quadratic statistics, the generalized BLR yields bounded-support and heavy-tailed -Gaussian posteriors and an easy Newton-like implementation. Experiments up to CIFAR-100 illustrate controllable support and tail behavior and competitive performance.
Figures & tables
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
| Task | Method | Acc. | NLL | ECE | Brier | AUROC |
|---|---|---|---|---|---|---|
| CIFAR-10 ResNet-20 270k params | SGD (MAP) | 91.2 0.1 | 0.292 0.001 | 3.7 0.1 | 0.133 0.001 | 91.9 0.1 |
| VSGD | 91.9 0.0 | 0.310 0.005 | 4.5 0.1 | 0.127 0.001 | 92.1 0.1 | |
| IVON | 92.4 0.1 | 0.259 0.006 | 3.5 0.2 | 0.117 0.002 | 92.4 0.0 | |
| + sampling | 92.6 0.1 | 0.221 0.003 | 0.8 0.1 | 0.109 0.002 | 92.6 0.1 | |
| q-VSGD ( ) | 91.9 0.0 | 0.309 0.008 | 4.5 0.1 | 0.128 0.002 | 92.0 0.1 | |
| q-VON ( ) | 92.3 0.2 | 0.271 0.008 | 3.9 0.2 | 0.119 0.003 | 92.6 0.2 |
| Task | Method | Acc. | Test Loss | ECE | Brier | AUROC |
|---|---|---|---|---|---|---|
| MNIST MLP 550k params | SGD (MAP) | 98.69 0.01 | 0.043 0.000 | 0.37 0.02 | 0.020 0.000 | 97.87 0.07 |
| VSGD | 98.75 0.03 | 0.048 0.000 | 0.60 0.02 | 0.020 0.000 | 97.68 0.05 | |
| IVON | 98.74 0.02 | 0.048 0.001 | 0.60 0.02 | 0.020 0.000 | 97.52 0.10 | |
| + sampling | 98.72 0.01 | 0.050 0.000 | 1.53 0.02 | 0.022 0.000 | 97.88 0.05 | |
| q-VSGD ( ) | 98.62 0.02 | 0.045 0.001 | 0.46 0.01 | 0.021 0.000 | 97.94 0.06 | |
| q-VON ( ) | 98.69 0.02 | 0.042 0.000 | 0.40 0.03 | 0.020 0.000 | 98.04 0.05 |
| Task | Method | Acc. | Test Loss | ECE | Brier | AUROC |
|---|---|---|---|---|---|---|
| MNIST MLP 550k params | q-VON-MF ( ) | 81.42 15.77 | 0.514 0.412 | 1.35 0.59 | 0.208 0.165 | 88.55 6.79 |
| q-VON-MF ( ) | 97.67 0.03 | 0.086 0.001 | 0.88 0.01 | 0.036 0.000 | 96.26 0.18 | |
| q-VON-MF ( ) | 98.15 0.08 | 0.070 0.002 | 0.86 0.04 | 0.029 0.001 | 96.79 0.12 | |
| q-VON-MF ( ) | 98.66 0.03 | 0.053 0.001 | 0.72 0.01 | 0.022 0.000 | 97.67 0.12 | |
| q-VON-MF ( ) | 98.75 0.01 | 0.048 0.001 | 0.61 0.03 | 0.020 0.000 | 97.52 0.05 | |
| q-VON-MF ( ) | 98.66 0.02 | 0.047 0.000 | 0.60 0.02 | 0.021 0.000 | 97.93 0.07 |
Bayesian Inference
Bayesian inference updates probability distributions over unknowns with evidence to quantify uncertainty and guide prediction and decisions.
See all 315 papers