Introduction
Spiking Neural Networks (SNNs) represent a promising "green" alternative to traditional Artificial Neural Networks, offering high energy efficiency by mimicking the event-driven communication of biological brains. However, standard deterministic models, such as the Leaky Integrate-and-Fire (LIF) neuron, face significant challenges: their non-differentiable activation functions complicate training, and they lack a principled mechanism for quantifying uncertainty.
This paper introduces GEM-SNN, a novel online learning framework for probabilistic SNNs. By employing Generalized Expectation-Maximization (GEM) and multi-sample inference, the authors demonstrate that probabilistic SNNs can achieve more robust performance, provide reliable uncertainty estimates, and accelerate training through variance reduction in gradient estimation.
Network Architecture and Neuron Dynamics
The proposed framework operates on a network of spiking neurons partitioned into visible neurons ($\mathcal{X}$), which receive external inputs, and hidden neurons ($\mathcal{H}$), which process internal representations.
At the individual neuron level, the model incorporates multi-compartment dynamics. Each neuron $i$ processes incoming spikes from its pre-synaptic neighbors $\mathcal{P}_i$ through synaptic filters. These filtered signals are weighted and summed to determine the membrane potential. Additionally, a somatic filter captures the neuron's own firing history (self-memory), influencing its future probability of spiking.
The GEM-SNN Learning Framework
The core innovation of GEM-SNN lies in its multi-sample approach to training and inference. Instead of a single forward pass, the network generates $K$ independent realizations of hidden neuron activity.
Generalized Expectation-Maximization (GEM)
In probabilistic SNNs, the gradient of the log-likelihood is an expectation over the hidden neuron states. Traditional methods often rely on a single sample per time step, leading to noisy updates. GEM-SNN uses importance sampling with a causally conditioned proposal distribution to achieve an "online" update rule that remains computationally efficient.
Three-Factor Learning Rule
The resulting weight updates follow a hardware-friendly "three-factor" format. The update for a synapse from neuron $j$ to $i$ depends on a pre-synaptic trace (filtered activity), a post-synaptic error, and a global learning signal computed by a central processor (CP) that coordinates learning across the network.
Experimental Evaluation
The researchers evaluated GEM-SNN on neuromorphic datasets, including MNIST-DVS, where spikes are recorded from a Dynamic Vision Sensor, and a Structured Output Memorization task.
Key Results
- Accuracy and Robustness: On binary classification tasks, increasing the number of inference samples ($K_I$) significantly boosted performance. For instance, accuracy improved from 90.9% (single sample) to 97.2% (20 samples).
- Uncertainty Quantification: The distribution of "votes" across multiple samples provides a natural measure of aleatoric uncertainty. The model's Expected Calibration Error (ECE) decreased as more training samples were used, indicating that its confidence levels accurately reflect its true performance.
- Convergence Speed: By reducing the variance of gradient estimates, the multi-sample approach led to smoother and faster convergence compared to single-sample baselines like Importance-Weighted SNN (IW-SNN).
Discussion and Future Work
While GEM-SNN offers significant advantages in reliability and training efficiency, it introduces a communication trade-off. The requirement for a central processor to broadcast importance weights can create bottlenecks in fully decentralized neuromorphic hardware. Furthermore, sequential sampling increases the temporal latency of decisions. Future directions include optimizing communication for decentralized architectures and extending the framework to more complex neural circuits.
Summary updated