arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2212.04692cs.LGcs.NEstat.ML
收藏

从现代Hopfield网络中出现的玻尔兹曼机家族中的注意力

Attention in a family of Boltzmann machines emerging from modern Hopfield networks

CyberAgent, Inc.(赛博艾坚特公司);RIKEN(日本理化学研究所);AIST(日本产业技术综合研究所)

Toshihiro Ota, Ryo Karakida

摘要:

Hopfield网络和Boltzmann机(BM)是基本的基于能量的神经网络模型。最近对现代Hopfield网络的研究拓宽了能量函数的类别,并导致对包括注意力模块的一般Hopfield网络的统一观点。在这封信中,我们考虑了BM对应的现代Hopfield网络使用相关的能量函数,并从可训练性的角度研究其显着属性。特别地,与注意模块相对应的能量函数自然地引入了一种新的BM,我们称之为注意BM(AttnBM)。我们验证了AttnBM有一个听话的似然函数和梯度的某些特殊情况下,很容易训练。此外,我们揭示了AttnBM和一些单层模型之间的隐藏连接,即高斯-伯努利限制BM和来自去噪得分匹配的softmax单元的去噪自动编码器。我们还研究了由其他能量函数引入的BM,并表明稠密联想记忆模型的能量函数给出了属于指数族谐波的BM。

英文摘要:

Hopfield networks and Boltzmann machines (BMs) are fundamental energy-based neural network models. Recent studies on modern Hopfield networks have broaden the class of energy functions and led to a unified perspective on general Hopfield networks including an attention module. In this letter, we consider the BM counterparts of modern Hopfield networks using the associated energy functions, and study their salient properties from a trainability perspective. In particular, the energy function corresponding to the attention module naturally introduces a novel BM, which we refer to as the attentional BM (AttnBM). We verify that AttnBM has a tractable likelihood function and gradient for certain special cases and is easy to train. Moreover, we reveal the hidden connections between AttnBM and some single-layer models, namely the Gaussian--Bernoulli restricted BM and the denoising autoencoder with softmax units coming from denoising score matching. We also investigate BMs introduced by other energy functions and show that the energy function of dense associative memory models gives BMs belonging to Exponential Family Harmoniums.

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

↑