Large Language Models with At Most One Spike per Neuron
Abstract
Leveraging their inherent sparse event-driven computation, spiking neural networks (SNNs) offer a promising path toward energy-efficient large language models (LLMs). Time-to-first-spike (TTFS) coding generates at most one spike per neuron within a time window, yielding extremely low firing rates. However, conventional TTFS SNNs are restricted to specific structures, making it challenging to encode certain blocks in LLM -- such as layer normalization and matrix multiplication --using TTFS. To overcome this limitation, we introduce a reference-based strategy specifically to encode the four core LLM components: embedding layers, layer normalization, attention-related operations and dropout. We construct a fully TTFS-based SNN architecture and train it end-to-end. Experiments on modern LLMs like BERT and GPT-2 demonstrate that our approach achieves performance comparable to ANN counterparts on natural language understanding and common-sense reasoning, while a clear gap remains on language modeling perplexity. To the best of our knowledge, this is the first work to scale a spiking LLM to 1.5 billion parameters using TTFS coding. We also report an estimate of spike-related energy; this is a spike-count proxy under an established cost model rather than a measurement on neuromorphic hardware.
Create a lesson
Metadata
- Categories
- cs.NE, cs.CL
Related papers
Large Language Model-Guided Evolutionary Discovery of Native Neural Architectures for Spiking Sequence Modeling
Shared title terminologycs.NERuoyu Zhao, Jiaqi Wu, Chenyu Zhu et al.
Automatic Generation of Multi-Objective Optimization Benchmark Problems via Evolutionary Algorithms and Large Language Models
Shared title terminologycs.NEKoki Onomura, Yuto Araki, Yuhiro Ono et al.
SpikeBill: An Open Cost Simulator for Large Spiking Neural Networks on Multi-Chip Neuromorphic Systems
Shared title terminologycs.NEHyunseok Oh, Youngki Lee
Incremental Speciation in Evolutionary Red Teaming of Large Language Models
Shared title terminologycs.NEOnkar Shelar, Travis Desell
FPGAFly: A 166.7k-Neuron Fruit-Fly Connectome on One FPGA via Deferred Spike Expansion and Shared-Codeword States
Shared title terminologycs.NEYE Ziyang
Characterizing Privacy Leakage in Spiking Neural Networks: A Systematic Analysis of Temporal Dynamics, Stochasticity, Neuronal Dynamics and Learning Mechanisms
Shared title terminologycs.NEAyana Moshruba, Maryam Parsa