Weight-Space Linear Recurrent Neural Networks
About
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 4 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.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Traffic Forecasting | PeMS08 | RMSE10.1 | 181 | |
| Multivariate Time Series Classification | SelfRegSCP1 | Accuracy83.53 | 25 | |
| Image Modeling | MNIST (test) | Bits/dim0.416 | 24 | |
| Image Modeling | FashionMNIST (test) | Bits/dim0.59 | 12 | |
| Image Completion | CelebA (test) | MSE0.027 | 12 | |
| Multivariate Time Series Classification | EthanolConcentration UEA (test) | Accuracy36.49 | 11 | |
| Multivariate Time Series Classification | Heartbeat UEA (test) | Accuracy80.65 | 11 | |
| Multivariate Time Series Classification | SelfRegulationSCP2 UEA (test) | Accuracy57.89 | 11 | |
| Multivariate Time Series Classification | MotorImagery UEA (test) | Accuracy56.14 | 11 | |
| Time-series classification | EigenWorms UEA (test) | Accuracy70.93 | 11 |