LGAIDec 11, 2025

SparseSwaps: Tractable LLM Pruning Mask Refinement at Scale

arXiv:2512.10922v21 citations
Originality Incremental advance
AI Analysis

This addresses the computational challenge of pruning LLMs for researchers and practitioners, offering a scalable and hyperparameter-free method, though it is incremental as it builds on existing mask selection approaches.

The paper tackles the problem of efficiently refining pruning masks for large language models (LLMs) to reduce performance degradation, achieving up to a 60% reduction in per-layer pruning error and consistent improvements in perplexity and zero-shot accuracy.

The resource requirements of neural networks can be significantly reduced through pruning - the removal of seemingly less important parameters. However, for LLMs, full retraining to recover pruning-induced performance degradation is often prohibitive and classical approaches such as magnitude pruning are suboptimal on Transformers. State-of-the-art methods hence solve a layer-wise mask selection problem: finding a pruning mask that minimizes per-layer pruning error on a small set of calibration data. Exactly solving this problem is computationally infeasible due to its combinatorial nature and the size of the search space, and existing approaches rely on approximations or heuristics. We demonstrate that the mask selection problem can be made drastically more tractable at LLM scale. To that end, we decouple the rows by enforcing equal sparsity levels per row. This allows us to derive optimal 1-swaps (exchanging one kept and one pruned weight) computable efficiently via the Gram matrix. We propose a simple 1-swap algorithm that warmstarts from any pruning mask, runs efficiently on GPUs at LLM scale, and is essentially hyperparameter-free. Our approach reduces per-layer pruning error by up to 60% over Wanda (Sun et al., 2024) and consistently improves perplexity and zero-shot accuracy across state-of-the-art GPT architectures.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes