Closing the Theory-Practice Gap in Spiking Transformers via Effective Dimension
Not on the map. Why?
Abstract (arXiv)
Spiking transformers achieve competitive accuracy with conventional transformers while offering 38-57× energy efficiency on neuromorphic hardware, yet no theoretical framework guides their design. This paper establishes the first comprehensive expressivity theory for spiking self-attention. We prove that spiking attention with Leaky Integrate-and-Fire neurons is a universal approximator of continuous permutation-equivariant functions, providing explicit spike circuit constructions including a novel lateral inhibition network for softmax normalization with proven O(1/√T) convergence. We derive tight spike-count lower bounds via rate-distortion theory: varepsilon-approximation requires Omega(Lf2 nd/varepsilon2) spikes, with rigorous information-theoretic derivation. Our key insight is input-dependent bounds using measured effective dimensions (deff=47--89 for CIFAR/ImageNet), explaining why T=4 timesteps suffice despite worst-case T ≥ 10,000 predictions. We provide concrete design rules with calibrated constants (C=2.3, 95% CI: [1.9, 2.7]). Experiments on Spikformer, QKFormer, and SpikingResformer across vision and language benchmarks validate predictions with R2=0.97 (p<0.001). Our framework provides the first principled foundation for neuromorphic transformer design.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 20 of its 32 references that are in the map. First posted on arXiv 17 Apr 2026.
Builds on
20 of 32 references.
References · 20
- 2017Attention Is All You Needcited by 60,361
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2020Big Bird: Transformers for Longer Sequencescited by 1,684
- 2019Are Transformers universal approximators of sequence-to-sequence functions?cited by 406
- 2019Theoretical Limitations of Self-Attention in Neural Sequence Modelscited by 288
- 2022Spikformer: When Spiking Neural Network Meets Transformercited by 271
- 2022The Parallelism Tradeoff: Limitations of Log-Precision Transformerscited by 193
- 2023SpikingJelly: An open-source machine learning infrastructure platform for spike-based intelligencecited by 169
- 2023Spike-driven Transformercited by 146
- 2024Spike-driven Transformer V2: Meta Spiking Neural Network Architecture Inspiring the Design of Next-generation Neuromorphic Chipscited by 103
- 2023SpikeGPT: Generative Pre-trained Language Model with Spiking Neural Networkscited by 88
- 2023Tighter Bounds on the Expressivity of Transformer Encoderscited by 66
8 more
- 2024QKFormer: Hierarchical Spiking Transformer using Q-K Attentioncited by 49
- 2023SpikingBERT: Distilling BERT to Train Spiking Language Models Using Implicit Differentiationcited by 48
- 2024SpikingResformer: Bridging ResNet and Vision Transformer in Spiking Neural Networkscited by 40
- 2024Spikformer V2: Join the High Accuracy Club on ImageNet with an SNN Ticketcited by 30
- 2018On the Universal Approximability and Complexity Bounds of Quantized ReLU Neural Networkscited by 12
- 2022On the Intrinsic Structures of Spiking Neural Networkscited by 4
- 2023Expressivity of Spiking Neural Networkscited by 4
- 2021Universal Approximation Theorems of Fully Connected Binarized Neural Networkscited by 2
Built on by
Not cited yet.