Wide Mean-Field Bayesian Neural Networks Ignore the Data

Beau Coker, Wessel P. Bruinsma, David R. Burt, Weiwei Pan, Finale Doshi-Velez

Introduction

Bayesian Neural Networks (BNNs) are a cornerstone of reliable machine learning, offering a framework to quantify uncertainty by treating model weights as probability distributions. However, the true posterior distribution for deep networks is computationally intractable. To bridge this gap, practitioners frequently employ Mean-Field Variational Inference (MFVI). MFVI simplifies the problem by assuming that all weights are independent, allowing for efficient optimization via the Evidence Lower Bound (ELBO).

Despite its popularity, researchers have observed a troubling trend: as BNNs grow wider, those trained with MFVI often underfit the data and provide poor uncertainty estimates. This paper provides a rigorous theoretical foundation for this phenomenon, proving that in the infinite-width limit, MFVI-based BNNs with odd activation functions effectively "ignore" the training data and revert to their prior distribution.

The Theoretical Failure of MFVI

The authors investigate the behavior of the variational posterior predictive distribution as the number of neurons per layer ($M$) approaches infinity. Their analysis centers on the ELBO, which balances data likelihood against the Kullback–Leibler (KL) divergence between the variational posterior and the prior.

The KL Penalty Trap

In MFVI, the KL divergence term acts as a regularizer. The paper demonstrates that as the network width increases, the number of parameters grows linearly, causing the KL term to act as an increasingly massive "anchor." This penalty becomes so dominant that any significant deviation from the prior—even to fit training data—becomes prohibitively "expensive" for the optimizer. Consequently, the optimal variational distribution is pinned to the prior.

The Role of Activation Symmetry

The proof hinges on the use of odd activation functions (e.g., tanh, erf, or linear), where $\phi(-x) = -\phi(x)$. Because the weight prior is typically symmetric around zero, the expected value of an odd activation is zero. The independence assumption inherent in MFVI makes it mathematically impossible for the network to shift this mean function away from zero in the wide limit without incurring a catastrophic KL penalty.

Key Results and Empirical Validation

The study culminates in a convergence proof: for BNNs with odd, Lipschitz activations and Gaussian likelihoods, the optimal MFVI posterior predictive converges in distribution to the Neural Network Gaussian Process (NNGP) prior as $M \to \infty$.

Quantitative Decay

The authors show that the difference between the posterior mean and the prior mean vanishes at a rate of $O(M^{-1/2})$. This is not merely an asymptotic curiosity; experiments on synthetic datasets (like sine waves and simple two-point regressions) and real-world benchmarks (UCI Concrete datasets) confirm that the Root Mean Squared Error (RMSE) relative to the training data actually increases as the network gets wider.

The ReLU Exception?

While the failure is most absolute for odd activations, the authors also examined non-odd functions like ReLU. While ReLU networks do not strictly revert to a zero-mean prior in all cases, they still exhibit significant underfitting in the wide limit. The "mean-field" independence assumption remains the fundamental bottleneck, restricting the model's capacity to deviate from the prior functional state regardless of the specific activation used.

Conclusion and Future Directions

This research presents a significant challenge to the use of MFVI in large-scale Bayesian deep learning. The results suggest that the very simplicity that makes MFVI computationally attractive—the independence of weights—is exactly what causes it to fail in wide architectures.

To build effective wide Bayesian models, the authors suggest that the community must move beyond simple mean-field approximations. Future work should focus on variational families that can capture complex weight correlations, such as matrix-variate Gaussians or low-rank approximations, which may allow wide networks to retain their expressive power while still providing valid Bayesian uncertainties.

Summary updated

BibTeX
@inproceedings{coker2022wide,
  author = {Beau Coker and Wessel P. Bruinsma and David R. Burt and Weiwei Pan and Finale Doshi-Velez},
  title = {{Wide Mean-Field Bayesian Neural Networks Ignore the Data}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2022},
  url = {https://openreview.net/forum?id=aq9J8vjyAk},
}
Figure