mlsanityData to 7 Oct 2026

MaskLLM: Learnable Semi-Structured Sparsity for Large Language Models

arXiv 2409.17481 ↗First posted 26 Sep 2024cs.AI cs.CL cs.LGcited by 49

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  5. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  6. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
  7. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  8. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  9. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  10. 2016Pointer Sentinel Mixture Modelscited by 2,992
  11. 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,708
  12. 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,291
24 more
  1. 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,250
  2. 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,031
  3. 2015Learning both Weights and Connections for Efficient Neural Networkscited by 1,998
  4. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
  5. 2023SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shotcited by 1,090
  6. 2023A Simple and Effective Pruning Approach for Large Language Modelscited by 776
  7. 2017Channel Pruning for Accelerating Very Deep Neural Networkscited by 697
  8. 2023LLM-Pruner: On the Structural Pruning of Large Language Modelscited by 643
  9. 2019Importance Estimation for Neural Network Pruningcited by 531
  10. 2023Sheared LLaMA: Accelerating Language Model Pre-training via Structured Pruningcited by 408
  11. 2024SliceGPT: Compress Large Language Models by Deleting Rows and Columnscited by 378
  12. 2024ShortGPT: Layers in Large Language Models are More Redundant Than You Expectcited by 369
  13. 2023Deja Vu: Contextual Sparsity for Efficient LLMs at Inference Timecited by 247
  14. 2021Accelerating Sparse Deep Neural Networkscited by 213
  15. 2019Structured Pruning of Large Language Modelscited by 201
  16. 2021Learning N:M Fine-grained Structured Sparse Neural Networks From Scratchcited by 177
  17. 2023Outlier Weighed Layerwise Sparsity (OWL): A Missing Secret Sauce for Pruning LLMs to High Sparsitycited by 163
  18. 2023The Emergence of Essential Sparsity in Large Pre-trained Models: The Weights that Mattercited by 42
  19. 2024Pruner-Zero: Evolving Symbolic Pruning Metric from scratch for Large Language Modelscited by 40
  20. 2024Nemotron-4 15B Technical Reportcited by 36
  21. 2022Learning Best Combination for Efficient N:M Sparsitycited by 32
  22. 2023Beyond Size: How Gradients Shape Pruning Decisions in Large Language Modelscited by 30
  23. 2023STEP: Learning N:M Structured Sparsity Masks from Scratch with Preconditioncited by 25
  24. 2022Training Recipe for N:M Structured Sparsity with Decaying Pruning Maskcited by 10

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 3; 2025: 27; 2026: 19.

49 papers.

Sort:

By area:

  1. 2024TinyFusion: Diffusion Transformers Learned Shallowcited by 44
  2. 2025A Survey on Efficient Vision-Language-Action Modelscited by 34
  3. 2025SepPrune: Structured Pruning for Efficient Deep Speech Separationcited by 31
  4. 2025QVGen: Pushing the Limit of Quantized Video Generative Modelscited by 20
  5. 2025On-Device Diffusion Transformer Policy for Efficient Robot Manipulationcited by 13
  6. 2024SLiM: One-shot Quantization and Sparsity with Low-rank Approximation for LLM Weight Compressioncited by 12
  7. 20252SSP: A Two-Stage Framework for Structured Pruning of LLMscited by 12
  8. 2025ProxSparse: Regularized Learning of Semi-Structured Sparsity Masks for Pretrained LLMscited by 10
  9. 2024Learnable Sparsity for Vision Generative Modelscited by 9
  10. 2025DenoiseRotator: Enhance Pruning Robustness for LLMs via Importance Concentrationcited by 6
  11. 2025NIRVANA: Structured Pruning Reimagined for Large Language Model Compressioncited by 6
  12. 2025La RoSA: Enhancing LLM Efficiency via Layerwise Rotated Sparse Activationcited by 5
37 more
  1. 2025A Proximal Operator for Inducing 2:4-Sparsitycited by 4
  2. 2025Pivoting Factorization: A Compact Meta Low-Rank Representation of Sparsity for Efficient Inference in Large Language Modelscited by 4
  3. 2025The Unseen Frontier: Pushing the Limits of LLM Sparsity with Surrogate-Free ADMMcited by 4
  4. 2026GSQ: Highly-Accurate Low-Precision Scalar Quantization for LLMs via Gumbel-Softmax Samplingcited by 4
  5. 2025PATCH: Learnable Tile-level Hybrid Sparsity for LLMscited by 2
  6. 2025Expand Neurons, Not Parameterscited by 2
  7. 2025ARMOR: High-Performance Semi-Structured Pruning via Adaptive Matrix Factorizationcited by 2
  8. 2026Deterministic Differentiable Structured Pruning for Large Language Modelscited by 2
  9. 2025SPAP: Structured Pruning via Alternating Optimization and Penalty Methodscited by 1
  10. 2025MaskPro: Linear-Space Probabilistic Learning for Strict (N:M)-Sparsity on LLMscited by 1
  11. 2025CAST: Continuous and Differentiable Semi-Structured Sparsity-Aware Training for Large Language Modelscited by 1
  12. 2025PermLLM: Learnable Channel Permutation for N:M Sparse Large Language Modelscited by 1
  13. 2025MC#: Mixture Compressor for Mixture-of-Experts Large Modelscited by 1
  14. 2025Sparse by Rule: Probability-Based N:M Pruning for Spiking Neural Networkscited by 1
  15. 2025OPTIMA: Optimal One-shot Pruning for LLMs via Quadratic Programming Reconstructioncited by 1
  16. 2026Train Less, Infer Faster: Efficient Model Finetuning and Compression via Structured Sparsitycited by 1
  17. 2026Mechanism-Driven Monitors for Preemptive Detection of LLM Training Instabilitycited by 1
  18. 2025Deriving Coding-Specific Sub-Models from LLMs using Resource-Efficient Pruningcited by 0
  19. 2025CoNNect: Connectivity-Based Regularization for Structural Pruningcited by 0
  20. 2025Masked Gated Linear Unitcited by 0
  21. 2025Resting Neurons, Active Insights: Robustifying Activation Sparsity in LLMs via Spontaneitycited by 0
  22. 2025Rethinking Fine-Tuning: Unlocking Hidden Capabilities in Vision-Language Modelscited by 0
  23. 2026To 2:4 Sparsity and Beyond: Neuron-level Activation Function to Accelerate LLM Pre-Trainingcited by 0
  24. 2026GradMAP: Faster Layer Pruning with Gradient Metric and Projection Compensationcited by 0
  25. 2026SparseForge: Efficient Semi-Structured LLM Sparsification via Annealing of Hessian-Guided Soft-Maskcited by 0
  26. 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
  27. 2026LEAP: Learnable End-to-End Adaptive Pruning of Large Language Modelscited by 0
  28. 2026RT-Lynx: Putting GEMM Sparsity in the Right Place for Diffusion Modelscited by 0
  29. 2026Pruning Deep Neural Networks via the Marchenko--Pastur Distributioncited by 0
  30. 2026FlexMoE: One-for-All Nested Intra-Expert Pruning for MoE Language Modelscited by 0
  31. 2026Unified Static-Dynamic Pruning for Efficient LLM Inferencecited by 0
  32. 2026WIDE: Boosting Adaptive LLM Inference via Token-level Dynamic Width Pruningcited by 0
  33. 2026S2GS: Structured Sparse Gaussian Streaming for Efficient Free-Viewpoint Video Reconstruction on Edge-IoT Devicescited by 0
  34. 2026Mind the Approximation: Fisher-Weighted SVD Compression for ViTscited by 0
  35. 2026Theoretical Guarantees for One-Shot Magnitude Pruning and Compute-Adaptive Early Exitcited by 0
  36. 2026GroupMask: Layer-Adaptive Group-wise Sparsity for Semi-Structured LLM Pruningcited by 0
  37. 2026Learning Functional Subspaces for Neural Network Compressioncited by 0