NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Sparse Delta Memory: Scaling the State of Linear RNNs through Sparsity

Loic Cabannes, Pierre-Emmanuel Mazare, Ilze Amanda Auzina, Gergely Szilvasy, Maria Lomeli, Matthijs Douze, Justin Carpentier, Gabriel Synnaeve, Herve Jegou

NeurIPS page · OpenReview · alphaXiv · Open on the map

Category: Efficient LLM Inference & Training › Linear Attention Memory Mechanisms · Type: new method · Keywords: linear attention, sparse memory, long-context modeling, gated linear RNNs, in-context learning, parameter-efficient scaling

Areas: LLM Reasoning › Efficient Reasoning › Sparse Attention; Memory › Memory mechanisms › State-Space Memory; Long Context › Long-context mechanisms › State space models for long sequences; Model Architectures & Sequence Modeling › Language Model Architectures › Long-Context Memory

Summary

Sparse Delta Memory (SDM) scales gated linear RNNs to higher capacity via sparse memory reads/writes, improving long-context recall under isoFLOP constraints.

Explained to a 5-year-old

The brain of a computer model can only remember a little at a time. This new idea lets it remember much more by only looking at a few spots in its memory. It helps the model understand longer stories and answer questions about things it has seen before. The model also learns a starting memory that helps it think better. All of this works without using a lot of extra computer power.

Explained to a 5-year-old, longer

Computers sometimes need to read long texts, but they can only keep a small amount of information in their mind. This makes them forget important details later in the text. To solve this, researchers created a new way for the model to have a big memory that it can look at only a few places at a time. This big memory helps the model remember more of what it reads without using a lot of extra computer power. The model also learns a starting memory that acts like a shortcut to common knowledge. This helps the model answer questions about things it has seen before. The new method works like a smart notebook that only opens a few pages when needed. It keeps the model’s brain small while still holding a lot of information. This makes it possible to use the model on devices with limited resources. The approach also improves the model’s ability to reason about everyday topics. By using less computer energy, the model can be used more often in real applications. Overall, the idea is to give the model a larger, smarter memory without making it slower or more expensive.

For a technical reader

We present a memory-augmented linear RNN that expands its hidden state capacity by using sparse reads/writes to a large explicit memory, keeping FLOPs constant. By learning an initial memory state, the model also benefits from parametric memory that aids reasoning. This design allows long-context tasks such as in-context learning and retrieval to be performed efficiently on constrained hardware. The approach maintains the O(n) compute of linear attention while delivering performance comparable to transformer-scale models. It is particularly useful for deploying language models on devices where memory and compute are limited.

Problem

Linear attention models have a fixed state size, limiting long-context recall compared to transformers. Increasing state size improves recall but raises computational cost, creating a trade-off between capacity and efficiency.

Method

The approach replaces the dense key-value outer product of gated linear RNNs with sparse reads and writes to a large explicit memory, allowing a higher hidden state capacity while keeping FLOPs constant. It also learns an initial memory state to act as parametric memory, further boosting performance.

Contributions

The work introduces a sparse addressing scheme that scales the hidden state of gated linear RNNs to much larger capacity without increasing FLOPs, and shows that learning an initial memory state acts as parametric memory to boost reasoning.

Limitations and assumptions

The study evaluates performance under isoFLOP constraints and with a fixed number of parameters, which may limit direct comparison to other scaling regimes.

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