Microcanonical Langevin Ensembles: Advancing the Sampling of Bayesian Neural Networks

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Sommer, Emanuel, Robnik, Jakob, Nozadze, Giorgi, Seljak, Uros, Rügamer, David
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866917917491200000
author Sommer, Emanuel
Robnik, Jakob
Nozadze, Giorgi
Seljak, Uros
Rügamer, David
author_facet Sommer, Emanuel
Robnik, Jakob
Nozadze, Giorgi
Seljak, Uros
Rügamer, David
contents Despite recent advances, sampling-based inference for Bayesian Neural Networks (BNNs) remains a significant challenge in probabilistic deep learning. While sampling-based approaches do not require a variational distribution assumption, current state-of-the-art samplers still struggle to navigate the complex and highly multimodal posteriors of BNNs. As a consequence, sampling still requires considerably longer inference times than non-Bayesian methods even for small neural networks, despite recent advances in making software implementations more efficient. Besides the difficulty of finding high-probability regions, the time until samplers provide sufficient exploration of these areas remains unpredictable. To tackle these challenges, we introduce an ensembling approach that leverages strategies from optimization and a recently proposed sampler called Microcanonical Langevin Monte Carlo (MCLMC) for efficient, robust and predictable sampling performance. Compared to approaches based on the state-of-the-art No-U-Turn Sampler, our approach delivers substantial speedups up to an order of magnitude, while maintaining or improving predictive performance and uncertainty quantification across diverse tasks and data modalities. The suggested Microcanonical Langevin Ensembles and modifications to MCLMC additionally enhance the method's predictability in resource requirements, facilitating easier parallelization. All in all, the proposed method offers a promising direction for practical, scalable inference for BNNs.
format Preprint
id arxiv_https___arxiv_org_abs_2502_06335
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Microcanonical Langevin Ensembles: Advancing the Sampling of Bayesian Neural Networks
Sommer, Emanuel
Robnik, Jakob
Nozadze, Giorgi
Seljak, Uros
Rügamer, David
Machine Learning
Despite recent advances, sampling-based inference for Bayesian Neural Networks (BNNs) remains a significant challenge in probabilistic deep learning. While sampling-based approaches do not require a variational distribution assumption, current state-of-the-art samplers still struggle to navigate the complex and highly multimodal posteriors of BNNs. As a consequence, sampling still requires considerably longer inference times than non-Bayesian methods even for small neural networks, despite recent advances in making software implementations more efficient. Besides the difficulty of finding high-probability regions, the time until samplers provide sufficient exploration of these areas remains unpredictable. To tackle these challenges, we introduce an ensembling approach that leverages strategies from optimization and a recently proposed sampler called Microcanonical Langevin Monte Carlo (MCLMC) for efficient, robust and predictable sampling performance. Compared to approaches based on the state-of-the-art No-U-Turn Sampler, our approach delivers substantial speedups up to an order of magnitude, while maintaining or improving predictive performance and uncertainty quantification across diverse tasks and data modalities. The suggested Microcanonical Langevin Ensembles and modifications to MCLMC additionally enhance the method's predictability in resource requirements, facilitating easier parallelization. All in all, the proposed method offers a promising direction for practical, scalable inference for BNNs.
title Microcanonical Langevin Ensembles: Advancing the Sampling of Bayesian Neural Networks
topic Machine Learning
url https://arxiv.org/abs/2502.06335