Reproduce “SpikeDecoder: Realizing the GPT Architecture with Spiking Neural Networks” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Claas Beger, Florian Walter, Alois Knoll

Researchers at the Technical University of Munich present SpikeDecoder, a directly trainable, fully spiking decoder-only Transformer for natural language processing, demonstrating character-level prediction accuracy while achieving an estimated 86.7% to 92.3% reduction in theoretical energy consumption compared to its non-spiking counterpart.

Key insights

  • Converting the Multi-Head Attention mechanism to a spiking form (SMHA) presented the most significant performance hurdle during the SNN transition, necessitating architectural adjustments like increased depth or reduced attention heads.
  • The floating-point additions in conventional residual connections are crucial for stable gradient flow and model optimization; purely spike-based residuals led to severe performance degradation in the current SNN-Transformer design.
  • Allowing LIF neuron spike thresholds to be learnable parameters significantly enhances SNN performance by adapting neuronal dynamics, with observed decreases in threshold values optimizing spike firing.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.