Weight-Space Linear Recurrent Neural Networks

Roussel Desmond Nzoyem, Nawid Keshtmand, Enrique Crespo Fernandez, Idriss Tsayem, Raul Santos-Rodriguez +2 more
6/1/2025
cs.LG

No official code found. Best implementation: ddrous/warp (7 stars, last commit 2025-12-11).

Abstract

We introduce WARP (Weight-space Adaptive Recurrent Prediction), a simple yet powerful model that unifies weight-space learning with linear recurrence to redefine sequence modeling. Unlike conventional recurrent neural networks (RNNs) which collapse temporal dynamics into fixed-dimensional hidden states, WARP explicitly parametrizes its hidden state as the weights and biases of a distinct auxiliary neural network, and uses input differences to drive its recurrence. This brain-inspired formulation enables efficient gradient-free adaptation of the auxiliary network at test-time, in-context learning abilities, and seamless integration of domain-specific physical priors. Empirical validation shows that WARP matches or surpasses state-of-the-art baselines on diverse classification tasks, featuring in the top three in 5 out of 6 real-world challenging datasets. Furthermore, extensive experiments across sequential image completion, multivariate time series forecasting, and dynamical system reconstruction demonstrate its expressiveness and generalisation capabilities. Remarkably, a physics-informed variant of our model outperforms the next best model by more than 10x. Ablation studies confirm the architectural necessity of key components, solidifying weight-space linear RNNs as a transformative paradigm for adaptive machine intelligence.

View on arXivView PDF

Code Implementations(1)

ddrous/warpCommunity66%

Weight-Space Linear Recurrent Neural Networks

71HTML, PythonApr 1, 202510 months ago
recurrent-neural-networksweight-space-learningzero-shot-learning

Similar Papers

Cite this paper

@article{nzoyem2025weightspace,
  title  = {Weight-Space Linear Recurrent Neural Networks},
  author = {Roussel Desmond Nzoyem and Nawid Keshtmand and Enrique Crespo Fernandez and Idriss Tsayem and Raul Santos-Rodriguez and David A. W. Barton and Tom Deakin},
  year   = {2025},
  eprint = {2506.01153},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.01153v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.01153.svg)](https://codeofpaper.com/paper/2506.01153)

Discussion