mlsanityData to 7 Oct 2026

Learning Associative Memories with Gradient Descent

arXiv 2402.18724 ↗First posted 28 Feb 2024cs.LG cs.AI stat.MLcited by 14

Not on the map. Why?

Abstract (arXiv)

This work focuses on the training dynamics of one associative memory module storing outer products of token embeddings. We reduce this problem to the study of a system of particles, which interact according to properties of the data distribution and correlations between embeddings. Through theory and experiments, we provide several insights. In overparameterized regimes, we obtain logarithmic growth of the ``classification margins.'' Yet, we show that imbalance in token frequencies and memory interferences due to correlated embeddings lead to oscillatory transitory regimes. The oscillations are more pronounced with large step sizes, which can create benign loss spikes, although these learning rates speed up the dynamics and accelerate the asymptotic convergence. In underparameterized regimes, we illustrate how the cross-entropy loss can lead to suboptimal memorization schemes. Finally, we assess the validity of our findings on small Transformer models.

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

Builds on

28 of 39 references.

References · 28

  1. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
  2. 2016Layer Normalizationcited by 5,579
  3. 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
  4. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
  5. 2022In-context Learning and Induction Headscited by 930
  6. 2017The Implicit Bias of Gradient Descent on Separable Datacited by 649
  7. 2016Stein Variational Gradient Descent: A General Purpose Bayesian Inference Algorithmcited by 498
  8. 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 471
  9. 2018A Mean Field View of the Landscape of Two-Layers Neural Networkscited by 463
  10. 2020Hopfield Networks is All You Needcited by 461
  11. 2018On the Global Convergence of Gradient Descent for Over-parameterized Models using Optimal Transportcited by 422
  12. 2021Gradient Descent on Neural Networks Typically Occurs at the Edge of Stabilitycited by 413
16 more
  1. 2019Gradient Descent Maximizes the Margin of Homogeneous Neural Networkscited by 308
  2. 2018What is the Effect of Importance Weighting in Deep Learning?cited by 250
  3. 2023Birth of a Transformer: A Memory Viewpointcited by 154
  4. 2019Maximum Mean Discrepancy Gradient Flowcited by 123
  5. 2021Saddle-to-Saddle Dynamics in Deep Linear Networks: Small Initialization Training, Symmetry, and Sparsitycited by 83
  6. 2022The Dynamics of Sharpness-Aware Minimization: Bouncing Across Ravines and Drifting Towards Wide Minimacited by 51
  7. 2023Implicit Bias of Gradient Descent for Logistic Regression at the Edge of Stabilitycited by 42
  8. 2022Second-order regression models exhibit progressive sharpening to the edge of stabilitycited by 40
  9. 2022Beyond the Edge of Stability via Two-step Gradient Updatescited by 38
  10. 2024Large Stepsize Gradient Descent for Logistic Loss: Non-Monotonicity of the Loss Improves Optimization Efficiencycited by 34
  11. 2023Scaling Laws for Associative Memoriescited by 30
  12. 2022Infinite-width limit of deep linear neural networkscited by 20
  13. 2023Outliers with Opposing Signals Have an Outsized Effect on Neural Network Optimizationcited by 13
  14. 2020Learning Rate Annealing Can Provably Help Generalization, Even for Convex Problemscited by 11
  15. 2021Dual Training of Energy-Based Models with Overparametrized Shallow Neural Networkscited by 8
  16. 2022On the Benefits of Large Learning Rates for Kernel Methodscited by 8

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 7; 2025: 4; 2026: 3.

14 papers.

Sort:

By area: