TL;DR
This paper introduces a novel method to induce high activation sparsity in quantized State-Space Models (SSMs) using a learnable, two-sided thresholding gate. By pairing these sparse models with neuromorphic hardware (Intel Loihi 2) that natively supports unstructured sparsity, the authors achieve a 37× increase in throughput and a 16× reduction in power consumption compared to traditional Transformer models on edge GPUs.
What Problem Does This Paper Address?
Large Language Models (LLMs) are notoriously difficult to deploy on "edge" devices (like phones or embedded sensors) due to two main bottlenecks. First, standard Transformers suffer from the "KV-cache" problem, where memory requirements explode as sequences get longer. Second, even newer architectures like State-Space Models (SSMs), which solve the memory scaling issue, still hit a "memory wall." Their linear layers have low arithmetic intensity—meaning the hardware spends more time moving data from memory than actually performing calculations.
While "sparsity" (turning activations into zeros to skip work) is a classic solution, it’s hard to implement effectively. Modern GPUs are designed for dense, regular math; they struggle to find speedups from "unstructured" sparsity (randomly distributed zeros). The authors aim to bridge this gap by creating a training method that encourages high sparsity and deploying it on hardware that can actually take advantage of it.
Methods
The researchers build upon the MatMul-Free Language Model (MMFreeLM), an architecture that already uses ternary weights (-1, 0, 1) to replace expensive multiplications with simple additions. To this, they add:
- Sparsity-Inducing Pre-Activation Gate: They insert a gate before every linear layer. This gate acts like a two-sided ReLU: it zeros out any activation that falls within a range of $\pm\Delta$. Crucially, $\Delta$ is a learnable parameter optimized during training for every single projection in the model.
- Outlier Preservation: Unlike simple pruning, this method keeps both large positive and large negative activations ("outliers"), which recent research suggests are vital for LLM reasoning capabilities.
- Differentiable Sparsity Surrogate: To train the model to be sparse, they use a surrogate $L_0$ loss penalty. Since you can't easily calculate gradients through a count of zeros, they use a smooth exponential function as a proxy during training.
- Neuromorphic Deployment: They target the Intel Loihi 2 chip. Unlike GPUs, Loihi 2 is "event-driven," meaning it naturally skips zero-valued activations at the silicon level, directly translating sparsity into lower latency and power.
Datasets
- Training: The models (370M and 2.7B parameters) were continue-trained on 4 billion tokens from the FineWebEdu dataset.
- Evaluation: The authors used a suite of standard zero-shot reasoning benchmarks: ARC-Easy, ARC-Challenge, HellaSwag, OpenBookQA, PIQA, and WinoGrande.
Key Insights and Ideas
- The "Memory Wall" is the Real Enemy: Even if you make the math faster (like using ternary weights), you still lose if you're waiting on memory. Unstructured activation sparsity is the key to breaking this bottleneck because it allows the hardware to skip fetching entire rows of weights.
- Learnable Thresholds are Superior: Not all layers in an LLM are equally important. The sensitivity analysis showed that the first, last, and middle layers are highly sensitive to pruning. By making the sparsity threshold ($\Delta$) learnable, the model automatically learns to be "stingy" with zeros in sensitive layers and "aggressive" in redundant ones.
- SSMs + Neuromorphic = Synergy: SSMs remove the quadratic complexity of attention, and neuromorphic hardware removes the GPU's inability to handle irregular data patterns. Together, they enable a level of efficiency that neither could achieve alone.
Key Results
- High Sparsity, Low Loss: The 370M model achieved up to 80.1% effective MAC (Multiply-Accumulate) sparsity while maintaining competitive performance on reasoning tasks.
- Massive Throughput Gains: On the Loihi 2 platform, the sparse model showed a 5.4× improvement in both throughput and energy efficiency compared to a dense SSM baseline on the same hardware.
- Edge Dominance: When compared to a standard Transformer (like Qwen2-500M) running on an edge GPU (Nvidia Jetson), the sparsified SSM was 37× faster and 16× more power-efficient.
Limitations and Future Work
- Hardware Dependency: The most dramatic gains (the 5.4× speedup) are currently only achievable on specialized neuromorphic hardware like Loihi 2. Standard GPUs will require new kernel optimizations to see similar benefits.
- Training Overhead: The method requires continue-pretraining to adapt the model to the new sparse activations, which adds to the initial development cost.
- Scaling to Frontiers: While the authors tested up to 2.7B parameters, it remains to be seen how this learnable thresholding scales to "frontier" models in the 70B+ range, where activation distributions might be more complex.
Summary updated