arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.06335cs.LG
收藏

微正则朗之万集成:推进贝叶斯神经网络的采样

Microcanonical Langevin Ensembles: Advancing the Sampling of Bayesian Neural Networks

LMU Munich(慕尼黑大学);Munich Center for Machine Learning (MCML)(慕尼黑机器学习中心);University of California Berkeley(加州大学伯克利分校);Eraneos Analytics Germany GmbH(埃拉诺斯分析德国有限公司);Lawrence Berkeley National Laboratory(劳伦斯伯克利国家实验室)

Emanuel Sommer, Jakob Robnik, Giorgi Nozadze, Uros Seljak, David Rügamer

AI总结:

针对贝叶斯神经网络(BNNs)采样推理存在的后验分布复杂、时间长且不可预测等问题,提出基于微正则朗之万蒙特卡洛(MCLMC)的集成方法,相比No-U-Turn采样器实现高达一个数量级的加速,同时保持或提升预测性能与不确定性量化能力,增强资源需求可预测性与并行化便利性。

摘要:

尽管近年来取得了进展,但贝叶斯神经网络(BNNs)的基于采样的推理在概率深度学习中仍然是一个重大挑战。虽然基于采样的方法不需要变分分布假设,但当前最先进的采样器在处理BNNs复杂且高度多模态的后验分布时仍面临困难。因此,即使对于小型神经网络,采样所需的推理时间仍远长于非贝叶斯方法,尽管最近在提高软件实现效率方面取得了进展。除了难以找到高概率区域外,采样器充分探索这些区域所需的时间仍然不可预测。为了应对这些挑战,我们引入了一种集成方法,该方法利用优化策略和最近提出的称为微正则朗之万蒙特卡洛(MCLMC)的采样器,以实现高效、稳健和可预测的采样性能。与基于最先进的No-U-Turn采样器的方法相比,我们的方法在各种任务和数据模态上保持或提高预测性能和不确定性量化的同时,实现了高达一个数量级的显著加速。建议的微正则朗之万集成和对MCLMC的修改进一步提高了该方法在资源需求方面的可预测性,便于更容易的并行化。总而言之,所提出的方法为BNNs的实用、可扩展推理提供了一个有前景的方向。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑