Introduction
Spiking Neural Networks (SNNs) represent a promising frontier for ultra-low-power artificial intelligence by mimicking the event-driven, sparse communication of biological brains. Despite their efficiency, SNNs have historically struggled to match the performance of traditional Artificial Neural Networks (ANNs) on complex vision tasks such as image segmentation. This performance gap is largely attributed to "spike degradation"—a phenomenon where sparse binary activations in deep networks lead to vanishing information, causing neurons in deeper layers to cease firing. Spike2Former addresses these challenges by redesigning the Transformer architecture specifically for the spiking domain, achieving state-of-the-art results with significantly reduced energy consumption.
Methodology
The Spike2Former architecture introduces three key innovations designed to mitigate spike degradation and stabilize training while maintaining the sparse computation benefits of SNNs.
Spike-driven Deformable Transformer Encoder (SDTE)
Standard deformable attention mechanisms often convert the "query" into spikes, which leads to significant information loss in sparse sampling operations. In the SDTE, the query remains more informative while the attention weights themselves are converted into spikes. This approach preserves the necessary precision for sampling while maintaining the energy benefits of spike-based computation. Additionally, Energy-efficient Separable Convolution (ESC) blocks are integrated to enhance local connectivity without exceeding power budgets.
Spike-Driven Mask Embedding (SDME)
To combat information loss in the final stages of the network, Spike2Former employs a "Membrane Embedding Shortcut" (ME-Shortcut). This auxiliary path allows membrane potentials to bypass potential bottlenecks, ensuring that critical semantic information reaches the final mask embedding layer, which is crucial for high-quality segmentation.
Normalized Integer Spiking Neuron (NI-LIF)
Training deep SNNs is often unstable due to the non-differentiable nature of discrete spikes. The Normalized Integer Leaky Integrate-and-Fire (NI-LIF) neuron addresses this by using normalized integer activations during training to provide stable gradients. During inference, these integers are mathematically mapped to a sequence of binary spikes over virtual timesteps, preserving hardware efficiency without sacrificing training stability.
Experimental Results
Spike2Former was evaluated on three major segmentation benchmarks, demonstrating a new state-of-the-art for SNNs across the board:
- ADE20K: Achieved 46.3% mIoU, representing a +12.7% improvement over previous SNN benchmarks, while operating 5.0x more efficiently than comparable ANNs.
- Pascal VOC2012: Reached 75.4% mIoU (+14.3% improvement) at 5.2x efficiency.
- CityScapes: Attained 75.2% mIoU (+9.1% improvement) with 6.6x efficiency.
The model demonstrates that SNNs can achieve performance levels competitive with established ANN architectures like Mask2Former (R50) while consuming significantly less power—for instance, 68.0mJ compared to 326.6mJ on the ADE20K dataset.
Conclusion and Future Work
Spike2Former successfully bridges the gap between the energy efficiency of SNNs and the high performance required for complex image segmentation. By addressing spike degradation through architectural refinements and introducing the NI-LIF neuron for stable training, it sets a new standard for neuromorphic vision. Future research will focus on scaling these techniques to larger backbones and validating energy savings on physical neuromorphic hardware to further realize the potential of low-power AI.
Summary updated