Spiking Layer-Adaptive Magnitude-based Pruning
Organizations: Sichuan University-Pittsburgh Institute, Sichuan University, Chengdu, 610207, China · College of Computer Science, Sichuan University, Chengdu, 610065, China
Abstract
Spiking Neural Networks (SNNs) provide energy-efficient computation but their deployment is constrained by dense connectivity and high spiking operation costs. Existing magnitude-based pruning strategies, when naively applied to SNNs, fail to account for temporal accumulation, non-uniform timestep contributions, and membrane stability, often leading to severe performance degradation. This paper proposes Spiking Layer-Adaptive Magnitude-based Pruning (SLAMP), a theory-guided pruning framework that generalizes layer-adaptive magnitude pruning to temporal SNNs by explicitly controlling worst-case output distortion across layers and timesteps. SLAMP formulates sparsity allocation as a temporal distortion-constrained optimization problem, yielding time-aware layer importance scores that reduce to conventional layer-adaptive pruning in single-timestep limit. An efficient two-stage procedure is derived, combining temporal score estimation, global sparsity allocation, and magnitude pruning with retraining for stability recovery. Experiments on CIFAR10, CIFAR100, and the event-based CIFAR10-DVS datasets demonstrate that SLAMP achieves substantial connectivity and spiking operation reductions while preserving accuracy, enabling efficient and deployable SNN inference.
Figures & tables
| Dataset | Pruning Method | Architecture | T | Acc. Diff(%) | Top-1 Acc.(%) | Conn.(%) | Param. (M) | SOPs (M) |
| CIFAR10 | ADMM [ 14 ] | 7 Conv, 2 FC | 8 | -0.13 | 90.19 | 25.03 | 15.54 | – |
| Grad R [ 15 ] | 6 Conv, 2 FC | 8 | -0.30 | 92.54 | 36.72 | 10.43 | – | |
| ESLSNN [ 16 ] | ResNet19 | 2 | -1.70 | 91.09 | 50.00 | 6.30 | 180.56 | |
| STDS [ 17 ] | 6 Conv, 2 FC | 8 | -0.35 | 92.49 | 11.33 | 1.71 | 147.22 | |
| UPR [ 18 ] | 6 Conv, 2 FC | 8 | -0.79 | 92.05 | 1.16 | 9.56 | 16.47 | |
| SLAMP (Ours) | ResNet19 | 2 | +1.23 | 92.42 | 40.00 | 4.47 | 112.35 |
| Dataset | Connectivity | Accuracy (%) | Membrane Variance | ||
|---|---|---|---|---|---|
| With | Without | With | Without | ||
| CIFAR10 | 70% | 92.10 | 88.32 | 0.081 | 0.153 |
| 40% | 92.42 | 84.17 | 0.092 | 0.221 | |
| 25% | 91.20 | 76.45 | 0.105 | 0.298 | |
| 10% | 88.40 | 63.28 | 0.134 | 0.412 | |
| CIFAR100 | 70% | 69.82 | 65.14 | 0.095 | 0.182 |
| Hyperparameter | Value | CIFAR10 | CIFAR10-DVS | Sparsity | ||
|---|---|---|---|---|---|---|
| Accuracy | Acc | Accuracy | Acc | Deviation | ||
| Pruning Freq | 10 | 92.15% | -0.27 | 77.92% | -0.29 | 1.8% |
| 15 | 92.42% | 0.00 | 78.21% | 0.00 | 0.9% | |
| 25 | 92.38% | -0.04 | 78.15% | -0.06 | 1.2% | |
| Learning Rate | 0.005 | 91.25% | -1.17 | 76.84% | -1.37 | 2.1% |
| 0.01 | 92.03% | -0.39 | 78.21% | 0.00 | 1.3% | |
Spiking Neural Networks
Spiking neural networks process information through discrete, time-dependent neural events, aiming for efficient computation and biologically inspired learning.
See all 336 papers