Activation Sparsity with Weight Approximation for Faster LLM Decoding on Offloaded Weights
JuneHyung Kim, Sankeerth Durvasula, Nandita Vijaykumar
Key points
From the paper's conclusion- With weights offloaded to CPU memory, SpAx speeds up decoding by 3.86X on average (up to 5.57X) with 16-bit weights and 2.06X (up to 2.74X) with 4-bit weights, at a WikiText-2 perplexity increase of at most 10%.
Abstract
Deploying LLMs on consumer-grade GPUs with insufficient memory to hold their weights can result in prohibitively slow inference, because decoding repeatedly transfers offloaded weights from system RAM or flash storage into GPU at much lower bandwidth than local GPU-memory access. Activation sparsity reduces these transfers by skipping weights associated with zero or near-zero activations. However, as more activation contributions are omitted, model quality eventually degrades rapidly, indicating that weights associated with small-magnitude activations collectively influence model quality sharply. In this work, we improve the trade-off between model quality and decoding performance when exploiting activation sparsity. Our key idea is to replace the binary choice of whether or not to read a weight with three options: fully retain it, approximate it using a compressed weight representation, or omit it entirely. SpAx skips weights associated with activations closest to zero, reads approximate weights for smaller-magnitude activations, and reads original weights for the largest-magnitude activations. Smaller-magnitude activations attenuate the errors introduced by approximate weights, while compressed weight representations require fewer bytes to be transferred. With weights offloaded to CPU memory, SpAx speeds up decoding by 3.86X on average (up to 5.57X) with 16-bit weights and 2.06X (up to 2.74X) with 4-bit weights, at a WikiText-2 perplexity increase of at most 10%. With weights offloaded to flash storage, the speedups are 3.31X on average (up to 4.81X) and 1.54X (up to 2.03X).
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- RoShift: Lazy Shift and Weight-aware Rotation for Activation Sparsity in LLM InferencearXiv · 2026
- SparseDecoding: Decoding-Aware Pruning for Accurate and Efficient LLM InferencearXiv · 2026
- ResCom: Activation Residual Compensation for Large Language Model QuantizationarXiv · 2026
- Orthogonally Mixed Sign Coding with Progressive Residual Refinement for Transformer Weight CompressionarXiv · 2026
- TopK-Guided: Adaptive, Budget-Aware Activation Sparsity for Efficient LLM InferencearXiv · 2026
- DualQuant: Dual-scale Calibration-free Weight-and-Activation Quantization for LLMsarXiv · 2026