Large Language Models (LLMs) require massive amounts of memory and compute, making neural network pruning an attractive solution for efficient deployment. While the community has developed fast, one-shot pruning methods (like SparseGPT and Wanda) that work well up to moderate sparsity levels, these techniques typically hit a "sparsity wall" around 50-60%. Pushing beyond this threshold usually causes a catastrophic collapse in model performance.
This paper introduces ELSA (Extreme LLM sparsity via Surrogate-free ADMM), a novel pruning method that bypasses standard layer-wise surrogate objectives and directly optimizes the true loss function. The result is extreme sparsity—up to 90% or even 95%—while maintaining high model fidelity, unlocking massive memory and inference speedups for LLMs.
Breaking the "Sparsity Wall"
The authors argue that the 50-60% "sparsity wall" is not an inherent limitation of LLMs, but rather an artifact of how current methods formulate the pruning problem. Most existing techniques rely on layer-wise reconstruction error minimization. They break the model into individual layers and try to match the sparse layer's output to the dense layer's output.
This layer-wise approach creates three major pitfalls:
- Compounding errors: Small approximation errors in early layers snowball as they pass through the network.
- Suboptimality: Layers are optimized sequentially and independently, restricting the search space for a globally optimal sparse network.
- Surrogate mismatch: Matching layer activations is a surrogate objective. Perfectly solving it doesn't guarantee you've preserved the model's actual goal (e.g., next-token prediction).
The ELSA Approach
To break through this barrier, ELSA abandons layer-wise matching in favor of a more principled optimization strategy:
- Surrogate-Free Global Optimization: ELSA formulates pruning as a global, sparsity-constrained optimization problem directly on the true training objective (cross-entropy loss for next-token prediction).
- ADMM Solver: To handle the mathematically intractable hard-sparsity constraint, ELSA uses the Alternating Direction Method of Multipliers (ADMM). This technique introduces an auxiliary variable, allowing the algorithm to decouple the model training objective from the sparsity constraint, alternating between updating the weights and projecting them onto a sparse state.
- Objective-Aware Projection: When deciding which weights to zero out, ELSA doesn't just look at weight magnitude. It uses the empirical Fisher information matrix—a free byproduct of the Adam optimizer that approximates the Hessian—to prune weights that have the least impact on the actual loss function.
- ELSA-L for Scalability: ADMM requires storing auxiliary variables, which is highly memory-intensive for LLMs. To scale to massive models, the authors introduce ELSA-L, which quantizes these auxiliary states into low-precision formats (like FP8). This cuts the memory footprint of the optimizer states by 55%, allowing them to prune models up to 27B parameters with rigorous mathematical proofs guaranteeing convergence.
Key Results
ELSA was evaluated using the C4 dataset for calibration and tested on held-out validation sets (C4, WikiText2) as well as various zero-shot tasks via lm-eval-harness.
- Massive Perplexity Improvements: At 90% sparsity on LLaMA-2-7B, ELSA achieves a C4 perplexity of 23.14. The next best existing method (ALPS) sits at 180.9, meaning ELSA achieves a 7.8x improvement in perplexity.
- Stability at Extreme Sparsity: While competitors completely collapse at 95% and 99% sparsity, ELSA remains functional.
- Real-World Hardware Gains: Using a specialized sparse matrix multiplication kernel (MACKO), a 95% sparse LLaMA-2-7B pruned by ELSA yields a 3.98x increase in throughput (tokens/sec) and a 7.80x reduction in memory footprint during inference.
- Zero-Shot Dominance: At 90% sparsity, ELSA retains the highest accuracy on 6 out of 7 downstream tasks (ARC, BoolQ, HellaSwag, etc.), beating competitors by an average margin of 6.06 percentage points.
- Scalability: ELSA-L successfully pruned the Gemma-2-27B model to 90% sparsity, vastly outperforming baseline methods at that scale.
Limitations and Future Work
Because ELSA is an iterative optimization method, it requires more compute to run than one-shot methods. For instance, pruning LLaMA-2-7B took about 7.12 GPU-hours (though this remains faster than some competing iterative methods like ALPS, which took 12.5 hours).
Future work will explore alternative memory-efficient or derivative-free optimizers to further reduce the cost of pruning. The authors also highlight the potential of applying this framework to more complex architectures, such as Mixture-of-Experts (MoE) and multi-modal large language models.
Summary updated