QP-SNN: Quantized and Pruned Spiking Neural Networks

Wenjie Wei, Malu Zhang, Zijian Zhou, Ammar Belatreche, Yimeng Shan, Yu Liang, Honglin Cao, Jieyuan Zhang, Yang Yang

Abstract

Spiking Neural Networks (SNNs) are brain-inspired models that offer high energy efficiency through sparse, binary spike communication. However, their deployment on edge devices is often limited by large model sizes. This paper presents QP-SNN, a hardware-friendly framework that integrates uniform quantization and structured pruning. By introducing a weight rescaling strategy (ReScaW) and a singular value-based pruning criterion (SVS), QP-SNN achieves over 90% reduction in model size while maintaining or improving accuracy across various benchmarks, including ImageNet.

Introduction

SNNs theoretically enable low-power computation by replacing multiplications with additions. Despite this, modern high-performance SNNs have grown significantly in size, making them difficult to deploy on resource-constrained hardware. Existing compression techniques often suffer from inefficient bit-width utilization and unstable pruning metrics. QP-SNN addresses these issues by optimizing how weights are represented and identifying which network components are truly redundant.

Methodology

Weight Rescaling (ReScaW)

Standard quantization often fails in SNNs because weights tend to cluster in a narrow range around zero, leaving most quantization "bins" empty. The authors found that baseline SNNs under 8-bit quantization often utilize only 15% to 32% of the available bit-width. To solve this, ReScaW applies a scaling coefficient derived from the 1-norm mean of weights, stretching the distribution to fill the entire bit-width range before quantization.

Comparison of vanilla uniform quantization versus the proposed ReScaW strategy, alongside weight distribution visualizations.

Singular Value of Spike Activity (SVS) Pruning

Structured pruning—removing entire convolutional filters—is more hardware-friendly than unstructured pruning but can be sensitive to input data. QP-SNN introduces SVS pruning, which applies Singular Value Decomposition (SVD) to spatiotemporal spike matrices. This method captures the inherent information richness of a channel, providing a stable importance metric that is robust across different inputs, unlike traditional activity-based methods.

Experimental Evaluation

The framework was tested on static image datasets (CIFAR, ImageNet) and neuromorphic datasets (DVS-CIFAR10).

Accuracy vs. bit-width for weight across various SNN compression methods. QP-SNN (pink) demonstrates superior accuracy at lower bit-widths and smaller model sizes.

Key results include:

  • CIFAR-10: Achieved 95.06% accuracy with a 1.61 MB model (2-bit weights).
  • TinyImageNet: Reduced model size by 90.26% while increasing accuracy by 3.71% compared to prior structured pruning methods.
  • ImageNet: Successfully applied structured pruning to SNNs on ImageNet-1k, achieving performance comparable to unstructured methods.
  • Object Detection: Reduced model size by 8.97x on the SSDD dataset while maintaining a 97.10% [email protected].

Conclusion

QP-SNN provides a robust path for deploying SNNs on edge hardware by combining efficient quantization with stable structured pruning. Future work will focus on automating pruning rates through Neural Architecture Search and exploring extreme 1-bit quantization for large-scale datasets.

Summary updated

BibTeX
@inproceedings{wei2025qp,
  author = {Wenjie Wei and Malu Zhang and Zijian Zhou and Ammar Belatreche and Yimeng Shan and Yu Liang and Honglin Cao and Jieyuan Zhang and Yang Yang},
  title = {{QP-SNN: Quantized and Pruned Spiking Neural Networks}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=MiPyle6Jef},
}
Figure