arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2407.18802stat.MLcs.ITcs.LGmath.IT
收藏

用于采样神经网络后验的对数凹耦合

Log-Concave Coupling for Sampling Neural Net Posteriors

Yale University(耶鲁大学)

Curtis McDonald, Andrew R Barron

AI总结:

本文提出一种基于Greedy Bayes的单隐层神经网络采样算法,通过将多模态后验与辅助变量耦合,证明条件分布与边际密度具有对数凹性,并利用快速混合MCMC和Langevin动力学实现高效准确的神经元权重后验采样。

摘要:

在这项工作中,我们提出了一种针对单隐层神经网络的采样算法。该算法建立在使用我们称之为 Greedy Bayes 的方法的递归贝叶斯后验序列之上。对维度为 $d$ 的神经元权重向量 $w$ 的贝叶斯后验进行采样具有挑战性,因为其多模态性。我们解决此问题的算法基于将 $w$ 的后验密度与辅助随机变量 $ξ$ 进行耦合。由此得到的给定辅助随机变量的神经元权重的反向条件分布 $w|ξ$ 被证明是对数凹的。在后验分布的构造中,我们在先验的选择上提供了一定的自由度。特别是,对于具有适当小方差的 $w$ 的高斯先验,辅助变量 $ξ$ 的边际密度被证明在所有维度 $d$ 下都是严格对数凹的。对于单位 $\ell_1$ 球上的均匀先验,有证据表明对于足够大的 $d$,$ξ$ 的密度同样是严格对数凹的。辅助随机变量 $ξ$ 的边际密度的分数由 $w|ξ$ 上的期望决定,因此可以通过各种快速混合的马尔可夫链蒙特卡洛方法来计算。此外,$ξ$ 分数的计算允许通过随机扩散(Langevin dynamics)对 $ξ$ 进行采样的方法,其漂移函数由该分数构建。利用这种动力学,Bakry 和 Emery 倡导的信息论方法表明,当 $ξ$ 的密度确实严格对数凹时,可以快速获得 $ξ$ 的准确采样。之后,再从 $w|ξ$ 中抽取一次,即可产生边际分布来自所需后验的神经元权重 $w$。

英文摘要:

In this work, we present a sampling algorithm for single hidden layer neural networks. This algorithm is built upon a recursive series of Bayesian posteriors using a method we call Greedy Bayes. Sampling of the Bayesian posterior for neuron weight vectors $w$ of dimension $d$ is challenging because of its multimodality. Our algorithm to tackle this problem is based on a coupling of the posterior density for $w$ with an auxiliary random variable $ξ$. The resulting reverse conditional $w|ξ$ of neuron weights given auxiliary random variable is shown to be log concave. In the construction of the posterior distributions we provide some freedom in the choice of the prior. In particular, for Gaussian priors on $w$ with suitably small variance, the resulting marginal density of the auxiliary variable $ξ$ is proven to be strictly log concave for all dimensions $d$. For a uniform prior on the unit $\ell_1$ ball, evidence is given that the density of $ξ$ is again strictly log concave for sufficiently large $d$. The score of the marginal density of the auxiliary random variable $ξ$ is determined by an expectation over $w|ξ$ and thus can be computed by various rapidly mixing Markov Chain Monte Carlo methods. Moreover, the computation of the score of $ξ$ permits methods of sampling $ξ$ by a stochastic diffusion (Langevin dynamics) with drift function built from this score. With such dynamics, information-theoretic methods pioneered by Bakry and Emery show that accurate sampling of $ξ$ is obtained rapidly when its density is indeed strictly log-concave. After which, one more draw from $w|ξ$, produces neuron weights $w$ whose marginal distribution is from the desired posterior.

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

↑