Differentiable Plastic Recurrent Neural Networks: A Systematic Evaluation
Ciaran Regan ciaran@sakana.ai
Kai Arulkumaran kailash@sakana.ai
Sebastian Risi sebastianrisi@sakana.ai
Llion Jones llion@sakana.ai
Reviewed on OpenReview: https://openreview.net/forum?id=8z0trg6tku
Abstract
Plastic recurrent neural networks (RNNs) augment standard architectures with weights that adapt during inference, offering a biologically inspired path toward more adaptive artificial systems. Despite a growing collection of architectures, the field lacks a systematic account of how these methods relate to one another, when plasticity improves performance, and whether learned plastic components are actually used at inference time. We address this gap by placing existing differentiable plastic RNNs under a unified notation, conducting a parameter-matched evaluation of fifteen architectures across four task families, and analyzing how these architectures utilize plasticity, if at all. We also identify an underexplored design direction for plastic RNNs. Grounding plasticity in extended neuron dynamics and population-level synchronization, rather than instantaneous pre- and post-synaptic correlations, we propose the Plastic Continuous Thought Machine (Plastic CTM). On recall and continual learning tasks, plastic and non-plastic architectures perform comparably, whereas on in-context learning tasks, the strongest-performing architectures tend to be plastic, with the Plastic CTM achieving the strongest results among recurrent architectures. Our analysis reveals that architectures with similar accuracy can use plasticity in very different ways, with some relying on plastic weights for genuine in-context adaptation, while others achieve comparable accuracy even with their plasticity disabled. These findings highlight the need for more discriminating benchmarks, mechanistic analysis, and exploration of richer biologically inspired rules to meaningfully advance the field.
1 Introduction
Organisms in nature exhibit remarkable adaptability, enabling them to learn from experience and adjust their behavior to changing environments over extended timescales. This adaptability is supported by synaptic plasticity, the primary basis for long-term learning and memory in the brain, where connection strengths adjust as a function of ongoing neural activity
An early approach to this weight-based adaptation is to equip a network with a set of “fast” weights that change during inference, while the “slow” weights learned during training remain fixed
While the field has produced a diverse set of architectures and plasticity rules, much less attention has been paid to how these models actually leverage their plasticity at inference time. Performance comparisons alone cannot distinguish between a method that uses plasticity for genuine in-context adaptation and one that effectively learns to disable it. As the field grows, this gap in mechanistic analysis makes it increasingly difficult to identify which design choices matter and where progress is genuinely being made.
In this work, we conduct an extensive evaluation of plastic RNNs. We compare fifteen plastic and non-plastic architectures across algorithmic, in-context learning, continual learning, and meta-reinforcement learning (meta-RL) tasks, using systematic hyperparameter tuning and rigorous parameter matching across all baselines; including hyperparameter tuning and final evaluations, our experiments consist of over 5,700 runs. Among the evaluated architectures, we introduce the Plastic Continuous Thought Machine (Plastic CTM), a new plastic RNN inspired by biological evidence that synaptic plasticity is shaped by extended firing histories and population-level synchronization rather than instantaneous correlations alone
Our evaluation yields several findings about the state of the field. On algorithmic recall tasks, both plastic and non-plastic architectures perform competitively, with the gains from plasticity depending strongly on the base architecture. On in-context learning tasks, by contrast, the strongest-performing architectures tend to be plastic, with the Plastic CTM achieving the strongest results, outperforming the parameter-matched Model-Agnostic Meta-Learning
In summary, our contributions are as follows:
-
We describe existing differentiable plastic RNNs and fast weight networks under a unified notation and conduct a systematic, parameter-matched evaluation of fifteen architectures across algorithmic recall, in-context learning, continual learning, and meta-RL tasks.
-
We identify grounding plasticity in extended neuron dynamics and population-level synchronization as an underexplored design direction, and instantiate it with the Plastic Continuous Thought Machine (Plastic CTM).
-
Through mechanistic analysis, we show that architectures with similar benchmark performance can exhibit qualitatively different dynamics.
The remainder of the paper is structured as follows. In Section 2 we provide some background on synaptic plasticity in both biological and artificial neural networks, and discuss its applications to meta-learning or “learning to learn”. A glossary of key terminology is provided. In Section 3 we discuss the differentiable plasticity framework, which makes Hebbian plasticity rules learnable end-to-end. We discuss the connection of these rules to FWPs and linear attention. In Section 4 we discuss synaptic plasticity via neuron synchronization, instantiating this idea in the Plastic CTM, which modifies its weights based on the temporal synchronization of neurons. In Section 5 we evaluate a range of plastic RNNs on a diverse suite of tasks. Finally, in Section 6 we conclude with a discussion on the limitations of these models and avenues for future work. Code is available at GitHub.
2 Background
2.1 Synaptic Plasticity
Synaptic plasticity is thought to be the primary basis for long-term learning and memory in the brain
However, these purely pre-post Hebbian rules oversimplify biological plasticity. For instance, plasticity in the brain is actively gated by neuromodulatory systems, resulting in “three-factor” (modulated) Hebbian rules, with chemicals such as dopamine determining when and where synaptic changes are consolidated
2.2 Plastic Recurrent Neural Networks
Taking inspiration directly from biological synaptic plasticity, plastic RNNs allow their connection weights to change during inference as a function of ongoing neural activity. How these weights change is determined by a plasticity rule, which maps patterns of neural activity to updates in synaptic strength. For example, Hebbian plasticity strengthens or weakens connections according to the activity of their pre- and post-synaptic neurons. Plastic RNNs use such activity-dependent weight changes as an additional mechanism for adaptation alongside the evolving hidden state of the recurrent network.
One line of work uses evolutionary algorithms to discover plasticity rules, with evolved plastic networks demonstrating strong capabilities in non-stationary reward-based tasks
these methods under a unified notation and discuss their plasticity rules, how the parameters controlling these rules are learned, and the mechanisms used to stabilize the changing plastic weights.
2.3 Fast Weights
Fast weights provide a broader framework for adaptation through changing model parameters. These methods introduce a set of “fast” weights that change during inference while the “slow” weights learned during training remain fixed
2.4 Meta-Learning
Meta-learning, or “learning to learn”, aims to build agents that rapidly adapt from ongoing experience
Glossary
- Meta-learning. Training a model across tasks so that it learns to rapidly adapt to new tasks from limited experience.
- Weight. A numerical value that determines the connection strength between neurons.
- Slow Weights. Model parameters learned during training that remain fixed during inference.
- Fast Weights. Weights that change during inference, allowing the model to rapidly store and use new information.
- Fast Weight Programmer. A model that writes key–value associations to a fast weight memory matrix and retrieves them using query vectors.
- Hypernetwork. A network that directly generates the weights of another network.
- Plastic RNN. An RNN whose weights change during inference through an activity-dependent plasticity rule.
- Hebbian Plasticity. A local plasticity rule that updates synaptic weights using the activity of connected pre- and post-synaptic neurons.
- Differentiable Plastic RNN. A plastic RNN in which parameters controlling the plasticity rule are learned end-to-end through backpropagation.
3 Differentiable Plastic RNNs
Plastic RNNs adapt their synaptic weights during inference according to activity-dependent plasticity rules.
The main contribution of each method is its plasticity rule. These rules differ in how their update and decay rates are parameterized and in how the plastic state is stabilized, using decay, normalization, or clipping. Although each plasticity rule was introduced in the context of a particular recurrent architecture, the rules are not inherently tied to these architectures. They can be applied to other weight matrices by selecting the appropriate pre- and post-synaptic activities and matching the dimensions of the plastic state. In our experiments, we retain the architecture and plasticity rule used by each original formulation, such as the LSTM being used with Backpropamine.
We first introduce common notation before describing each formulation in detail. An overview of these methods is given in Table 1, and their relation to FWPs and linear attention is discussed in Section 3.4.
Plastic RNNs augment a fixed weight matrix
Here,
where
3.1 Differentiable Plasticity and Plastic RNNs
Leveraging gradient descent and backpropagation,
where
The framework also accommodates alternative biologically inspired update rules. For example, the Oja’s rule variant
where
3.2 Backpropamine and Plastic LSTMs
A limitation of the Plastic RNN update above is that plasticity occurs uniformly across time, with every synaptic correlation contributing at a rate fixed by the learned scalar
such that each component
This variant is inspired by evidence that dopamine retroactively gates recent Hebbian activity within a short time window
3.3 Short-Term Plasticity Neurons
STPNs
where
Stabilization of the STPN, like
3.4 Relation to Fast Weight Programmers and Linear Attention
As the effective recurrent weights of the above models change over the sequence, plastic RNNs fall within the broader family of fast weight models. They are closely related to FWPs
fast weight matrix
and updates and reads from its fast weight matrix as
where
which is unnormalized causal linear attention
One limitation of the additive update in Equation (10) is that it writes each association without considering what is already stored under the same or a similar key, which can produce interference.
Rather than adding the value directly, this update follows the Widrow-Hoff delta rule by writing the difference between the desired value and the value currently associated with the key
where
The method of
Here, the activity vector acts as both key and value, producing a symmetric, exponentially decaying memory. Unlike the direct read used above, FW retrieves this memory through an iterative refinement,
where
3.5 Summary
Differentiable plastic RNNs modify their weights during inference using plasticity rules trained end-to-end. The Plastic RNN uses Hebbian or Oja updates and stabilizes its changing weights through decay or self-normalization. Backpropamine adds neuromodulation to control when plasticity occurs and uses clipping
| Method | Fast Weight Update | Stabilized via |
|---|---|---|
| Hebbian | Decay | |
| Oja | Norm | |
| Simple Mod. | Clipping | |
| Retro. Mod. | Clipping, Decay | |
| STPN | Decay, Norm | |
| FWP | ||
| DeltaNet | ||
| GDN | Decay | |
| FW | Decay, Norm | |
| Plastic CTM | Decay, Rescale, Norm |
Table 1: Plastic and fast weight updates and stabilization mechanisms. Differentiable plasticity methods combine the plastic component
for stability, while the STPN learns separate update and decay rates for each synapse and normalizes the effective weights. These methods are closely related to FWPs, since both maintain a matrix-valued state that changes through outer-product updates. FWPs write and retrieve associations using learned keys, values, and queries, with DeltaNet and GDN adding mechanisms for correcting existing associations and controlling forgetting. FW provides a distinct fast-weight formulation, storing recent hidden states in a decaying auto-associative memory and retrieving them through iterative refinement. Across these methods, adaptation during inference is implemented through an evolving matrix-valued state, with architectures differing in how that state is written, stabilized, and read.
4 Grounding Plasticity in Neuron Dynamics
Taking inspiration from biology, the plasticity rules described in Sections 3.1 to 3.3 use Hebbian updates, adapting their weights through the outer product of pre- and post-synaptic activations. Although these rules are grounded in biological plasticity, they do not capture all of the temporal structure thought to influence changes in synaptic strength. In particular, evidence from neuroscience suggests that plasticity is also shaped by extended firing histories and synchronization between populations of neurons
In this work, we explore whether a plastic RNN can be grounded in extended temporal dynamics and synchronization, rather than instantaneous correlations alone. Doing so requires an underlying architecture whose representations already reflect these properties. The CTM

4.1 Continuous Thought Machines
The CTM
where is a learned feedforward network.1 The pre-activated state
where
Synchronization, the latent representation used to make predictions, is calculated via an exponentially weighted dot-product of post-activated state histories:
where
Defining
The output of the model at each timestep then comes from a linear projection of the flattened synchronization matrix
Written in this recursive form, CTM synchronization has the same general matrix-valued outer-product structure as several of the plastic and fast weight states described in Section 3. In particular, comparing Equation (20) and Equation (15) shows that CTM synchronization uses the same auto-associative outer-product structure as FW. Similarly, comparing Equation (20) and Equation (8) shows that it uses the same learned pairwise forgetting structure as STPN, although the coefficient of the newly written outer-product contribution is fixed to one. Unlike these existing fast weight states, however, the vectors
4.2 Plastic Continuous Thought Machines
Inspired by the biological evidence that synaptic plasticity is shaped by extended firing histories and population-level synchronization as described in Section 2.1, and by the structural connection between CTM synchronization and fast weight updates established above, we propose the Plastic CTM, an RNN in which the synchronization state directly modulates synaptic weights.
We apply plasticity to the CTM synapse model, which transforms the previous post-activated state together with the current observation at each recurrent step. Following the fixed-plus-plastic formulation in Equation (1), we replace the synapse model in Equation (17) with
where
Since synchronization already provides the evolving matrix-valued state in Equation (20), we identify it with the unscaled plastic state,
Whereas Backpropamine uses a fixed per-synapse scaling matrix
Specifically, we introduce a learned scalar
In the Plastic CTM, synchronization is not only used to produce the model’s predictions, as in the standard CTM, but is also identified directly with the plastic state,
5 Experiments
We conduct a systematic comparison of plastic and non-plastic RNNs across four task families that are typically used in the literature. These cover algorithmic recall
5.1 Baselines and Model Ablations
Our evaluation covers fifteen architectures. The non-plastic baselines are a simple RNN with tanh activation, the LSTM
We additionally ablate the Plastic CTM in two ways. ‘No NLMs’ removes NLMs so that synchronization is computed directly from pre-activated states
Across all experiments, models use layer normalization
5.2 Memory and Recall: Copy Task
We evaluate memorization and recall using a sequential copying task adapted from

Results are shown in Figure 2. The Plastic LSTM variants, the STPN, the Plastic CTM variants, and the non-plastic CTM achieve the strongest overall performance. By comparison, the RNN, Plastic RNN, LSTM, HyperLSTM, GDN, and FW perform worse. The contrasting effects of plasticity on the LSTM and RNN highlight the importance of the base architecture in the sequence-copying task. Although plasticity produces large improvements for the LSTM across every evaluated condition, adding plasticity to the RNN does not improve performance. Similarly, adding plasticity does not improve the already strong CTM, nor does neuromodulation improve the Plastic LSTM. Among the CTM ablations, removing the NLMs slightly worsens performance at longer sequence lengths, whereas the Hebbian variant performs similarly to the full Plastic CTM. This suggests that neuron-level temporal processing helps on longer sequences, but the specific plasticity rule has little effect on this task. Overall, plasticity does not guarantee strong performance on the sequence-copying task, with results dependent on the base architecture.
5.3 One-Shot Adaptation: One-Shot Image Classification
We evaluate each architecture on a one-shot image classification task, a canonical test of rapid in-context learning
Table 2: 5-way 1-shot classification accuracy on CIFAR-100 and MiniImageNet, showing first-query accuracy (Acc.) and mean accuracy across all five queries (Acc. All). Results are means with 95% CIs across independent seeds. Some plastic recurrent architectures outperform the parameter-matched MAML baseline, though none surpass ProtoNet. The Plastic CTM achieves the best performance among recurrent architectures in three of the four settings. Bold indicates the best recurrent result in each column.
| CIFAR-100 | MiniImageNet | |||
|---|---|---|---|---|
| Architecture/Algorithm | Acc. | Acc. All | Acc. | Acc. All |
| MAML | ||||
| ProtoNet | ||||
| RNN | ||||
| Plastic RNN | ||||
| Plastic RNN (Oja) | ||||
| LSTM | ||||
| Plastic LSTM (No Mod.) | ||||
| Plastic LSTM (Simple Mod.) | ||||
| Plastic LSTM (Retro. Mod.) | ||||
| HyperLSTM | ||||
| STPN | ||||
| FW | ||||
| GDN | 57.6 ± 0.8 | |||
| CTM | ||||
| Plastic CTM (No NLMs) | ||||
| Plastic CTM (Hebbian) | ||||
| Plastic CTM (Ours) | 60.0 ± 0.6 | 49.6 ± 1.4 | 51.5 ± 1.4 |
feeding them to the recurrent models. For comparison with established meta-learning approaches commonly used for this task, we also evaluate parameter-matched MAML
Results are shown in Table 2. ProtoNet achieves the strongest overall results on both datasets. This is expected given that ProtoNet is designed specifically for few-shot classification, directly constructing class prototypes from the support examples rather than learning through a general recurrent architecture. Among the recurrent architectures, GDN has the highest first-query accuracy on CIFAR-100 (57.6%), while the Plastic CTM performs best across all five CIFAR-100 queries (60.0%) and on both MiniImageNet measures (49.6% and 51.5%). The Plastic CTM outperforms the non-plastic CTM by 8.0 and 3.6 percentage points on the first CIFAR-100 and MiniImageNet queries, respectively, and consistently outperforms the plastic RNN baselines. Adding plasticity provides little benefit to the LSTM in one-shot classification but substantially improves the CTM, reversing the pattern observed in the copy task. This shows that the effect of plasticity depends on both the task and the base architecture.
The ablations show how the Plastic CTM’s components affect performance. Removing NLMs has little effect on CIFAR-100 but reduces MiniImageNet accuracy by approximately 2–3 percentage points, suggesting that per-neuron temporal processing is more useful on MiniImageNet. Replacing synchronization-based updates with standard Hebbian plasticity causes a larger drop, particularly on CIFAR-100. This suggests that grounding plasticity in temporally processed activation histories provides an advantage over instantaneous Hebbian correlations in this task and supports the Plastic CTM as a strong recurrent model for rapid adaptation.
5.4 In-Context Learning: Few-Shot Regression
We evaluate in-context function learning on a few-shot regression task commonly used to benchmark meta-learning methods
Table 3: Few-shot regression test loss (MSE) on Linear and MLP function learning tasks with and support examples. Results are averaged over 5 seeds with 95% CIs. The Plastic CTM performs best in three of the four settings, while its Hebbian ablation performs best on the Linear family with .
| Architecture | Linear | Linear | MLP | MLP |
|---|---|---|---|---|
| RNN | 0.338±0.004 | 0.479±0.008 | 0.063±0.012 | 0.164±0.005 |
| Plastic RNN | 0.271±0.111 | 0.361±0.002 | 0.053±0.003 | 0.139±0.002 |
| Plastic RNN (Oja) | 0.175±0.003 | 0.356±0.003 | 0.048±0.001 | 0.146±0.002 |
| LSTM | 0.102±0.006 | 0.320±0.020 | 0.018±0.001 | 0.080±0.006 |
| Plastic LSTM (No Mod.) | 0.022±0.001 | 0.208±0.006 | 0.014±0.001 | 0.044±0.000 |
| Plastic LSTM (Simple Mod.) | 0.023±0.003 | 0.204±0.014 | 0.014±0.001 | 0.042±0.001 |
| Plastic LSTM (Retro. Mod.) | 0.026±0.004 | 0.291±0.004 | 0.014±0.001 | 0.063±0.020 |
| HyperLSTM | 0.101±0.006 | 0.289±0.004 | 0.025±0.002 | 0.084±0.025 |
| STPN | 0.088±0.009 | 0.275±0.003 | 0.021±0.001 | 0.095±0.005 |
| FW | 0.328±0.120 | 0.338±0.001 | 0.038±0.002 | 0.107±0.002 |
| GDN | 0.084±0.001 | 0.286±0.020 | 0.032±0.007 | 0.105±0.020 |
| CTM | 0.308±0.070 | 0.418±0.035 | 0.029±0.001 | 0.102±0.004 |
| Plastic CTM (No NLMs) | 0.447±0.031 | 0.607±0.022 | 0.342±0.077 | 0.434±0.055 |
| Plastic CTM (Hebbian) | 0.021±0.008 | 0.199±0.017 | 0.012±0.000 | 0.036±0.000 |
| Plastic CTM (Ours) | 0.058±0.116 | 0.178±0.002 | 0.012±0.000 | 0.032±0.001 |
Results are shown in Table 3. The Plastic CTM achieves the lowest test loss in three of the four settings, while its Hebbian ablation performs best on the Linear family with
5.5 Meta-Reinforcement Learning: Maze Exploration
Meta-RL is thought to be a key application of plasticity
Results for each architecture are shown in Figure 3. Excluding FW, which exhibits unstable behavior, all architectures achieve a similar final reward, showing that the Plastic CTM matches earlier methods but also highlighting that this canonical task may not effectively discriminate between plastic networks. Notably, non-plastic architectures with larger hidden sizes (given parameter-matching) perform comparably to their plastic counterparts, often with qualitatively better training stability. We attribute this to modernized training, in particular PPO and Pop-Art in place of A2C

sufficient task-specific information in their hidden states. A more challenging variant should require more episode-specific adaptation beyond memorizing a single goal.
5.6 Episodic In-Context Continual Learning: Sequential Split-MNIST
Continual learning requires acquiring new skills without catastrophic forgetting
We use a modified version of the sequential Split-MNIST task from
Results are shown in Table 4. All 15 evaluated variants, including the two Plastic CTM ablations, solve the task with near-perfect accuracy across all three query phases. Following
Table 4: Sequential Split-MNIST test accuracy and transfer metrics. Accuracy is reported as a percentage and FWT and BWT as percentage-point differences. Results show the mean and standard deviation across five seeds. All plastic and non-plastic architectures achieve near-perfect accuracy across all three query phases.
| Architecture | Accuracy (%) | Transfer (percentage points) | |||
|---|---|---|---|---|---|
| Set A Acc. | Set A Ret. | Set B Acc. | FWT | BWT | |
| RNN | |||||
| Plastic RNN | |||||
| Plastic RNN (Oja) | |||||
| LSTM | |||||
| Plastic LSTM (No Mod.) | |||||
| Plastic LSTM (Simple Mod.) | |||||
| Plastic LSTM (Retro. Mod.) | |||||
| HyperLSTM | |||||
| STPN | |||||
| FW | |||||
| GDN | |||||
| CTM | |||||
| Plastic CTM (No NLMs) | |||||
| Plastic CTM (Hebbian) | |||||
| Plastic CTM (Ours) |
5.7 Analysis: How Plasticity is Utilized
The previous sections show how different architectures with different plasticity rules perform across a wide range of tasks. Here we examine how these models utilize plasticity, if at all.
Relative Fast-to-Slow Weight Magnitude. To quantify within-episode plastic-weight dynamics, we track the relative magnitude
The trajectories in Figure 4 reveal distinct adaptation strategies. On CIFAR-100, the Plastic LSTM variants and STPN approach a plateau, whereas the Plastic RNN variants and Hebbian Plastic CTM continue to increase in relative magnitude during the query phase. By
Disabling Plasticity. Benchmark performance alone does not show whether a trained model uses its plastic weights because the task may instead be solved through its hidden state. We therefore evaluate each trained model on the same held-out episodes with plasticity enabled and disabled. For models with effective weights
The Plastic RNN variants, FW, STPN, and all Plastic CTM variants suffer large accuracy drops across both task families when plasticity is disabled. This shows that they rely on their adaptive weights for in-context learning. In contrast, disabling Plastic LSTM plasticity changes one-shot image classification accuracy by


at most 1.6%. On Sequential Split-MNIST, immediate Set A accuracy changes by at most 2.8%, while Set A retention after learning Set B falls by 16.2–49.0%. The Plastic LSTM therefore uses plasticity primarily to retain earlier information rather than to improve immediate prediction.

Disabling plasticity shows whether adaptive weights affect accuracy, but it does not show how the plastic weights and hidden states evolve during an episode. Following the neuroscience literature
Computational Cost. The performance gains of plastic RNNs can come with increased inference latency and additional memory for maintaining plastic state. To characterize this trade-off, we compare one-shot image classification accuracy across all five query images with the mean recurrent cell inference latency of a complete 10-step episode. Latency is measured on an NVIDIA H100 GPU with batch size 64 and averaged across five profiling runs. Results are shown in Figure 7. The Plastic CTM achieves the highest accuracy among the recurrent architectures and remains Pareto optimal on both datasets. STPN reaches within 0.8 percentage points of the Plastic CTM on CIFAR-100 and 1.0 point on MiniImageNet at approximately half its latency. Relative to the non-plastic CTM, the Plastic CTM increases episode latency by 27% while improving accuracy by 9.5 percentage points on CIFAR-100 and 4.7 points on MiniImageNet. Full timing, memory, and profiling details are provided in Appendix Section H.
6 Discussion and Conclusion
Synaptic plasticity underlies learning and memory in biological brains, and translating this mechanism into artificial neural networks offers a promising path toward more adaptive AI systems. Although numerous

architectures and plasticity rules have been proposed, the field of differentiable plastic RNNs has lacked a systematic account of how these methods relate, when plasticity improves performance, and whether trained models actually utilize plasticity. We address this gap by placing differentiable plastic RNNs and fast weight methods under a unified notation, conducting parameter-matched and hyperparameter-optimized evaluations across a broad range of tasks, and analyzing the resulting dynamics of the trained models.
Our results reveal important conclusions about plastic RNNs. With the right architecture and plasticity rule, plasticity can substantially improve in-context adaptation. Methods such as the Plastic CTM and STPN achieve strong performance across several tasks, but simply adding plasticity to an existing architecture does not guarantee an improvement. For instance, plasticity provides no clear benefit to the vanilla RNN on the copy task, while the Plastic LSTM offers little improvement over the LSTM on one-shot image classification. Similarly, neuromodulation provides little additional benefit on the tasks considered here. The effectiveness of plasticity therefore depends critically on the interaction between the plasticity rule, the underlying architecture, and the task.
Our study also provides important insights into the current state of the field. We performed extensive hyperparameter tuning over parameter-matched architectures, resulting in over 5,700 experimental runs for the final results. This careful evaluation shows that conclusions can depend substantially on the training setup. For example, under limited hyperparameter tuning, not all architectures solve the continual learning task, whereas after more extensive searches all architectures achieve near-perfect performance. Similarly, on the meta-RL task, using PPO with Pop-Art normalization instead of A2C enables nearly all evaluated architectures to solve the canonical maze benchmark. These results highlight the sensitivity of plastic RNN evaluation to optimization and training choices, and emphasize the importance of controlling for these factors when comparing architectures and plasticity rules.
Our results also suggest that commonly used benchmarks may no longer be sufficiently challenging to distinguish between methods. The canonical maze-solving benchmark is saturated in our experiments, while all evaluated architectures achieve near-perfect performance on the episodic continual learning task. This suggests a need for more demanding benchmarks that require richer forms of in-context learning and memorization. For example, the maze-solving task of Section 5.5 uses a fixed maze structure across episodes,
varying only the goal and agent start locations. A more challenging variant could also vary the maze structure between episodes. This may require the slow weights to meta-learn a general maze-solving strategy, while the fast weights adapt to and memorize the current maze structure, effectively building a world model in context.
Beyond benchmark performance, our analysis shows that architectures with similar accuracy can rely on plasticity in very different ways. The fast-to-slow weight trajectories reveal different plastic-weight dynamics across architectures, and disabling plasticity establishes whether the fast weights actually contribute to performance. Some models rely strongly on plasticity in the tasks we analyze, whereas others achieve similar performance with little dependence on their fast weights. These findings show that benchmark accuracy alone does not capture how a plastic RNN solves a task. Future work should therefore pair performance evaluation with analyses of how plastic states evolve and how strongly models rely on them during inference.
Although plastic RNNs achieve strong performance across several tasks, they also introduce computational and memory costs. For example, relative to the non-plastic CTM, the Plastic CTM increases forward-pass time by approximately 34% and requires additional memory to maintain a dense plastic state. Despite this overhead, the Plastic CTM remains on the Pareto frontier for one-shot image classification, achieving the strongest recurrent-model accuracy on both datasets. These results highlight a trade-off between computational cost and adaptive performance, with more efficient plastic mechanisms remaining an important direction for future work.
Despite these challenges, plastic RNNs remain a valuable direction for building systems that learn from ongoing experience. More broadly, our results highlight the value of looking to biology for new computational mechanisms. By grounding plasticity in extended neuronal dynamics and population-level synchronization, the Plastic CTM translates biological inspiration into a plasticity mechanism that provides meaningful computational benefits. Notably, to our knowledge, it is the first plastic RNN to outperform a parameter-matched MAML baseline, a gradient-based meta-learning method, on both CIFAR-100 and MiniImageNet one-shot classification. This result suggests that biological mechanisms can provide more than qualitative inspiration and can motivate new forms of adaptation that are competitive with established machine-learning approaches. Further progress will require more efficient plastic mechanisms, harder tasks that genuinely demand fast weight adaptation, and deeper analysis of how learned plasticity shapes computation. We believe that continuing to draw from biological learning mechanisms is a promising direction for developing artificial systems that can learn and adapt from ongoing experience.
Acknowledgments
The authors would like to thank Luke Darlow, Dennis Wilson, Jeffrey Seely, Joachim Winther Pedersen and many others on the Sakana AI team for their helpful feedback and discussions on plasticity.
References
Takuya Akiba, Shotaro Sano, Toshihiko Yanase, Takeru Ohta, and Masanori Koyama. Optuna: A next-generation hyperparameter optimization framework. In Proceedings of the 25th ACM SIGKDD international conference on knowledge discovery & data mining, pp. 2623–2631, 2019.
Jimmy Ba, Geoffrey E Hinton, Volodymyr Mnih, Joel Z Leibo, and Catalin Ionescu. Using fast weights to attend to the recent past. Advances in neural information processing systems, 29, 2016a.
Jimmy Lei Ba, Jamie Ryan Kiros, and Geoffrey E Hinton. Layer normalization. arXiv preprint arXiv:1607.06450, 2016b.
Shawn Beaulieu, Lapo Frati, Thomas Miconi, Joel Lehman, Kenneth O Stanley, Jeff Clune, and Nick Cheney. Learning to continually learn. arXiv preprint arXiv:2002.09571, 2020.
Saptarshi Bej, Gouri Lakshmi, Harshit Kumar, Pritam Kar, Bikas C Das, et al. Spike agreement dependent plasticity: A scalable bio-inspired learning paradigm for spiking neural networks. arXiv preprint arXiv:2508.16216, 2025.
Guo-qiang Bi and Mu-ming Poo. Synaptic modifications in cultured hippocampal neurons: dependence on spike timing, synaptic strength, and postsynaptic cell type. Journal of neuroscience, 18(24):10464–10472, 1998.
Paolo Calabresi, Barbara Picconi, Alessandro Tozzi, and Massimiliano Di Filippo. Dopamine-mediated regulation of corticostriatal synaptic plasticity. Trends in neurosciences, 30(5):211–219, 2007.
Athira Chandrasekharan, Harshit Kumar, Bikas C Das, Saptarshi Bej, et al. Supervised spike agreement dependent plasticity for fast local learning in spiking neural networks. arXiv, 2026.
Luke Darlow, Ciaran Regan, Sebastian Risi, Jeffrey Seely, and Llion Jones. Continuous thought machines. arXiv, 2025.
Rousslan Fernand Julien Dossa, Shengyi Huang, Santiago Ontañón, and Takashi Matsubara. An empirical investigation of early stopping optimizations in proximal policy optimization. IEEE access, 9:117981–117992, 2021.
Yan Duan, John Schulman, Xi Chen, Peter L Bartlett, Ilya Sutskever, and Pieter Abbeel. RL: Fast reinforcement learning via slow reinforcement learning. arXiv, 2016.
Yu Duan, Zhongfan Jia, Qian Li, Yi Zhong, and Kaisheng Ma. Hebbian and gradient-based plasticity enables robust memory and rapid learning in rnns. arXiv, 2023.
Hafsteinn Einarsson, Marcelo M Gauy, Johannes Lengler, and Angelika Steger. A model of fast hebbian spike latency normalization. Frontiers in computational neuroscience, 11:33, 2017.
Chelsea Finn, Pieter Abbeel, and Sergey Levine. Model-agnostic meta-learning for fast adaptation of deep networks. In International conference on machine learning, pp. 1126–1135. PMLR, 2017.
Robert M French. Catastrophic forgetting in connectionist networks. Trends in cognitive sciences, 3(4): 128–135, 1999.
Felix A Gers, Jürgen Schmidhuber, and Fred Cummins. Learning to forget: Continual prediction with lstm. Neural computation, 12(10):2451–2471, 2000.
John C Gower. Generalized procrustes analysis. Psychometrika, 40(1):33–51, 1975.
David Ha, Andrew Dai, and Quoc V Le. Hypernetworks. arXiv, 2016.
Donald Olding Hebb. The organization of behavior: A neuropsychological theory. Psychology press, 2005.
Geoffrey E Hinton and David C Plaut. Using fast weights to deblur old memories. In Proceedings of the ninth annual conference of the Cognitive Science Society, pp. 177–186, 1987.
Sepp Hochreiter and Jürgen Schmidhuber. Long short-term memory. Neural computation, 9(8):1735–1780, 1997.
Timothy Hospedales, Antreas Antoniou, Paul Micaelli, and Amos Storkey. Meta-learning in neural networks: A survey. IEEE transactions on pattern analysis and machine intelligence, 44(9):5149–5169, 2021.
Kazuki Irie and Samuel J Gershman. Fast weight programming and linear transformers: from machine learning to neurobiology. arXiv, 2025.
Kazuki Irie, Róbert Csordás, and Jürgen Schmidhuber. Metalearning continual learning algorithms. Transactions on Machine Learning Research, 2025.
Michael J Jutras and Elizabeth A Buffalo. Synchronous neural activity and memory formation. Current opinion in neurobiology, 20(2):150–155, 2010.
Louis Kirsch and Jürgen Schmidhuber. Meta learning backpropagation and improving it. Advances in Neural Information Processing Systems, 34:14122–14134, 2021.
Alex Krizhevsky, Geoffrey Hinton, et al. Learning multiple layers of features from tiny images. Technical report, University of Toronto, 2009.
Yann LeCun, Léon Bottou, Yoshua Bengio, and Patrick Haffner. Gradient-based learning applied to document recognition. Proceedings of the IEEE, 86(11):2278–2324, 1998.
Binggwong Leung, Worasuchad Haomachai, Joachim Winther Pedersen, Sebastian Risi, and Poramate Manoonpong. Bio-inspired plastic neural networks for zero-shot out-of-distribution generalization in complex animal-inspired robots. arXiv, 2025.
David Lopez-Paz and Marc’Aurelio Ranzato. Gradient episodic memory for continual learning. Advances in neural information processing systems, 30, 2017.
Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. arXiv, 2017.
Stephen J Martin, Paul D Grimwood, and Richard GM Morris. Synaptic plasticity and memory: an evaluation of the hypothesis. Annual review of neuroscience, 23(1):649–711, 2000.
James L McClelland, Bruce L McNaughton, and Randall C O’Reilly. Why there are complementary learning systems in the hippocampus and neocortex: insights from the successes and failures of connectionist models of learning and memory. Psychological review, 102(3):419, 1995.
Michael McCloskey and Neal J Cohen. Catastrophic interference in connectionist networks: The sequential learning problem. In Psychology of learning and motivation, volume 24, pp. 109–165. Elsevier, 1989.
Thomas Miconi. Learning to learn with backpropagation of hebbian plasticity. arXiv, 2016.
Thomas Miconi, Kenneth Stanley, and Jeff Clune. Differentiable plasticity: training plastic neural networks with backpropagation. In International Conference on Machine Learning, pp. 3559–3568. PMLR, 2018.
Thomas Miconi, Aditya Rawal, Jeff Clune, and Kenneth O Stanley. Backpropamine: training self-modifying neural networks with differentiable neuromodulated plasticity. arXiv, 2020.
Volodymyr Mnih, Adria Puigdomenech Badia, Mehdi Mirza, Alex Graves, Timothy Lillicrap, Tim Harley, David Silver, and Koray Kavukcuoglu. Asynchronous methods for deep reinforcement learning. In International conference on machine learning, pp. 1928–1937. PMLR, 2016.
Tsendsuren Munkhdalai and Adam Trischler. Metalearning with hebbian fast weights. arXiv, 2018.
Elias Najarro and Sebastian Risi. Meta-learning through hebbian plasticity in random networks. Advances in Neural Information Processing Systems, 33:20719–20731, 2020.
Erkki Oja. Simplified neuron model as a principal component analyzer. Journal of mathematical biology, 15(3):267–273, 1982.
Alex Ororbia, Ankur Mali, C Lee Giles, and Daniel Kifer. Lifelong neural predictive coding: Learning cumulatively online without forgetting. Advances in Neural Information Processing Systems, 35:5867–5881, 2022.
Alexander Ororbia, Ankur Mali, C Lee Giles, and Daniel Kifer. Continual learning of recurrent neural networks by locally aligning distributed representations. IEEE transactions on neural networks and learning systems, 31(10):4267–4278, 2020.
Antonin Raffin, Ashley Hill, Adam Gleave, Anssi Kanervisto, Maximilian Ernestus, and Noah Dormann. Stable-baselines3: Reliable reinforcement learning implementations. Journal of machine learning research, 22(268):1–8, 2021.
Roger Ratcliff. Connectionist models of recognition memory: constraints imposed by learning and forgetting functions. Psychological review, 97(2):285, 1990.
Sachin Ravi and Hugo Larochelle. Optimization as a model for few-shot learning. In International conference on learning representations, 2017.
Hector Garcia Rodriguez, Qinghai Guo, and Timoleon Moraitis. Short-term plasticity neurons learning to learn and forget. In International Conference on Machine Learning, pp. 18704–18722. PMLR, 2022.
Olaf Ronneberger, Philipp Fischer, and Thomas Brox. U-net: Convolutional networks for biomedical image segmentation. In International Conference on Medical image computing and computer-assisted intervention, pp. 234–241. Springer, 2015.
Shreya Saxena and John P Cunningham. Towards the neural population doctrine. Current opinion in neurobiology, 55:103–111, 2019.
Imanol Schlag, Kazuki Irie, and Jürgen Schmidhuber. Linear transformers are secretly fast weight programmers. In International conference on machine learning, pp. 9355–9366. PMLR, 2021.
Jürgen Schmidhuber. Learning to control fast-weight memories: An alternative to dynamic recurrent networks. Neural Computation, 4(1):131–139, 1992.
Jürgen Schmidhuber, Jieyu Zhao, and Marco Wiering. Shifting inductive bias with success-story algorithm, adaptive levin search, and incremental self-improvement. Machine Learning, 28(1):105–130, 1997.
John Schulman, Philipp Moritz, Sergey Levine, Michael Jordan, and Pieter Abbeel. High-dimensional continuous control using generalized advantage estimation. arXiv, 2015.
John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. arXiv, 2017.
Wolfram Schultz, Peter Dayan, and P Read Montague. A neural substrate of prediction and reward. Science, 275(5306):1593–1599, 1997.
Jake Snell, Kevin Swersky, and Richard Zemel. Prototypical networks for few-shot learning. Advances in neural information processing systems, 30, 2017.
Andrea Soltoggio, Kenneth O Stanley, and Sebastian Risi. Born to learn: the inspiration, progress, and future of evolved plastic artificial neural networks. Neural Networks, 108:48–67, 2018.
Corentin Tallec and Yann Ollivier. Can recurrent neural networks warp time? In International Conference on Learning Representations, 2018.
Yuchen Tian, Assel Kembay, Nhan Duy Truong, Jason K Eshraghian, and Omid Kavehei. Beyond pairwise plasticity: Group-level spike synchrony facilitates efficient learning in spiking neural networks. arXiv, 2025.
Hado P Van Hasselt, Arthur Guez, Matteo Hessel, Volodymyr Mnih, and David Silver. Learning values across many orders of magnitude. Advances in neural information processing systems, 29, 2016.
Oriol Vinyals, Charles Blundell, Timothy Lillicrap, Daan Wierstra, et al. Matching networks for one shot learning. Advances in neural information processing systems, 29, 2016.
Ke Alexander Wang, Jiaxin Shi, and Emily B Fox. Test-time regression: a unifying framework for designing sequence models with associative memory. arXiv preprint arXiv:2501.12352, 2025.
Valérie Wespatat, Frank Tennigkeit, and Wolf Singer. Phase sensitivity of synaptic modifications in oscillating cells of rat visual cortex. Journal of Neuroscience, 24(41):9067–9075, 2004.
Bernard Widrow and Marcian E. Hoff. Adaptive switching circuits. In James A. Anderson and Edward Rosenfeld (eds.), Neurocomputing: Foundations of Research, volume 1, pp. 123–134. MIT Press, Cambridge, MA, 1988.
Sho Yagishita, Akiko Hayashi-Takagi, Graham CR Ellis-Davies, Hidetoshi Urakubo, Shin Ishii, and Haruo Kasai. A critical time window for dopamine actions on the structural plasticity of dendritic spines. Science, 345(6204):1616–1620, 2014.
Songlin Yang, Jan Kautz, and Ali Hatamizadeh. Gated delta networks: Improving mamba2 with delta rule. In International Conference on Learning Representations, volume 2025, pp. 29687–29707, 2025.
A Architecture and Ablation Diagrams
We provide architectural diagrams for the Plastic CTM and plastic recurrent baselines in Appendix Figure A1, and a more detailed overview of the ablated Plastic CTM variants in Appendix Figure A2.
B Hyperparameter Tuning
For the copy, one-shot image classification, few-shot regression, and Sequential Split-MNIST tasks, we tune learning rate and dropout independently per architecture (and per task condition, where applicable) using Optuna
For recurrent architectures, the default search ranges are learning rate in
For MAML and ProtoNet in one-shot image classification, the outer learning rate is sampled logarithmically from .
The maze exploration task does not use this Optuna protocol. It uses a fixed learning rate of for all architectures, following Stable-Baselines3


The selected hyperparameters for each task are reported in the corresponding appendix section below.
C Experimental Details: Copy Task
C.1 Task Configuration and Architecture
We evaluate all models on a sequential copy task designed to test memorization and recall capabilities. The model receives a sequence of
We conduct experiments varying two key parameters. First, we vary the delay
C.2 Model Configurations and Hyperparameters
All models are parameter-matched to approximately 12k parameters by adjusting their hidden dimensions
For each distinct sweep condition, we perform a separate hyperparameter search following the protocol described in Appendix Section B. The
Table A1: Model configurations for copy task experiments.
| MODEL | PARAMS | |
|---|---|---|
| RNN | 98 | 12,162 |
| PLASTIC RNN | 72 | 12,251 |
| PLASTIC RNN (OJA) | 71 | 11,939 |
| LSTM | 46 | 12,246 |
| PLASTIC LSTM (NO MOD.) | 42 | 12,275 |
| PLASTIC LSTM (SIMPLE MOD.) | 41 | 11,901 |
| PLASTIC LSTM (RETRO. MOD.) | 41 | 11,902 |
| HYPERLSTM | 32 | 12,170 |
| STPN | 56 | 12,218 |
| FW | 99 | 12,385 |
| GDN | 67 | 11,977 |
| CTM | 65 | 12,230 |
| PLASTIC CTM (NO NLMS) | 53 | 12,625 |
| PLASTIC CTM (HEBBIAN) | 55 | 12,276 |
| PLASTIC CTM (OURS) | 49 | 12,359 |
C.3 Training and Evaluation
All models were trained for 1000 epochs with a batch size of 64 using the AdamW optimizer
Table A2: Optimal hyperparameters for delay sweep: delay
| Model | Delay = 0 | Delay = 20 | ||
|---|---|---|---|---|
| Dropout | LR | Dropout | LR | |
| RNN | 0.005 | 0.005 | ||
| Plastic RNN | 0.002 | 0.002 | ||
| Plastic RNN (Oja) | 0.003 | 0.004 | ||
| LSTM | 0.048 | |||
| Plastic LSTM (No Mod.) | 0.002 | |||
| Plastic LSTM (Simple Mod.) | 0.009 | |||
| Plastic LSTM (Retro. Mod.) | 0.007 | 0.004 | ||
| HyperLSTM | 0.034 | 0.292 | ||
| STPN | 0.014 | |||
| FW | 0.090 | 0.148 | ||
| GDN | 0.173 | 0.269 | ||
| CTM | 0.004 | 0.011 | ||
| Plastic CTM (No NLMs) | 0.002 | 0.205 | ||
| Plastic CTM (Hebbian) | 0.007 | 0.001 | ||
| Plastic CTM (Ours) | 0.008 | 0.005 |
Table A3: Optimal hyperparameters for delay sweep: delay
| Model | Delay = 40 | Delay = 60 | ||
|---|---|---|---|---|
| Dropout | LR | Dropout | LR | |
| RNN | 0.005 | 0.029 | ||
| Plastic RNN | 0.140 | 0.095 | ||
| Plastic RNN (Oja) | 0.006 | 0.003 | ||
| LSTM | 0.051 | 0.041 | ||
| Plastic LSTM (No Mod.) | 0.002 | 0.002 | ||
| Plastic LSTM (Simple Mod.) | 0.001 | 0.015 | ||
| Plastic LSTM (Retro. Mod.) | 0.006 | 0.002 | ||
| HyperLSTM | 0.234 | 0.471 | ||
| STPN | 0.005 | 0.005 | ||
| FW | 0.314 | 0.082 | ||
| GDN | 0.048 | 0.277 | ||
| CTM | 0.003 | 0.054 | ||
| Plastic CTM (No NLMs) | 0.042 | 0.206 | ||
| Plastic CTM (Hebbian) | 0.005 | 0.026 | ||
| Plastic CTM (Ours) | 0.004 | 0.091 |
Table A4: Optimal hyperparameters for sequence length sweep: length
| Model | Seq. Len. = 5 | Seq. Len. = 10 | Seq. Len. = 20 | |||
|---|---|---|---|---|---|---|
| Dropout | LR | Dropout | LR | Dropout | LR | |
| RNN | 0.014 | 0.005 | 0.360 | |||
| Plastic RNN | 0.003 | 0.002 | 0.001 | |||
| Plastic RNN (Oja) | 0.020 | 0.003 | 0.005 | |||
| LSTM | 0.045 | |||||
| Plastic LSTM (No Mod.) | 0.004 | |||||
| Plastic LSTM (Simple Mod.) | 0.004 | 0.009 | 0.018 | |||
| Plastic LSTM (Retro. Mod.) | 0.001 | 0.007 | 0.009 | |||
| HyperLSTM | 0.372 | 0.034 | 0.119 | |||
| STPN | 0.014 | 0.003 | ||||
| FW | 0.062 | 0.090 | 0.462 | |||
| GDN | 0.003 | 0.173 | 0.170 | |||
| CTM | 0.004 | 0.007 | ||||
| Plastic CTM (No NLMs) | 0.106 | 0.002 | 0.040 | |||
| Plastic CTM (Hebbian) | 0.002 | 0.007 | 0.002 | |||
| Plastic CTM (Ours) | 0.008 | 0.002 |
Table A5: Optimal hyperparameters for sequence length sweep: length
| Model | Seq. Len. = 30 | Seq. Len. = 40 | ||
|---|---|---|---|---|
| Dropout | LR | Dropout | LR | |
| RNN | 0.279 | 0.200 | ||
| Plastic RNN | 0.004 | 0.012 | ||
| Plastic RNN (Oja) | 0.004 | 0.002 | ||
| LSTM | 0.049 | 0.016 | ||
| Plastic LSTM (No Mod.) | 0.020 | 0.009 | ||
| Plastic LSTM (Simple Mod.) | 0.237 | 0.044 | ||
| Plastic LSTM (Retro. Mod.) | 0.001 | 0.253 | ||
| HyperLSTM | 0.022 | 0.065 | ||
| STPN | 0.003 | 0.002 | ||
| FW | 0.306 | 0.013 | ||
| GDN | 0.048 | 0.210 | ||
| CTM | 0.056 | 0.015 | ||
| Plastic CTM (No NLMs) | 0.127 | |||
| Plastic CTM (Hebbian) | 0.014 | 0.013 | ||
| Plastic CTM (Ours) | 0.017 | 0.013 |
Table A6: FW-specific hyperparameters per condition.
| Sweep | Condition | Steps | ||
|---|---|---|---|---|
| Delay | 0 | 0.948 | 0.210 | 2 |
| Delay | 20 | 0.887 | 0.328 | 1 |
| Delay | 40 | 0.983 | 0.113 | 1 |
| Delay | 60 | 0.952 | 0.678 | 1 |
| Seq. Len. | 5 | 0.972 | 0.803 | 1 |
| Seq. Len. | 10 | 0.948 | 0.210 | 2 |
| Seq. Len. | 20 | 0.911 | 0.843 | 1 |
| Seq. Len. | 30 | 0.874 | 0.216 | 1 |
| Seq. Len. | 40 | 0.958 | 0.536 | 1 |
predicted and target vectors during the recall phase on independently sampled test sequences. We report the mean final test loss across the five seeds, with error bars indicating the standard deviation across seeds.
D Experimental Details: One-Shot Image Classification
D.1 Task Configuration and Architecture
We evaluate all models on 5-way 1-shot classification using CIFAR-100 and MiniImageNet. Following the protocol established in
D.2 Model Configurations and Hyperparameters
The recurrent models are parameter-matched by adjusting their hidden dimensions
Table A7: Model dimensions and hyperparameters for one-shot classification experiments. The recurrent models use with identical encoders and are parameter-matched to approximately 520k parameters for CIFAR-100 and 860k parameters for MiniImageNet. For MAML and ProtoNet, the width column lists the CIFAR-100/MiniImageNet encoder widths. MAML uses inner learning rate 0.0195 with 5 steps on CIFAR-100 and 0.00654 with 3 steps on MiniImageNet. ProtoNet uses temperature 8.064 and 7.427, respectively, with weight decay . FW uses additional hyperparameters: , , steps=2 (CIFAR-100); , , steps=1 (MiniImageNet).
| Model | CIFAR-100 Params | CIFAR-100 LR | CIFAR-100 Dropout | MiniImageNet Params | MiniImageNet LR | MiniImageNet Dropout | |
|---|---|---|---|---|---|---|---|
| MAML | 137/175 | 515k | — | 856k | — | ||
| PROTONET | 137/178 | 512k | — | 862k | — | ||
| RNN | 464 | 518k | 862k | 0.106 | |||
| PLASTIC RNN | 350 | 517k | 0.019 | 861k | 0.069 | ||
| PLASTIC RNN (OJA) | 351 | 519k | 0.004 | 863k | 0.015 | ||
| LSTM | 188 | 519k | 0.290 | 863k | 0.462 | ||
| PLASTIC LSTM (NO MOD.) | 175 | 517k | 0.252 | 861k | 0.413 | ||
| PLASTIC LSTM (SIMPLE MOD.) | 175 | 518k | 0.258 | 862k | 0.467 | ||
| PLASTIC LSTM (RETRO. MOD.) | 175 | 518k | 0.394 | 862k | 0.420 | ||
| HYPERLSTM | 110 | 521k | 0.440 | 865k | 0.318 | ||
| STPN | 230 | 517k | 0.070 | 861k | 0.262 | ||
| FW | 464 | 518k | 0.168 | 862k | 0.007 | ||
| GDN | 225 | 519k | 0.145 | 863k | 0.099 | ||
| CTM | 340 | 512k | 0.006 | 856k | 0.057 | ||
| PLASTIC CTM (NO NLMS) | 260 | 519k | 0.145 | 863k | 0.387 | ||
| PLASTIC CTM (HEBBIAN) | 290 | 518k | 0.163 | 862k | 0.189 | ||
| PLASTIC CTM (OURS) | 256 | 517k | 0.246 | 861k | 0.384 |
D.3 Training and Evaluation
All models were trained for 40 epochs using the Adam optimizer
D.4 Fast Weight Magnitude Analysis
For the CIFAR-100 trajectories in the left panel of Figure 4, we load the final checkpoint from each of five seeds and sample 64 held-out test episodes per seed. Each recurrent and fast weight state is reset at the beginning of an episode and then evolves without interruption across the five labeled support images and five unlabeled query images. We record the state immediately after recurrent update
The definition of
whose fast weight state is not an additive component of an effective matrix
For the full Plastic CTM and its No NLMs variant, the rescaling
E Experimental Details: Few-Shot Regression
E.1 Task Configuration
We evaluate in-context function learning on a few-shot regression task adapted from the meta-learning literature
- Linear:
f of x equals w transpose x plus b withw in R n andb in R sampled from a standard normal distribution. - MLP: a small two-hidden-layer MLP with random Gaussian weights and a ReLU non-linearity, mapping
x to a scalar.
The model is presented with
E.2 Model Configurations and Hyperparameters
All models share an identical input/output interface. At each support step, the model receives the concatenation , where , and at query steps the target slot is masked. The recurrent network outputs a scalar prediction at each query step. Hidden dimensions are tuned to parameter-match the architectures to approximately 150k parameters, and learning rate is tuned per architecture and per using the Optuna protocol described in Appendix Section B. Appendix Tables A8 and A9 report the resulting hyperparameters for the Linear and MLP function families respectively. For every CTM variant that retains NLMs, including the Hebbian ablation, we initialize the NLM weights so that each NLM begins training as the identity mapping, where the most recent pre-activation becomes the post-activation. We found this could improve performance for CTM variants in this task.
Table A8: Model dimensions and hyperparameters for the few-shot regression task on the Linear function family (
| Model | Params | LR | Params | LR | |
| RNN | 270 | 151,201 | 151,201 | ||
| Plastic RNN | 220 | 149,602 | 149,602 | ||
| Plastic RNN (Oja) | 222 | 152,294 | 152,294 | ||
| LSTM | 135 | 151,201 | 151,201 | ||
| Plastic LSTM (No Mod.) | 128 | 152,578 | 152,578 | ||
| Plastic LSTM (Simple Mod.) | 128 | 152,962 | 152,962 | ||
| Plastic LSTM (Retro. Mod.) | 128 | 152,963 | 152,963 | ||
| HyperLSTM | 72 | 150,529 | 150,529 | ||
| STPN | 156 | 149,137 | 149,137 | ||
| FW | 269 | 150,103 | 150,103 | ||
| GDN | 156 | 150,439 | 150,439 | ||
| CTM | 200 | 142,402 | 148,402 | ||
| Plastic CTM (No NLMs) | 220 | 150,042 | 150,042 | ||
| Plastic CTM (Hebbian) | 177 | 149,762 | 150,452 | ||
| Plastic CTM (Ours) | 160 | 145,602 | 150,402 |
Table A9: Model dimensions and hyperparameters for the few-shot regression task on the MLP function family (
| Model | Params | LR | Params | LR | |
| RNN | 270 | 149,581 | 149,581 | ||
| Plastic RNN | 220 | 148,282 | 148,282 | ||
| Plastic RNN (Oja) | 223 | 152,311 | 152,311 | ||
| LSTM | 135 | 150,391 | 150,391 | ||
| Plastic LSTM (No Mod.) | 128 | 151,810 | 151,810 | ||
| Plastic LSTM (Simple Mod.) | 128 | 152,194 | 152,194 | ||
| Plastic LSTM (Retro. Mod.) | 128 | 152,195 | 152,195 | ||
| HyperLSTM | 72 | 150,097 | 150,097 | ||
| STPN | 156 | 150,093 | 150,093 | ||
| FW | 269 | 148,489 | 148,489 | ||
| GDN | 156 | 149,503 | 149,503 | ||
| CTM | 200 | 141,202 | 147,202 | ||
| Plastic CTM (No NLMs) | 220 | 150,061 | 150,061 | ||
| Plastic CTM (Hebbian) | 177 | 150,232 | 150,946 | ||
| Plastic CTM (Ours) | 160 | 144,642 | 149,442 |
E.3 Training and Evaluation
Models are trained with the AdamW optimizer on the MSE between the predicted and true query outputs. We apply gradient clipping with maximum norm 5. Test loss is reported as the MSE on held-out episodes,

averaged over 5 random seeds with 95% confidence intervals computed across seeds using two-sided Student’s
F Experimental Details: Maze Exploration
F.1 Task Description and Environment
We evaluate all models on a maze exploration task following the protocol established in
At the start of each episode, both the agent and a goal location are randomly positioned in empty cells of the maze. The agent must navigate to the goal using four discrete actions: up, down, left, and right. Upon reaching the goal, the agent receives a reward of and is immediately respawned at a new random location within the same episode, while the goal position remains fixed. If the agent attempts to move into a wall, it receives a penalty of and remains in its current position. Each episode lasts 200 timesteps, during which the agent can potentially reach the goal multiple times.
This task design creates a meta-RL challenge where agents must rapidly adapt their behavior once they discover the goal location, transitioning from exploratory to exploitative navigation. Because the goal position varies across episodes but remains fixed within an episode, successful performance requires both learning general navigation strategies through the network’s fixed parameters and rapid adaptation to memorize the goal location through plasticity mechanisms. The separation of fast plasticity-driven adaptation (remembering where the goal is) and slower parameter learning (learning how to navigate) is thought to make this an effective test of plastic networks’ ability to perform temporal credit assignment in partially observable environments.
F.2 RLR L squared Formulation
Following
At the start of each episode, the previous action is initialized to a zero vector and the previous reward is initialized to 0. After each step, the observation is augmented with the action taken and reward received at that step before being fed to the network at the next timestep. This allows the recurrent network to learn to associate state-action pairs with outcomes and adjust its policy accordingly within a single episode, without requiring explicit weight updates during inference.
F.3 Model Configurations and Hyperparameters
All models are parameter-matched to approximately 12.3k total parameters by adjusting their hidden dimensions
Table A10: Model configurations for maze exploration experiments.
| MODEL | PARAMS | |
|---|---|---|
| RNN | 100 | 12,305 |
| PLASTIC RNN | 73 | 12,343 |
| PLASTIC RNN (OJA) | 73 | 12,343 |
| LSTM | 46 | 12,379 |
| PLASTIC LSTM (NO MOD.) | 42 | 12,396 |
| PLASTIC LSTM (SIMPLE MOD.) | 42 | 12,522 |
| PLASTIC LSTM (RETRO. MOD.) | 41 | 12,020 |
| HYPERLSTM | 30 | 12,251 |
| STPN | 56 | 12,269 |
| FW | 100 | 12,305 |
| GDN | 67 | 12,261 |
| CTM | 66 | 12,348 |
| PLASTIC CTM (OURS) | 49 | 12,207 |
The model architecture consists of the recurrent network followed by two separate linear heads: an actor head that outputs logits over the 4 discrete actions, and a critic head that outputs a scalar value estimate. Both heads are initialized with orthogonal weight matrices and zero biases. Actions are sampled from a categorical distribution parameterized by the actor logits.
F.4 Training with Proximal Policy Optimization
We train all models using PPO
The collected trajectories are then used to update the model parameters through 4 PPO epochs. During each PPO epoch, the entire batch of 512 trajectories is processed simultaneously. We use truncated backpropagation-through-time, splitting each 200-step episode into subtrajectories of length 20 and backpropagating within each, to enable the recurrent networks to learn long-term dependencies and credit assignment. The policy loss uses the PPO clipped surrogate objective with clip range
All models are trained for 10,000 epochs using the AdamW optimizer with learning rate
3 independent runs with different random seeds and report the mean performance with standard deviation across seeds.
G Experimental Details: Sequential Split-MNIST
G.1 Task Configuration and Architecture
We evaluate continual learning using a modified version of the Split-MNIST task from
Each episode consists of 25 images presented sequentially: 5 Set A exemplars (one per class) with labels provided, followed by 5 Set A queries (immediate learning test) with labels withheld, then 5 Set B exemplars (one per class) with labels provided, followed by 5 Set A queries (backward transfer test) with labels withheld, and finally 5 Set B queries (Set B learning test) with labels withheld. During training phases, the model receives image-label pairs. During query phases, a special “unknown label” token is provided and the model must predict the correct label based on associations formed in-context. Exemplars and queries are sampled from separate data splits to prevent leakage.
All images are processed through a shared 4-layer convolutional encoder before being fed to the recurrent networks. This encoder follows the same ProtoNet architecture
The loss is the sum of three cross-entropy terms computed at the query positions
where each term averages over the 5 queries in its respective phase. This training objective aims to ensure that the model can do immediate learning on Set A, then learn Set B without forgetting Set A.
G.2 Model Configurations and Hyperparameters
All models are parameter-matched to approximately 800k trainable parameters by adjusting their hidden dimensions
G.3 Training and Evaluation
All models were trained for 1000 epochs with a batch size of 64 using the AdamW optimizer. We applied gradient clipping with a maximum norm of 10 and trained five independent seeds per architecture. We ran architecture-specific learning-rate and dropout searches using the protocol in Appendix Section B; the FW search additionally tuned ,
We report Set A Acc. after observing the Set A exemplars, and Set A Ret. and Set B Acc. after observing the Set B exemplars in Table 4.
Forward and backward transfer. We follow the definitions of
Table A11: Model configurations used for the final Sequential Split-MNIST evaluations. FW uses
| Model | Params | Learning Rate | Dropout | |
|---|---|---|---|---|
| RNN | 666 | 799,955 | 0.0226 | |
| Plastic RNN | 494 | 798,892 | 0.0381 | |
| Plastic RNN (Oja) | 494 | 798,892 | 0.0847 | |
| LSTM | 283 | 798,264 | 0.1361 | |
| Plastic LSTM (No Mod.) | 262 | 799,016 | 0.1570 | |
| Plastic LSTM (Simple Mod.) | 262 | 799,802 | 0.0522 | |
| Plastic LSTM (Retro. Mod.) | 262 | 799,803 | 0.0180 | |
| HyperLSTM | 204 | 797,889 | 0.0399 | |
| STPN | 343 | 799,367 | 0.0133 | |
| FW | 666 | 799,955 | 0.4069 | |
| GDN | 361 | 798,929 | 0.0786 | |
| CTM | 487 | 798,887 | 0.0130 | |
| Plastic CTM (No NLMs) | 361 | 796,859 | 0.0152 | |
| Plastic CTM (Hebbian) | 407 | 797,736 | 0.1721 | |
| Plastic CTM (Ours) | 358 | 798,176 | 0.0017 |
are
Thus, BWT compares final performance on each earlier task with performance immediately after that task was learned, whereas FWT compares performance on each future task immediately before it is learned with its pre-learning baseline. Positive BWT means that later learning improved an earlier task, negative BWT measures forgetting, and zero BWT means exact retention. Positive FWT means that earlier learning improved performance on an unseen future task, while negative FWT indicates interference.
Our episodes contain two tasks, Set A followed by Set B. During evaluation, the trained parameters are fixed, so “learning” a task refers to the change in the model’s recurrent and fast weight state after processing that task’s labeled exemplars. The corresponding accuracy matrix is
The reference defines
We report both differences in percentage points. For each checkpoint, every term is evaluated on the same query examples over 1,280 held-out episodes. Each diagnostic starts from a copy of the relevant recurrent state and effective weight matrix
FWT is close to zero for all architectures, as expected, because the Set B label mapping is sampled independently of Set A and cannot be inferred before observing any Set B exemplars. BWT is also close to zero, showing that the models retain the Set A mapping after observing Set B.
G.4 Disabling Plasticity
In Section 5.7, we disable plasticity in trained plastic RNNs at inference time and measure the resulting relative accuracy change. For the Plastic RNN and Plastic LSTM variants, we set
For one-shot classification, we evaluate all five CIFAR-100 and MiniImageNet checkpoint seeds on 256 held-out episodes per seed, and report the first-query accuracy. For Sequential Split-MNIST, we evaluate all five checkpoint seeds on 256 held-out episodes per seed. In both task families, the enabled and disabled conditions use exactly the same materialized episodes. Results pool correct predictions and totals across checkpoint seeds and episodes before computing
As shown in Figure 5, the Plastic RNN variants, FW, STPN, and Plastic CTM variants depend strongly on their plastic components. The Plastic LSTM variants instead show little dependence on plasticity for one-shot classification or immediate Set A accuracy, but use it to retain Set A after learning Set B.
G.5 Plastic-Weight Magnitude Analysis
For the Sequential Split-MNIST trajectories in the right panel of Figure 4, we evaluate all five checkpoint seeds on 64 held-out episodes per checkpoint. The recurrent and plastic states are reset only at the beginning of each episode and evolve continuously through Set A support, Set A query, Set B support, Set A recall, and Set B query. We record the post-update plastic component at each of the 25 iterations and report the mean and population standard deviation over 320 checkpoint–episode trajectories. The sampled immediate, backward, and forward query accuracies are checked against the test accuracies saved with each run.
We use the same architecture-specific decompositions described in Appendix Section D.4. In particular, the Plastic LSTM ratio uses the full four-gate recurrent matrix in the denominator even though only the candidate-cell block is plastic; the Plastic RNN and Hebbian Plastic CTM use their scaled Hebbian traces; STPN uses its short-term synaptic component; and the full Plastic CTM and its No NLMs variant use their rescaled synchronization matrices. Architectures without an additive
The phase averages make the distinct dynamics visible. The Plastic LSTM without neuromodulation increases from
H Computational Overhead
Appendix Table A12 reports forward-pass time, forward-plus-backward-pass time, and per-step auxiliary state memory for parameter-matched recurrent cells, as measured on an NVIDIA H100 GPU. All timings use batch size 64 and model configurations with approximately 330–347k trainable parameters. Adding synchronization-based plasticity to the CTM increases forward-pass time by approximately 34% and increases the full training-step time to approximately 1.9
Table A12: Computational overhead of plastic and non-plastic RNNs on an NVIDIA H100 GPU. Forward-pass time (Fwd), forward-plus-backward-pass time (Fwd+Bwd), and per-step auxiliary state memory (State) are reported. The state memory of the Plastic CTM is comparable to other plastic architectures such as the STPN, FW, and Plastic RNN.
| Model | Fwd (ms) | Fwd+Bwd (ms) | State (KB) |
|---|---|---|---|
| RNN | 0.11 | 0.41 | 1.8 |
| LSTM | 0.22 | 0.78 | 1.5 |
| Plastic RNN | 0.29 | 0.62 | 479.9 |
| Plastic RNN (Oja) | 0.33 | 0.62 | 479.9 |
| Plastic LSTM (Simple Mod.) | 0.43 | 1.18 | 121.0 |
| Plastic LSTM (No Mod.) | 0.37 | 1.08 | 121.0 |
| Plastic LSTM (Retro. Mod.) | 0.44 | 1.30 | 240.6 |
| HyperLSTM | 0.78 | 2.63 | 1.4 |
| STPN | 0.30 | 0.99 | 437.5 |
| FW | 0.38 | 0.78 | 842.8 |
| GDN | 0.77 | 2.48 | 65.6 |
| CTM | 0.59 | 1.91 | 18.6 |
| Plastic CTM (No NLMs) | 0.63 | 3.43 | 793.2 |
| Plastic CTM (Hebbian) | 0.73 | 2.12 | 344.4 |
| Plastic CTM (Ours) | 0.80 | 3.54 | 779.0 |
To relate these costs to task performance, Figure 7 compares recurrent-cell latency with one-shot classification accuracy. We time complete stateful 10-step episodes, corresponding to five support and five query embeddings, using the same parameter-matched cells as in Appendix Table A12. The shared convolutional image encoder is excluded to isolate differences between the recurrent architectures. Each timing is averaged over five profiling runs, with 20 warmup episodes followed by 100 measured episodes per run. All architectures are evaluated through the same step-wise recurrent interface. In particular, GDN is run recurrently rather than with a parallel or chunkwise sequence implementation. Its timings therefore reflect online inference in this setting, rather than the maximum sequence-level throughput available during training.
The Plastic CTM takes
Latency and state memory also capture different aspects of the overhead. The HyperLSTM and GDN have relatively small recurrent states but among the longest episode times, whereas FW is comparatively fast but maintains the largest auxiliary state. The Plastic CTM exhibits both higher latency and an


I Additional Experiment: CIFAR-10 Image Classification
To verify that the Plastic CTM retains the supervised learning capabilities of the original CTM, we evaluate it on CIFAR-10 image classification following the protocol of
Table A13: CIFAR-10 test accuracy.
| MODEL | TEST ACC. |
|---|---|
| CTM (DARLOW ET AL., 2025) | |
| PLASTIC CTM (OURS) |
J Additional Experiment: Dynamic Rescaling of
For the Plastic CTM’s effective-weight decomposition in Equation (1), we use the time-varying coefficient
Footnotes
-
The specific form of may vary. For example, it could be a multi-layer perceptron (MLP), a U-Net
Ronneberger et al. (2015) Ronneberger and colleagues , or as we use in our experiments, a transformation of the form with and a normalized linear transform (see Equation (21)). ↩ -
Following the findings of
Rodriguez et al. (2022) Rodriguez and colleagues , in our implementation we normalize by its Frobenius norm to stabilize training. ↩