# Quantized Spike-driven Transformer

Source: [Quantized Spike-driven Transformer](<https://www.sota2.com/research/paper/68fa77991e209131cea74448>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2025-10-27T06:49:55.154Z

Authors: Xuerui Qiu, Malu Zhang, Jieyuan Zhang, Wenjie Wei, Honglin Cao, Junsheng Guo, Rui-Jie Zhu, Yimeng Shan, Yang Yang, Haizhou Li

Published: 2025-01-23T09:14:15.000Z

## Abstract

Spiking neural networks are emerging as a promising energy-efficient alternative to traditional artificial neural networks due to their spike-driven paradigm. However, recent research in the SNN domain has mainly focused on enhancing accuracy by designing large-scale Transformer structures, which typically rely on substantial computational resources, limiting their deployment on resource-constrained devices. To overcome this challenge, we propose a quantized spike-driven Transformer baseline (QSD-Transformer), which achieves reduced resource demands by utilizing a low bit-width parameter. Regrettably, the QSD-Transformer often suffers from severe performance degradation. In this paper, we first conduct empirical analysis and find that the bimodal distribution of quantized spike-driven self-attention (Q-SDSA) leads to spike information distortion (SID) during quantization, causing significant performance degradation. To mitigate this issue, we take inspiration from mutual information entropy and propose a bi-level optimization strategy to rectify the information distribution in Q-SDSA. Specifically, at the lower level, we introduce an information-enhanced LIF to rectify the information distribution in Q-SDSA. At the upper level, we propose a fine-grained distillation scheme for the QSD-Transformer to align the distribution in Q-SDSA with that in the counterpart ANN. By integrating the bi-level optimization strategy, the QSD-Transformer can attain enhanced energy efficiency without sacrificing its high-performance advantage. For instance, when compared to the prior SNN benchmark on ImageNet, the QSD-Transformer achieves 80.3% top-1 accuracy, accompanied by significant reductions of 6.0$\\times$ and 8.1$\\times$ in power consumption and model size, respectively. Code is available at https://github.com/bollossom/QSD-Transformer.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

- [Image Classification on ImageNet 1K (Top-1 Accuracy, Memory, Search Time)](<https://www.sota2.com/research/sota/image-classification-on-imagenet-1k-top-1-accuracy-memory-search-time.md>): Image Classification; ImageNet-1K; Top-1 Accuracy: 80.3.

- [Image Classification on ImageNet 1K (val) (Top-1 Accuracy and Power)](<https://www.sota2.com/research/sota/image-classification-on-imagenet-1k-val-top-1-accuracy-and-power.md>): Image Classification; ImageNet-1k (val); Top-1 Accuracy: 78.9.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2501.13492>)

[PDF](<https://arxiv.org/pdf/2501.13492.pdf>)
