Learning the Plasticity: Plasticity-Driven Learning Framework in Spiking Neural Networks

Guobin Shen, Dongcheng Zhao, Yiting Dong, Yang Li, Feifei Zhao, Yi Zeng

TL;DR

Traditional neural networks learn by updating static synaptic weights, limiting their ability to adapt to new environments on the fly. This paper introduces a Plasticity-Driven Learning Framework (PDLF) for Spiking Neural Networks (SNNs) that learns the rules of synaptic plasticity rather than the weights themselves. By optimizing how synapses change in response to neural activity, PDLF enables agents to dynamically adapt during inference, drastically improving working memory, multi-task learning, and resilience to simulated neural damage.

The Problem with Static Weights

In standard Artificial Neural Networks (ANNs) and Spiking Neural Networks (SNNs), training involves finding a fixed set of synaptic weights. Once deployed, these weights are frozen. If the environment changes or the agent faces a task slightly outside its training distribution, it often fails.

Biological brains don't work this way; they rely on continuous synaptic plasticity to adapt to an ever-changing world. While previous works have tried to implement biological rules like Spike-Timing-Dependent Plasticity (STDP) in SNNs, these rules are usually hand-crafted, rigid, and struggle to scale to complex tasks. The authors tackle this gap by asking a fundamental question: What if, instead of training the weights, we train the network on how to adjust its own weights?

Methods: The Plasticity-Driven Learning Framework

The authors propose the Plasticity-Driven Learning Framework (PDLF). Instead of optimizing the synaptic weights directly, the framework parameterizes local plasticity rules and optimizes those parameters using an Evolutionary Strategy (ES) called Parameter-Exploring Policy Gradients (PEPG).

Overview of the Plasticity-Driven Learning Framework (PDLF) showing the evolution of plasticity rules (SCP and PDP) over generations.

The PDLF rule consists of two synergistic components:

  1. Synaptic Cooperation Plasticity (SCP): Adjusts synaptic strength based on the temporal correlation of both pre- and post-synaptic neural activity (similar to Hebbian or BCM rules).
  2. Presynaptic-Dependent Plasticity (PDP): Modifies weights based purely on pre-synaptic activity, acting as a stabilizing bias to prevent runaway synaptic changes.

During the evolutionary training phase, the agent learns the optimal parameters for SCP and PDP. During the testing/inference phase, these plasticity rules are locked in, but the actual synaptic weights start at zero and dynamically evolve based on the agent's interactions with the environment.

Experimental Setup

The authors evaluated PDLF on two main types of tasks:

  • Working Memory (WM) Task: A custom "copying task" where the SNN receives a sequence of 200ms motion stimuli, waits through a variable delay period, and must reproduce the sequence.
  • Multi-task Reinforcement Learning: Six continuous control environments built on the Brax simulator (ant_dir, swimmer_dir, halfcheetah_vel, hopper_vel, ur5e, fetch). Agents had to learn to navigate at various speeds, directions, and to different target points using a single network.

Key Insights

  • Memory in Weights, Not Just Spikes: In standard SNNs, working memory is maintained by sustained, energy-expensive neural firing during a delay period. PDLF agents, however, encode the memory directly into their dynamically changing synaptic weights. This allows the neurons to essentially "rest" (maintaining lower firing rates) while perfectly preserving the memory, closely mirroring biological short-term memory mechanisms.
  • Zero-Shot Generalization: Because the network learns how to learn, it can generalize to entirely new tasks without explicit retraining. For example, an agent trained to move in 8 specific directions could successfully navigate in 72 unseen directions during testing simply by dynamically adjusting its weights on the fly.
  • Self-Healing Neural Networks: The authors simulated temporary brain damage by suddenly wiping all synaptic weights to zero mid-task. Remarkably, because the PDLF agents retain their learned plasticity rules, they rapidly regenerated the necessary weights from environmental stimuli and recovered full functionality.

Key Results

PDLF vastly outperformed networks trained directly on weights across complex continuous control tasks.

Multi-task RL performance comparing PDLF (Opt_Plasticity) against weight-optimized networks, alongside ablation studies confirming the necessity of both SCP and PDP.
  • Superior Multi-Task RL: In the ant_dir task, the PDLF agent achieved a score of $6904 \pm 801$, compared to just $1069 \pm 98$ for the directly trained network.
  • Beating Meta-Learning Baselines: PDLF outperformed Meta-Hebb (a state-of-the-art meta-learning approach for ANNs that also learns plasticity rules) across multiple tasks, scoring $6904$ vs $5646$ on ant_dir and $10531$ vs $7605$ on swimmer_dir.
  • Ablation Necessity: Removing the PDP (presynaptic) component caused the network to diverge entirely. This proved that while SCP drives the learning, PDP is strictly necessary to maintain equilibrium and stability in the network.

Limitations and Future Work

While groundbreaking, the framework has limitations. Using evolutionary strategies (PEPG) to optimize plasticity parameters is computationally expensive and memory-intensive during the training phase (taking up to 40 hours across 4 A100 GPUs for complex RL tasks). Additionally, the parametric modeling of plasticity adds complexity to the network architecture, which could pose scaling challenges for massive models. Finally, while PDLF generalizes well to unseen variations of training tasks, its effectiveness in drastically different, out-of-distribution environments remains unexplored.

Future work will focus on finding more efficient alternative optimization techniques, robust initialization methods, and testing the framework across a wider, more chaotic variety of environments.

Summary updated

BibTeX
@inproceedings{shen2025learning,
  author = {Guobin Shen and Dongcheng Zhao and Yiting Dong and Yang Li and Feifei Zhao and Yi Zeng},
  title = {{Learning the Plasticity: Plasticity-Driven Learning Framework in Spiking Neural Networks}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=fllsm01JWS},
}
Figure