Abstract
Spiking Neural Networks (SNNs) are valued for their energy efficiency and biological realism but are difficult to train using standard gradient-based methods. This paper proposes PC-SNN, a novel framework that replaces biologically implausible backpropagation with local Hebbian plasticity inspired by Predictive Coding theory. By employing local error nodes and parallel inference, PC-SNN achieves high performance across classification and regression tasks, offering a scalable and biologically grounded alternative for neuromorphic computing.
Introduction
Spiking Neural Networks (SNNs) represent the "third generation" of neural networks, prized for their event-driven nature and energy efficiency. However, training SNNs is challenging because their discrete spikes are non-differentiable. Most current solutions rely on Backpropagation (BP) or surrogate gradients. While effective, BP is biologically implausible: it requires global error signals to travel backward through the network and necessitates "weight transport" (symmetric weights for forward and backward passes). This creates a significant gap between high-performance AI and the distributed, local learning mechanisms observed in the brain.
Methods: The PC-SNN Framework
The authors propose PC-SNN, a framework that integrates Predictive Coding (PC)—a neuroscientific theory suggesting the brain constantly updates internal models to predict sensory input—into SNN architectures.
Local Hebbian Plasticity and EM Framework
Instead of a global loss function, PC-SNN assigns "error nodes" to each layer. These nodes calculate the discrepancy between the current neuronal state and the prediction from the layer below. Weight updates depend only on the activity of directly connected (local) neurons, adhering to Hebbian principles.
The training process is treated as an Expectation-Maximization (EM) framework:
- E-step (Inference): The network iteratively modifies neuronal firing times to minimize "free energy" (the prediction error).
- M-step (Learning): Synaptic weights are updated based on the converged firing times.
Temporal Coding and Recurrent Architectures
PC-SNN utilizes Time-To-First-Spike (TTFS) coding, where information is encoded in the precise timing of the first spike rather than firing rates. For temporal tasks, the authors developed the Adaptive Spiking Recurrent Neural Network (ASRNN) using Predictive-Coding-Through-Time (PCTT). This approach handles sequential data from event cameras without the gradient explosion or vanishing issues common in Backpropagation-Through-Time (BPTT).
Experimental Results
The model was evaluated on several standard and neuromorphic benchmarks, demonstrating that local plasticity can achieve competitive accuracy.
Classification Performance
PC-SNN achieved high accuracy across multiple datasets:
- Caltech Face/Motorbike: 99.3%
- MNIST: 98.1%
- N-MNIST: 98.5%
- CIFAR-10 (VGG-16 backbone): 92.51%
Regression and Complexity
In predicting 3D rotation from event camera data, the ASRNN-PCTT model outperformed BP-based methods, achieving an RMSE of 59.58 deg/s. Furthermore, the algorithmic complexity of PC-SNN ($O(nK + 2mK)$) is lower than the multistep chain-rule computations required by BP-SNN.
Discussion and Key Insights
- Parallelism: Unlike BP, which requires a sequential backward pass, PC-SNN allows all hidden layers to be updated simultaneously. This is a significant advantage for distributed neuromorphic hardware.
- Biological Fidelity: By adhering to local constraints, the model naturally avoids the "weight transport" problem and the need for global feedback networks.
- Dynamic Target Firing: The use of dynamic target firing times encourages "correct" neurons to fire earlier, creating a temporal margin that improves robustness against noise.
Limitations and Future Work
While PC-SNN shows great promise, future research is needed to validate its scalability on larger datasets like ImageNet. Additionally, while the theoretical benefits for neuromorphic chips (e.g., Intel’s Loihi) are clear, physical hardware implementation remains a key next step. Finally, reducing the number of iterations required for the E-step could further decrease inference latency.
Summary updated