atlas

Research map / Architectures and efficiency / Spiking networks

Rethinking Spiking Self-Attention Mechanism: Implementing a-XNOR Similarity Calculation in Spiking Transformers

CVPR 2025 · Architectures and efficiency › Spiking networks · approach: Spiking transformers · 6 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes α-XNOR similarity, a spike-aware replacement for dot-product similarity in spiking self-attention, yielding α-SSA modules that improve several spiking Transformers on ImageNet, CIFAR10/100 and CIFAR10-DVS.

Problem

Dot-product similarity between sparse binary spike queries and keys ignores matching non-spike pairs (0-0), so it measures similarity poorly, contributing to the performance gap between spiking Transformers and ANN Transformers.

Approach

Replace the dot product with α-XNOR similarity, which scores matching spikes as 1, matching non-spikes as a weight α in (0,1), and mismatches as 0; a learned-free linear scale and bias on the scores, set analytically to normalize membrane potentials, complements it.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace dot-product SSA with α-SSA (α = 0.3) in S-ViTS-ViT · ImageNetaccuracyHelped
Replace dot-product SSA with α-SSA (α = 0.3) in M-ViTM-ViT · ImageNetaccuracyHelped
Replace SSA with α-SSA (α = 0.3) in S-ViTS-ViT · CIFAR10accuracyHelped
Replace SSA with α-SSA (α = 0.3) in M-ViTM-ViT · CIFAR100accuracyHelped
Replace SSA with α-SSA (α = 0.3) in M-ViTM-ViT · CIFAR10-DVSaccuracyHelped
Replace SSA with α-SSA (α = 0.5) in M-ViTM-ViT · CIFAR10-DVSaccuracyHelped
Add the α-SSA attention-score linear transformation while retaining dot-product similarity (α = 0) (ablation)Spikformer · CIFAR100accuracy: 78.21% to 79.04%Helped
Replace dot-product similarity with XNOR similarity (α = 1) (ablation)Spikformer + α-SSA · CIFAR100accuracy: 79.04% to 79.33%Helped
Replace dot-product similarity with α-XNOR similarity (α = 0.3) (ablation)Spikformer + α-SSA · CIFAR100accuracy: 2.01%Helped
Use α = 0.3 instead of α = 0.5 in S-ViT (ablation)S-ViT + α-SSA · CIFAR10accuracy: 95.92 to 95.97Helped
Use α = 0.3 instead of α = 0.5 in S-ViT (ablation)S-ViT + α-SSA · CIFAR100accuracy: 79.97 to 80.22Helped
Use α = 0.3 instead of α = 0.5 in M-ViT (ablation)M-ViT + α-SSA · CIFAR10-DVSaccuracy: 82.24 to 82.22No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet CIFAR10 CIFAR100 CIFAR10-DVS

Benchmarks: ImageNet CIFAR10 CIFAR100 CIFAR10-DVS

Metrics: top-1 accuracy parameter count information entropy

Baselines: Spikformer Spikingformer Spike-driven Transformer SpikingResformer Meta-SpikeFormer SEW ResNet MS-ResNet TET DSpike

Builds on: Spikformer Spike-driven Transformer Meta-SpikeFormer Spikingformer Leaky Integrate-and-Fire

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy