Spike-driven Large Language Model

Han Xu, Xuerui Qiu, Baiyu Chen, Xinhao Luo, Xingrun Xing, Jiahong Zhang, Bo Lei, Tiejun Huang, Bo Xu, Guoqi Li

TL;DR

SDLLM introduces a purely spike-driven framework that completely eliminates dense matrix multiplications in billion-scale Large Language Models (LLMs), replacing them with energy-efficient sparse additions. By aligning spike quantization with the model's semantic space and utilizing novel sparsity controls, it slashes energy consumption by up to 13× compared to traditional INT4 baselines while maintaining state-of-the-art accuracy.

What Problem Does This Paper Address?

Modern Large Language Models (LLMs) achieve remarkable capabilities but at a massive computational cost. They rely heavily on dense matrix multiplications, demanding significant energy and hardware resources that make deployment on edge devices highly impractical. In contrast, the human brain processes complex information incredibly efficiently, consuming less than 20 watts of power by utilizing sparse, event-driven electrical impulses called "spikes."

Spiking Neural Networks (SNNs) attempt to mimic this bio-inspired efficiency by replacing multiplications with sparse additions (processing 1s for a spike and 0s for silence). However, scaling SNNs to billions of parameters has historically resulted in severe "representation degradation"—binary spikes simply don't have the expressive capacity to capture the nuanced semantics of an LLM. Previous attempts either failed to scale beyond small vision/language tasks or compromised by using multi-timestep integer activations, which defeats the purpose of purely spike-driven, neuromorphic hardware compatibility.

Methods

The authors propose SDLLM (Spike-driven Large Language Model), which achieves purely spike-driven inference without dense matrix multiplications via three core components:

  1. $\gamma$-SQP Two-Step Spike Encoding: Instead of directly converting continuous activations into binary spikes, SDLLM uses a two-step process. First, it quantizes continuous membrane potentials into integer spike counts. Crucially, this quantization is guided by the $\gamma$-Semantic Quantization Principle ($\gamma$-SQP), which aligns the quantization process with the model's learned semantic space (leveraging RMSNorm scaling factors and Hadamard rotations). Second, these integer counts are temporally unfolded into traditional 0/1 binary spike trains over virtual time steps ($T \times D$).
  2. Bidirectional Encoding under Symmetric Quantization: To mitigate high firing rates, the authors introduce a bidirectional strategy that maps integer counts into ternary spikes (-1, 0, 1). Because these spikes carry polarity, they represent twice the information per step, effectively halving the required temporal unfolding steps ($D \rightarrow D/2 + 1$) and drastically lowering the firing rate.
  3. Membrane Potential Clipping (Quantile-Smoothed ReLU): A lightweight fine-tuning step applies a quantile-based threshold to the membrane potentials. This zeroes out low-value potentials, significantly increasing the proportion of zero-valued spike counts and further driving down the model's overall spike firing rate.
Figure 1: (a) SDLLM replaces dense matrix multiplication with spike-driven sparse addition in Transformer-based LLMs through novel LLM-level spike encoding. (b) To address insufficient representation capacity and sparsity in existing LLM-level spike encoding, we propose 𝛾-SQP two-step spike encoding to reduce semantic quantization loss and mitigate binary spike representation degradation, combined with bidirectional encoding and membrane potential clipping to significantly reduce firing rate (e.g., 0.5→0.2, 0.5→0.1) and halve temporal steps (𝐷→𝐷/2). (c) Performance comparison of SDLLM vs. SpikeLLM (top) and low-bit edge solutions (bottom).

Datasets

The authors evaluated SDLLM across a comprehensive suite of standard LLM benchmarks:

  • Commonsense Reasoning: PIQA, ARC-easy, ARC-challenge, HellaSwag, and WinoGrande.
  • Reading Comprehension: BoolQ and SQuAD.
  • World Knowledge: TriviaQA.
  • Mathematical Reasoning: GSM8K.
  • Language Modeling (Perplexity): Wikitext2 and C4.

The framework was validated across multiple prominent model families, including LLaMA2-7B, LLaMA2-13B, LLaMA3-8B, and Qwen2.5-14B.

Key Insights and Ideas

  • Semantic Alignment is Crucial: Standard post-training quantization methods often disrupt the per-dimension scaling ($\gamma$) learned during training, causing quantization errors to concentrate on critical semantic dimensions. By ensuring that orthogonal mixing (Hadamard rotation) respects the $\gamma$-semantic space, SDLLM achieves a much more balanced and compact activation distribution.
Figure 2: Comparison of attention activation distributions before and after 𝛾-semantic space alignment (QuaRot vs. SDLLM). Compared to QuaRot, SDLLM exhibits a more balanced and more compact attention activation distribution.
  • Ternary Spikes Enhance Sparsity: Counterintuitively, adding polarity (-1, 0, 1) to spikes doesn't just increase representational capacity; it actually allows the network to be sparser because it alters the counting scheme, pushing the majority of membrane potentials into the zero-count zone.
  • Hardware Flexibility: The count-to-spike paradigm naturally supports both synchronous (multi-step latency) and asynchronous (single-step latency) firing modes, making it highly adaptable for next-generation event-driven neuromorphic chips.

Key Results

SDLLM establishes a new state-of-the-art (SOTA) for spike-based language modeling while delivering massive efficiency gains:

  • vs. SpikeLLM: On LLaMA2-7B and 13B, SDLLM improves task accuracy by 5.69% and 4.23% respectively, while reducing energy consumption by 7× and FLOPs by 1.4×.
  • vs. INT4 Numerical Baselines: SDLLM consistently outperforms traditional low-bit quantization methods (like SmoothQuant and OmniQuant) on zero-shot QA tasks. It achieves up to a 13× energy consumption reduction over the INT4 baseline on LLaMA2-7B.
  • Scaling to 14B Parameters: When applied to Qwen2.5-14B, SDLLM achieves an average zero-shot QA accuracy of 76.15% (with 16 unfolded steps), closing in on the unquantized FP16 baseline (77.26%) while operating entirely on sparse additions.

Limitations and Future Work

While SDLLM represents a massive leap forward for neuromorphic language processing, a few limitations remain:

  • Fine-Tuning Requirement: The membrane potential clipping mechanism (Quantile-Smoothed ReLU) requires a lightweight fine-tuning step on a small dataset (e.g., RefinedWeb), meaning it is not entirely a zero-shot, plug-and-play post-training method.
  • Hardware Bandwidth Constraints: If the unfolded dimension ($D$) scales too high to achieve better accuracy, it can increase communication bandwidth requirements on neuromorphic hardware. Future work will need to focus on optimizing the concurrency of $D$ to balance hardware constraints with model capacity.

Summary updated

BibTeX
@misc{xu2026spike,
  author = {Han Xu and Xuerui Qiu and Baiyu Chen and Xinhao Luo and Xingrun Xing and Jiahong Zhang and Bo Lei and Tiejun Huang and Bo Xu and Guoqi Li},
  title = {{Spike-driven Large Language Model}},
  year = {2026},
  eprint = {2604.16475},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.16475},
}
Figure