Kalman Delta Networks: Uncertainty-aware Associative Memory
Ngoc Bui, Tinglin Huang, Rex Ying
Yale University
Published September 7, 2026 · on the feed September 9, 2026 · ▲ 29 · arXiv 2609.07816
The abstract
Linear attention is increasingly used in frontier language models for efficient long-context inference and constant-memory decoding. Its fixed-size recurrent memory, however, requires an online decision at each token: what to write and how strongly to overwrite existing associations before knowing which information future queries will require. Delta-rule models learn this strength from the current token embedding but do not track confidence in the memory estimate, preventing each write from adapting to accumulated evidence. To represent this uncertainty explicitly, we reformulate recurrent associative memory as a linear--Gaussian state-space model, for which the Kalman filter is the optimal recursive estimator, and introduce a new family of models, Kalman Delta Networks (KDNs). Within KDNs, the transition propagates both the memory state and its uncertainty, allowing the Kalman gain to weight each residual write by accumulated evidence and observation reliability. Under this formulation, Delta-style updates emerge as a special case that substitutes a token-wise isotropic surrogate for predictive covariance and omits covariance tracking. Exact tracking, however, entails a dense, state-dependent Riccati recursion that is poorly suited to GPU-parallel linear-attention scans. To address this issue, we introduce two scan-compatible KDN approximations. Diagonal KDN projects each one-step posterior onto the diagonal Gaussian family through online mean-field variational inference, whereas Isotropic KDN uses an isotropic approximation with a single uncertainty scalar per head. Their uncertainty recurrences are Mobius maps, enabling associative scans with logarithmic parallel depth. Across controlled pretraining at 750M and 1.3B parameters, KDN variants consistently improve perplexity and mean downstream accuracy over state-of-the-art linear-attention models.
The Brief
3:07A short podcast summary of the paper. Written and voiced by AI.
Transcript
Kalman Delta Networks. Uncertainty-aware Associative Memory. By Ngoc Bui and two others, from Yale University. Published on the seventh of September. Its code repository is public and real: about twenty-five source files.
Linear attention is increasingly used in frontier language models, because it makes long-context inference efficient and keeps decoding memory constant. The price is a recurrent memory of fixed size, and that forces an online decision at every token: what to write, and how strongly to overwrite the associations already stored, all before knowing what future queries will need. Delta-rule models learn how strongly to write from the current token's embedding. What they do not track is confidence in the memory's own estimate. Without it, a write cannot adapt to how much evidence has already accumulated behind what the memory holds. A memory slot that has been confirmed many times and one written once are treated alike.
To represent that uncertainty explicitly, the authors recast recurrent associative memory as a linear-Gaussian state-space model. For such a model, the Kalman filter is the optimal recursive estimator. Building on that, they introduce a new family, Kalman Delta Networks, or KDNs. In a KDN, the transition carries forward both the memory state and its uncertainty. The Kalman gain can then weight each residual write by the evidence accumulated so far and by how reliable the observation is. A well-established association can resist being overwritten by a single token, while an uncertain one can be updated more freely, and a noisy observation counts for less than a reliable one.
The formulation also explains where Delta-style updates come from. They emerge as a special case: one that substitutes a token-wise isotropic surrogate for the predictive covariance, and that does not track covariance at all. The delta rule is what the Kalman view looks like with its uncertainty bookkeeping switched off.
Exact tracking has a cost. It requires a dense, state-dependent Riccati recursion, which is poorly suited to the GPU-parallel scans that linear attention relies on. The authors therefore introduce two approximations that fit those scans. Diagonal KDN projects each one-step posterior onto the diagonal Gaussian family, using online mean-field variational inference. Isotropic KDN uses an isotropic approximation, keeping a single uncertainty scalar per head. The first keeps a separate uncertainty for each dimension, the second collapses it to one number, trading detail for simplicity.
In both cases the uncertainty recurrence takes the form of Mobius maps. That property is what lets them run as associative scans with logarithmic parallel depth, so the added uncertainty tracking stays compatible with the parallel computation linear attention depends on.
In controlled pretraining at two scales, seven hundred and fifty million parameters and one point three billion parameters, KDN variants consistently improve both perplexity and mean downstream accuracy over state-of-the-art linear-attention models.
A memory write looks different after this. Instead of a learned strength applied blindly, it becomes an estimate update that knows how confident it is, and the familiar delta rule turns out to be the version that forgot to ask. The approximations are what make that principled update cheap enough to scan in parallel.
Paper Quest · 7 chapters · about 40 min
Play this paper
Learn it by doing: make the calls the authors made, guess the result before you see it, and defend it in a viva graded on your own words. Chapter 1 is right here.
Chapter 1 🧩 · The problem
A small memory, and every token wants to scribble on it. Who decides how hard?
You design a language model layer with a fixed-size memory matrix. Each token must decide what to write and how strongly to overwrite what is stored, before knowing what later queries will need.
The road ahead
- 1 · The problem ~6 min A fixed-size memory must decide how hard to overwrite at every token, yet current layers judge that from the token alone.
- 2 · What came before ~3 min
- 3 · The key idea ~9 min Treat the memory as a noisy estimate, track its uncertainty with a Kalman filter, and let that uncertainty set each write's strength.
- 4 · Choose your own research ~3 min
- 5 · Build the method ~8 min Model memory as a state-space system, carry state and uncertainty forward, write with the Kalman gain, then approximate and scan in parallel.
- 6 · The experiment ~6 min You’ll guess: Pretrained at 750M and 1.3B parameters, how did KDN variants compare with state-of-the-art linear-attention models on perplexity and downstream accuracy?
- 7 · The viva ~5 min Three questions from the examiners, answered in your own words. Win it for the paper’s trophy.
Free, with Google or an email address. Your stars and progress are kept.