Learning to use a memory’s capacity
Can training teach a model to use the memory its task requires?
A model can have a large memory and still use very little of it. In our earlier study, removing much of a matrix memory’s structure barely changed the answers. This left a question open: what would happen on a task that actually needed that structure?
Here, we train a model to remember new pairings. Given one member of a pair, it must return the other. Every example introduces fresh pairs, so the model has to store the associations it has just seen.
How we tested it
The model puts the pairings into one matrix. To answer a query, it multiplies that matrix by the key vector. This lookup cannot look back at the original pairs or use another network to reconstruct them.
In this setup, storing more independent pairs requires more independent directions in the matrix. That number is its rank. We limit the allowed rank during training and test whether the model can still recover the paired values.

What training learned
The model used more independent directions as the number of pairs increased. For one task with four pairs, allowing rank four produced successful retrieval in 97% of cases; limiting it to rank three reduced success to almost zero. The transition was more gradual at the largest tested load.
This connects the memory the task requires to the memory training learns to use. It also shows that a low-rank restriction can directly prevent success in this setting.
A second experiment tested using the learned matrix repeatedly to follow a cycle of associations. Most training runs retained accurate retrieval through 21 applications. Because these paths repeat, that result measures how errors accumulate during repeated use, rather than success on entirely new answers.
What remains open
These are controlled tasks with a simple, fixed lookup. Larger matrices remained harder to train when the network building the memory stayed the same size. The study gives us a way to test whether memory capacity is being used; it does not establish that more rank will improve reasoning in general.
The paper
When the Gradient Sees Rank: Provable Necessity, Causal Recruitment, and Composition in Trained Matrix Memories
Samuel Larson. September 12, 2026.
Cite this paper
@misc{larson2026gradientseesrankprovable,
title={When the Gradient Sees Rank: Provable Necessity, Causal Recruitment, and Composition in Trained Matrix Memories},
author={Samuel Larson},
year={2026},
eprint={2609.17594},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2609.17594},
}BibTeX from arXiv