Structured Weight Correlations in Bayesian Neural Networks

You are reading version 1 of this direction, frozen 2026-10-04. The latest version is version 2.

Version 1 of 2130 papers148 conceptsfrozen 2026-10-04

In the quest to build neural networks that know when they are uncertain, Bayesian Neural Networks (BNNs) are the theoretical gold standard. Instead of learning a single fixed value for every weight, a BNN learns a probability distribution. However, for years, the field has relied on a simplifying assumption that is both computationally convenient and physically unrealistic: the mean-field assumption.

This assumption treats every single weight in a network—often numbering in the millions—as completely independent of every other weight. While this makes the math tractable, it ignores the fundamental reality of how neural networks function. Recent research has shifted toward capturing the complex, structured correlations between weights to unlock the true potential of Bayesian deep learning.

The Failure of Independence

The most common way to implement a BNN is through Variational Inference (VI), where we approximate the true, complex posterior distribution of weights with a simpler one, like a Gaussian. To keep things fast, researchers like Alex Graves in Practical Variational Inference for Neural Networks popularized the use of a diagonal covariance matrix. This is the "mean-field" approach: it assumes the uncertainty of one weight tells you nothing about the uncertainty of its neighbor.

As noted in Variational Continual Learning by Cuong V. Nguyen and colleagues, this independence is a massive oversimplification. Neural networks are hierarchical; the "meaning" of a weight in layer 2 depends entirely on the features extracted by the weights in layer 1. When we force these weights to be independent, we suffer from variance shrinkage. The model becomes "dangerously certain" of incorrect outputs because it cannot represent the joint uncertainty that naturally exists between parameters.

Capturing Structure with Matrix Factorization

If a full covariance matrix for $D$ parameters requires $O(D^2)$ space—which is impossible for modern networks—how do we capture correlations? The answer lies in structured covariance.

One powerful approach is to treat weights not as a long list of independent scalars, but as the matrices they actually are. Christos Louizos and Max Welling introduced Structured and Efficient Variational Deep Learning with Matrix Gaussian Posteriors, which uses Matrix Variate Gaussian (MVG) distributions. Instead of one variance per weight, they learn correlations between rows and columns of the weight matrix. This captures the "grid-like" dependencies inherent in neural layers while remaining computationally efficient.

Similarly, Ahmed Touati and others have explored Stochastic Neural Network with Kronecker Flow. By using Kronecker Factorization (KF), researchers can approximate the massive covariance matrix as a product of two much smaller matrices. As demonstrated in Kronecker Factorization for Preventing Catastrophic Forgetting by Denis Jered McInerney, this structure allows models to remember old tasks much better because it accurately identifies which combinations of weights are critical to preserve.

Low-Rank and Implicit Approximations

Another strategy is to assume that while many weights are correlated, these correlations live in a much simpler, low-dimensional space.

The SLANG algorithm, developed by Aaron Mishkin, Mohammad Emtiyaz Khan, and their team in SLANG: Fast Structured Covariance Approximations for Bayesian Deep Learning with Natural Gradient, uses a "diagonal plus low-rank" approximation. This gives the model the flexibility to capture the most important global correlations without the overhead of a full matrix.

For even more complexity, some researchers move away from Gaussian distributions entirely. Lars Skaaret-Lund and Aliaksandr Hubin use Normalizing Flows in Sparsifying Bayesian neural networks with latent binary variables and normalizing flows. Normalizing flows transform a simple distribution into a complex, multi-modal one through a series of invertible mappings, allowing the BNN to learn intricate, non-linear dependencies between weights.

Why Correlations Matter for the Future

The shift toward correlated distributions isn't just about better math; it's about making AI safer and more reliable.

  1. Generalization: Konstantinos Pitas showed in Dissecting Non-Vacuous Generalization Bounds based on the Mean-Field Approximation that the mean-field assumption is a fundamental bottleneck. We cannot prove that a network will generalize well if we assume its weights are independent, because the "loss landscape" of a real network is defined by how weights work together.
  2. Robustness: In Adv-BNN, Xuanqing Liu and colleagues demonstrate that modeling correlations in convolutional kernels significantly improves defense against adversarial attacks.
  3. Deployment: Even in resource-constrained environments, capturing structure is vital. Hui Chen and Hengyu Liu argue in FedSI that efficient subnetwork inference—focusing on correlations only where they matter most—is the key to bringing Bayesian uncertainty to federated learning.

By moving beyond the independence of the mean-field assumption, this research direction is bridging the gap between the theoretical elegance of Bayesian inference and the messy, highly-correlated reality of deep neural networks.

Papers in this version

Showing 60 of 130 papers.

History & citationVersion 2 · 2026-10-04

Current · Permanent link

  1. Version 2 (latest) · 2026-10-04 · 118 papers
  2. Version 1 · 2026-10-04 · 130 papers
Cite this direction

Latest version (a living page):

@misc{lacuna_mean_field_independence_assumption_weigh_f87ee29e,
  title = {mean-field independence assumption (weight correlation neglect)},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/mean-field-independence-assumption-weight-correlation-neglect/rdr_f87ee29e7bb34f22838d90ad202de8e6},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-27},
}

This exact version (version 1, frozen text):

@misc{lacuna_structured_weight_correlations_in_bayesi_f87ee29e_v1,
  title = {Structured Weight Correlations in Bayesian Neural Networks},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/structured-weight-correlations-in-bayesian-neural-networks/rdr_f87ee29e7bb34f22838d90ad202de8e6/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-27},
}