mlsanityData to 7 Oct 2026

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

arXiv 2212.04692 ↗First posted 9 Dec 2022cs.LG cs.NE stat.MLcited by 7

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 7 of its 24 references that are in the map. First posted on arXiv 9 Dec 2022.

Builds on

7 of 24 references.

References · 7

  1. 2017Attention Is All You Needcited by 59,932
  2. 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
  3. 2020Hopfield Networks is All You Needcited by 461
  4. 2016Dense Associative Memory for Pattern Recognitioncited by 230
  5. 2020Large Associative Memory Problem in Neurobiology and Machine Learningcited by 110
  6. 2022Gaussian-Bernoulli RBMs Without Tearscited by 17
  7. 2021A remark on a paper of Krotov and Hopfield [arXiv:2008.06996]cited by 11

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 1; 2026: 5.

7 papers.