NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Factual recall in linear associative memories: sharp asymptotics and mechanistic insights

Alessio Giorlandino, Sebastian Goldt, Antoine Maillard

NeurIPS page · OpenReview · Open on the map

Category: Interpretability & Model Adaptation › Transformer Dynamics Theory · Type: theory · Keywords: linear associative memory, storage capacity, statistical physics, optimal learning rule, factual recall

Areas: Memory › Memory mechanisms › Associative Memory

Summary

The paper analyses the storage capacity of linear associative memories, introduces a decoupled model to study it, and shows it can store up to 1/2 associations with sharp asymptotics.

Explained to a 5-year-old

We study how a simple brain can remember many facts. It tries to store each fact as a line that points to the right answer, but each line must not cross others. By splitting the problem into smaller parts, we find the brain can remember about half as many facts as the size of the lines. The best way to remember is to make the correct answer just a little bigger than the others. This helps us understand how computers might store information.

Explained to a 5-year-old, longer

Imagine a tiny robot brain that can learn facts like "apple is red". It stores each fact as a tiny arrow that points to the answer. To be safe, the arrows must not point to the wrong answer. This makes it hard to remember many facts at once. The researchers looked at a very simple version of this problem. They split each fact into its own tiny puzzle so it’s easier to study. By doing math, they discovered the robot can remember about half as many facts as the size of its arrows. They also found a clever way to remember: make the right answer just a little bit stronger than the wrong ones. This is better than an old method that just makes everything louder. The new rule helps the robot keep facts separate without mixing them up. The findings give us a clear picture of how memory works in simple networks. This knowledge can guide the design of smarter memory systems for computers.

For a technical reader

The paper analyses the maximum number of input-output pairs a linear neural network can store while keeping each mapping well separated. It introduces a decoupled model that treats each input’s competing outputs independently, enabling exact capacity calculations via statistical-physics techniques. The derived capacity is p_c log p_c / d2 = 1/2, and the optimal learning rule improves over a naïve Hebbian update by just exceeding the extreme-value threshold of competing outputs. These results provide a precise baseline for understanding memory capacity in more realistic neural architectures.

Problem

What is the fundamental limit of storing and retrieving input-output associations in neural networks, particularly in linear associative memories where each mapping must be well separated from others?

Method

The approach splits each input’s mapping into independent sub-problems, analyses the resulting constraints with statistical-physics methods, and derives the capacity limit and optimal learning rule.

Results

The approach achieves a storage capacity of 1/2 associations and shows that the optimal solution outperforms a naïve Hebbian rule by just exceeding the extreme-value threshold of competing outputs.

Contributions

Provides a sharp statistical-physics characterisation of factual storage in linear networks, analyses capacity via an independent-output decomposition, and reveals how the optimal learning rule beats a naïve Hebbian rule.

Limitations and assumptions

The analysis is limited to linear single-layer memories and assumes strict separation of each mapping from others.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction