Attention in a family of Boltzmann machines emerging from modern Hopfield networks
Authors:
- Toshihiro OtaTOToshihiro Ota
- Ryo KarakidaRKRyo Karakida
Preprint
Abstract
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 attentional BM (AttnBM). We verify that AttnBM has a tractable likelihood function and gradient for a special case 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 denoising autoencoder with softmax units. We also investigate BMs introduced by other energy functions, and in particular, observe that the energy function of dense associative memory models gives BMs belonging to Exponential Family Harmoniums.Keywords
All Related Versions
This publication has 6 references indexed in Scilit:
- On a Model of Associative Memory with Huge Storage CapacityJournal of Statistical Physics, 2017
- Dynamical analysis of contrastive divergence learning: Restricted Boltzmann machines with Gaussian visible unitsNeural Networks, 2016
- A Connection Between Score Matching and Denoising AutoencodersNeural Computation, 2011
- A Fast Learning Algorithm for Deep Belief NetsNeural Computation, 2006
- Neurons with graded response have collective computational properties like those of two-state neurons.Proceedings of the National Academy of Sciences of the United States of America, 1984
- Neural networks and physical systems with emergent collective computational abilities.Proceedings of the National Academy of Sciences of the United States of America, 1982