mlsanityData to 7 Oct 2026

Bridging Associative Memory and Probabilistic Modeling

arXiv 2402.10202 ↗First posted 15 Feb 2024cs.LGcited by 5

Not on the map. Why?

Abstract (arXiv)

Associative memory and probabilistic modeling are two fundamental topics in artificial intelligence. The first studies recurrent neural networks designed to denoise, complete and retrieve data, whereas the second studies learning and sampling from probability distributions. Based on the observation that associative memory's energy functions can be seen as probabilistic modeling's negative log likelihoods, we build a bridge between the two that enables useful flow of ideas in both directions. We showcase four examples: First, we propose new energy-based models that flexibly adapt their energy functions to new in-context datasets, an approach we term textitin-context learning of energy functions. Second, we propose two new associative memory models: one that dynamically creates new memories as necessitated by the training data using Bayesian nonparametrics, and another that explicitly computes proportional memory assignments using the evidence lower bound. Third, using tools from associative memory, we analytically and numerically characterize the memory capacity of Gaussian kernel density estimators, a widespread tool in probababilistic modeling. Fourth, we study a widespread implementation choice in transformers -- normalization followed by self attention -- to show it performs clustering on the hypersphere. Altogether, this work urges further exchange of useful ideas between these two continents of artificial intelligence.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 33 of its 96 references that are in the map. First posted on arXiv 15 Feb 2024.

Builds on

33 of 96 references.

References · 33

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2016Layer Normalizationcited by 5,579
  4. 2016Gaussian Error Linear Units (GELUs)cited by 3,431
  5. 2019Generating Long Sequences with Sparse Transformerscited by 1,523
  6. 2019Root Mean Square Layer Normalizationcited by 1,425
  7. 2020On Layer Normalization in the Transformer Architecturecited by 906
  8. 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
  9. 2023Scaling Vision Transformers to 22 Billion Parameterscited by 690
  10. 2020Hopfield Networks is All You Needcited by 461
  11. 2019Learning Deep Transformer Models for Machine Translationcited by 309
  12. 2022Data Distributional Properties Drive Emergent In-Context Learning in Transformerscited by 303
21 more
  1. 2016Equilibrium Propagation: Bridging the Gap Between Energy-Based Models and Backpropagationcited by 251
  2. 2016Dense Associative Memory for Pattern Recognitioncited by 230
  3. 2018Adaptive Input Representations for Neural Language Modelingcited by 226
  4. 2023Small-scale proxies for large-scale Transformer training instabilitiescited by 182
  5. 2023Stabilizing Transformer Training by Preventing Attention Entropy Collapsecited by 154
  6. 2023The emergence of clusters in self-attention dynamicscited by 133
  7. 2020Improved Contrastive Divergence Training of Energy Based Modelscited by 127
  8. 2020Large Associative Memory Problem in Neurobiology and Machine Learningcited by 110
  9. 2019On the Anatomy of MCMC-Based Maximum Likelihood Learning of Energy-Based Modelscited by 105
  10. 2021Unsupervised Learning of Compositional Energy Conceptscited by 71
  11. 2022Universal Hopfield Networks: A General Framework for Single-Shot Associative Memory Modelscited by 52
  12. 2019Overparameterized Neural Networks Implement Associative Memorycited by 45
  13. 2023In search of dispersed memories: Generative diffusion models are associative memory networkscited by 44
  14. 2021Attention Approximates Sparse Distributed Memorycited by 29
  15. 2023End-to-end Differentiable Clustering with Associative Memoriescited by 15
  16. 2018Concept Learning with Energy-Based Modelscited by 14
  17. 2022Content Addressable Memory Without Catastrophic Forgetting by Heteroassociation with a Fixed Scaffoldcited by 11
  18. 2022On the Relationship Between Variational Inference and Auto-Associative Memorycited by 4
  19. 2018Convergence of the Expectation-Maximization Algorithm Through Discrete-Time Lyapunov Stability Theorycited by 2
  20. 2019Analysis of a Generalized Expectation-Maximization Algorithm for Gaussian Mixture Models: A Control Systems Perspectivecited by 2
  21. 2022Streaming Inference for Infinite Non-Stationary Clusteringcited by 1

Built on by

Cited by year (2026 to 7 Oct)

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

5 papers.