arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.01793cond-mat.stat-mechcs.ETcs.LG
收藏

热力学贝叶斯推断

Thermodynamic Bayesian Inference

Normal Computing Corporation(诺马尔计算公司)

Maxwell Aifer, Samuel Duffield, Kaelan Donatella, Denis Melanson, Phoebe Klett, Zach Belateche, Gavin Crooks, Antonio J. Martinez, Patrick J. Coles

AI总结:

本文提出以电子模拟器件物理实现 Langevin 动力学来采样贝叶斯后验,并给出 Gaussian-Gaussian 模型与贝叶斯 logistic 回归电路,证明其时间随 ln(d) 扩展。

摘要:

对复杂预测模型(例如深度神经网络)进行完全贝叶斯处理,将能够实现严格的不确定性量化,并使包括模型选择在内的更高层次任务自动化。然而,对众多参数上的贝叶斯后验进行采样的不可行性,阻碍了贝叶斯方法在最需要它们的场景中使用。热力学计算已经成为一种加速机器学习中所用运算(例如矩阵求逆)的范式,其基础是将 Langevin 方程映射到含噪物理系统的动力学。因此,考虑在热力学器件上实现 Langevin 采样算法是自然的。在本工作中,我们提出通过物理上实现 Langevin 动力学来从贝叶斯后验中采样的电子模拟器件。文中给出了用于对 Gaussian-Gaussian 模型后验以及贝叶斯 logistic 回归进行采样的电路设计,并通过仿真进行了验证。结果表明,在合理假设下,这些模型的贝叶斯后验可以在随 ln(d) 缩放的时间内完成采样,其中 d 是维度。对于 Gaussian-Gaussian 模型,能量成本显示为随 d ln(d) 缩放。这些结果凸显了利用热力学计算实现快速、高能效贝叶斯推断的潜力。

英文摘要:

A fully Bayesian treatment of complicated predictive models (such as deep neural networks) would enable rigorous uncertainty quantification and the automation of higher-level tasks including model selection. However, the intractability of sampling Bayesian posteriors over many parameters inhibits the use of Bayesian methods where they are most needed. Thermodynamic computing has emerged as a paradigm for accelerating operations used in machine learning, such as matrix inversion, and is based on the mapping of Langevin equations to the dynamics of noisy physical systems. Hence, it is natural to consider the implementation of Langevin sampling algorithms on thermodynamic devices. In this work we propose electronic analog devices that sample from Bayesian posteriors by realizing Langevin dynamics physically. Circuit designs are given for sampling the posterior of a Gaussian-Gaussian model and for Bayesian logistic regression, and are validated by simulations. It is shown, under reasonable assumptions, that the Bayesian posteriors for these models can be sampled in time scaling with $\ln(d)$, where $d$ is dimension. For the Gaussian-Gaussian model, the energy cost is shown to scale with $ d \ln(d)$. These results highlight the potential for fast, energy-efficient Bayesian inference using thermodynamic computing.

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

↑