Retrieval-Centric Deep Learning in Growing Nonparametric Neural Networks
Maximilian Schlegel, Rajai Nasser, Seijin Kobayashi, Yanick Schimpf, Oliver Sieberling, Robert Obryk, Kazuki Irie, João Sacramento and 1 others
Google · MIT · Yale University
Published October 2, 2026 · on the feed October 9, 2026 · ▲ 12 · arXiv 2610.03858
The abstract
We investigate a general-purpose layer for deep learning that, instead of compressing arbitrary-size training data into fixed-size weight matrices, stores a new pair of key-value representations for every data point during training, and retrieves and recombines these representations through an attention mechanism at inference time - resulting in a growing neural net (NN). While Irie et al. (arXiv:2202.05798) have put forward this perspective from the classic duality expressing any linear layer in a deep NN trained by gradient descent as linear attention (LA) over the training data points, replacing LA by more powerful attention functions, as they suggest, turns out to be non-trivial: we show that naively applying learning rules from the LA case to advanced kernels does not lead to principled optimization. Here we fill this gap and develop functional gradient-based learning rules for kernelized attention layers, based on radial basis function (RBF) and softmax-like kernels - establishing the principled "retrieval-centric deep learning" (RCDL) paradigm. Empirically, we demonstrate the promising performance and learning-efficiency of RCDL on image classification and synthetic teacher-student learning tasks. Moreover, we show that replacing LA in the dual form of NNs by advanced LA variants, namely MesaNet/DeltaNet, yields a formal connection to recently proposed optimizers for conventional fixed-size NNs, offering a novel perspective on deep learning optimization.
The Brief
2:47A short podcast summary of the paper. Written and voiced by AI.
Transcript
Retrieval-Centric Deep Learning in Growing Nonparametric Neural Networks. By Maximilian Schlegel and eight others, from Google, MIT, and one other institution. Published on the second of October. Its code repository is public but slight: two source files.
A conventional neural network compresses training data of arbitrary size into weight matrices of fixed size. There is another way to look at the same network. Earlier work by Irie and colleagues used a classic duality: any linear layer in a deep network trained by gradient descent can be expressed as linear attention over the training data points. Read that way, the layer is already retrieving from its training set. The same work suggested replacing linear attention with more powerful attention functions. The authors show that this is harder than it sounds. Naively carrying the learning rules from the linear case over to advanced kernels does not lead to principled optimization.
The paper fills that gap. It investigates a general-purpose layer that does not compress at all. During training it stores a new pair of key and value representations for every data point. At inference time it retrieves and recombines those representations through an attention mechanism. The network therefore grows as it sees more data. The authors call the resulting paradigm retrieval-centric deep learning, or RCDL.
What makes RCDL principled is a set of functional gradient-based learning rules developed for kernelized attention layers. Two families of kernel are covered: radial basis function kernels, and softmax-like kernels. These rules replace the borrowed linear-attention rules that the authors showed do not optimize in a principled way once the kernel becomes more powerful. The point of the functional view is that learning happens over the function the layer computes, not over a fixed set of weights, which is the natural frame for a layer whose memory keeps growing with every new data point. The abstract presents this as the step that turns a suggestive perspective into a working paradigm: the duality had pointed toward stronger attention functions, and these rules are what make training with them sound.
Empirically, the authors report promising performance and learning efficiency for RCDL on image classification and on synthetic teacher-student learning tasks.
A second result is conceptual. Replacing linear attention in the dual form of a network with advanced linear-attention variants, namely MesaNet and DeltaNet, yields a formal connection to recently proposed optimizers for conventional, fixed-size networks. The dual view, in other words, points back at ordinary training.
The move here is to take a duality seriously in both directions. Reading a linear layer as attention over its training data suggests a network that keeps the data and grows, and the paper supplies the learning rules that make that growth principled with stronger kernels. Read the other way, the same duality offers a new perspective on how fixed-size networks are optimized.
More with an account
Listen to every day’s papers
Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.
Join free