SmoothSpike: Spiking Transformer with Learnable Hadamard Transformation
Abstract
Lay Summary
Modern language models are powerful but costly to run, especially on small or energy-limited devices. Spiking neural networks are a promising alternative because they communicate with brief binary pulses, but this same discrete signaling makes them less accurate on language tasks. This paper shows that a key reason is saturation: when a spiking neuron receives several large but different inputs, it may produce the same maximum number of spikes for all of them. As a result, useful distinctions between words or sentences can be blurred as information moves through the network. We introduce SmoothSpike, a method that rotates and spreads each input signal before it reaches spiking neurons, reducing extreme values that cause saturation. The rotation is learnable, so it can adapt to different layers and data distributions, and it can be folded into the model weights at inference time without adding extra computation. On standard language understanding benchmarks, SmoothSpike consistently improves spiking Transformer performance while preserving spike-based efficiency. These results suggest that smoothing internal representations can make energy-efficient spiking language models more accurate and practical for resource-limited AI systems.