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.
Università del Salento(萨兰托大学);Istituto Nazionale di Fisica Nucleare(国家核物理研究所);Sapienza Università di Roma(罗马第一大学);Istituto Nazionale d’Alta Matematica(国家高等数学研究所);Bar-Ilan University(巴伊兰大学)
Self-orthogonalizing attractor neural networks emerging from the free energy principle
Center for Translational Neuro- and Behavioral Sciences (C-TNBS), University Medicine Essen, Germany(转化神经与行为科学中心(C-TNBS),埃森大学医学中心,德国);Queen Square Institute of Neurology, University College London, WC1N 3AR, UK(皇后广场神经病学研究所,伦敦大学学院,英国);VERSES, Los Angeles, CA 90067, USA(VERSES,美国加利福尼亚州洛杉矶90067)