Abstract
Spiking neural networks (SNNs), which draw from biological neuron models, have the potential to improve the computational efficiency of artificial neural networks (ANNs) due to their event-driven nature and sparse data flow. SNNs rely on dynamical sparsity, in that neurons are trained to activate sparsely to minimize data communication. This is critical when accounting for hardware given the bandwidth limitations between memory and processor. Given that neurons are sparsely activated, weights are less frequently accessed, and potentially can be pruned to less performance degradation in a SNN compared to an equivalent ANN counterpart. Reducing the number of synaptic connections between neurons also relaxes memory demands for neuromorphic processors. In this paper, we propose a spatio-temporal pruning algorithm that dynamically adapts to reduce the temporal redundancy that often exists in SNNs when processing Dynamic Vision Sensor (DVS) datasets. Spatial pruning is executed based on both global parameter statistics and inter-layer parameter count and is shown to reduce model degradation under extreme sparsity. We provide an ablation study that isolates the various components of spatio-temporal pruning, and find that our approach achieves excellent performance across all datasets, with especially high performance on datasets with time-varying features. We achieved a 0.69% improvement on the DVS128 Gesture dataset, despite the common expectation that pruning typically degrades performance. Notably, this enhancement comes with an impressive 98.18% reduction in parameter space and a 50% reduction in time redundancy.
Introduction
Spiking Neural Networks (SNNs) represent a paradigm shift in neural computing, moving away from continuous-valued activations toward discrete, asynchronous spikes. This bio-inspired approach allows for massive energy efficiency gains, particularly on edge devices and specialized neuromorphic hardware. While SNNs naturally exhibit dynamical sparsity—where neurons only fire when necessary—deploying them effectively requires addressing two other forms of redundancy: static spatial redundancy (excessive synaptic weights) and temporal redundancy (excessive computation over time).
Existing pruning methods for SNNs often borrow directly from the ANN literature, focusing primarily on weight magnitude. However, these methods ignore the temporal dimension and can inadvertently destroy critical information in smaller, sensitive layers. This paper introduces a unified spatio-temporal pruning framework designed to optimize SNNs for hardware constraints without sacrificing—and in some cases, even improving—classification accuracy.
The Spatio-Temporal Pruning Framework
The proposed method addresses efficiency through a two-stage process that targets both the duration of computation and the density of the network architecture.
1. Adaptive Temporal Dynamics
SNNs typically process data over a fixed number of timesteps $T$. Often, the network reaches a confident decision long before the final timestep, leading to wasted computation. The authors propose using KL-divergence to identify the optimal stopping point. By calculating the divergence between the model's predicted probability distribution at a given timestep $t$ and the ground-truth labels, the algorithm identifies the earliest "Decision Timestep" $i$ where the prediction stabilizes. If the normalized KL-divergence falls below a threshold $\lambda$, subsequent timesteps are pruned.
2. Layer-Adaptive Spatial Pruning
To reduce the static parameter count, the authors employ a Layer-Adaptive Magnitude-based Pruning Score (LAMPS). Standard global pruning often removes too many weights from small but vital early layers. LAMPS mitigates this by scaling the pruning score of each weight based on the connection density of its specific layer. This ensures that dense, redundant layers (like fully connected layers) are pruned more aggressively while protecting the sparse feature-extraction layers.
Theoretical Insights
A key contribution of this work is the mathematical link between the KL-divergence metric and Fisher Information. Through Taylor expansion, the authors demonstrate that minimizing KL-divergence is equivalent to preserving the most informative parameters in the network. This provides a rigorous theoretical justification for early temporal stopping.
Furthermore, the study reveals a "less is more" phenomenon in event-based processing. On the DVS128-Gesture dataset, extreme pruning actually improved accuracy by 0.69%. This suggests that high-density SNNs may overfit to the temporal noise inherent in raw event-camera data. By pruning redundant connections and timesteps, the model is forced to learn more robust, generalized features.
Experimental Results
The framework was tested on both static (CIFAR-10/100) and dynamic event-based datasets (DVS128-Gesture, CIFAR10-DVS). The results demonstrate the method's ability to achieve extreme sparsity with minimal impact on performance:
- Parameter Reduction: The method consistently achieved approximately 98.18% sparsity across all benchmarks.
- Temporal Efficiency: On the DVS128-Gesture dataset, the required timesteps were cut by 50% (from 20 to 10) while simultaneously improving accuracy.
- Comparison to IMP: The spatio-temporal approach outperformed standard Iterative Magnitude Pruning (IMP), particularly on CIFAR-10, where it maintained high accuracy even at 98.13% sparsity.
Conclusion
By integrating adaptive temporal dynamics with layer-aware spatial pruning, this work provides a robust pathway for deploying SNNs on resource-constrained neuromorphic hardware. The ability to reduce parameter counts by over 98% and temporal redundancy by up to 50%—while maintaining or improving accuracy—marks a significant step toward practical, high-efficiency edge AI. Future work will focus on extending this framework to non-classification tasks and developing hardware-aware pruning patterns tailored to specific neuromorphic architectures.
Summary updated