Scaling Laws for Associative Memories

Vivien Cabannes, Elvis Dohmatob, A. Bietti
2/12/2026

No confident code implementation found for this paper.

Abstract

Learning arguably involves the discovery and memorization of abstract rules. The aim of this paper is to study associative memory mechanisms. Our model is based on high-dimensional matrices consisting of outer products of embeddings, which relates to the inner layers of transformer language models. We derive precise scaling laws with respect to sample size and parameter size, and discuss the statistical efficiency of different estimators, including optimization-based algorithms. We provide extensive numerical experiments to validate and interpret theoretical results, including fine-grained visualizations of the stored memory associations.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{cabannes2026scaling,
  title  = {Scaling Laws for Associative Memories},
  author = {Vivien Cabannes and Elvis Dohmatob and A. Bietti},
  year   = {2026},
  eprint = {2310.02984},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2310.02984},
  journal = {ICLR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.02984.svg)](https://codeofpaper.com/paper/2310.02984)

Discussion