TP-Spikformer: Token Pruned Spiking Transformer

Wenjie Wei, Xiaolong Zhou, Malu Zhang, Ammar Belatreche, Qian Sun +6 more
2/28/2026
cs.CV

No official code found. Best implementation: xlzhou126/TP-Spikformer-Token-Pruned-Spiking-Transformer (5 stars, Apache-2.0, last commit 2026-04-24).

Abstract

Spiking neural networks (SNNs) offer an energy-efficient alternative to traditional neural networks due to their event-driven computing paradigm. However, recent advancements in spiking transformers have focused on improving accuracy with large-scale architectures, which require significant computational resources and limit deployment on resource-constrained devices. In this paper, we propose a simple yet effective token pruning method for spiking transformers, termed TP-Spikformer, that reduces storage and computational overhead while maintaining competitive performance. Specifically, we first introduce a heuristic spatiotemporal information-retaining criterion that comprehensively evaluates tokens' importance, assigning higher scores to informative tokens for retention and lower scores to uninformative ones for pruning. Based on this criterion, we propose an information-retaining token pruning framework that employs a block-level early stopping strategy for uninformative tokens, instead of removing them outright. This also helps preserve more information during token pruning. We demonstrate the effectiveness, efficiency and scalability of TP-Spikformer through extensive experiments across diverse architectures, including Spikformer, QKFormer and Spike-driven Transformer V1 and V3, and a range of tasks such as image classification, object detection, semantic segmentation and event-based object tracking. Particularly, TP-Spikformer performs well in a training-free manner. These results reveal its potential as an efficient and practical solution for deploying SNNs in real-world applications with limited computational resources.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

[ICLR 2026] TP-Spikformer: Token Pruned Spiking Transformer

51PythonApr 24, 20266 months agoApache-2.0

Similar Papers

Cite this paper

@article{wei2026tpspikformer,
  title  = {TP-Spikformer: Token Pruned Spiking Transformer},
  author = {Wenjie Wei and Xiaolong Zhou and Malu Zhang and Ammar Belatreche and Qian Sun and Yimeng Shan and Dehao Zhang and Zijian Zhou and Zeyu Ma and Yang Yang and Haizhou Li},
  year   = {2026},
  eprint = {2603.00527},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.00527v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2603.00527.svg)](https://codeofpaper.com/paper/2603.00527)

Discussion