Neural Dynamics Self-Attention for Spiking Transformers

Dehao Zhang, Fukai Guo, Shuai Wang, Jingya Wang, Jieyuan Zhang +4 more
3/9/2026
cs.NEcs.AI
transformer-attention

No confident code implementation found for this paper.

Abstract

Integrating Spiking Neural Networks (SNNs) with Transformer architectures offers a promising pathway to balance energy efficiency and performance, particularly for edge vision applications. However, existing Spiking Transformers face two critical challenges: (i) a substantial performance gap compared to their Artificial Neural Networks (ANNs) counterparts and (ii) high memory overhead during inference.

Show full abstract

Through theoretical analysis, we attribute both limitations to the Spiking Self-Attention (SSA) mechanism: the lack of locality bias and the need to store large attention matrices. Inspired by the localized receptive fields (LRF) and membrane-potential dynamics of biological visual neurons, we propose LRF-Dyn, which uses spiking neurons with localized receptive fields to compute attention while reducing memory requirements. Specifically, we introduce a LRF method into SSA to assign higher weights to neighboring regions, strengthening local modeling and improving performance. Building on this, we approximate the resulting attention computation via charge-fire-reset dynamics, eliminating explicit attention-matrix storage and reducing inference-time memory. Extensive experiments on visual tasks confirm that our method reduces memory overhead while delivering significant performance improvements. These results establish it as a key unit for achieving energy-efficient Spiking Transformers.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhang2026neural,
  title  = {Neural Dynamics Self-Attention for Spiking Transformers},
  author = {Dehao Zhang and Fukai Guo and Shuai Wang and Jingya Wang and Jieyuan Zhang and Yimeng Shan and Malu Zhang and Yang Yang and Haizhou Li},
  year   = {2026},
  eprint = {2603.19290},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.19290v1},
  journal = {ICLR 2026 2026}
}

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.19290.svg)](https://codeofpaper.com/paper/2603.19290)

Discussion