Abstract
Recurrent Spiking Neural Networks (RSNNs) have traditionally been trained using either error-based or target-based paradigms, often categorized by their reliance on rate-based or spike-based coding. We present GOAL (Generalized Optimization of Apprenticeship Learning), a unified framework that bridges these gaps. By tuning the rank of feedback and temporal sensitivity, GOAL encompasses existing algorithms like e-prop and full-FORCE as special cases. Our results across diverse tasks—from long-term memory navigation to fine motor control—demonstrate that the optimal learning strategy depends on the specific task requirements for memory and precision.
Introduction
The landscape of learning rules for Recurrent Spiking Neural Networks (RSNNs) is currently fragmented. Two dominant but opposing philosophies have emerged: error-based learning, where global error signals are broadcast back to individual neurons, and target-based learning, where neurons are assigned specific internal trajectories to follow. Additionally, a long-standing debate in neuroscience questions whether information is encoded via firing rates or the precise timing of individual spikes. This paper introduces the GOAL (Generalized Optimization of Apprenticeship Learning) framework to unify these disparate approaches.
The GOAL Framework
The GOAL framework utilizes a gradient-based learning rule for RSNNs governed by two primary tunable parameters:
- Rank ($R$): Represents the number of learning constraints. Low $R$ corresponds to error-based learning (projecting few output errors), while high $R$ corresponds to target-based learning (forcing many internal neurons to follow specific trajectories).
- Temporal Sensitivity ($\tau_*$): The timescale used to filter spikes. Small $\tau_*$ enables sensitivity to exact spike timing (spike-based coding), while large $\tau_*$ produces a smoother signal (rate-based coding).
Mathematically, popular algorithms such as e-prop and full-FORCE are shown to be specific edge cases within this broader framework, allowing for a systematic exploration of the learning space.
Experimental Results
The model was evaluated on three distinct benchmarks: a store-and-recall trajectory task, a "Button-and-Food" navigation task requiring long-term memory, and a 2D Bipedal Walker motor control task.
The Rank-Duality and Convergence
In the store-and-recall task, we observed a "rank-duality." While high-rank (target-based) learning eventually achieves lower Mean Squared Error (MSE), low-rank (error-based) configurations often converge significantly faster. This suggests that error-based learning provides the network with more "freedom" to find internal solutions during the initial stages of training.
Memory vs. Precision
The framework reveals that different tasks demand different parameter configurations:
- Long-term Memory: In the "Button-and-Food" task, a high rank ($R$) was essential. Providing internal "hints" helped the network maintain the memory necessary to bridge the temporal gap between pressing a button and reaching a goal.
- Motor Precision: For the Bipedal Walker, temporal sensitivity ($\tau_*$) was the deciding factor. Optimal performance required very low $\tau_*$ (under 0.5ms), confirming that precise spike timing is vital for fine motor coordination.
Conclusion
The GOAL framework reconciles competing theories of RSNN learning and provides a tool for "reverse engineering" biological brains. By measuring the dimensionality of neural activity, researchers can estimate the "rank" of feedback signals in different brain regions. The authors have released a PyTorch implementation to facilitate further research into scaling these findings.
Summary updated