A Symmetry-Aware Exploration of Bayesian Neural Network Posteriors

Olivier Laurent, Emanuel Aldea, G. Franchi
2/12/2026

Official code: torch-uncertainty/torch-uncertainty (527 stars, Apache-2.0, PyTorch, last commit 2026-05-04).

Abstract

The distribution of the weights of modern deep neural networks (DNNs) - crucial for uncertainty quantification and robustness - is an eminently complex object due to its extremely high dimensionality. This paper proposes one of the first large-scale explorations of the posterior distribution of deep Bayesian Neural Networks (BNNs), expanding its study to real-world vision tasks and architectures. Specifically, we investigate the optimal approach for approximating the posterior, analyze the connection between posterior quality and uncertainty quantification, delve into the impact of modes on the posterior, and explore methods for visualizing the posterior. Moreover, we uncover weight-space symmetries as a critical aspect for understanding the posterior. To this extent, we develop an in-depth assessment of the impact of both permutation and scaling symmetries that tend to obfuscate the Bayesian posterior. While the first type of transformation is known for duplicating modes, we explore the relationship between the latter and L2 regularization, challenging previous misconceptions. Finally, to help the community improve our understanding of the Bayesian posterior, we will shortly release the first large-scale checkpoint dataset, including thousands of real-world models and our codes.

View on arXivView PDF

Code Implementations(1)

PyTorchApache-2.0

Open-source framework for uncertainty and deep learning models in PyTorch 🌱

52747Shell, PythonFeb 1, 20235 months agoApache-2.0
bayesian-networkcomputer-visionensemblesneural-networkspredictive-uncertainty+5 more

Similar Papers

Cite this paper

@article{laurent2026symmetryaware,
  title  = {A Symmetry-Aware Exploration of Bayesian Neural Network Posteriors},
  author = {Olivier Laurent and Emanuel Aldea and G. Franchi},
  year   = {2026},
  eprint = {2310.08287},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2310.08287},
  journal = {ICLR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.08287.svg)](https://codeofpaper.com/paper/2310.08287)

Discussion