arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2306.02729cs.LGstat.ML
收藏

神经网络后验的吉布斯采样

Gibbs Sampling the Posterior of Neural Networks

École Polytechnique Fédérale de Lausanne (EPFL)(洛桑联邦理工学院)

Giovanni Piccioli, Emanuele Troiani, Lenka Zdeborová

AI总结:

本文提出一种在神经网络每层激活前后添加噪声的新概率模型,利用高效吉布斯采样器从后验采样,并在教师-学生框架下引入热化准则以检测采样失败,小模型上性能媲美HMC和MALA。

摘要:

本文研究从神经网络导出的后验分布中进行采样的问题。我们提出了一种新的概率模型,即在网络的每个激活前和激活后添加噪声,并论证由此产生的后验分布可以使用高效的吉布斯采样器进行采样。对于小规模模型,吉布斯采样器在真实数据和合成数据上均能达到与最先进的马尔可夫链蒙特卡洛(MCMC)方法(如哈密顿蒙特卡洛(HMC)或Metropolis调整的Langevin算法(MALA))相当的性能。通过将我们的分析置于教师-学生框架中,我们引入了一个热化准则,该准则使我们能够检测到当算法在具有合成标签的数据上运行时,何时未能从后验分布中采样。该准则基于这样一个事实:在教师-学生框架中,我们可以直接在平衡状态下初始化算法。

英文摘要:

In this paper, we study sampling from a posterior derived from a neural network. We propose a new probabilistic model consisting of adding noise at every pre- and post-activation in the network, arguing that the resulting posterior can be sampled using an efficient Gibbs sampler. For small models, the Gibbs sampler attains similar performances as the state-of-the-art Markov chain Monte Carlo (MCMC) methods, such as the Hamiltonian Monte Carlo (HMC) or the Metropolis adjusted Langevin algorithm (MALA), both on real and synthetic data. By framing our analysis in the teacher-student setting, we introduce a thermalization criterion that allows us to detect when an algorithm, when run on data with synthetic labels, fails to sample from the posterior. The criterion is based on the fact that in the teacher-student setting we can initialize an algorithm directly at equilibrium.

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

↑