Published in Transactions on Machine Learning Research (11/2026)

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

$^1$Sakana AI $^2$University of Tsukuba

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 (Martin et al., 2000)as described by Martin and colleagues in 2000. Achieving comparable adaptivity is a central challenge in machine learning. In recurrent neural networks (RNNs), such adaptability can arise through hidden-state dynamics, with information accumulated over time shaping subsequent computation. A complementary approach is to allow the weights themselves to change during inference, providing an additional mechanism through which a network can adapt to ongoing experience.

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 (Hinton & Plaut, 1987; Schmidhuber, 1992). Modern instantiations of this idea include Fast Weight Programmers (FWPs), which write to a fast weight memory matrix (Schlag et al., 2021; Irie & Gershman, 2025), and Hypernetworks, which directly generate the weights of another network (Ha et al., 2016). Taking inspiration directly from biological synaptic plasticity, plastic RNNs provide another instantiation of these ideas, updating fast weights through learned plasticity rules driven by ongoing neural activity (Miconi et al., 2018). A major milestone for plastic RNNs was the introduction of differentiable plasticity (Miconi, 2016; Miconi et al., 2018), a mechanism that enables RNNs to learn a Hebbian update rule end-to-end via backpropagation. Follow-up work (Miconi et al., 2020) extended this idea with neuromodulation, allowing the network to learn when to enable plasticity, analogous to neuromodulators such as dopamine in the brain. More recently, Short-Term Plasticity Neurons (STPN; Rodriguez et al., 2022Rodriguez and colleagues, 2022) enabled models to learn per-synapse decay rates, effectively learning to forget.

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 (Wespatat et al., 2004; Jutras & Buffalo, 2010; Einarsson et al., 2017). Building on the Continuous Thought Machine (Darlow et al., 2025), a recently proposed bio-inspired RNN whose representations naturally capture these properties, the Plastic CTM grounds plasticity in its neuron dynamics and synchronization.

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 (MAML; Finn et al., 2017)MAML baseline on one-shot image classification. On meta-RL, we find that the canonical maze benchmark from Miconi et al. (2018)Miconi and colleagues is saturated under modern training algorithms, with all but one of the evaluated architectures achieving near-identical performance. Similarly, in-context episodic continual learning experiments highlight that, while plastic RNNs can learn a continual learning algorithm, performance is almost identical under proper hyperparameter tuning. This suggests that the field requires more discriminating benchmarks to meaningfully evaluate plastic RNNs going forward. Beyond benchmark performance, mechanistic analysis reveals that architectures with similar accuracy can exhibit substantially different dynamics. Some methods rely on their plastic weights for genuine in-context adaptation, while others achieve comparable accuracy without using their plasticity at all, and even among those that do rely on it, the underlying weight and hidden-state dynamics can differ substantially. Our findings point to grounding plasticity in neuron dynamics as a promising direction, and to mechanistic analysis as an essential complement to benchmark accuracy when evaluating plastic RNNs.

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 (Martin et al., 2000). Hebb’s rule, an early theory of this mechanism, proposes that connections strengthen when one neuron repeatedly contributes to firing another, often summarized as “neurons that fire together, wire together” (Hebb, 2005). Other notable Hebbian learning rules, where synaptic updates are a function of pre- and post-synaptic activity, include Oja’s rule (Oja, 1982) for improved stability, and Spike-Timing Dependent Plasticity (STDP), incorporating the relative timing of spikes to modulate synaptic changes (Bi & Poo, 1998).

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 (Calabresi et al., 2007; Yagishita et al., 2014). This allows the brain to filter out irrelevant events while selectively committing important information to memory, and is thought to play a central role in reward-based learning (Schultz et al., 1997). Another example is the influence of population-level dynamics on plasticity. Gamma-band oscillations operate at the same timescale as STDP, and the synchronization between populations of neurons modulates its effect (Wespatat et al., 2004; Jutras & Buffalo, 2010). More recent work has proposed modified STDP rules that incorporate both synchronization and extended temporal firing histories (Einarsson et al., 2017). Neuromodulation has been incorporated into differentiable plastic RNNs through the Backpropamine framework (Miconi et al., 2020), reviewed in Section 3.2. Synchronization-driven plasticity has been explored in spiking neural networks (Tian et al., 2025; Bej et al., 2025; Chandrasekharan et al., 2026) but not in differentiable plastic RNNs. We address this gap in Section 4.

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 (Soltoggio et al., 2018) and robustness to noise (Najarro & Risi, 2020; Leung et al., 2025). A complementary line of work trains the parameters controlling plasticity end-to-end through gradient descent. The dominant approach follows the differentiable plasticity framework of Miconi et al. (2018)Miconi and colleagues, later extended with neuromodulated plasticity (Miconi et al., 2020) and learned short-term plasticity (Rodriguez et al., 2022). In this work, we focus primarily on plastic RNNs that build on the differentiable plasticity formulation of Miconi et al. (2018)Miconi and colleagues. In Section 3, we place

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 (Hinton & Plaut, 1987; Schmidhuber, 1992)as described by Hinton and Plaut, and Schmidhuber. Under this terminology, the changing weights of plastic RNNs can be viewed as fast weights, with the plasticity rule specifying how those weights are updated. Different fast weight methods vary substantially in how these weights are updated and used. Some store recent hidden states in a decaying auto-associative memory and attend to the recent past through inner-loop refinement of the hidden state (Ba et al., 2016a; Munkhdalai & Trischler, 2018). FWPs (Schmidhuber, 1992; Schlag et al., 2021; Irie & Gershman, 2025) instead use a slow network to write key–value associations to a fast weight memory matrix, which can be queried using linear attention. The Hyper Long Short-Term Memory (HyperLSTM; Ha et al., 2016) uses a hypernetwork to generate the main network’s weights conditioned on its current hidden state. Other approaches compute weight updates by differentiating a learned internal loss at inference time (Duan et al., 2023), or model each synapse as a recurrent neural network (Kirsch & Schmidhuber, 2021; Pedersen et al., 2024).

2.4 Meta-Learning

Meta-learning, or “learning to learn”, aims to build agents that rapidly adapt from ongoing experience (Schmidhuber et al., 1997; Bengio et al., 2013), with approaches often categorized into three families (Hospedales et al., 2021). Model-based methods adapt through internal or external memory, for example, LSTMs (Hochreiter & Schmidhuber, 1997; Gers et al., 2000) solving meta-RL tasks entirely through hidden state changes (Wang et al., 2016; Duan et al., 2016). Metric-based methods like ProtoNets (Snell et al., 2017) classify by learned similarity to support samples, and optimization-based methods like MAML (Finn et al., 2017) learn parameter initializations enabling fast adaptation via gradient descent. Plastic neural networks extend the model-based approach by enabling weight adaptation through learned local rules, combining the computational efficiency of internal adaptation with the representational flexibility of modifiable connections.

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. Miconi (2016); Miconi et al. (2018)Miconi and colleagues introduced differentiable plasticity, in which the parameters of a Hebbian update rule are learned end-to-end through gradient descent. The subsequent Backpropamine framework incorporated neuromodulation and extended this approach to LSTMs (Miconi et al., 2020)as described by Miconi and colleagues in 2020. Building on differentiable plasticity, STPNs (Rodriguez et al., 2022)as described by Rodriguez and colleagues learn separate update and decay rates for each synapse.

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 W with a plastic component P t, commonly referred to as a fast weight matrix, giving the effective weights

G t equals W plus P t

Here, G t sub j i is the weight from presynaptic unit i to postsynaptic unit j. Methods differ in how P t is updated over time. In general, plasticity can be applied to non-square weight matrices, such as input-to-hidden mappings. For notational simplicity, however, we consider a d-dimensional activity vector x t in d-dimensional real space and assume W and P t of dimensions d by d, corresponding to a recurrent mapping from a d-dimensional activity space to itself. Suppressing bias terms, a generic update can then be expressed as

x t plus one equals sigma of G t times x t

where sigma denotes the activation function.

3.1 Differentiable Plasticity and Plastic RNNs

Leveraging gradient descent and backpropagation, Miconi et al. (2018)Miconi and colleagues introduced differentiable plasticity, the first method to make Hebbian updates trainable end-to-end. The plastic component P t is updated as an exponential moving average of the outer product of post- and pre-synaptic activity, scaled element-wise by a learned per-synapse plasticity coefficient, yielding the update rule

P t plus one is defined as one minus eta times P t, plus eta times the element-wise product of alpha and the outer product of x t plus one and x t

where alpha is the per-synapse plasticity coefficient matrix, eta is a learned scalar plasticity learning rate, circle dot denotes element-wise multiplication, and u o-times v equals u v transpose denotes the outer product. The fixed weights W, plasticity coefficients alpha, and learning rate eta are all trained end-to-end by gradient descent. Here, the exponential moving average serves to prevent runaway growth, stabilizing training.

The framework also accommodates alternative biologically inspired update rules. For example, the Oja’s rule variant (Oja, 1982) replaces the exponential decay with a self-normalizing term that prevents P t from decaying to zero in the absence of activity while still preventing runaway growth:

where the all-ones vector is the all-ones vector. By choosing different update rules, the differentiable plasticity framework can implement a wide range of synaptic learning mechanisms while remaining end-to-end trainable.

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 eta. Miconi et al. (2020)Miconi and colleagues addressed this with Backpropamine, which replaces eta with a network-computed, time-varying neuromodulatory signal M t in R d derived from the hidden state, allowing the network to decide when plasticity should occur, inspired by dopaminergic systems that gate plasticity by context (Calabresi et al., 2007). Writing the plastic component as P t equals alpha element-wise product P t tilde with P t tilde in R d by d, the “three-factor” Backpropamine update becomes

such that each component M t sub j is broadcast across the presynaptic dimension and modulates all plastic synapses incoming to neuron j. Stabilization of Backpropamine comes from the hard clip between and in Equation (5), as this hard clipping was found to provide equal or better performance than the exponential decay used by Miconi et al. (2018)Miconi and colleagues.

Miconi et al. (2020)Miconi and colleagues proposed two instantiations of this neuromodulation. In simple neuromodulation, M t is a learned projection of the current hidden state, gating plasticity on a per-step basis. In retroactive neuromodulation, the instantaneous outer product is replaced by a decaying eligibility trace E t in R d by d that accumulates recent pre- and post-synaptic correlations. The neuromodulator gates the conversion of this trace into a weight update:

This variant is inspired by evidence that dopamine retroactively gates recent Hebbian activity within a short time window (Yagishita et al., 2014), and gives the network access to extended temporal information when deciding whether to commit a weight change. Miconi et al. (2020)Miconi and colleagues also apply the framework to LSTMs, making only the recurrent weights contributing to the candidate cell update plastic (with x t minus one the previous hidden state and x t the candidate cell update) while leaving the forget, input, and output gates non-plastic.

3.3 Short-Term Plasticity Neurons

STPNs (Rodriguez et al., 2022) extend the differentiable plasticity framework with per-synapse decay rates alongside per-synapse learning rates. The plastic component evolves as

where gamma in R d by d is a per-synapse learning rate matrix and eta in R d by d is a per-synapse decay rate matrix. Unlike Miconi et al. (2018)Miconi and colleagues, which couples learning and forgetting through the scalar eta, STPN learns independent update and decay rates for every synapse. This per-synapse control over learning and forgetting timescales gives STPN the flexibility to retain task-relevant information over different horizons, which the authors show improves performance over prior plastic and non-plastic RNNs on memory and meta-learning tasks (Rodriguez et al., 2022).

Stabilization of the STPN, like Miconi et al. (2018)Miconi and colleagues, comes from the exponential decay of P t in Equation (8). However, in addition, Rodriguez et al. (2022)Rodriguez and colleagues also normalize the effective weight G t, citing that unnormalized weights can destabilize training.

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 (Schmidhuber, 1992; Schlag et al., 2021; Irie & Gershman, 2025), which use a slow network to update and query a matrix-valued fast weight state that acts as a time-varying linear map. However, unlike the plastic RNNs above, FWPs do not generally combine fixed and fast weights into an effective weight matrix G t equals W plus P t. Instead, the

fast weight matrix P t acts as an associative memory that is updated and queried directly. Given an input x t in R d and learned projection matrices W Q, W K, and W V of dimensions d by d, a basic FWP computes the query, key, and value vectors q t, k t, and v t as

and updates and reads from its fast weight matrix as

where O is the all-zeros matrix and y t is the output retrieved from the fast weight memory. The outer product v t tensor product sigma of k t stores an association between the key and value. Expanding Equation (10) and substituting it into Equation (11) gives

y t is the sum from tau equals one to t of v tau times the dot product of sigma of k tau and sigma of q t

which is unnormalized causal linear attention (Schlag et al., 2021; Irie & Gershman, 2025)as described by Schlag and colleagues and Irie and Gershman and corresponds to one step of test-time least-squares regression (Wang et al., 2025).

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. Schlag et al. (2021)Schlag and colleagues addressed this with DeltaNet, which replaces the additive update with the delta rule:

P t plus one equals P t plus eta t times the quantity v t minus P t sigma of k t, all tensor product sigma of k t

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 (Widrow & Hoff, 1988).

Yang et al. (2025)Yang and colleagues subsequently extended DeltaNet with input-dependent forgetting, resulting in the Gated DeltaNet (GDN) with update rule

where lambda and eta are input-dependent gates that control the retention of existing fast weights and the strength of the update respectively. GDN therefore combines selective error correction with context-dependent forgetting.

The method of Ba et al. (2016a)Ba and colleagues, which we refer to as FW in what follows, instead uses an auto-associative fast weight memory that stores recent hidden states according to

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,

y sub s plus one at time t equals sigma of the layer normalized sum of W x t and P t y sub s t

where s equals one to S indexes the inner-loop refinement steps and LN denotes layer normalization (Ba et al., 2016b). The implementation of FW by Ba et al. (2016a)Ba and colleagues uses separate fixed weight matrices for the external input and the previous hidden state, which we combine into the compact slow term . The memory P t acts on the evolving inner-loop activity y sub s t and layer normalization stabilizes the refinement dynamics.

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

MethodFast Weight UpdateStabilized via
HebbianDecay
OjaNorm
Simple Mod.Clipping
Retro. Mod.Clipping, Decay
STPNDecay, Norm
FWP
DeltaNet
GDNDecay
FWDecay, Norm
Plastic CTMDecay, Rescale, Norm

Table 1: Plastic and fast weight updates and stabilization mechanisms. Differentiable plasticity methods combine the plastic component P t with fixed weights W to form G t equals W plus P t. FWP, DeltaNet, GDN, and FW use fast weight matrices as associative memory. P t tilde denotes the unscaled plastic state.

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 (Wespatat et al., 2004; Jutras & Buffalo, 2010; Einarsson et al., 2017)as shown in work by Wespatat and colleagues, Jutras and Buffalo, and Einarsson and colleagues. Eligibility traces in retroactive Backpropamine (Miconi et al., 2020)by Miconi and colleagues provide a limited form of extended temporal context, but synchronization and population-level temporal structure remain largely unexplored in plastic deep neural networks.

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 (Darlow et al., 2025)by Darlow and colleagues, a recently proposed bio-inspired RNN, exhibits exactly these characteristics. Each neuron in the CTM processes its own activation history through a unique set of learned weights, and the model uses pairwise neural synchronization as its latent representation. As we show below, this synchronization admits a recursive outer-product formulation, giving it a matrix-valued structure closely related to fast weights. A natural next step is to investigate how plasticity can be introduced into the CTM. We start by reviewing the CTM in detail before introducing the Plastic CTM. An overview of the Plastic CTM, as well as the Plastic RNN, is illustrated in Figure 1.

Published in Transactions on Machine Learning Research (11/2026)

Diagram comparing Plastic RNN and Plastic CTM architecturesFigure 1: The Plastic RNN and Plastic CTM architectures. At each timestep , the Plastic RNN updates its recurrent weights using an outer product of pre- and post-synaptic activations. In the Plastic CTM, the feedforward (FFN) synapse model processes the current observation and previous post-activated state to produce a pre-activated state. The neuron-level models independently map histories of pre-activated states to the next post-activated state, while the synchronization module computes time-decayed outer products of post-activated state histories. The resulting synchronization representation is projected to output logits and, unlike in the standard CTM, is also used to directly adjust the weights of the synapse model. Modules with learnable parameters are shown in blue, while activations are shown in green.

4.1 Continuous Thought Machines

The CTM (Darlow et al., 2025)Darlow and colleagues, 2025 combines two innovations, namely neuron-level temporal processing where each neuron processes its own activation history with a unique set of weights, and neural synchronization as the latent representation. We describe each in turn. Specifically, the CTM processes information recurrently in the following way. At each timestep t, the CTM takes as input the concatenation of the model’s post-activated state z t in R d and an external observation o t in R d obs, where d and d obs are the model’s hidden dimension and the input dimension, respectively. This input is fed through the CTM’s feedforward synapse model, producing a pre-activated state a t:

a t equals f of z t and o t, in R d

where is a learned feedforward network.1 The pre-activated state a t is appended to a sliding window of recent pre-activations, forming a matrix A t of dimensions d by M, where M is the window size. To produce the next post-activated state, each neuron i processes its own row of A t through an independent neuron-level model (NLM):

z i at time t plus one equals g i of A i t

where g i is a small feedforward network. These NLMs allow the CTM to learn neuron-dependent mappings from the M most recent pre-activated states to the next post-activated state.

Published in Transactions on Machine Learning Research (11/2026)

Synchronization, the latent representation used to make predictions, is calculated via an exponentially weighted dot-product of post-activated state histories:

where r i j is a per-pair decay parameter controlling how much past post-activated states contribute to the current synchronization value. In Darlow et al. (2025)Darlow and colleagues and in our implementation, synchronization is additionally normalized by the square root of the sum of the exponential weights, which we omit in Equation (19) for clarity.

Defining eta i j equals one minus the exponential of negative r i j and collecting these parameters into bold eta in the set of d by d real matrices, the unnormalized synchronization can equivalently be written as the recursive outer-product update

S at t plus one equals the Hadamard product of one minus eta and S t, plus the outer product of z at t plus one with itself

The output of the model at each timestep then comes from a linear projection of the flattened synchronization matrix S at t plus one.

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 z t used to construct the synchronization state are outputs of the neuron-level models and therefore encode temporally processed activation histories. Thus, the CTM already contains an evolving outer-product state shaped by extended neuronal dynamics rather than instantaneous correlations alone, providing a natural basis for exploring synchronization-driven plasticity.

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

a t equals f of z t, o t, and P t, which is calculated as G t times W down applied to the concatenation of z t and o t

where W down projects the concatenated input to the model dimension d, allowing the square effective weight matrix G t to act on it.2

Since synchronization already provides the evolving matrix-valued state in Equation (20), we identify it with the unscaled plastic state, P tilde t equals S t. Analogously to the fixed-plus-plastic decomposition used by Backpropamine, we write the contribution added to the fixed weights as P t equals alpha t times P tilde t. Substituting the recursive synchronization update gives

Whereas Backpropamine uses a fixed per-synapse scaling matrix bold alpha, the Plastic CTM uses a time-varying global scalar alpha t. We found that this time-varying scaling improves performance (see Appendix Section J).

Specifically, we introduce a learned scalar beta in the real numbers and set alpha t equals beta times the Frobenius norm of W divided by the Frobenius norm of P tilde t, where is the Frobenius norm. This rescales the plastic component at each timestep so that beta directly controls its magnitude relative to the fixed weights, independently of the current magnitude of the synchronization state.

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, P tilde t equals S t, and therefore contributes to the effective synapse weights through G t equals W plus alpha t P tilde t. Consequently, the same population-level synchronization computed from temporally processed post-activations both represents the model’s current state for downstream prediction and changes the synaptic transformation applied at subsequent timesteps.

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 (Ba et al., 2016a; Rodriguez et al., 2022; Duan et al., 2023)by Ba and colleagues, Rodriguez and colleagues, and Duan and colleagues, in-context learning (Duan et al., 2023)by Duan and colleagues, continual learning (Miconi, 2016; Irie et al., 2025)by Miconi and Irie and colleagues, and meta-RL (Miconi et al., 2018; 2020; Najarro & Risi, 2020; Rodriguez et al., 2022)by Miconi and colleagues, Najarro and Risi, and Rodriguez and colleagues. Across these tasks we evaluate fifteen architectures, including the Plastic CTM, under parameter-matched conditions with per-task hyperparameter tuning. Beyond benchmark performance, we probe how each architecture uses its plasticity at inference time, and analyze the weight and hidden-state dynamics.

5.1 Baselines and Model Ablations

Our evaluation covers fifteen architectures. The non-plastic baselines are a simple RNN with tanh activation, the LSTM (Hochreiter & Schmidhuber, 1997; Gers et al., 2000)by Hochreiter and Schmidhuber, and Gers and colleagues, and the CTM (Darlow et al., 2025)by Darlow and colleagues. Our non-plastic CTM baseline uses the same synapse structure as the Plastic CTM, described in Equation (21), but sets P t equals zero for all t. The plastic baselines are the methods surveyed in Section 3. These include the Plastic RNN (Miconi et al., 2018)by Miconi and colleagues in two variants, comprising the canonical version using the Hebbian rule of Equation (3) and an “Oja” variant using Equation (4), the Plastic LSTM (Miconi et al., 2020)by Miconi and colleagues in three variants, comprising “No Mod.” with a learned scalar in place of M t, “Simple Mod.” with M t as a learned projection of the hidden state, and “Retro. Mod.” with eligibility traces following Equations (6) and (7), and the STPN (Rodriguez et al., 2022)by Rodriguez and colleagues. We further include three non-Hebbian fast weight architectures: FW Ba et al. (2016a)Ba and colleagues, GDN (Yang et al., 2025)by Yang and colleagues and HyperLSTM (Ha et al., 2016)by Ha and colleagues.

We additionally ablate the Plastic CTM in two ways. ‘No NLMs’ removes NLMs so that synchronization is computed directly from pre-activated states a t, isolating the contribution of per-neuron temporal processing. ‘Hebbian’ replaces synchronization-based plasticity with the differentiable Hebbian rule of Miconi et al. (2018)Miconi and colleagues on the outer product of a t and a t minus one, scaled by a learned per-synapse alpha as in Miconi et al. (2018)Miconi and colleagues, instead of the time-varying alpha t. Architectural diagrams for the plastic recurrent baselines and ablations are provided in Appendix Figure A1 and Appendix Figure A2, respectively.

Across all experiments, models use layer normalization (Ba et al., 2016b)by Ba and colleagues where applicable and are parameter-matched by adjusting their hidden dimensions. Hyperparameters are tuned independently for each architecture and task using Optuna (Akiba et al., 2019)by Akiba and colleagues, with full tuning details in Appendix Section B.

5.2 Memory and Recall: Copy Task

We evaluate memorization and recall using a sequential copying task adapted from Duan et al. (2023)Duan and colleagues. In this task the model receives a sequence of n vectors in R l with values sampled uniformly from , followed by m blank timesteps, and must then reproduce the original sequence. Each input is -dimensional, with two binary flags indicating the input and recall phases, and performance is measured by mean squared error (MSE). We run two experiments: varying delay m in the set zero, twenty, forty, sixty with fixed n equals ten to test retention, and varying length n in the set five, ten, twenty, thirty, forty with m equals zero to test capacity. We use l equals ten and parameter-match all models to approximately 12k parameters; furthermore, LSTM-based models use chrono initialization (Tallec & Ollivier, 2018)by Tallec and Ollivier. Full details are given in Appendix Section C.

A pair of bar charts comparing the performance of various RNN architectures on a sequence-copying task across different delays and sequence lengths.(a) Increasing delay m with fixed sequence length n equals ten. (b) Fixed delay m equals zero with increasing sequence length n. Figure 2: Test loss with varying delay m and sequence length n. Results show mean test loss, with error bars indicating standard deviation across five seeds. Lower is better. A subset of architectures performs notably better, but the plastic/non-plastic distinction does not strictly separate them.

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 (Vinyals et al., 2016; Finn et al., 2017)as established by Vinyals and colleagues and Finn and colleagues. Following Finn et al. (2017); Duan et al. (2023)prior work, we conduct five-way one-shot classification experiments on the CIFAR-100 (Krizhevsky et al., 2009) and MiniImageNet (Ravi & Larochelle, 2017) datasets. Each trial consists of 10 image-label pairs presented sequentially. During the training phase (first 5 images), the model observes both images and labels to learn class associations. In the testing phase (final 5 images), labels are withheld and the model must infer the correct class. Following Duan et al. (2023)Duan and colleagues, we use a 4-layer convolutional neural network to process input images before

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-100MiniImageNet
Architecture/AlgorithmAcc.Acc. AllAcc.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
GDN57.6 ± 0.8
CTM
Plastic CTM (No NLMs)
Plastic CTM (Hebbian)
Plastic CTM (Ours)60.0 ± 0.649.6 ± 1.451.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 (Finn et al., 2017)Finn and colleagues and ProtoNet (Snell et al., 2017)Snell and colleagues baselines. Full experimental details are provided in Appendix Section D.

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 (Finn et al., 2017; Duan et al., 2023)Finn and colleagues, and Duan and colleagues. In each episode a new target mapping f from negative one, one to the n, to R is sampled from one of two function families, a linear function or a small MLP. The model is presented with

Published in Transactions on Machine Learning Research (11/2026)

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 .

ArchitectureLinear Linear MLP MLP
RNN0.338±0.0040.479±0.0080.063±0.0120.164±0.005
Plastic RNN0.271±0.1110.361±0.0020.053±0.0030.139±0.002
Plastic RNN (Oja)0.175±0.0030.356±0.0030.048±0.0010.146±0.002
LSTM0.102±0.0060.320±0.0200.018±0.0010.080±0.006
Plastic LSTM (No Mod.)0.022±0.0010.208±0.0060.014±0.0010.044±0.000
Plastic LSTM (Simple Mod.)0.023±0.0030.204±0.0140.014±0.0010.042±0.001
Plastic LSTM (Retro. Mod.)0.026±0.0040.291±0.0040.014±0.0010.063±0.020
HyperLSTM0.101±0.0060.289±0.0040.025±0.0020.084±0.025
STPN0.088±0.0090.275±0.0030.021±0.0010.095±0.005
FW0.328±0.1200.338±0.0010.038±0.0020.107±0.002
GDN0.084±0.0010.286±0.0200.032±0.0070.105±0.020
CTM0.308±0.0700.418±0.0350.029±0.0010.102±0.004
Plastic CTM (No NLMs)0.447±0.0310.607±0.0220.342±0.0770.434±0.055
Plastic CTM (Hebbian)0.021±0.0080.199±0.0170.012±0.0000.036±0.000
Plastic CTM (Ours)0.058±0.1160.178±0.0020.012±0.0000.032±0.001

K noisy support pairs x t, and f of x t plus epsilon t with epsilon t distributed normally with mean zero and variance sigma squared, followed by query inputs whose outputs it must predict. Since the target function changes between episodes, the model cannot memorize any single mapping during training and must instead learn an in-context inference procedure. We use input dimension n equals twelve for the Linear family and n equals six for the MLP family, and report results for K in the set ten or twenty. Full experimental details are provided in Appendix Section E.

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 K equals twenty. The Plastic LSTM variants follow closely behind, with the remaining baselines performing notably worse. As in the one-shot classification setting, plastic architectures tend to outperform their non-plastic counterparts, such as the Plastic LSTM outperforming the LSTM. This is consistent with the view that in-context function learning benefits from explicit weight adaptation.

5.5 Meta-Reinforcement Learning: Maze Exploration

Meta-RL is thought to be a key application of plasticity (Miconi et al., 2018; 2020; Rodriguez et al., 2022)as shown in work by Miconi and colleagues and Rodriguez and colleagues. We evaluate on the maze exploration task from Miconi et al. (2018)Miconi and colleagues, where an agent with only a local three by three egocentric view must navigate to a hidden goal. The goal remains fixed within each episode but varies across episodes; upon reaching it, the agent receives a large reward and is teleported to a random location. This tests the agent’s ability to exploit discovered goal locations through memory-driven meta-RL (Wang et al., 2016; Duan et al., 2016)as described by Wang and colleagues and Duan and colleagues. We trained all agents using Proximal Policy Optimization (PPO; Schulman et al., 2017)PPO with Generalized Advantage Estimation (GAE; Schulman et al., 2015)GAE and Pop-Art normalization (Van Hasselt et al., 2016)as proposed by Van Hasselt and colleagues. Following Miconi et al. (2020)Miconi and colleagues, all models were parameter-matched to an RNN with a hidden size of 100. Full experimental details are provided in Appendix Section F.

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 (Mnih et al., 2016)as used by Mnih and colleagues, under which non-plastic models can store

Published in Transactions on Machine Learning Research (11/2026)

Line graph showing average returns over one million episodes for various RNN models on a maze task. Most models converge to high returns except for the FW model, which shows significantly lower performance.Figure 3: Average returns on the maze exploration task, with shaded areas indicating standard deviation calculated over three seeds. All models except FW perform similarly and learn to solve the task.

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 (McCloskey & Cohen, 1989; Ratcliff, 1990; McClelland et al., 1995; French, 1999). Prior work has applied biologically inspired predictive-coding architectures to reduce forgetting in sequential data streams (Ororbia et al., 2020; 2022). Meta-learning offers another way to learn forgetting-robust strategies (Beaulieu et al., 2020; Irie et al., 2025)Beaulieu and colleagues, and Irie and colleagues. We test whether recurrent architectures can meta-learn such strategies within an episode.

We use a modified version of the sequential Split-MNIST task from Irie et al. (2025)Irie and colleagues to evaluate episodic in-context continual learning. The dataset is split into Set A (digits 0–4) and Set B (digits 5–9), with each set randomly mapped to labels 0–4 in every episode. These mappings are independently resampled at the start of each episode, so they must be inferred from the exemplars presented within that episode rather than learned across episodes. The model receives labeled Set A exemplars and unlabeled Set A queries, followed by labeled Set B exemplars, unlabeled Set A retention queries, and unlabeled Set B queries. Query labels are withheld, so the model must learn both mappings in context while retaining the first after learning the second. Full experimental details are in Appendix Section G.

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 Lopez-Paz & Ranzato (2017)Lopez-Paz and Ranzato, we also report forward transfer (FWT), measuring how learning Set A changes performance on Set B before observing Set B, and backward transfer (BWT), measuring how learning Set B changes performance on Set A. Both remain close to zero, but for different reasons. BWT is approximately zero because the models already achieve nearly 100% accuracy on Set A and learning Set B does not diminish it. FWT is approximately zero because the Set B label mapping is randomized independently of Set A, so observing Set A provides no information about the Set B mapping. Although these results show that plastic RNNs can learn an in-context continual learning algorithm, the comparable performance of non-plastic architectures indicates that explicit weight adaptation is not necessary to solve this task.

Published in Transactions on Machine Learning Research (11/2026)

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.

ArchitectureAccuracy (%)Transfer (percentage points)
Set A Acc.Set A Ret.Set B Acc.FWTBWT
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 rho t, defined as the Frobenius norm of P t divided by the Frobenius norm of W for architectures whose plastic component is added to fixed weights as in Equation (1). These trajectories show how the magnitude of the plastic component evolves relative to the fixed weights over an episode. The exact decomposition and evaluation protocol for each architecture are given in Appendix Sections D.4 and G.5.

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 t equals ten, the Plastic RNN and its Oja variant reach mean relative magnitudes of approximately 8.2 and 12.9, respectively. In contrast, the mean trajectories on Sequential Split-MNIST remain below approximately 1.1 and evolve more stably over the episode. In both tasks, the Plastic CTM and its No NLMs ablation maintain constant values of rho t by construction because of the per-timestep rescaling of the plastic component P t tilde.

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 G t equals W plus P t, we set the coefficient controlling the plastic contribution to zero. This makes P t equal to the zero matrix while leaving the fixed weights and all remaining learned parameters unchanged. For FW, we set its update rate and initial associative memory to zero. The interventions for each architecture and the full evaluation protocol are provided in Appendix Section G.4.

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

Line graphs showing fast-to-slow weight magnitude rho over time for various models on CIFAR-100 and Sequential Split-MNIST.Figure 4: Fast-to-slow weight magnitude rho t over the course of an episode. Left: one-shot image classification on CIFAR-100. Right: episodic continual learning on Sequential Split-MNIST. Lines and shaded regions show the mean and standard deviation over five checkpoint seeds and 64 held-out episodes per checkpoint. Vertical dashed lines indicate phase boundaries. The Plastic LSTM variants, STPN, the Plastic CTM, and its No NLMs variant maintain comparatively stable relative magnitudes across both tasks, whereas the Plastic RNN variants and Hebbian Plastic CTM continue to increase on CIFAR-100.

Bar charts showing relative accuracy change after disabling plasticity for one-shot classification and continual learning.Figure 5: Relative accuracy change after disabling plasticity at inference time. Bars show the mean across five seeded checkpoints and error bars show the standard deviation. Negative values indicate that accuracy decreases when plasticity is disabled. (a) One-shot classification. (b) Continual learning on Sequential Split-MNIST.

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.

Published in Transactions on Machine Learning Research (11/2026)

Grid of 3D PCA plots showing plastic weights and hidden states across different models and task phases.Figure 6: Weight and hidden-state dynamics visualized using PCA. Hidden states 1 and 2 refer to the hidden and cell states of the LSTM-based models, the hidden state of the STPN, and z t and a t for the CTM-based models. The STPN and Plastic LSTM weights evolve continuously, while the Plastic CTM weights exhibit discrete phase-dependent changes. The LSTM and Plastic LSTM hidden states follow similar dynamics.

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 (Saxena & Cunningham, 2019)Saxena and Cunningham, we project the plastic weights and hidden states into three dimensions using PCA with Procrustes alignment (Gower, 1975)Gower of equivalent hidden states (Figure 6). The Plastic LSTM and STPN exhibit smooth weight dynamics across task phases, while the Plastic CTM maintains more discrete and well-separated configurations. The LSTM hidden and cell states remain similar with and without plasticity. In contrast, the Plastic CTM’s post-activated states z t differ substantially from the CTM. Their Procrustes disparity is 0.83–0.89, compared with 0.42–0.45 for the LSTM variants. The LSTM and Plastic LSTM therefore exhibit more similar representational dynamics, while the CTM and Plastic CTM develop more distinct representations over the course of an episode.

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

Published in Transactions on Machine Learning Research (11/2026)

Two scatter plots showing accuracy versus latency for various RNN models on CIFAR-100 and MiniImageNet datasets.Figure 7: Accuracy–latency trade-off on one-shot image classification. Left: CIFAR-100. Right: MiniImageNet. Vertical error bars show 95% confidence intervals, horizontal error bars show the standard deviation across five profiling runs, and dashed lines denote the Pareto frontiers. The Plastic CTM achieves the highest accuracy, while STPN performs within one percentage point of it on both datasets at approximately half the latency.

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.

Samy Bengio, Yoshua Bengio, Jocelyn Cloutier, and Jan Gecsei. On the optimization of a synaptic learning rule. In *Optimality in Biological and Artificial Networks?*, pp. 265–287. Routledge, 2013.

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.

Diederik P Kingma. Adam: A method for stochastic optimization. [arXiv](https://arxiv.org/abs/1412.6980), 2014.

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.

Joachim Pedersen, Erwan Plantec, Eleni Nisioti, Milton Montero, and Sebastian Risi. Structurally flexible neural networks: Evolving the building blocks for general agents. In *Proceedings of the Genetic and Evolutionary Computation Conference*, pp. 1119–1127, 2024.

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.

Jane X Wang, Zeb Kurth-Nelson, Dhruva Tirumala, Hubert Soyer, Joel Z Leibo, Remi Munos, Charles Blundell, Dharshan Kumaran, and Matt Botvinick. Learning to reinforcement learn. *arXiv preprint [arXiv:1611.05763](https://arxiv.org/abs/1611.05763)*, 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 (Akiba et al., 2019)Akiba and colleagues. Each search runs for 20 trials with the multivariate Tree-structured Parzen Estimator (TPE) sampler. The first 10 trials are sampled randomly from the corresponding search distributions to seed the TPE surrogate, and the remaining 10 trials are proposed by maximizing expected improvement under the surrogate using 24 candidate samples per step. The objective is the best validation metric reached during training.

For recurrent architectures, the default search ranges are learning rate in ten to the minus four to ten to the minus three and dropout in zero to zero point five, both searched on a linear scale. For the copy and one-shot image classification tasks, we extend the learning rate range to ten to the minus four to ten to the minus two and search on a logarithmic scale, while dropout remains searched on a linear scale. The Plastic CTM (No NLMs) on MiniImageNet uses a dropout range of . For few-shot regression, we also extend the learning rate range to , but retain a linear search scale. Dropout is fixed at for all architectures. For Fast Weights, each search additionally covers lambda in ( for the copy task), eta in , and the number of inner-loop steps in . Both and are searched on a linear scale.

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 (Raffin et al., 2021)Raffin and colleagues, with FW-specific values listed in Appendix Section F. We did run an Optuna search for Fast Weights on maze exploration, but were unable to identify hyperparameters that performed on par with the other architectures, and so we report results under the selected values in Appendix Section F. For Sequential Split-MNIST, each search trial is trained for 500 epochs and maximizes the sum of validation accuracy over the immediate, backward, and forward query phases. The final five-seed evaluations are trained for 1000 epochs; their exact checkpoint hyperparameters are reported in Appendix Table A11.

Four architectural diagrams comparing the Plastic CTM, Plastic RNN, Plastic LSTM, and STPN architectures.Figure A1: Architectural diagrams for the Plastic CTM and plastic recurrent baselines.

Diagram showing two ablated Plastic CTM variants: (a) Plastic CTM with no neuron-level temporal processing and (b) Plastic CTM using Hebbian plasticity rules.Figure A2: Ablated Plastic CTM variants. The No NLMs variant computes synchronization from the output of the synapse model a t, without neuron-level temporal processing. The Hebbian variant computes plasticity using standard Hebbian plasticity rules based on the outer product of pre- and post-activations, as in Miconi et al. (2018)Miconi and colleagues, 2018.

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 n vectors in R to the l sampled uniformly from minus one to one, followed by m blank timesteps, and must then reproduce the original sequence in order. Each input is l plus two-dimensional, where the additional 2 dimensions correspond to binary flags indicating the input phase and recall phase, respectively. The model outputs the predictions sequentially, and performance is measured using the MSE.

We conduct experiments varying two key parameters. First, we vary the delay m from the set zero, twenty, forty, and sixty with fixed sequence length n equals ten to evaluate retention over time. Second, we vary the sequence length n from the set five, ten, twenty, thirty, and forty with fixed delay m equals zero to evaluate scaling to longer sequences. Both experiments use a fixed vector size of l equals ten.

C.2 Model Configurations and Hyperparameters

All models are parameter-matched to approximately 12k parameters by adjusting their hidden dimensions d. Appendix Table A1 shows the specific configurations used for each architecture. The HyperLSTM uses a hypernetwork of size 8, with embedding dimension 8. All experiments use a copy dimension of 10.

For each distinct sweep condition, we perform a separate hyperparameter search following the protocol described in Appendix Section B. The m equals zero, n equals ten condition is shared by both sweeps and therefore uses the same selected hyperparameters in both. For STPN at m equals sixty, the search was unstable, so we reuse the selected hyperparameters from m equals forty. Appendix Tables A2–A3 show the resulting hyperparameters per delay condition, and Appendix Tables A4–A5 show the resulting hyperparameters per sequence length condition. Appendix Table A6 shows the FW-specific hyperparameters.

Table A1: Model configurations for copy task experiments.

MODELPARAMS
RNN9812,162
PLASTIC RNN7212,251
PLASTIC RNN (OJA)7111,939
LSTM4612,246
PLASTIC LSTM (NO MOD.)4212,275
PLASTIC LSTM (SIMPLE MOD.)4111,901
PLASTIC LSTM (RETRO. MOD.)4111,902
HYPERLSTM3212,170
STPN5612,218
FW9912,385
GDN6711,977
CTM6512,230
PLASTIC CTM (NO NLMS)5312,625
PLASTIC CTM (HEBBIAN)5512,276
PLASTIC CTM (OURS)4912,359

C.3 Training and Evaluation

All models were trained for 1000 epochs with a batch size of 64 using the AdamW optimizer (Loshchilov & Hutter, 2017)Loshchilov and Hutter, 2017. We applied gradient clipping with a maximum norm of 5. For each architecture and experimental condition, we trained five independent random seeds. Evaluation measures the MSE between

Table A2: Optimal hyperparameters for delay sweep: delay in the set zero, twenty (sequence length=10).

ModelDelay = 0Delay = 20
DropoutLRDropoutLR
RNN0.0050.005
Plastic RNN0.0020.002
Plastic RNN (Oja)0.0030.004
LSTM0.048
Plastic LSTM (No Mod.)0.002
Plastic LSTM (Simple Mod.)0.009
Plastic LSTM (Retro. Mod.)0.0070.004
HyperLSTM0.0340.292
STPN0.014
FW0.0900.148
GDN0.1730.269
CTM0.0040.011
Plastic CTM (No NLMs)0.0020.205
Plastic CTM (Hebbian)0.0070.001
Plastic CTM (Ours)0.0080.005

Table A3: Optimal hyperparameters for delay sweep: delay in the set forty, sixty (sequence length=10).

ModelDelay = 40Delay = 60
DropoutLRDropoutLR
RNN0.0050.029
Plastic RNN0.1400.095
Plastic RNN (Oja)0.0060.003
LSTM0.0510.041
Plastic LSTM (No Mod.)0.0020.002
Plastic LSTM (Simple Mod.)0.0010.015
Plastic LSTM (Retro. Mod.)0.0060.002
HyperLSTM0.2340.471
STPN0.0050.005
FW0.3140.082
GDN0.0480.277
CTM0.0030.054
Plastic CTM (No NLMs)0.0420.206
Plastic CTM (Hebbian)0.0050.026
Plastic CTM (Ours)0.0040.091
Published in Transactions on Machine Learning Research (11/2026)

Table A4: Optimal hyperparameters for sequence length sweep: length in the set 5, 10, and 20 (delay=0).

ModelSeq. Len. = 5Seq. Len. = 10Seq. Len. = 20
DropoutLRDropoutLRDropoutLR
RNN0.0140.0050.360
Plastic RNN0.0030.0020.001
Plastic RNN (Oja)0.0200.0030.005
LSTM0.045
Plastic LSTM (No Mod.)0.004
Plastic LSTM (Simple Mod.)0.0040.0090.018
Plastic LSTM (Retro. Mod.)0.0010.0070.009
HyperLSTM0.3720.0340.119
STPN0.0140.003
FW0.0620.0900.462
GDN0.0030.1730.170
CTM0.0040.007
Plastic CTM (No NLMs)0.1060.0020.040
Plastic CTM (Hebbian)0.0020.0070.002
Plastic CTM (Ours)0.0080.002

Table A5: Optimal hyperparameters for sequence length sweep: length in the set 30 and 40 (delay=0).

ModelSeq. Len. = 30Seq. Len. = 40
DropoutLRDropoutLR
RNN0.2790.200
Plastic RNN0.0040.012
Plastic RNN (Oja)0.0040.002
LSTM0.0490.016
Plastic LSTM (No Mod.)0.0200.009
Plastic LSTM (Simple Mod.)0.2370.044
Plastic LSTM (Retro. Mod.)0.0010.253
HyperLSTM0.0220.065
STPN0.0030.002
FW0.3060.013
GDN0.0480.210
CTM0.0560.015
Plastic CTM (No NLMs)0.127
Plastic CTM (Hebbian)0.0140.013
Plastic CTM (Ours)0.0170.013

Table A6: FW-specific hyperparameters per condition.

SweepConditionSteps
Delay00.9480.2102
Delay200.8870.3281
Delay400.9830.1131
Delay600.9520.6781
Seq. Len.50.9720.8031
Seq. Len.100.9480.2102
Seq. Len.200.9110.8431
Seq. Len.300.8740.2161
Seq. Len.400.9580.5361

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 Duan et al. (2023)Duan and colleagues, each episode consists of 10 sequential image-label pairs: 5 training images with labels (1 exemplar per class) followed by 5 test images without labels. All images are processed through a shared 4-layer convolutional encoder before being fed to the recurrent networks. This encoder follows the ProtoNet architecture (Snell et al., 2017)described by Snell and colleagues and consists of four blocks, each containing a three by three convolution (64 channels, stride 1, padding 1), batch normalization, ReLU activations, and two by two max pooling. The flattened convolutional features are projected to a 256-dimensional embedding, which is concatenated with the one-hot labels during the training phase, or zero-vectors during the testing phase, before being processed by the recurrent model.

D.2 Model Configurations and Hyperparameters

The recurrent models are parameter-matched by adjusting their hidden dimensions d, while MAML and ProtoNet are matched by adjusting their encoder widths. Appendix Table A7 shows the resulting dimensions and tuned hyperparameters for CIFAR-100 and MiniImageNet. The HyperLSTM uses a hypernetwork of size 64 with embedding dimension 32. Learning rate and model-specific hyperparameters are tuned independently for each model and dataset using the Optuna protocol described in Appendix Section B.

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).

ModelCIFAR-100 ParamsCIFAR-100 LRCIFAR-100 DropoutMiniImageNet ParamsMiniImageNet LRMiniImageNet Dropout
MAML137/175515k—856k—
PROTONET137/178512k—862k—
RNN464518k862k0.106
PLASTIC RNN350517k0.019861k0.069
PLASTIC RNN (OJA)351519k0.004863k0.015
LSTM188519k0.290863k0.462
PLASTIC LSTM (NO MOD.)175517k0.252861k0.413
PLASTIC LSTM (SIMPLE MOD.)175518k0.258862k0.467
PLASTIC LSTM (RETRO. MOD.)175518k0.394862k0.420
HYPERLSTM110521k0.440865k0.318
STPN230517k0.070861k0.262
FW464518k0.168862k0.007
GDN225519k0.145863k0.099
CTM340512k0.006856k0.057
PLASTIC CTM (NO NLMS)260519k0.145863k0.387
PLASTIC CTM (HEBBIAN)290518k0.163862k0.189
PLASTIC CTM (OURS)256517k0.246861k0.384

D.3 Training and Evaluation

All models were trained for 40 epochs using the Adam optimizer (Kingma, 2014)proposed by Kingma in 2014; the recurrent architectures use a batch size of 512, while MAML and ProtoNet use batch sizes of 4 and 32, respectively. We applied gradient clipping with a maximum norm of 1. As in Duan et al. (2023)Duan and colleagues, we report the accuracy as the classification accuracy on the first test image, and additionally report the combined accuracy across all five test images. Results are averaged across five independent random seeds and reported with 95% confidence intervals computed across seeds using two-sided Student’s intervals. All models used identical data splits and random seeds to ensure fair comparison.

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 t, so the reported P t is the component available to the following update. Curves show the mean and population standard deviation over the resulting 320 trajectories.

The definition of rho t follows the effective recurrence implemented by each architecture. For the Plastic RNN variants, W is the fixed recurrent matrix and P t equals alpha Hadamard product H t is the scaled Hebbian or Oja trace. For the Plastic LSTM variants, W contains all four recurrent gate blocks, while P t is non-zero only for the plastic candidate-cell block. For STPN, W is the fixed synaptic matrix and P t is its short-term component. For the Plastic CTM, W is the fixed synapse matrix and P t is either the dynamically rescaled synchronization matrix, the corresponding No NLMs synchronization matrix, or the scaled Hebbian trace. Architectures

Published in Transactions on Machine Learning Research (11/2026)

whose fast weight state is not an additive component of an effective matrix G t equals W plus P t are omitted, as are non-plastic architectures for which P t is the zero matrix.

For the full Plastic CTM and its No NLMs variant, the rescaling P t equals beta times the Frobenius norm of W times S t, divided by the Frobenius norm of S t gives rho t equals the absolute value of beta. Their horizontal trajectories therefore verify that the intended relative scale is maintained; they do not imply that S t or the effective plastic weights are unchanged. By contrast, growth in the Plastic RNN, Plastic LSTM, Hebbian Plastic CTM, and STPN curves reflects a change in the magnitude of their fast state as evidence is processed.

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 (Finn et al., 2017; Duan et al., 2023)by Finn and colleagues and Duan and colleagues. In each episode, a target function f mapping from the n-dimensional cube to the real numbers is sampled from one of two families:

  • Linear: f of x equals w transpose x plus b with w in R n and b 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 K noisy support pairs x t and f of x t plus epsilon t with epsilon t distributed normally with mean zero and variance sigma squared, followed by query inputs whose outputs it must predict. Inputs are sampled uniformly from . We use input dimension for the Linear family and for the MLP family, and evaluate two support sizes . Episodes are generated on the fly, so the model cannot memorize any single mapping during training.

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.

Published in Transactions on Machine Learning Research (11/2026)

Table A8: Model dimensions and hyperparameters for the few-shot regression task on the Linear function family (n equals 12). Models are parameter-matched to approximately 150k parameters by adjusting the hidden dimension d. For K equals 10, FW uses lambda equals 0.954, eta equals 0.805, and one step. For K equals 20, it uses lambda equals 0.908, eta equals 0.375, and two steps.

ModelParamsLRParamsLR
RNN270151,201151,201
Plastic RNN220149,602149,602
Plastic RNN (Oja)222152,294152,294
LSTM135151,201151,201
Plastic LSTM (No Mod.)128152,578152,578
Plastic LSTM (Simple Mod.)128152,962152,962
Plastic LSTM (Retro. Mod.)128152,963152,963
HyperLSTM72150,529150,529
STPN156149,137149,137
FW269150,103150,103
GDN156150,439150,439
CTM200142,402148,402
Plastic CTM (No NLMs)220150,042150,042
Plastic CTM (Hebbian)177149,762150,452
Plastic CTM (Ours)160145,602150,402

Table A9: Model dimensions and hyperparameters for the few-shot regression task on the MLP function family (n equals 6). Models are parameter-matched to approximately 150k parameters by adjusting the hidden dimension d. For K equals 10, FW uses lambda equals 0.864, eta equals 0.139, and one step. For K equals 20, it uses lambda equals 0.954, eta equals 0.487, and one step.

ModelParamsLRParamsLR
RNN270149,581149,581
Plastic RNN220148,282148,282
Plastic RNN (Oja)223152,311152,311
LSTM135150,391150,391
Plastic LSTM (No Mod.)128151,810151,810
Plastic LSTM (Simple Mod.)128152,194152,194
Plastic LSTM (Retro. Mod.)128152,195152,195
HyperLSTM72150,097150,097
STPN156150,093150,093
FW269148,489148,489
GDN156149,503149,503
CTM200141,202147,202
Plastic CTM (No NLMs)220150,061150,061
Plastic CTM (Hebbian)177150,232150,946
Plastic CTM (Ours)160144,642149,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,

A grid-based maze layout with a yellow square representing the agent and a green square representing the goal.Figure A3: Maze layout for the maze exploration task. We visualize the agent and the goal locations with the yellow and green squares, respectively; in practice the agent receives a local three by three egocentric view and the goal is not indicated in the agent’s observation. The light and dark blue areas correspond to walls and traversable locations, respectively. The agent’s start location and the goal location are shuffled each episode, and the agent’s location is set to a new random location each time the goal is reached.

averaged over 5 random seeds with 95% confidence intervals computed across seeds using two-sided Student’s t intervals.

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 Miconi et al. (2018; 2020)Miconi and colleagues. The environment, shown in Appendix Figure A3, consists of an eleven by eleven grid-based maze with walls along the borders and pillars placed at even-numbered positions (2, 4, 6, 8) to create a structured navigation challenge. The agent receives only a local, egocentric three by three view of its surroundings, represented as a flattened 9-dimensional binary vector where 1 indicates a wall or pillar and 0 indicates free space.

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 Miconi et al. (2018)Miconi and colleagues, we frame the maze exploration task as a meta-RL problem using the RLR L squared algorithm (Duan et al., 2016; Wang et al., 2016). In this formulation, the recurrent network’s hidden state serves as a memory that enables learning within an episode. To provide the network with information about the consequences of its actions, the observation space is augmented with the previous action and previous reward, creating an extended observation vector of dimension fourteen, where 9 dimensions encode the agent and its surroundings, 4 dimensions encode the previous action as a one-hot vector, and 1 dimension encodes the previous reward.

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 d. Appendix Table A10 shows the specific configurations used for each architecture. The HyperLSTM uses a hidden size of 16 for the hypernetwork and an embedding size of 4. The FW model uses a decay rate lambda equals 0.9, learning rate eta equals 0.5, and 1 inner-loop step.

Table A10: Model configurations for maze exploration experiments.

MODELPARAMS
RNN10012,305
PLASTIC RNN7312,343
PLASTIC RNN (OJA)7312,343
LSTM4612,379
PLASTIC LSTM (NO MOD.)4212,396
PLASTIC LSTM (SIMPLE MOD.)4212,522
PLASTIC LSTM (RETRO. MOD.)4112,020
HYPERLSTM3012,251
STPN5612,269
FW10012,305
GDN6712,261
CTM6612,348
PLASTIC CTM (OURS)4912,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 (Schulman et al., 2017)Schulman and colleagues with GAE (Schulman et al., 2015)Schulman and colleagues and Pop-Art normalization (Van Hasselt et al., 2016)Van Hasselt and colleagues. We use 512 parallel environments to collect experience, with each environment running for 200 timesteps per episode. At the end of each training iteration, we compute returns and advantages using GAE with discount factor gamma equals 0.99 and trace decay parameter lambda equals 0.95.

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 epsilon equals 0.25, and the total loss combines the policy loss, the value loss weighted by coefficient 0.1, and an entropy bonus weighted by coefficient 0.01 to encourage exploration. Additionally, we employ KL-based early stopping (Dossa et al., 2021)Dossa and colleagues, where within each training iteration, we terminate the PPO epochs early if the approximate KL divergence between the new and old policies exceeds 0.03. This was disabled for STPN to allow for learning as the initial KL divergence was high.

All models are trained for 10,000 epochs using the AdamW optimizer with learning rate three times ten to the minus four. We apply gradient clipping with a maximum norm of 0.5 to stabilize training. For each model architecture, we train

Published in Transactions on Machine Learning Research (11/2026)

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 Irie et al. (2025)Irie and colleagues. The MNIST dataset (LeCun et al., 1998)from LeCun and colleagues is split into Set A (digits 0 to 4) and Set B (digits 5 to 9). Both sets are mapped to labels 0 to 4, creating a domain-incremental setting where the model must learn distinct input-to-label mappings for each domain. At each episode, the class-to-label mapping is randomly shuffled independently for Set A and Set B.

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 (Snell et al., 2017)of Snell and colleagues used in Appendix Section D.1. The encoder output is projected to dimension d input equals 256 and concatenated with a one-hot encoding of the label (or the unknown label token). This combined representation is fed to the recurrent network, which outputs logits for 5-way classification.

The loss is the sum of three cross-entropy terms computed at the query positions (Irie et al., 2025):

the loss L is the sum of the immediate, forward, and backward loss terms

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 d. Appendix Table A11 shows the exact configurations used for the final five-seed evaluation. All models use d input equals 256 with identical encoders. HyperLSTM uses hypernetwork size 64 and embedding size 32.

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 , lambda, eta, and the number of inner steps. Table A11 reports the settings actually used by the final checkpoints.

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 Lopez-Paz & Ranzato (2017)Lopez-Paz and Ranzato. For a sequence of T tasks, let R in the set of real T by T matrices be the accuracy matrix whose entry R sub i j is test accuracy on task j after learning task i, and let b bar sub j be the baseline accuracy on task j before any task is learned. The general metrics

Table A11: Model configurations used for the final Sequential Split-MNIST evaluations. FW uses lambda equals 0.9670, eta equals 0.1518, and one inner step; CTM variants use memory length 10.

ModelParamsLearning RateDropout
RNN666799,9550.0226
Plastic RNN494798,8920.0381
Plastic RNN (Oja)494798,8920.0847
LSTM283798,2640.1361
Plastic LSTM (No Mod.)262799,0160.1570
Plastic LSTM (Simple Mod.)262799,8020.0522
Plastic LSTM (Retro. Mod.)262799,8030.0180
HyperLSTM204797,8890.0399
STPN343799,3670.0133
FW666799,9550.4069
GDN361798,9290.0786
CTM487798,8870.0130
Plastic CTM (No NLMs)361796,8590.0152
Plastic CTM (Hebbian)407797,7360.1721
Plastic CTM (Ours)358798,1760.0017

are

Backward transfer is the average difference between final performance and performance immediately after each task was learned. Forward transfer is the average difference between performance on a future task just before learning and its pre-learning baseline.

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 b bar sub j using a randomly initialized learner. Because our learner is meta-trained before evaluation, we use the analogous no-within-episode-learning baseline b bar sub B: Set B accuracy from the episode-initial recurrent and fast weight state. Setting T equals 2 in Equations (24) and (25) gives the metrics reported in Table 4:

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 G t, so processing its queries cannot change the state used by a later episode phase. Each architecture uses its own parameter-matched hidden dimension and selected optimization settings, detailed in Appendix Table A11.

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 alpha to zero, giving P t equals zero. Their Hebbian or eligibility traces continue to evolve but no longer contribute to the effective weights. For the full Plastic CTM and its No NLMs variant, we set the multiplicative scale on the synchronization matrix to zero; for the Hebbian Plastic CTM, we set its synaptic alpha to zero. For STPN, we set Gamma to zero, and for FW, we set eta to zero. Because both architectures initialize their fast weight matrices at zero, these interventions keep P t at zero throughout the episode. The GDN is excluded because its recurrent fast weight state is not an additive component in a comparable W plus P t decomposition.

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 the percentage change in accuracy.

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 G t equals W plus P t decomposition and non-plastic models, which are identically zero under this definition, are omitted.

The phase averages make the distinct dynamics visible. The Plastic LSTM without neuromodulation increases from rho equals zero point zero eight three during Set A support to zero point two eight nine during the final Set B query phase; simple and retroactive neuromodulation increase from to and from to , respectively. STPN rises from to . The Hebbian Plastic RNN reaches during the first Set A query phase, falls to while learning Set B, and returns to on the final Set B queries, consistent with phase-dependent rewriting rather than monotonic accumulation. The Oja variant increases from to . The Hebbian Plastic CTM changes from during Set A support to during the final Set B queries and peaks at while learning Set B. The full Plastic CTM and its No NLMs variant remain at and , respectively, because their learned rescaling fixes the ratio of the Frobenius norms of P t and W while allowing the orientation and entries of P t to change. This last distinction is important: rho t measures magnitude, while the PCA analysis in Figure 6 captures changes in the structure of the plastic matrix.

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.9times that of the CTM, with an order d squared state memory cost from maintaining the synchronization matrix S t. This overhead is shared across plastic architectures that maintain dense pairwise state, including the Plastic RNN, FW, GDN, and STPN.

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.

ModelFwd (ms)Fwd+Bwd (ms)State (KB)
RNN0.110.411.8
LSTM (Hochreiter & Schmidhuber, 1997)0.220.781.5
Plastic RNN (Miconi et al., 2018)0.290.62479.9
Plastic RNN (Oja) (Miconi et al., 2018)0.330.62479.9
Plastic LSTM (Simple Mod.) (Miconi et al., 2020)0.431.18121.0
Plastic LSTM (No Mod.) (Miconi et al., 2020)0.371.08121.0
Plastic LSTM (Retro. Mod.) (Miconi et al., 2020)0.441.30240.6
HyperLSTM (Ha et al., 2016)0.782.631.4
STPN (Rodriguez et al., 2022)0.300.99437.5
FW (Ba et al., 2016a)0.380.78842.8
GDN (Yang et al., 2025)0.772.4865.6
CTM (Darlow et al., 2025)0.591.9118.6
Plastic CTM (No NLMs)0.633.43793.2
Plastic CTM (Hebbian)0.732.12344.4
Plastic CTM (Ours)0.803.54779.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 4 point 8 7 plus or minus 0 point 1 2 ms per episode, 27% longer than the CTM at 3 point 8 3 plus or minus 0 point 0 5 ms, while improving accuracy by 9.5 percentage points on CIFAR-100 and 4.7 points on MiniImageNet. STPN provides a strong lower-cost operating point at 2 point 4 4 plus or minus 0 point 0 1 ms, reaching within 0.8 and 1.0 points of the Plastic CTM on the two datasets, respectively. The Plastic CTM therefore does not dominate on latency alone, but achieves the highest recurrent-model accuracy and remains on the Pareto frontier for both datasets.

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 order d squared state cost, although its 779.0 KB state remains comparable to FW at 842.8 KB and the No NLMs ablation at 793.2 KB. These differences suggest that the practical choice of architecture depends on whether inference latency, memory, or peak task performance is the primary constraint.

Line plot comparing the return over training episodes for Plastic CTM and a variant without dynamic rescaling.Line plot showing the learned plasticity scale beta increasing over training episodes.(a) Ablation of the learned plasticity scale beta. The full Plastic CTM uses dynamic rescaling, while the ablated variant fixes alpha t to zero point three. Learned rescaling improves performance early in training. (b) The learned plasticity scale beta over training. The increase in beta indicates that the Plastic CTM learns to increase the relative contribution of its plastic component over the course of training. Figure A4: Dynamic rescaling in the Plastic CTM on the meta-RL maze navigation task. Shaded regions denote the standard deviation across three seeds.

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 Darlow et al. (2025)Darlow and colleagues. The model processes the static image over 10 internal ticks. At each tick t, a query q sub t equals Q of S t is projected from the model’s synchronization and used to cross-attend to patch features produced by a convolutional backbone, yielding the input to the model o sub t. The model is trained with cross-entropy loss computed at the final tick. Results are shown in Appendix Table A13. The Plastic CTM outperforms the CTM in this setting, demonstrating that synchronization-based plasticity provides benefits beyond the meta-learning regime.

Table A13: CIFAR-10 test accuracy.

MODELTEST 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 alpha t equals beta times the Frobenius norm of W divided by the Frobenius norm of S t, which rescales the synchronization matrix S t relative to the fixed weights using a single learned scalar beta. This design was motivated by preliminary meta-RL experiments indicating that learned control over the plasticity scale improves early training. We therefore add an ablation on the meta-RL maze navigation task comparing the full Plastic CTM with a variant that removes beta and uses a fixed coefficient, alpha t equals zero point three for all t. This isolates whether learning the relative strength of the synchronization-driven plastic component improves performance. The results in Appendix Figure A4a show that learned rescaling improves performance, particularly early in training. We also track beta over training, shown in Appendix Figure A4b, to determine whether the Plastic CTM actively uses this degree of freedom rather than learning to suppress it. We find that beta increases during training, suggesting that the model learns to increase the contribution of plasticity.

Footnotes

  1. 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)). ↩

  2. Following the findings of Rodriguez et al. (2022)Rodriguez and colleagues, in our implementation we normalize by its Frobenius norm to stabilize training. ↩