Abstract
The computational cost of running Large Language Models (LLMs) is a major bottleneck. While "training-free" sparse activation methods offer a path to efficiency, they often degrade performance by ignoring weight structures. We present WINA (Weight-Informed Neuron Activation), a plug-and-play framework that selects neurons based on both activation magnitude and the corresponding weight matrix's $L_2$-norm. WINA achieves mathematically tighter error bounds and significantly outperforms prior methods at high sparsity levels, offering massive speedups without retraining.
The Challenge of LLM Inference
As LLMs grow in size, their inference costs skyrocket. Sparse activation—computing only the most important neurons during the forward pass—is a popular solution for acceleration. However, current state-of-the-art methods (like TEAL or CATS) decide which neurons to keep by looking only at the magnitude of the hidden states (activations).
This creates a critical "blind spot": a neuron might have a large activation value, but if the weights it connects to in the next layer are near-zero, its actual impact on the output is negligible. Ignoring the weight matrix leads to compounding approximation errors and unnecessary accuracy drops, especially when attempting to achieve high sparsity (e.g., dropping 50% or more of the network).
Methodology: Weight-Informed Gating
WINA addresses this by selecting the top-$K$ neurons based on the element-wise product of activation magnitude and the column-wise $L_2$-norm of the weight matrix.
The WINA pipeline consists of three main stages:
- Offline Orthogonalization: Before inference, weight matrices undergo a lightweight, one-off Singular Value Decomposition (SVD) transformation to enforce column-wise orthogonality. This preserves the model's original outputs while setting the stage for optimal sparsification.
- Pre-computing Weight Norms: The $L_2$-norms of the weight columns are calculated once and stored in memory.
- Inference Gating: During the forward pass, WINA multiplies incoming hidden states by these pre-computed weight norms. It then generates a binary mask to keep only the top-$K$ most influential neurons, zeroing out the rest.
Unlike prior methods, WINA comes with a formal mathematical proof: under column-orthogonality, this selection strategy minimizes the upper bound of the approximation error for deep linear networks.
Experimental Results and Efficiency
WINA was evaluated across several leading models, including Llama-2-7B, Llama-3-8B, Mistral-7B, and Phi-4-14B, using benchmarks for commonsense reasoning, math, and coding.
Key Findings:
- Robustness at Extremes: While most pruning methods fail at high sparsity, WINA maintains high accuracy. At 65% sparsity on Mistral-7B, WINA achieved a score of 69.39%, significantly outperforming R-Sparse (59.91%) and TEAL (67.91%).
- Efficiency Gains: WINA reduces overall GFLOPs by up to ~63% at 65% sparsity. Hardware tests using a custom Triton kernel showed up to 57% latency speedup on an RTX PRO 6000.
- Quantization Synergy: WINA is compatible with 8-bit and 4-bit quantization, allowing for stacked efficiency gains without breaking model performance.
Conclusion
WINA demonstrates that weights matter as much as activations for effective sparsification. By leveraging weight norms and orthogonality, it provides a mathematically grounded, training-free method to accelerate LLMs while maintaining high accuracy even at aggressive sparsity levels. This approach paves the way for more efficient, low-cost deployment of large-scale models.
Summary updated