Toward Efficient Spiking Transformers: Synapse Pruning Meets Synergistic Learning-Based Compensation
Hongze Sun, Wuque Cai, Duo Chen, Quan Tang, Shifeng Mao, Jiayi He, Zhenxing Wang, Yan Cui, Dezhong Yao, Daqing Guo
TL;DR
This work tackles the efficiency gap in Spiking Transformer models by marrying two pruning strategies—unstructured $L_{1}$P and structured DSP—with a plug-and-play synergistic learning-based compensation via a novel sLIF neuron. The framework systematically reduces parameter count and computation while preserving accuracy, and is underpinned by theoretical analyses of gradient restoration and plasticity-driven response realignment. Extensive experiments across static and neuromorphic datasets (including ImageNet, CIFAR, CIFAR10-DVS, and ADE20K) demonstrate strong compression with competitive performance, faster convergence during fine-tuning, and meaningful inference-time and energy savings. The results suggest a practical path for deploying ST-based models on edge devices and neuromorphic hardware, with potential for dynamic sparsity and broader architectural extensions in future work.
Abstract
As a foundational architecture of artificial intelligence models, Transformer has been recently adapted to spiking neural networks with promising performance across various tasks. However, existing spiking Transformer(ST)-based models require a substantial number of parameters and incur high computational costs, thus limiting their deployment in resource-constrained environments. To address these challenges, we propose combining synapse pruning with a synergistic learning-based compensation strategy to derive lightweight ST-based models. Specifically, two types of tailored pruning strategies are introduced to reduce redundancy in the weight matrices of ST blocks: an unstructured $\mathrm{L_{1}P}$ method to induce sparse representations, and a structured DSP method to induce low-rank representations. In addition, we propose an enhanced spiking neuron model, termed the synergistic leaky integrate-and-fire (sLIF) neuron, to effectively compensate for model pruning through synergistic learning between synaptic and intrinsic plasticity mechanisms. Extensive experiments on benchmark datasets demonstrate that the proposed methods significantly reduce model size and computational overhead while maintaining competitive performance. These results validate the effectiveness of the proposed pruning and compensation strategies in constructing efficient and high-performing ST-based models.
