Stochastic gradient Markov chain Monte Carlo (SGMCMC) is considered the gold standard for Bayesian inference in large-scale models, such as Bayesian neural networks. Since practitioners face speed versus accuracy tradeoffs in these models, variational inference (VI) is often the preferable option. Unfortunately, VI makes strong assumptions on both the factorization and functional form of the posterior. In this work, we propose a new non-parametric variational approximation that makes no assumptions about the approximate posterior's functional form and allows practitioners to specify the exact dependencies the algorithm should respect or break. The approach relies on a new Langevin-type algorithm that operates on a modified energy function, where parts of the latent variables are averaged over samples from earlier iterations of the Markov chain. This way, statistical dependencies can be broken in a controlled way, allowing the chain to mix faster. This scheme can be further modified in a "dropout" manner, leading to even more scalability. By implementing the scheme on a ResNet-20 architecture, we obtain better predictive likelihoods and larger effective sample sizes than full SGMCMC.
翻译:由于业者在这些模型中面临速度和精度权衡,不同推论(VI)往往是最可取的选择。不幸的是,VI对后方的乘数和功能形式都做出了强有力的假设。在这项工作中,我们提议一个新的非参数性变差近似值,不对近地点的近似功能形式作任何假设,让从业者能够说明算法应尊重或打破的确切依赖性。这个方法依靠一种新的Langevin型算法,该算法以经修改的能源功能运作,即潜在变量的部件平均高于马科夫链早期迭代的样本。这样,统计依赖性可以以一种控制的方式打破,使链条能够更快地混合。这个方法可以进一步修改,“抛弃”方式,导致更大的伸缩性。通过在ResNet-20结构上实施这个方案,我们获得了比全面SGMMC更好的预测概率和更大的样本大小。