arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.00611stat.MLcs.AIcs.LG
收藏

通过消除置换对称性实现贝叶斯神经网络的紧凑表示

A Compact Representation for Bayesian Neural Networks By Removing Permutation Symmetry

University of Tübingen(图宾根大学);University of Cambridge(剑桥大学);Max Planck Institute for Intelligent Systems, Tübingen(马克斯·普朗克智能系统研究所(图宾根))

Tim Z. Xiao, Weiyang Liu, Robert Bamler

AI总结:

本文提出利用rebasin方法消除置换对称性,将HMC样本汇总为紧凑表示,为贝叶斯神经网络权重提供显式不确定性估计,从而统一采样与变分推断,并支持权重空间比较与高效剪枝。

摘要:

贝叶斯神经网络(BNN)是对深度学习中预测不确定性进行建模的一种原则性方法,这在安全关键应用中非常重要。由于对BNN中权重进行精确的贝叶斯推断是不可行的,因此存在多种近似推断方法,其中诸如Hamiltonian Monte Carlo(HMC)等采样方法通常被认为是黄金标准。尽管HMC能提供高质量的样本,但它缺乏可解释的汇总统计量,因为由于置换对称性,其样本均值和方差在神经网络中毫无意义。在本文中,我们首先表明置换的作用可以通过“转置次数”度量进行有意义的量化。然后我们证明,最近提出的rebasin方法使我们能够将HMC样本汇总为一种紧凑表示,从而为神经网络中的每个权重提供有意义的显式不确定性估计,由此将采样方法与变分推断统一起来。我们证明,这种紧凑表示使我们能够直接在权重空间中跨采样方法和变分推断比较训练好的BNN,并通过利用来自HMC的不确定性估计,高效地剪枝未在显式贝叶斯框架下训练的神经网络。

英文摘要:

Bayesian neural networks (BNNs) are a principled approach to modeling predictive uncertainties in deep learning, which are important in safety-critical applications. Since exact Bayesian inference over the weights in a BNN is intractable, various approximate inference methods exist, among which sampling methods such as Hamiltonian Monte Carlo (HMC) are often considered the gold standard. While HMC provides high-quality samples, it lacks interpretable summary statistics because its sample mean and variance is meaningless in neural networks due to permutation symmetry. In this paper, we first show that the role of permutations can be meaningfully quantified by a number of transpositions metric. We then show that the recently proposed rebasin method allows us to summarize HMC samples into a compact representation that provides a meaningful explicit uncertainty estimate for each weight in a neural network, thus unifying sampling methods with variational inference. We show that this compact representation allows us to compare trained BNNs directly in weight space across sampling methods and variational inference, and to efficiently prune neural networks trained without explicit Bayesian frameworks by exploiting uncertainty estimates from HMC.

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

↑