NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Meta-memorization and memorization scaling laws in transformers

Alex Nguyen, Kenneth Norman, Gautam Reddy

NeurIPS page · Open on the map

Category: Interpretability & Model Adaptation › Transformer Attention Theory · Type: empirical study · Keywords: transformer memorization, scaling laws, attention heads, MLPs, associative memory, power-law memorization

Areas: LLM Reasoning › Efficient Reasoning › Transformer Circuits; Memory › Memory mechanisms › Associative Memory; Model Architectures & Sequence Modeling › Language Model Architectures › Transformer Dynamics

Summary

The paper discovers a meta-memorization effect in transformers, showing that larger models memorize more data and faster, with scaling laws and an attentional bottleneck mechanism.

Explained to a 5-year-old

Big computer brain models can remember many things, and the bigger they are, the faster they learn. They practice on lots of random words and start remembering new words quickly. Inside, some special parts work together to pass information and store memories. This helps them remember new things without needing many tries. The researchers found out how this works by watching the models.

Explained to a 5-year-old, longer

The researchers looked at big computer brain models called transformers and noticed something interesting. When these models are larger, they can remember more information, just like a bigger notebook can hold more notes. They also learn to remember new things faster, so they need fewer practice tries. The models were trained on random sequences of words, and as they got bigger, they started memorizing new words more quickly. Inside the models, there are special parts called attention heads and MLPs that work together to pass information around and store memories. This teamwork lets the models keep track of many things without getting confused. The scientists also built a simple model that shows how this fast memorization can happen when there is a bottleneck in how information is retrieved. By studying these larger models, they discovered that the ability to memorize quickly comes from reusable mechanisms that the models develop during training. This helps us understand why bigger AI systems can learn and remember more efficiently.

For a technical reader

The work measures how transformer size influences memorization capacity and speed, finding linear scaling in capacity and faster learning for larger models. It identifies a power-law memorization rate with a fixed exponent but larger upper bound as models grow. The authors trace this behavior to structured attention heads that convey length-invariant information to MLPs, where sequences are stored, and explain the phenomenon with a simplified associative memory model constrained by an attentional bottleneck.

Problem

Understanding why larger transformer models memorize more data and learn faster, and what mechanisms cause this rapid memorization, remains unclear.

Method

The authors train transformers of varying sizes on unstructured sequences, quantify memorization capacity and speed, and investigate internal components such as attention heads and MLPs to uncover how larger models achieve faster memorization, complementing the findings with a simplified associative memory model.

Results

The study finds that memorization capacity scales linearly with model size, larger models memorize faster, the memorization rate follows a power-law with a fixed exponent but an increasing cutoff across scales, and reveals that structured attention heads and MLPs underlie this behavior, explained by a simplified associative memory model.

Contributions

The paper reveals that larger transformer models memorize more data and learn faster, identifies scaling laws for both capacity and speed, and provides mechanistic explanations linking attention heads and MLPs to this behavior via an attentional bottleneck model.

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