# Incorporating Neural Network Structure in the Bayesian Learning Rule

*Eiki Shimizu, Mohammad Emtiyaz Khan, Thomas Möllenhoff*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/153834) · [OpenReview](https://openreview.net/forum?id=IMo3RbNPJF) · [Open on the map](../papers.html#p153834)

Category: [Time Series, PDEs & Probabilistic ML](../pcat/9.md) › [Bayesian Inference for Neural Networks](../pgroup/696.md) · Type: new method · Keywords: Bayesian learning framework, neural network structure, adjoint variables, backpropagation, variational inference, IVON variant

Areas: [Optimization & Algorithms](../areas/optimization.md) › Optimization, Estimation, Approximation › Bayesian learning

## Summary
The paper introduces a new Bayesian learning framework that leverages adjoint variables to propagate layerwise sensitivity signals, unifying backpropagation and variational inference while providing a unified view of localization and moment matching methods.

## Explained to a 5-year-old
Computers that learn have many layers that work together like a chain. The paper finds a way to let these layers share information so they understand how changes in one layer affect the others. This helps the computer make better guesses and be more sure about its answers. It also makes older computer learning tricks work better. The new idea makes learning with many layers easier and more reliable.

## Explained to a 5-year-old, longer
Computers that learn from lots of pictures or words are built like a stack of layers, each one doing a small part of the job. Usually, these layers work separately, but they are actually connected to each other like a chain. The paper discovers a special rule that lets the layers talk to each other in a friendly way. By using this rule, the computer can see how a change in one layer will affect the final answer. This makes the computer's guesses more accurate and gives it a better sense of how sure it is. It also helps older computer learning tricks work better, like when a computer learns to recognize faces. The new idea is like giving each layer a small notebook to write down how it influences the next layer. This notebook helps the computer keep track of everything without getting confused. The method works especially well when the computer assumes the layers' values follow a smooth, bell-shaped pattern. It also introduces a new version of a known learning method that is easier to understand. In practice, this means the computer can learn from fewer examples and make fewer mistakes. Overall, the paper makes learning with many layers smoother, more reliable, and easier to control.

## For a technical reader
The paper shows how Bayesian inference for neural networks can be aligned with the way neural networks are trained using backpropagation. It does this by discovering a mathematical relationship between backpropagation and a type of Bayesian approximation, allowing layer-wise signals to be passed around using adjoint variables. When the network assumes Gaussian distributions for its weights and hidden states, the new framework reproduces the classic backpropagation and Hessian-based methods as special cases. The authors also present a refined version of an existing Bayesian optimization method (IVON) with clearer gradient and curvature estimates. In practice, this gives engineers a unified way to incorporate uncertainty into deep models while reusing familiar training concepts.

## Problem
Existing Bayesian learning methods treat neural network weights independently, ignoring the hierarchical dependencies introduced by network layers, which limits their ability to incorporate architecture into inference.

## Method
The approach exploits the shared Lagrangian duality between backpropagation and exponential family variational inference, using adjoint variables to propagate layerwise sensitivity signals that are mapped to loss-site natural parameters. For Gaussian weight posteriors and Gaussian layer-state projections, the framework recovers deterministic backpropagation and Hessian backpropagation via delta-method approximations, offering a unified perspective on localization and moment matching methods. Additionally, a variant of IVON is derived with clarified gradient and Hessian estimates.

## Contributions
The paper provides a unified Bayesian learning framework that explicitly incorporates neural network structure, recovers known backpropagation and Hessian methods via approximations, and introduces a new IVON variant with clarified gradient and Hessian estimates.

## Limitations and assumptions
The framework assumes Gaussian weight posteriors and Gaussian layer-state projections, limiting its direct applicability to non-Gaussian settings.

## Practical relevance
This work enables more principled Bayesian inference for deep neural networks, potentially improving uncertainty quantification and model reliability in real-world applications.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/153834)
