arXiv · 2610.01403
Contrastive Attention Mitigates Spectral Bias in Spiking Transformers
Abstract
Spiking Transformers merge the energy-efficiency of spiking neural networks (SNNs) with the representational power of self-attention, creating a promising architecture for high-performance, energy-efficient computation. However, a performance gap persists versus its counterparts in artificial neural networks (ANNs). Unlike prior works attributing this to binary activations, we reveal that both spiking neurons and spiking self-attention (SSA) act as low-pass filters through multiscale spectral analysis. This characteristic leads to the dissipation of high-frequency components. To address this issue, we propose the Spiking Contrastive Attention (SCA) paradigm, which draw inspiration from the edge-detection and differential sensing properties of biological visual system. By extracting contrast prototypes via global contrastive aggregation and applying local differential refinement, SCA effectively enhances high-frequency information. Extensive experiments show that SCA is a general module that consistently boosts Spiking Transformers across image classification, semantic segmentation, and event-based tracking. Furthermore, it achieves lower complexity, offering superior efficiency over original SSA. These results establish its potential as a fundamental building block for energy-efficient Spiking Transformers.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Xiaoli Liu, Malu Zhang, Yang Yang. 2026-10-01. Contrastive Attention Mitigates Spectral Bias in Spiking Transformers. https://arxiv.org/abs/2610.01403
Cite the original work for its findings. Save a collection to share your selection of sources.