Bridging Associative Memory and Probabilistic Modeling
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
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2016Layer Normalizationcited by 5,579
- 2016Gaussian Error Linear Units (GELUs)cited by 3,431
- 2019Generating Long Sequences with Sparse Transformerscited by 1,523
- 2019Root Mean Square Layer Normalizationcited by 1,425
- 2020On Layer Normalization in the Transformer Architecturecited by 906
- 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
- 2023Scaling Vision Transformers to 22 Billion Parameterscited by 690
- 2020Hopfield Networks is All You Needcited by 461
- 2019Learning Deep Transformer Models for Machine Translationcited by 309
- 2022Data Distributional Properties Drive Emergent In-Context Learning in Transformerscited by 303
21 more
- 2016Equilibrium Propagation: Bridging the Gap Between Energy-Based Models and Backpropagationcited by 251
- 2016Dense Associative Memory for Pattern Recognitioncited by 230
- 2018Adaptive Input Representations for Neural Language Modelingcited by 226
- 2023Small-scale proxies for large-scale Transformer training instabilitiescited by 182
- 2023Stabilizing Transformer Training by Preventing Attention Entropy Collapsecited by 154
- 2023The emergence of clusters in self-attention dynamicscited by 133
- 2020Improved Contrastive Divergence Training of Energy Based Modelscited by 127
- 2020Large Associative Memory Problem in Neurobiology and Machine Learningcited by 110
- 2019On the Anatomy of MCMC-Based Maximum Likelihood Learning of Energy-Based Modelscited by 105
- 2021Unsupervised Learning of Compositional Energy Conceptscited by 71
- 2022Universal Hopfield Networks: A General Framework for Single-Shot Associative Memory Modelscited by 52
- 2019Overparameterized Neural Networks Implement Associative Memorycited by 45
- 2023In search of dispersed memories: Generative diffusion models are associative memory networkscited by 44
- 2021Attention Approximates Sparse Distributed Memorycited by 29
- 2023End-to-end Differentiable Clustering with Associative Memoriescited by 15
- 2018Concept Learning with Energy-Based Modelscited by 14
- 2022Content Addressable Memory Without Catastrophic Forgetting by Heteroassociation with a Fixed Scaffoldcited by 11
- 2022On the Relationship Between Variational Inference and Auto-Associative Memorycited by 4
- 2018Convergence of the Expectation-Maximization Algorithm Through Discrete-Time Lyapunov Stability Theorycited by 2
- 2019Analysis of a Generalized Expectation-Maximization Algorithm for Gaussian Mixture Models: A Control Systems Perspectivecited by 2
- 2022Streaming Inference for Infinite Non-Stationary Clusteringcited by 1
Built on by
Citing papers per year: 2024: 2; 2025: 2; 2026: 1.
5 papers.
- 2024Uniform Memory Retrieval with Larger Capacity for Modern Hopfield Modelscited by 38
- 2026Composition of Memory Experts for Diffusion World Modelscited by 3
- 2025Pseudo-likelihood produces associative memories able to generalize, even for asymmetric couplingscited by 2
- 2024Empirical Capacity Model for Self-Attention Neural Networkscited by 1
- 2025Neural Learning Rules from Associative Networks Theorycited by 1
- 2026Composition of Memory Experts for Diffusion World Models12 May 2026
- 2025Pseudo-likelihood produces associative memories able to generalize, even for asymmetric couplings7 Jul 2025
- 2025Neural Learning Rules from Associative Networks Theory11 Mar 2025
- 2024Empirical Capacity Model for Self-Attention Neural Networks22 Jul 2024
- 2024Uniform Memory Retrieval with Larger Capacity for Modern Hopfield Models4 Apr 2024