Abstract
Spiking Neural Networks (SNNs) offer high energy efficiency by mimicking biological neural communication, yet they remain notoriously difficult to train using standard gradient-based methods. This paper presents an "evolving-to-learn" framework that utilizes Cartesian Genetic Programming (CGP) to automatically discover symbolic synaptic plasticity rules. By evolving mathematical expressions rather than black-box models, the framework identifies interpretable rules that outperform human-designed baselines in XOR classification and reinforcement learning tasks like Cart-pole. The results demonstrate that automated evolution can rediscover known biological principles and uncover novel mechanisms, such as the importance of initial weight scaling, to enhance learning stability and speed.
Introduction
Spiking Neural Networks (SNNs) are often hailed as the "third generation" of neural networks. By communicating via discrete, sparse "spikes" rather than continuous values, they are uniquely suited for low-power neuromorphic hardware. However, the non-differentiable nature of spikes makes standard backpropagation computationally expensive and difficult to implement on-chip.
While local synaptic plasticity rules like Spike-Timing-Dependent Plasticity (STDP) offer a biologically inspired alternative, they typically require extensive manual fine-tuning for every new task. This "trial-and-error" bottleneck limits the scalability of SNNs. This research addresses the problem by automating the discovery of these rules, evolving the mathematical formulas of the learning mechanisms themselves to suit specific task requirements.
The Evolving-to-Learn Framework
The researchers employ a meta-learning framework called Evolving-to-Learn, which operates through two nested loops to optimize network performance.
- The Inner Loop: An SNN is initialized and trained on a specific task (e.g., balancing a pole) using a candidate plasticity rule. The performance on this task determines the "fitness" of that specific rule.
- The Outer Loop: An evolutionary algorithm known as Cartesian Genetic Programming (CGP) searches the space of possible plasticity rules.
In CGP, a learning rule is represented as a directed graph of mathematical operators (such as addition, subtraction, and multiplication) and input signals. These signals include local information—like pre- and post-synaptic spikes and eligibility traces (fading memories of recent activity)—as well as global reward signals. Unlike neural network-based meta-learners that act as "black boxes," this symbolic approach produces human-readable formulas that allow researchers to analyze the underlying logic of the discovered rules.
Experimental Setup and Datasets
The framework was evaluated on two classic benchmarks to test both classification and reinforcement learning capabilities:
- XOR Classification: A fundamental non-linear problem where the network must classify input spike patterns into logical categories.
- Cart-pole (OpenAI Gym): A reinforcement learning task where the SNN must balance a pole on a moving cart. Input states like angle and velocity are encoded into Poisson spike trains, and the network must learn to apply appropriate forces based on a sparse reward signal.
Key Insights and Results
The evolutionary process yielded several significant findings that both validated the approach and provided new insights into SNN dynamics:
- Validation through Rediscovery: The algorithm successfully "rediscovered" established baseline rules from existing literature, such as MSTDPET. This confirmed that the search space was correctly defined and that the evolutionary process could reach known optimal solutions.
- Identifying Critical Components: For the XOR task, the algorithm consistently identified the product of the eligibility trace ($E$) and the reward ($R$) as a critical term. This aligns with biological "three-factor" learning theories.
- Novel Rule Discovery: In the Cart-pole task, the framework discovered a high-performing novel rule: $\Delta w_{ij}(t) = \gamma t R(t) E_{ij}(t) w_{ij}(0)^2$. The inclusion of the square of the initial weight ($w_{ij}(0)^2$) was a surprising discovery that significantly boosted learning speed and stability compared to standard multiplicative R-STDP.
As shown in the spike train visualization for the XOR task, the evolved rules allow the network to transition from disorganized activity to distinct, learned spiking patterns that accurately reflect the input logic. Quantitatively, the evolved XOR rule ($E(S_j + R) + S_j$) achieved higher validation accuracy and faster convergence than the human-designed MSTDPET baseline. In the Cart-pole environment, the best evolved rules showed higher fitness (longer balance times) and much lower variance across trials than standard baselines.
Conclusion and Future Work
By evolving symbolic expressions for plasticity, this framework removes the need for manual rule tuning while maintaining interpretability. The discovery of the importance of initial weights suggests that there are still many unexplored mathematical nuances in SNN learning.
Future research will focus on evolving "structural" hyperparameters—such as membrane decay constants and spike thresholds—alongside the plasticity rules. Additionally, the researchers aim to scale the framework to higher-dimensional problems, such as complex robotics and vision tasks, to test the generalizability of these evolved rules.
Summary updated