Skip to content
Conference

PNTAFormer: polarity-aware neighborhood token attention for spiking transformers

Aug 2026 · International Conference on Digital Image Processing · Vol 14351, pp. 143510F - 143510F-10 · 0 citations · 42 references
Engineering

TL;DR

PNTAFormer, which incorporates PNT-Attention, enhances token attention by integrating two critical components: (1) 2D local neighborhood aggregation through depthwise convolution to capture spatial context, and (2) excitatory-inhibitory competition driven by membrane polarity in spiking neurons, enabling the model to effectively represent both positive and negative interactions between tokens.

Abstract

Spiking Transformers have recently adopted token-wise gating attention mechanisms to avoid the quadratic cost of dot-product attention. However, such token attention mechanisms discard critical relational information between tokens, which limits their expressive power. In this paper, we propose PNT-Attention, a novel attention mechanism designed to address the limitations of existing approaches in Spiking Transformers. PNTAFormer, which incorporates PNT-Attention, enhances token attention by integrating two critical components: (1) 2D local neighborhood aggregation through depthwise convolution to capture spatial context, and (2) excitatory-inhibitory competition driven by membrane polarity in spiking neurons, enabling the model to effectively represent both positive and negative interactions between tokens. Our approach maintains linear complexity and parameter efficiency, while significantly improving the expressive capability of the attention mechanism. Extensive experiments on both static and neuromorphic datasets demonstrate that PNTAFormer achieves significant performance improvements. On CIFAR10, it reaches 96.36% accuracy, outperforming Spikformer by 1.85% (94.51%), and on CIFAR100, it achieves 81.31%, surpassing Spikformer by 3.1% (78.21%). Additionally, PNTAFormer reduces the parameters from 9.32M to 6.74M, maintaining efficiency without sacrificing performance. On CIFAR10-DVS, PNTAFormer further achieves 84.7% top-1 accuracy with 1.5M parameters, demonstrating that the proposed attention mechanism remains highly effective even under strict model capacity constraints and event-based input settings. Moreover, under identical parameter budgets, PNTAFormer consistently outperforms QKFormer across both static and neuromorphic benchmarks, highlighting the importance of restoring token relational information in spike-based attention and demonstrating the effectiveness of polarity-aware local context modeling for Spiking Transformer design.

View source

Similar papers

Preprint Aug 2026

Rethinking Attention Locality in Spiking Transformers

This work proposes Spatially Contiguous Local Attention with Boundary Continuity Pathway (SCLA-BCP), which computes attention within non-overlapping regions of spatially adjacent tokens, while BCP facilitates cross-boundary information exchange through a lightweight convolutional pathway.

Zeqi Zheng, Zizheng Zhu, Yuping Yan et al. · 0 citations
Preprint Aug 2026

Spiking Local Interaction and Adaptive Complementary Fusion for Spiking Transformer

Experiments show consistent improvements across image classification, event-based recognition, and semantic segmentation andAblation studies and qualitative analyses indicate that SSA and SLI capture complementary interaction patterns and that learnable fusion consistently outperforms fixed weighting.

Dongcheng Zhao, Sicheng Shen, Zhenyu Yang et al. · 0 citations
Preprint Aug 2026

Lapis: Laplacian Spiking Attention via First-Spike Timing and Membrane Leakage

Lapis is proposed, a spiking attention mechanism that scores each token pair by the L1 distance between its query and key first-spike latency vectors under time-to-first-spike coding, and maps this distance to an affinity through a Laplacian kernel.

Kaiwen Tang, Jiaqi Zheng, Zixuan Zhu et al. · 0 citations
Preprint Aug 2026

SMM Transformer: Leveraging Spiking Neural Networks for Multimodal Tasks

Spiking Neural Networks (SNNs) enable event-driven computation with sparse activations, but building multimodal Transformers on SNNs is hindered by unstable training in deep spiking stacks and the mismatch between dense softmax attention and spike-based communication. We propose SMM Transformer, an SNN-based multimodal Transformer framework that combines (i)PLMP, a Parallel LIF with Multistage Learnable Parameters neuron and a tailored P-STBP algorithm for stable deep SNN training, (ii) SMSA, an attention-inspired spike-driven token-mixing module that replaces dense pairwise softmax attention with channel-wise spike co-activation and self-compensation, and (iii)SMoE, a spiking mixture-of-experts module for modality-aware fusion. Across visual and multimodal benchmarks, SMM Transformer achieves competitive accuracy compared to ANN baselines. Under a standard MAC/AC arithmetic model, SMSA reduces the estimated operator-level compute energy of the attention module by up to 97%, while whole-model profiling shows more moderate but consistent efficiency gains.

Xiubo Liang, Jinxing Han, Yuke Li et al. · 0 citations
Preprint Aug 2026

BASC : Behavior-Aligned Quantization and Pruning for Low-Bit Spiking Neural Networks

Extensive experiments on static and neuromorphic benchmarks show that lower-bit BASC models match or outperform higher-bit baselines and retain this accuracy advantage after structured pruning, while further reducing model storage and synaptic operations.

Linliang Chen, Yan Zhong, Xin Liu et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.