MaskLLM: Learnable Semi-Structured Sparsity for Large Language Models
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) are distinguished by their massive parameter counts, which typically result in significant redundancy. This work introduces MaskLLM, a learnable pruning method that establishes Semi-structured (or ``N:M'') Sparsity in LLMs, aimed at reducing computational overhead during inference. Instead of developing a new importance criterion, MaskLLM explicitly models N:M patterns as a learnable distribution through Gumbel Softmax sampling. This approach facilitates end-to-end training on large-scale datasets and offers two notable advantages: 1) High-quality Masks - our method effectively scales to large datasets and learns accurate masks; 2) Transferability - the probabilistic modeling of mask distribution enables the transfer learning of sparsity across domains or tasks. We assessed MaskLLM using 2:4 sparsity on various LLMs, including LLaMA-2, Nemotron-4, and GPT-3, with sizes ranging from 843M to 15B parameters, and our empirical results show substantial improvements over state-of-the-art methods. For instance, leading approaches achieve a perplexity (PPL) of 10 or greater on Wikitext compared to the dense model's 5.12 PPL, but MaskLLM achieves a significantly lower 6.72 PPL solely by learning the masks with frozen weights. Furthermore, MaskLLM's learnable nature allows customized masks for lossless application of 2:4 sparsity to downstream tasks or domains. Code is available at https://github.com/NVlabs/MaskLLM.
Key facts. Cited by 49 papers in the map (data through 7 Oct 2026). Builds on 36 of its 47 references that are in the map. First posted on arXiv 26 Sep 2024.
Builds on
36 of 47 references.
References · 36
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,708
- 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,291
24 more
- 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,250
- 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,031
- 2015Learning both Weights and Connections for Efficient Neural Networkscited by 1,998
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
- 2023SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shotcited by 1,090
- 2023A Simple and Effective Pruning Approach for Large Language Modelscited by 776
- 2017Channel Pruning for Accelerating Very Deep Neural Networkscited by 697
- 2023LLM-Pruner: On the Structural Pruning of Large Language Modelscited by 643
- 2019Importance Estimation for Neural Network Pruningcited by 531
- 2023Sheared LLaMA: Accelerating Language Model Pre-training via Structured Pruningcited by 408
- 2024SliceGPT: Compress Large Language Models by Deleting Rows and Columnscited by 378
- 2024ShortGPT: Layers in Large Language Models are More Redundant Than You Expectcited by 369
- 2023Deja Vu: Contextual Sparsity for Efficient LLMs at Inference Timecited by 247
- 2021Accelerating Sparse Deep Neural Networkscited by 213
- 2019Structured Pruning of Large Language Modelscited by 201
- 2021Learning N:M Fine-grained Structured Sparse Neural Networks From Scratchcited by 177
- 2023Outlier Weighed Layerwise Sparsity (OWL): A Missing Secret Sauce for Pruning LLMs to High Sparsitycited by 163
- 2023The Emergence of Essential Sparsity in Large Pre-trained Models: The Weights that Mattercited by 42
- 2024Pruner-Zero: Evolving Symbolic Pruning Metric from scratch for Large Language Modelscited by 40
- 2024Nemotron-4 15B Technical Reportcited by 36
- 2022Learning Best Combination for Efficient N:M Sparsitycited by 32
- 2023Beyond Size: How Gradients Shape Pruning Decisions in Large Language Modelscited by 30
- 2023STEP: Learning N:M Structured Sparsity Masks from Scratch with Preconditioncited by 25
- 2022Training Recipe for N:M Structured Sparsity with Decaying Pruning Maskcited by 10
Built on by
Citing papers per year: 2024: 3; 2025: 27; 2026: 19.
49 papers.
Sort:
By area:
- 2024TinyFusion: Diffusion Transformers Learned Shallowcited by 44
- 2025A Survey on Efficient Vision-Language-Action Modelscited by 34
- 2025SepPrune: Structured Pruning for Efficient Deep Speech Separationcited by 31
- 2025QVGen: Pushing the Limit of Quantized Video Generative Modelscited by 20
- 2025On-Device Diffusion Transformer Policy for Efficient Robot Manipulationcited by 13
- 2024SLiM: One-shot Quantization and Sparsity with Low-rank Approximation for LLM Weight Compressioncited by 12
- 20252SSP: A Two-Stage Framework for Structured Pruning of LLMscited by 12
- 2025ProxSparse: Regularized Learning of Semi-Structured Sparsity Masks for Pretrained LLMscited by 10
- 2024Learnable Sparsity for Vision Generative Modelscited by 9
- 2025DenoiseRotator: Enhance Pruning Robustness for LLMs via Importance Concentrationcited by 6
- 2025NIRVANA: Structured Pruning Reimagined for Large Language Model Compressioncited by 6
- 2025La RoSA: Enhancing LLM Efficiency via Layerwise Rotated Sparse Activationcited by 5
37 more
- 2025A Proximal Operator for Inducing 2:4-Sparsitycited by 4
- 2025Pivoting Factorization: A Compact Meta Low-Rank Representation of Sparsity for Efficient Inference in Large Language Modelscited by 4
- 2025The Unseen Frontier: Pushing the Limits of LLM Sparsity with Surrogate-Free ADMMcited by 4
- 2026GSQ: Highly-Accurate Low-Precision Scalar Quantization for LLMs via Gumbel-Softmax Samplingcited by 4
- 2025PATCH: Learnable Tile-level Hybrid Sparsity for LLMscited by 2
- 2025Expand Neurons, Not Parameterscited by 2
- 2025ARMOR: High-Performance Semi-Structured Pruning via Adaptive Matrix Factorizationcited by 2
- 2026Deterministic Differentiable Structured Pruning for Large Language Modelscited by 2
- 2025SPAP: Structured Pruning via Alternating Optimization and Penalty Methodscited by 1
- 2025MaskPro: Linear-Space Probabilistic Learning for Strict (N:M)-Sparsity on LLMscited by 1
- 2025CAST: Continuous and Differentiable Semi-Structured Sparsity-Aware Training for Large Language Modelscited by 1
- 2025PermLLM: Learnable Channel Permutation for N:M Sparse Large Language Modelscited by 1
- 2025MC#: Mixture Compressor for Mixture-of-Experts Large Modelscited by 1
- 2025Sparse by Rule: Probability-Based N:M Pruning for Spiking Neural Networkscited by 1
- 2025OPTIMA: Optimal One-shot Pruning for LLMs via Quadratic Programming Reconstructioncited by 1
- 2026Train Less, Infer Faster: Efficient Model Finetuning and Compression via Structured Sparsitycited by 1
- 2026Mechanism-Driven Monitors for Preemptive Detection of LLM Training Instabilitycited by 1
- 2025Deriving Coding-Specific Sub-Models from LLMs using Resource-Efficient Pruningcited by 0
- 2025CoNNect: Connectivity-Based Regularization for Structural Pruningcited by 0
- 2025Masked Gated Linear Unitcited by 0
- 2025Resting Neurons, Active Insights: Robustifying Activation Sparsity in LLMs via Spontaneitycited by 0
- 2025Rethinking Fine-Tuning: Unlocking Hidden Capabilities in Vision-Language Modelscited by 0
- 2026To 2:4 Sparsity and Beyond: Neuron-level Activation Function to Accelerate LLM Pre-Trainingcited by 0
- 2026GradMAP: Faster Layer Pruning with Gradient Metric and Projection Compensationcited by 0
- 2026SparseForge: Efficient Semi-Structured LLM Sparsification via Annealing of Hessian-Guided Soft-Maskcited by 0
- 202631.1 A 14.08-to-135.69Token/s ReRAM-on-Logic Stacked Outlier-Free Large-Language-Model Accelerator with Block-Clustered Weight-Compression and Adaptive Parallel-Speculative-Decodingcited by 0
- 2026LEAP: Learnable End-to-End Adaptive Pruning of Large Language Modelscited by 0
- 2026RT-Lynx: Putting GEMM Sparsity in the Right Place for Diffusion Modelscited by 0
- 2026Pruning Deep Neural Networks via the Marchenko--Pastur Distributioncited by 0
- 2026FlexMoE: One-for-All Nested Intra-Expert Pruning for MoE Language Modelscited by 0
- 2026Unified Static-Dynamic Pruning for Efficient LLM Inferencecited by 0
- 2026WIDE: Boosting Adaptive LLM Inference via Token-level Dynamic Width Pruningcited by 0
- 2026S2GS: Structured Sparse Gaussian Streaming for Efficient Free-Viewpoint Video Reconstruction on Edge-IoT Devicescited by 0
- 2026Mind the Approximation: Fisher-Weighted SVD Compression for ViTscited by 0
- 2026Theoretical Guarantees for One-Shot Magnitude Pruning and Compute-Adaptive Early Exitcited by 0
- 2026GroupMask: Layer-Adaptive Group-wise Sparsity for Semi-Structured LLM Pruningcited by 0
- 2026Learning Functional Subspaces for Neural Network Compressioncited by 0
- 2026Learning Functional Subspaces for Neural Network Compression30 Sep 2026
- 2026GroupMask: Layer-Adaptive Group-wise Sparsity for Semi-Structured LLM Pruning27 Sep 2026
- 2026Theoretical Guarantees for One-Shot Magnitude Pruning and Compute-Adaptive Early Exit11 Sep 2026
- 2026Mind the Approximation: Fisher-Weighted SVD Compression for ViTs7 Sep 2026
- 2026S2GS: Structured Sparse Gaussian Streaming for Efficient Free-Viewpoint Video Reconstruction on Edge-IoT Devices20 Aug 2026
- 2026WIDE: Boosting Adaptive LLM Inference via Token-level Dynamic Width Pruning30 Jul 2026
- 2026Unified Static-Dynamic Pruning for Efficient LLM Inference24 Jul 2026
- 2026Mechanism-Driven Monitors for Preemptive Detection of LLM Training Instability26 Jun 2026
- 2026FlexMoE: One-for-All Nested Intra-Expert Pruning for MoE Language Models26 Jun 2026
- 2026RT-Lynx: Putting GEMM Sparsity in the Right Place for Diffusion Models26 May 2026
- 2026Pruning Deep Neural Networks via the Marchenko--Pastur Distribution23 May 2026
- 2026LEAP: Learnable End-to-End Adaptive Pruning of Large Language Models17 May 2026
37 more
- 202631.1 A 14.08-to-135.69Token/s ReRAM-on-Logic Stacked Outlier-Free Large-Language-Model Accelerator with Block-Clustered Weight-Compression and Adaptive Parallel-Speculative-Decoding10 May 2026
- 2026SparseForge: Efficient Semi-Structured LLM Sparsification via Annealing of Hessian-Guided Soft-Mask7 May 2026
- 2026GSQ: Highly-Accurate Low-Precision Scalar Quantization for LLMs via Gumbel-Softmax Sampling20 Apr 2026
- 2026Deterministic Differentiable Structured Pruning for Large Language Models9 Mar 2026
- 2026GradMAP: Faster Layer Pruning with Gradient Metric and Projection Compensation16 Feb 2026
- 2026Train Less, Infer Faster: Efficient Model Finetuning and Compression via Structured Sparsity9 Feb 2026
- 2026To 2:4 Sparsity and Beyond: Neuron-level Activation Function to Accelerate LLM Pre-Training5 Feb 2026
- 2025Rethinking Fine-Tuning: Unlocking Hidden Capabilities in Vision-Language Models28 Dec 2025
- 2025OPTIMA: Optimal One-shot Pruning for LLMs via Quadratic Programming Reconstruction15 Dec 2025
- 2025Resting Neurons, Active Insights: Robustifying Activation Sparsity in LLMs via Spontaneity14 Dec 2025
- 2025Sparse by Rule: Probability-Based N:M Pruning for Spiking Neural Networks15 Nov 2025
- 2025A Survey on Efficient Vision-Language-Action Models27 Oct 2025
- 2025MC#: Mixture Compressor for Mixture-of-Experts Large Models13 Oct 2025
- 2025PermLLM: Learnable Channel Permutation for N:M Sparse Large Language Models11 Oct 2025
- 2025ARMOR: High-Performance Semi-Structured Pruning via Adaptive Matrix Factorization7 Oct 2025
- 2025Expand Neurons, Not Parameters6 Oct 2025
- 2025The Unseen Frontier: Pushing the Limits of LLM Sparsity with Surrogate-Free ADMM2 Oct 2025
- 2025CAST: Continuous and Differentiable Semi-Structured Sparsity-Aware Training for Large Language Models30 Sep 2025
- 2025PATCH: Learnable Tile-level Hybrid Sparsity for LLMs27 Sep 2025
- 2025NIRVANA: Structured Pruning Reimagined for Large Language Model Compression17 Sep 2025
- 2025On-Device Diffusion Transformer Policy for Efficient Robot Manipulation1 Aug 2025
- 2025La RoSA: Enhancing LLM Efficiency via Layerwise Rotated Sparse Activation2 Jul 2025
- 2025Masked Gated Linear Unit29 Jun 2025
- 2025MaskPro: Linear-Space Probabilistic Learning for Strict (N:M)-Sparsity on LLMs15 Jun 2025
- 2025DenoiseRotator: Enhance Pruning Robustness for LLMs via Importance Concentration29 May 2025
- 2025SepPrune: Structured Pruning for Efficient Deep Speech Separation17 May 2025
- 2025QVGen: Pushing the Limit of Quantized Video Generative Models16 May 2025
- 2025SPAP: Structured Pruning via Alternating Optimization and Penalty Methods6 May 2025
- 2025CoNNect: Connectivity-Based Regularization for Structural Pruning2 Feb 2025
- 2025ProxSparse: Regularized Learning of Semi-Structured Sparsity Masks for Pretrained LLMs1 Feb 2025
- 2025Pivoting Factorization: A Compact Meta Low-Rank Representation of Sparsity for Efficient Inference in Large Language Models31 Jan 2025
- 2025A Proximal Operator for Inducing 2:4-Sparsity29 Jan 2025
- 20252SSP: A Two-Stage Framework for Structured Pruning of LLMs29 Jan 2025
- 2025Deriving Coding-Specific Sub-Models from LLMs using Resource-Efficient Pruning9 Jan 2025
- 2024Learnable Sparsity for Vision Generative Models3 Dec 2024
- 2024TinyFusion: Diffusion Transformers Learned Shallow2 Dec 2024
- 2024SLiM: One-shot Quantization and Sparsity with Low-rank Approximation for LLM Weight Compression12 Oct 2024
- 2024TinyFusion: Diffusion Transformers Learned Shallowcited by 44
- 2025QVGen: Pushing the Limit of Quantized Video Generative Modelscited by 20
- 2025On-Device Diffusion Transformer Policy for Efficient Robot Manipulationcited by 13
- 2024Learnable Sparsity for Vision Generative Modelscited by 9
- 2026RT-Lynx: Putting GEMM Sparsity in the Right Place for Diffusion Modelscited by 0
- 2026RT-Lynx: Putting GEMM Sparsity in the Right Place for Diffusion Models26 May 2026
- 2025On-Device Diffusion Transformer Policy for Efficient Robot Manipulation1 Aug 2025
- 2025QVGen: Pushing the Limit of Quantized Video Generative Models16 May 2025
- 2024Learnable Sparsity for Vision Generative Models3 Dec 2024
- 2024TinyFusion: Diffusion Transformers Learned Shallow2 Dec 2024
- 202631.1 A 14.08-to-135.69Token/s ReRAM-on-Logic Stacked Outlier-Free Large-Language-Model Accelerator with Block-Clustered Weight-Compression and Adaptive Parallel-Speculative-Decodingcited by 0
- 2026Unified Static-Dynamic Pruning for Efficient LLM Inferencecited by 0
- 2026Theoretical Guarantees for One-Shot Magnitude Pruning and Compute-Adaptive Early Exitcited by 0
- 2026Theoretical Guarantees for One-Shot Magnitude Pruning and Compute-Adaptive Early Exit11 Sep 2026
- 2026Unified Static-Dynamic Pruning for Efficient LLM Inference24 Jul 2026
- 202631.1 A 14.08-to-135.69Token/s ReRAM-on-Logic Stacked Outlier-Free Large-Language-Model Accelerator with Block-Clustered Weight-Compression and Adaptive Parallel-Speculative-Decoding10 May 2026
- 2025MC#: Mixture Compressor for Mixture-of-Experts Large Models13 Oct 2025
- 2025A Survey on Efficient Vision-Language-Action Modelscited by 34
- 2025A Survey on Efficient Vision-Language-Action Models27 Oct 2025
- 2025SepPrune: Structured Pruning for Efficient Deep Speech Separationcited by 31
- 2024SLiM: One-shot Quantization and Sparsity with Low-rank Approximation for LLM Weight Compressioncited by 12
- 20252SSP: A Two-Stage Framework for Structured Pruning of LLMscited by 12
- 2025ProxSparse: Regularized Learning of Semi-Structured Sparsity Masks for Pretrained LLMscited by 10
- 2025DenoiseRotator: Enhance Pruning Robustness for LLMs via Importance Concentrationcited by 6
- 2025NIRVANA: Structured Pruning Reimagined for Large Language Model Compressioncited by 6
- 2025La RoSA: Enhancing LLM Efficiency via Layerwise Rotated Sparse Activationcited by 5
- 2025A Proximal Operator for Inducing 2:4-Sparsitycited by 4
- 2025Pivoting Factorization: A Compact Meta Low-Rank Representation of Sparsity for Efficient Inference in Large Language Modelscited by 4
- 2025The Unseen Frontier: Pushing the Limits of LLM Sparsity with Surrogate-Free ADMMcited by 4
- 2026GSQ: Highly-Accurate Low-Precision Scalar Quantization for LLMs via Gumbel-Softmax Samplingcited by 4
- 2025PATCH: Learnable Tile-level Hybrid Sparsity for LLMscited by 2
12 most cited of 36 All 36 (JSON)
- 2026Learning Functional Subspaces for Neural Network Compression30 Sep 2026
- 2026GroupMask: Layer-Adaptive Group-wise Sparsity for Semi-Structured LLM Pruning27 Sep 2026
- 2026Mind the Approximation: Fisher-Weighted SVD Compression for ViTs7 Sep 2026
- 2026S2GS: Structured Sparse Gaussian Streaming for Efficient Free-Viewpoint Video Reconstruction on Edge-IoT Devices20 Aug 2026
- 2026WIDE: Boosting Adaptive LLM Inference via Token-level Dynamic Width Pruning30 Jul 2026
- 2026Mechanism-Driven Monitors for Preemptive Detection of LLM Training Instability26 Jun 2026
- 2026Pruning Deep Neural Networks via the Marchenko--Pastur Distribution23 May 2026
- 2026LEAP: Learnable End-to-End Adaptive Pruning of Large Language Models17 May 2026
- 2026SparseForge: Efficient Semi-Structured LLM Sparsification via Annealing of Hessian-Guided Soft-Mask7 May 2026
- 2026GSQ: Highly-Accurate Low-Precision Scalar Quantization for LLMs via Gumbel-Softmax Sampling20 Apr 2026
- 2026Deterministic Differentiable Structured Pruning for Large Language Models9 Mar 2026
- 2026Train Less, Infer Faster: Efficient Model Finetuning and Compression via Structured Sparsity9 Feb 2026
12 newest of 36 All 36 (JSON)