potentialpaper

Retrieval-Centric Deep Learning in Growing Nonparametric Neural Networks

Maximilian Schlegel, Rajai Nasser, Seijin Kobayashi, Yanick Schimpf, Oliver Sieberling, Robert Obryk, Kazuki Irie, Joao Sacramento, Johannes von Oswald

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We investigate a general-purpose layer for deep learning that 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

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). We derive such a "retrieval-centric deep learning" (RCDL) paradigm from the classic duality of a linear layer trained by gradient descent as a type of linear attention (LA) over the training data points---which motivates us to replace the corresponding LA by a more powerful form of attention from recent work on sequence models, namely, kernelized attention using radial basis function (RBF) and softmax-like kernels, as well as more advanced linear attention variants such as MesaNet and DeltaNet. We theoretically derive learning algorithms for the growing layers with kernelized attention, and empirically demonstrate their promising performance and sample-efficiency on classic image classification tasks and synthetic teacher-student learning datasets. In the MesaNet/DeltaNet-inspired extensions, we show a formal connection to a recently proposed optimizer and derive highly sample-efficient optimizers for conventional fixed-size NNs. Despite open challenges, RCDL represents a promising paradigm for nonparametric machine learning.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
4 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]—[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:48 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

Alert

Review made by Reviewer z3sL has been flagged as potentially using an LLM, it is ignored in the meta-review.

Summary

The paper proposes a growing nonparametric network that replaces a fixed linear layer with an attention-style memory containing key–value pairs from training examples. It starts from the observation that gradient descent on a linear layer can be interpreted as accumulating input keys and backpropagated error values, while inference behaves similarly to linear attention. The paper extends this connection to positive-definite kernel attention and weighted softmax attention. In particular, it derives an append rule showing that adding one weighted key–value entry to softmax memory is equivalent to one gradient-descent step. It also discusses more advanced linear-memory updates related to DeltaNet and MesaNet. Experiments on teacher–student regression and CIFAR suggest that the growing weighted-softmax model can optimize rapidly and obtain reasonable train and test performance, although its memory cost increases linearly with the number of training examples.

Strengths

Reviewers E3vj and UNFr consider the main idea highly original. E3vj states that the method looks at linear layers from a new perspective, while UNFr describes the attention interpretation of gradient descent as a perspective-shifting idea that is very valuable to the community.

Reviewers E3vj and uJcs find the technical development sound. E3vj considers the paper technically sound and formally rigorous, and uJcs notes that the softmax append rule is a non-trivial derivation.

Reviewer UNFr also highlights that the weighted-softmax construction is clever, especially the relation between discrete softmax and continuous weighted softmax.

Weaknesses

All three reviewers mention the unbounded memory requirement as a weakness. Reviewer uJcs reports that the method reaches 61.5 GB for the tiny dataset CIFAR at 50 epochs, without pruning or another clear mechanism for practical scaling. Reviewer UNFr similarly states that the linear memory growth is a big limitation.

Reviewers E3vj and UNFr note the absence of natural memory-matched nonparametric baselines. In particular, comparisons with kNN, RBF kernel regression, kernel ridge regression, or related kernel methods would help determine whether the proposed formulation provides benefits beyond standard nonparametric retrieval.

Reviewer uJcs finds the experimental setting too limited. CIFAR classification does not directly test the claimed benefit of retaining past information without overwriting it. Continual learning or another forgetting-prone, trajectory-dependent task would be a more convincing evaluation.

Reviewers E3vj and UNFr also question the extension to deep networks. The update is mainly derived for an isolated layer, while the implementation and learning interpretation for a stack of growing layers remain insufficiently clear. The teacher–student experiment also uses a very low input dimension, and its behavior in higher-dimensional settings is not established.

Assessment

I lean toward acceptance because the paper presents an original and technically meaningful connection between gradient-based learning and growing attention memories. The weighted-softmax append rule is non-trivial, and the paper appears to provide a solid conceptual milestone even though the method is not yet practical. This assessment is also consistent with two Accept ratings and one Borderline Accept rating.

The author response could still significantly affect my confidence. I would mainly need to see:

  1. A clear statement of the intended scope: whether the contribution is primarily conceptual, or what future capability a growing network is expected to enable.
  2. Comparisons or at least concrete analysis against memory-matched kNN and kernel baselines.
  3. A clearer explanation of how the update is implemented across multiple hidden layers.
  4. More concrete discussion of memory control, such as pruning, compression, merging, or fixed-capacity approximations.
  5. Ideally, evidence on a continual-learning or forgetting-sensitive task. If a new experiment is not possible, a careful explanation of why the current experiments support the central claim would still be useful.
  6. Confirmation of the correctness of the mathematical formulas, especially the subscript in Eq. 10 might be wrong.

A strong response on these points would strengthen the acceptance case. In contrast, if the practical motivation, deep-network extension, and distinction from standard nonparametric methods remain unclear, the paper may be better understood as an interesting but incomplete theoretical direction.

Final justification

The paper presents an original and technically meaningful perspective on connecting gradient-based learning with growing attention-style memories, and the rebuttal adequately addresses the main concerns regarding scalability, baselines, and deep-network integration. However, I would not recommend it for a spotlight: the strongest novelty claims rely heavily on the specific mathematical formulation and derivations, where the degree of novelty is not sufficiently unambiguous to meet the higher spotlight bar. Overall, the contribution is strong and interesting, but better suited for a poster acceptance.

Area Chair J2qu · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

Alert

Review made by Reviewer z3sL has been flagged as potentially using an LLM, it is ignored in the meta-review.

Summary

The paper proposes a growing nonparametric network that replaces a fixed linear layer with an attention-style memory containing key–value pairs from training examples. It starts from the observation that gradient descent on a linear layer can be interpreted as accumulating input keys and backpropagated error values, while inference behaves similarly to linear attention. The paper extends this connection to positive-definite kernel attention and weighted softmax attention. In particular, it derives an append rule showing that adding one weighted key–value entry to softmax memory is equivalent to one gradient-descent step. It also discusses more advanced linear-memory updates related to DeltaNet and MesaNet. Experiments on teacher–student regression and CIFAR suggest that the growing weighted-softmax model can optimize rapidly and obtain reasonable train and test performance, although its memory cost increases linearly with the number of training examples.

Strengths

Reviewers E3vj and UNFr consider the main idea highly original. E3vj states that the method looks at linear layers from a new perspective, while UNFr describes the attention interpretation of gradient descent as a perspective-shifting idea that is very valuable to the community.

Reviewers E3vj and uJcs find the technical development sound. E3vj considers the paper technically sound and formally rigorous, and uJcs notes that the softmax append rule is a non-trivial derivation.

Reviewer UNFr also highlights that the weighted-softmax construction is clever, especially the relation between discrete softmax and continuous weighted softmax.

Weaknesses

All three reviewers mention the unbounded memory requirement as a weakness. Reviewer uJcs reports that the method reaches 61.5 GB for the tiny dataset CIFAR at 50 epochs, without pruning or another clear mechanism for practical scaling. Reviewer UNFr similarly states that the linear memory growth is a big limitation.

Reviewers E3vj and UNFr note the absence of natural memory-matched nonparametric baselines. In particular, comparisons with kNN, RBF kernel regression, kernel ridge regression, or related kernel methods would help determine whether the proposed formulation provides benefits beyond standard nonparametric retrieval.

Reviewer uJcs finds the experimental setting too limited. CIFAR classification does not directly test the claimed benefit of retaining past information without overwriting it. Continual learning or another forgetting-prone, trajectory-dependent task would be a more convincing evaluation.

Reviewers E3vj and UNFr also question the extension to deep networks. The update is mainly derived for an isolated layer, while the implementation and learning interpretation for a stack of growing layers remain insufficiently clear. The teacher–student experiment also uses a very low input dimension, and its behavior in higher-dimensional settings is not established.

Assessment

I lean toward acceptance because the paper presents an original and technically meaningful connection between gradient-based learning and growing attention memories. The weighted-softmax append rule is non-trivial, and the paper appears to provide a solid conceptual milestone even though the method is not yet practical. This assessment is also consistent with two Accept ratings and one Borderline Accept rating.

The author response could still significantly affect my confidence. I would mainly need to see:

  1. A clear statement of the intended scope: whether the contribution is primarily conceptual, or what future capability a growing network is expected to enable.
  2. Comparisons or at least concrete analysis against memory-matched kNN and kernel baselines.
  3. A clearer explanation of how the update is implemented across multiple hidden layers.
  4. More concrete discussion of memory control, such as pruning, compression, merging, or fixed-capacity approximations.
  5. Ideally, evidence on a continual-learning or forgetting-sensitive task. If a new experiment is not possible, a careful explanation of why the current experiments support the central claim would still be useful.
  6. Confirmation of the correctness of the mathematical formulas, especially the subscript in Eq. 10 might be wrong.

A strong response on these points would strengthen the acceptance case. In contrast, if the practical motivation, deep-network extension, and distinction from standard nonparametric methods remain unclear, the paper may be better understood as an interesting but incomplete theoretical direction.

Final justification

The paper presents an original and technically meaningful perspective on connecting gradient-based learning with growing attention-style memories, and the rebuttal adequately addresses the main concerns regarding scalability, baselines, and deep-network integration. However, I would not recommend it for a spotlight: the strongest novelty claims rely heavily on the specific mathematical formulation and derivations, where the degree of novelty is not sufficiently unambiguous to meet the higher spotlight bar. Overall, the contribution is strong and interesting, but better suited for a poster acceptance.

2 comments
Authors · CommentOpenReview ↗

Response 1/2

We would like to thank the Area Chain and the reviewers for their valuable feedback and their appreciation of the originality of our work.

Below we provide replies to the six points raised by the AC:

  1. Intended Scope of the Paper
    While the intended scope of this paper is primarily conceptual—establishing the theoretical foundations and exact learning rules for growing nonparametric layers—we firmly believe this framework opens the door for significant practical impact. By providing a rigorous mathematical link between functional gradient descent and key-value memory growth, this work serves as a necessary stepping stone toward architectures that can dynamically scale their capacity and gracefully handle non-stationary data distributions (cf. our comment below regarding potential usefulness in continual learning tasks). We will clarify the scope of our work in the abstract as well as in the introduction and discussion. Thank you.

  2. Baseline Comparisons
    We agree that comparisons to standard nonparametric methods will contextualize our results better. In the final version of the paper, we will include experimental comparisons of our proposed method against memory-matched non-parametric baselines, specifically kNN (sweep over k={5,10,15,20,25}) and SVM-RBF. |Model|Test Accuracy after one epoch| |---|---| |KNN (uniform)|0.3409| |KNN (proportional|0.3566| |RBF-SVM|0.5410|

  3. Integration into Deep Architectures
    Our growing layers can be seamlessly integrated into deep networks. Consider a model architecture where the forward pass is defined as f=fd∘fgrowing∘fuf=f_d\circ f_{growing}\circ f_u. Here, fdf_d represents downstream layers (which may be conventional parametric layers or other growing layers), and fuf_u represents upstream layers. For the case of a growing RBF layer, if the t-th training data point is (xt,yt)(x_t,y_t), the key to be added to the database of fgrowingf_{growing} will simply be kt=fu(xt)k_t=f_u(x_t). The corresponding value vector will be −gt-g_t, where gtg_t is the backpropagated gradient of the loss function passed down through fdf_d. Because fdf_d is fully differentiable, standard backpropagation applies naturally, and the computational cost for computing these gradients is of the same order as a standard forward pass. We would also like to note that a formal discussion on the training of deep architectures—specifically for growing positive definite kernel layers—is already included in Appendix A.3. To ensure this is readily apparent to all readers, we will clarify in the main text, building on our residual model description (equation 12), of the final version that our learning rules fully support deep, multi-layer architectures. Thank you for pointing out this source of confusion.

  4. Memory Control and Scaling
    We fully acknowledge that the linear memory growth—storing a key-value pair for every training example—is the most critical challenge for RCDL's practical adoption on large datasets. One way to make the method more scalable is through advanced key-value memory compression techniques. Several existing methods for KV-merging and pruning from the Transformer literature (e.g., token merging) are natural candidates for RCDL. However, a thorough investigation and evaluation of these techniques is a substantial undertaking that warrants its own dedicated paper, falling outside the scope of this initial theoretical work.

Another idea for memory growth control is via a hybrid parametric/non-parametric approach. We could treat the existing key-value pairs in the database as learnable parameters optimized via standard optimizers (like Adam or AdamW), while conditionally growing the database using functional gradient descent only when a newly encountered key is sufficiently orthogonal/distinct from the existing keys in the database. We have started to test this hybrid method empirically in this rebuttal phase and we have found that the memory growth can be made sublinear while preserving strong performance.

Test Accuracy after one epoch Final size (as fraction of full size)
0.4937 0.015547
0.5180 0.035625
0.5278 0.050273
0.5379 0.088574
0.5438 0.139043
0.5568 0.172910
0.5632 0.257637
0.5675 0.320918
0.5718 0.358262

Note that using this hybrid growing approach, we retain full test set accuracy (cf. Figure 2) at 35.8% of the full-growing capacity and perform on par with or even beating most baselines using only 1.6% of the full-growing capacity, enabling us to train performant models with significantly less memory overhead.

We will add these first compression results in the final manuscript to highlight this important direction of future work.

Please find the response to the 5th and 6th questions in the subsequent answer.

Authors · CommentOpenReview ↗

Response 2/2

  1. Continual Learning and Evaluation Tasks
    One of the motivations for RCDL is indeed continual learning. Because non-linear attention (like RBF or weighted softmax) can be highly localized, and therefore memory updates can affect more localized neighborhoods in the feature space rather than globally overwriting a fixed weight matrix, this should in principle minimize catastrophic forgetting. However, because RCDL represents a radical departure from conventional deep learning, our priority in this initial paper was to empirically validate that the theoretically derived learning rules actually work. Given the unconventional nature of the method, it was vital to first build a strong theoretical foundation and demonstrate its soundness on well-understood, classical supervised learning tasks (like CIFAR classification). Now that the present work has validated the learning rules, evaluating on forgetting-sensitive and continual learning tasks is an exciting next step for our research.

  2. Mathematical Correctness of Equation 10
    The subscript in Eq. 10 was a typographical error in the main text and it should indeed be Wt−1xtW_{t-1}x_t rather than WtxtW_t x_t. Using WtW_t would create an unintended circular dependency. This correction aligns perfectly with our formal derivations in Appendix E (specifically line 896), which correctly uses the previous timestep's weight WT−1W_{T-1} to define the target variable yTy_T for the exact MesaNet update. We will correct this subscript in the main text for the final version.

Reviewer UNFrOpenReview ↗
Rating
5/6
Confidence
2/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
4/4
Contribution type
concept_feasibility
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes a new layer, replacing the standard linear layer with a growing nonparametric layer that instead of compressing the data into the connection weights, creates a key-value pair for each training example and use an attention style mechanism. They begin with the observation that the gradient descent on a linear model acts like an attention mechanism over the training examples, where keys are these training examples, and values are gradients of the loss. They generalize this observation, by generalizing the interaction between the keys and the queries: first using positive definite kernels, for which the relation between gradient descent and creation of key-values is shown to still hold; second using a weighted-softmax attention. They derive a new update rule of the weights and values.

They support the introduction of this new mechanism with various experiments, showing that the growing weighted softmax models achieve good train/test errors.

Strengths and weaknesses

Strengths:

This seems to be a really original point of view and the attention point of view of gradient descent is a kind of perspective-shifting idea that is very valuable to the community.

The introduction of the weight softmax attention is clever, with a neat relation between the discrete softmax and their continuous weight softmax.

Limitations are well established, typically the memory problem

Weaknesses:

The linear memory growth is a big limitation.

It would have been nice to have the most natural baselines (kernel methods).

The updates are obtained for a layer in isolation, but what about many layers ? (the paper does provide illustration about multiple hidden layers but is not clear about the update in this setting)

Questions

How do you really implement the rule for a stack of hidden-layers in your setting ? Is the depth saturation the result of not studying the whole stack of layers at once ?

2- In the teacher student regression experiments, you are considering d_in = 2, which is quite low-dimnensional. How does it behave with a larger dimension ?

Limitations

Yes

Formatting concerns

No

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

We sincerely thank the reviewer for the positive assessment, and for recognizing the originality and theoretical rigor of our work.

Below, we address the specific questions and weaknesses raised by the reviewer:

  1. Natural Baselines (Kernel Methods)
    We agree that comparing Retrieval-Centric Deep Learning (RCDL) to standard nonparametric methods will better contextualize its capabilities. In the final version of the paper, we will include experimental comparisons of our proposed method against memory-matched non-parametric baselines, specifically kNN (sweep over k={5,10,15,20,25}) and SVM-RBF. |Model|Test Accuracy after one epoch| |---|---| |KNN (uniform)|0.3409| |KNN (proportional|0.3566| |RBF-SVM|0.5410|

  2. Implementation in a Stack of Hidden Layers and Depth Saturation
    Our growing layers are not updated in isolation; they are optimized jointly using standard backpropagation. To see how this works in a deep architecture, consider a model where the forward pass is f=fd∘fgrowing∘fuf=f_d \circ f_{growing}\circ f_u. Here, fdf_d represents downstream layers and fu represents upstream layers. For a growing RBF, if the t-th training data point is (xt,yt)(x_t,y_t), the key to be added to the database of fgrowing is simply the output of the upstream layers: kt=fu(xt)k_t=f_u(x_t). The corresponding value vector is derived from the backpropagated gradient gtg_t of the global loss function passed down through the downstream layers fdf_d: vt=−ηgtv_t = -\eta g_t. We would also like to note that a formal discussion on the training of deep architectures—specifically for growing positive definite kernel layers—is already included in Appendix A.3. To ensure this is readily apparent to all readers, we will clarify in the main text of the final version that our learning rules fully support deep, multi-layer architectures.
    The depth saturation observed in our experiments is likely due to the inherent complexity of the task (e.g., CIFAR-10 not requiring massive depth).

  3. Higher Dimensions in the Teacher-Student Experiment
    We have conducted additional teacher-student regression experiments using a much larger input dimension of din=100d_{in}=100. The conclusions remain qualitatively the same: the growing weighted softmax model continues to successfully optimize the loss and significantly outperforms the parametric softmax baseline. We will include these high-dimensional experiments in the final version of the paper. |Model|Final Loss (MSE)| |---|---| |Reference MLP|0.000160| |Weighted Softmax (Growing)|0.000259| |Parametric Softmax|0.003817|

  4. Linear Memory Growth
    We fully acknowledge that the linear memory growth—storing a key-value pair for every training example—is the most critical challenge for RCDL's practical adoption on large datasets. One way to make the method more scalable is through advanced key-value memory compression techniques. Several existing methods for KV-merging and pruning from the Transformer literature (e.g., token merging) are natural candidates for RCDL. However, a thorough investigation and evaluation of these techniques is a substantial undertaking that warrants its own dedicated paper, falling outside the scope of this initial theoretical work.
    Another idea for memory growth control is via a hybrid parametric/non-parametric approach. We could treat the existing key-value pairs in the database as learnable parameters optimized via standard optimizers (like Adam or AdamW), while conditionally growing the database using functional gradient descent only when a newly encountered key is sufficiently orthogonal/distinct from the existing keys in the database. We have started to test this hybrid method empirically in this rebuttal phase and we have found that the memory growth can be made sublinear while preserving strong performance. |Test Accuracy after one epoch|Final size (as fraction of full size)| |--- |--- | | 0.4937 | 0.015547 | | 0.5180 | 0.035625 | | 0.5278 | 0.050273 | | 0.5379 | 0.088574 | | 0.5438 | 0.139043 | | 0.5568 | 0.172910 | | 0.5632 | 0.257637 | | 0.5675 | 0.320918 | | 0.5718 | 0.358262 |

Note that using this hybrid growing approach, we retain full test set accuracy (cf. Figure 2) at 35.8% of the full-growing capacity and perform on par with or even beating most baselines using only 1.6% of the full-growing capacity, enabling us to train performant models with significantly less memory overhead.
We will add these first compression results in the final manuscript to highlight this important direction of future work.

We thank the reviewer again for the feedback and support of the paper.

Reviewer uJcsOpenReview ↗
Rating
5/6
Confidence
2/5
Quality
3/4
Clarity
2/4
Significance
2/4
Originality
3/4
Contribution type
concept_feasibility
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper proves that writing one weighted entry to a growing softmax-attention memory is equivalent to one gradient-descent step, despite softmax's coupled normalizer, resulting in a layer that learns by adding to memory rather than updating weights.

Strengths and weaknesses

Strengths:

  1. The softmax append rule is a non-trivial derivation.
  2. The experiment shows that growing database entries fits faster than joint optimization.
  3. The paper's derivations are sound and easy to follow.

Weaknesses:

  1. No demonstrated practical use for the growing networks: they lose to MLP with muon or FOOF. The cost grows to 61.5 GB for the tiny dataset CIFAR at 50 epochs, with no pruning techniques or insights on how to make practical use of it.
  2. The experiment is limited to the simple CIFAR classification task and cannot show the method's claimed advantage. The point of storing 'every gradient' is to avoid overwriting past knowledge and avoid diminishing the retrieval fidelity of early samples. Static image classification task, in my opinion, is a weak test compared to more trajectory-dependent, forgetting-prone continual learning tasks.
Questions
  1. What is the intended impact of this work? Concretely, is there a future AI system or capability that the growing-memory formulation is meant to enable that fixed-weight networks cannot, beyond the optimizer connection?

  2. Given the unbounded memory growth, what would a practical instantiation look like at scale? Is the vision that pruning makes this a fixed-capacity dynamic memory, or that the approach is meant to remain purely conceptual/theoretical for now?

Limitations

I judge papers largely by engineering impact and practical meaning, and I cannot see either for this method, so I may be undervaluing a contribution whose value is theoretical or longer-term. I hold this assessment loosely and am open to raising my score if clarifications and insights can be provided.

Final justification

The paper reframes the training-inference relationship on a principled basis: the duality between gradient-descent-trained linear layers and attention, extended to softmax via a genuinely novel functional gradient descent derivation. My main reservation, the linear memory cost, was addressed directly in the rebuttal: the hybrid conditional-growth results reach full accuracy at about a third of capacity and match most baselines at 1.6%. The remaining limitations are reasonable for an explicitly foundational contribution. This is among the most insightful submissions I have reviewed; correctness, originality, and generativity outweigh its practical immaturity. I raise my score to 5.

Formatting concerns

No

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We sincerely thank the reviewer for recognizing the soundness of our derivations, the non-trivial nature of the softmax append rule, and our empirical demonstration that growing networks fit data faster than joint optimization.

The reviewer raises highly pertinent points regarding the practical utility and memory costs of this approach. Below, we address the questions regarding the intended impact and scalability of RCDL:

  1. Intended Impact and Future Capabilities (Beyond Fixed-Weight Networks)
    While the current paper is primarily a conceptual and theoretical milestone, the intended future capability of RCDL is indeed solving catastrophic forgetting and enabling continual learning.
    Fixed-weight parametric networks fundamentally suffer from a capacity bottleneck; learning new tasks intrinsically requires overwriting the weights that encode past knowledge. By contrast, RCDL models learn by appending non-linear, localized representations (like RBF or weighted softmax keys) to a memory bank. Because these attention mechanisms can be localized in the feature space, a new key-value update minimally interferes with distant, previously stored knowledge. RCDL may provide the theoretical foundation for networks that can dynamically scale their capacity as they encounter new distributions, without destroying past representations. We agree that this future work direction is highly interesting. If accepted, we will use the extra page to move our appendix section H which also discusses CL to the main text. Thank you for bringing up this important point.

  2. Practical Instantiation at Scale & Addressing the 61.5 GB Memory Cost
    We fully acknowledge that the linear memory growth—storing a key-value pair for every training example—is the most critical challenge for RCDL's practical adoption on large datasets. One way to make the method more scalable is through advanced key-value memory compression techniques. Several existing methods for KV-merging and pruning from the Transformer literature (e.g., token merging) are natural candidates for RCDL. However, a thorough investigation and evaluation of these techniques is a substantial undertaking that warrants its own dedicated paper, falling outside the scope of this initial theoretical work.
    Another idea for memory growth control is via a hybrid parametric/non-parametric approach. We could treat the existing key-value pairs in the database as learnable parameters optimized via standard optimizers (like Adam or AdamW), while conditionally growing the database using functional gradient descent only when a newly encountered key is sufficiently orthogonal/distinct from the existing keys in the database. We have started to test this hybrid method empirically in this rebuttal phase and we have found that the memory growth can be made sublinear while preserving strong performance. |Test Accuracy after one epoch|Final size (as fraction of full size)| |--- |--- | | 0.4937 | 0.015547 | | 0.5180 | 0.035625 | | 0.5278 | 0.050273 | | 0.5379 | 0.088574 | | 0.5438 | 0.139043 | | 0.5568 | 0.172910 | | 0.5632 | 0.257637 | | 0.5675 | 0.320918 | | 0.5718 | 0.358262 |

Note that using this hybrid growing approach, we retain full test set accuracy (cf. Figure 2) at 35.8% of the full-growing capacity and perform on par with or even beating most baselines using only 1.6% of the full-growing capacity, enabling us to train performant models with significantly less memory overhead.
We will add these first compression results in the final manuscript to highlight this important direction of future work.

  1. Experimental Focus: CIFAR vs. Continual Learning
    We completely agree with the reviewer’s assessment that a static image classification task like CIFAR is a weak test for showcasing the long-term memory preservation advantages of RCDL.
    Our rationale for focusing on CIFAR and synthetic regression in this paper was foundational. Because RCDL is a radical departure from conventional deep learning, and because the functional gradient descent learning rules for weighted softmax are completely novel, our immediate priority was to empirically validate that these equations are correct and that they actually successfully optimize a loss on well-understood, standard benchmarks. Now that this theoretical foundation is established and validated, evaluating on trajectory-dependent, forgetting-prone continual learning tasks is an exciting next step for our research.
    We would like to thank the reviewer again for their constructive review. We hope this clarifies our long-term vision for RCDL and how this theoretical contribution serves as a necessary first step toward using our proposed method for building a practical continual learning AI system.
Reviewer uJcs · CommentOpenReview ↗

Response to rebuttal

Thank you for the thorough and thoughtful response. It addresses my concerns well, and the new results genuinely move my assessment.

I also appreciate the clarification on the intended impact. I think the deepest property latent in the framework is that, because the model learns by appending localized representations rather than overwriting weights, the model is effectively a manipulable record of its own training trajectory, which is what makes editing, removing, and time-windowed operations possible in principle without retraining. And even post-hoc training fixes can be made possible. I would go further and foreground these structural properties as the paper's core conceptual contribution, since they are what distinguish it from a conventional static-weight update method. One operation I'm interested in is merging, which can potentially resolve the memory explosion if such a rule can be developed.

On the CIFAR versus continual-learning point, I accept the foundational rationale. Validating that the novel functional-gradient rules optimize a loss on well-understood benchmarks is the first step. I simply encourage the trajectory-dependent evaluation as the natural next milestone.

On a personal note, I review a fair number of papers, and this is the one that has given me the most genuinely new ways to think about the model training, and truly a work that I will discuss with my colleagues the most, which to me is the mark of a real contribution. For this reason, I am raising my score to 5.

Authors · CommentOpenReview ↗

Thank you very much for these kind and encouraging words!

We very much agree with the reviewers opinion and will gladly incorporate the discussion of these structural properties in the paper and highlight these exciting future directions.

Thank you again!

Reviewer E3vjOpenReview ↗
Rating
5/6
Confidence
2/5
Quality
4/4
Clarity
3/4
Significance
4/4
Originality
4/4
Contribution type
concept_feasibility
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This submission introduces a growing nonparametric network. The authors show that a standard trained linear layer's weight matrix can be viewed as accumulating information from all previous training examples: for each example, it stores the layer input (named the 'key') and the backpropagated error signal for that layer (named the 'value'). They note that, during inference, an arbitrary input acts as a 'query' to this trained weight matrix and resembles 'linear attention'; see Eq. (1). Linear attention is known to have poor training properties. This means that all linear layers—basically most of the building blocks of modern LLMs—exhibit this issue.

The authors explore two avenues for improving linear attention. First, they attempt to replace it with nonlinear attention: positive-definite kernel (PDK) attention and weighted softmax attention. For both, they show that "growing" the model by adding key-value entries can be interpreted as gradient descent: for PDKs, as SGD in an implicit RKHS feature space; and for weighted softmax, as a gradient step on the softmax retrieval function, implemented by adding a new weighted key-value pair. Second, they replace the linear attention update (wt=wt−1−vtktTw_t = w_{t-1} - v_t k_t^T) with more advanced linear attention updates, as in DeltaNet and MesaNet. DeltaNet instead updates the fixed weight matrix WW by partially overwriting the value associated with the current key direction. MesaNet sets WW to the best regularized linear map from past keys to values.

They show that a simple stack of MLP blocks with parametric softmax attention underperforms the nonparametric growing weighted-softmax model proposed in this work in a synthetic setting where a model tries to approximate the output of a fixed, randomly initialized model. They also show promising results on the classic CIFAR datasets.

Strengths and weaknesses

Quality

This paper is technically sound and formally rigorous. The authors are careful not to make strong claims about their approach and are open about the main limitation: the size of the network grows linearly. Although I do not believe this will be solved in the near future with the democratization of disk space, I am hopeful that new formal insights could mitigate this issue. This submission reads as work in progress, but a complete milestone is reported.

Clarity

The submission is well written and has no obvious issues. The promised code would be useful.

Significance

This work explores a significant avenue. Linear layers form the basis of modern models. Discovering this issue (linear attention) is a significant finding worth exploring.

Originality

The method is original and looks at linear layers from a new perspective.

Questions
  • How does RCDL compare to memory-matched nonparametric baselines such as kNN, RBF kernel regression, or kernel ridge regression using the same inputs/augmentations or the same learned intermediate representations?
  • Why the baseline is an MLP stack. Could we replace all linear layers with the 'growing' layers in a small Vit/Transformer? Would the memory requirement be extraordinary?
Limitations

yes. The authors are upfront with the main issue - memory - one needs to save key-value pairs for each input.

Final justification

I enjoyed learning from this paper and was satisfied with the authors responses.

Formatting concerns

Didn't notice. It is finished to a high standard.

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We sincerely thank the reviewer for their positive assessment, for recognizing the theoretical rigor and originality of our work, and for appreciating that this represents a high-potential conceptual milestone. Below we address the specific questions raised in your review:

  1. Comparison to Memory-Matched Nonparametric Baselines
    We agree that comparing RCDL to standard nonparametric methods will better contextualize its capabilities and highlight the benefits of our end-to-end gradient-based approach. Thus, we will include experimental comparisons against memory-matched non-parametric baselines in the final version of the paper, specifically evaluating against kNN and SVM-RBF using the same representations and augmentations. We provide results from preliminary experiments on the CIFAR-10 dataset: |Model|Test Accuracy after one epoch| |---|---| |KNN (uniform)|0.3409| |KNN (proportional|0.3566| |RBF-SVM|0.5410|

  2. ViT architectures and Memory Requirements
    We initially chose a residual MLP stack to isolate and empirically validate the newly derived learning rules in a well-understood, classical supervised learning setup. However, testing this on attention-based architectures is a highly relevant next step.
    We will include in the final version of the paper experiments using a ViT-like architecture where we replace the Feed-Forward Network (FFN) part of the transformer block with our growing layer as a drop in replacement. We therefore mix in this architecture growing layers with normal weight layers (embedding, softmax layers, head) in one model. In preliminary empirical experiments on the CIFAR-10 dataset, we find this mixed architecture to outperform standard ViT. We report preliminary results for single-epoch training. In the final version of the paper, we will provide more extensive analyses of this architecture, especially when trained for multiple epochs. |Model|Test Accuracy after one epoch| |--- |--- | | Standard ViT | 0.48374 | | Weighted-Softmax ViT | 0.54407 |

  3. Memory considerations
    Regarding the memory requirements for such an architecture if included in a ViT: yes, the memory cost scales with number_of_gradient_steps * batch_size * num_tokens (or num_patches), hence the memory requirement can be extraordinary. But since we can, on the other hand, control the token dimension we can potentially reduce overall memory cost to match our MLP residual stream architecture memory footprint. Furthermore, to make this more practical for ViTs or LLMs, we envision applying memory compression techniques from the Transformer literature, such as KV-merging, token merging, or pruning.
    Another idea for memory growth control is via a hybrid parametric/non-parametric approach. We could treat the existing key-value pairs in the database as learnable parameters optimized via standard optimizers (like Adam or AdamW), while conditionally growing the database using functional gradient descent only when a newly encountered key is sufficiently orthogonal/distinct from the existing keys in the database. We have started to test this hybrid method empirically in this rebuttal phase (for the ResNet-like architecture) and we have found that the memory growth can be made sublinear while preserving strong performance. |Test Accuracy after one epoch|Final size (as fraction of full size)| |--- |--- | | 0.4937 | 0.015547 | | 0.5180 | 0.035625 | | 0.5278 | 0.050273 | | 0.5379 | 0.088574 | | 0.5438 | 0.139043 | | 0.5568 | 0.172910 | | 0.5632 | 0.257637 | | 0.5675 | 0.320918 | | 0.5718 | 0.358262 |

Note that using this hybrid growing approach, we retain full test set accuracy (cf. Figure 2) at 35.8% of the full-growing capacity and perform on par with or even beating most baselines using only 1.6% of the full-growing capacity, enabling us to train performant models with significantly less memory overhead.
This hybrid layer can be used as a drop-in replacement for the FFN part of the ViT architecture. We will conduct extensive analysis of such hybrid architecture and add it to the final version of the paper.

We reiterate our appreciation of the constructive feedback and for noting the quality of the submission. As promised, the code to reproduce our experiments will be released with the final version.

Reviewer E3vj · CommentOpenReview ↗

Response to rebuttal

Acknowledged. Thank you for your response and your work. I am happy that other reviewer(s) have changed their ratings.

Comments on the paper

1 comment
Area Chair J2qu · CommentOpenReview ↗

Dear Reviewers,

The author response period has concluded, and the rebuttal for this submission is now available for review.

Please take the time to read the authors' responses and any revised manuscripts carefully. After reviewing their response:

Acknowledge: Please confirm that you have read the rebuttal.

Update: Update your review, scores, and confidence level accordingly to reflect any points clarified during this phase.

Discuss: Engage in active discussion with the authors and fellow reviewers if further clarification is needed.

Timely updates are critical for maintaining our evaluation schedule. Please complete your updates by August 3rd.

Thank you for your hard work and continued dedication to the review process.

Best regards,

Area Chair

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…