Learning Best Combination for Efficient N: M Sparsity
Yuxin Zhang, Mingbao Lin, Zhihang Lin, Yiting Luo, Ke Li, Fei Chao, Yongjian Wu, Rongrong Ji
Abstract
By forcing at most N out of M consecutive weights to be non-zero, the recent N:M network sparsity has received increasing attention for its two attractive advantages: 1) Promising performance at a high sparsity. 2) Significant speedups on NVIDIA A100 GPUs. Recent studies require an expensive pre-training phase or a heavy dense-gradient computation. In this paper, we show that the N:M learning can be naturally characterized as a combinatorial problem which searches for the best combination candidate within a finite collection. Motivated by this characteristic, we solve N:M sparsity in an efficient divide-and-conquer manner. First, we divide the weight vector into combination subsets of a fixed size N. Then, we conquer the combinatorial problem by assigning each combination a learnable score that is jointly optimized with its associate weights. We prove that the introduced scoring mechanism can well model the relative importance between combination subsets. And by gradually removing low-scored subsets, N:M fine-grained sparsity can be efficiently optimized during the normal training phase. Comprehensive experiments demonstrate that our learning best combination (LBC) performs consistently better than off-the-shelf N:M sparsity methods across various networks. Our project is released at https://github.com/zyxxmu/LBC.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
20 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Soft Threshold Weight Reparameterization for Learnable Sparsity cites Rigging the Lottery: Making All Tickets Winners
- Rigging the Lottery: Making All Tickets Winners cites Soft Threshold Weight Reparameterization for Learnable Sparsity
- Plug-and-Play: An Efficient Post-training Pruning Method for Large Language Models cites Rigging the Lottery: Making All Tickets Winners
- Plug-and-Play: An Efficient Post-training Pruning Method for Large Language Models cites Learning N: M Fine-grained Structured Sparse Neural Networks From Scratch
- BESA: Pruning Large Language Models with Blockwise Parameter-Efficient Sparsity Allocation cites Soft Threshold Weight Reparameterization for Learnable Sparsity
- BESA: Pruning Large Language Models with Blockwise Parameter-Efficient Sparsity Allocation cites Rigging the Lottery: Making All Tickets Winners
- MaskLLM: Learnable Semi-Structured Sparsity for Large Language Models cites Plug-and-Play: An Efficient Post-training Pruning Method for Large Language Models
- MaskLLM: Learnable Semi-Structured Sparsity for Large Language Models cites Learning N: M Fine-grained Structured Sparse Neural Networks From Scratch
- Dynamic Sparse No Training: Training-Free Fine-tuning for Sparse LLMs cites Rigging the Lottery: Making All Tickets Winners
- Dynamic Sparse No Training: Training-Free Fine-tuning for Sparse LLMs cites Learning N: M Fine-grained Structured Sparse Neural Networks From Scratch
- Discovering Sparsity Allocation for Layer-wise Pruning of Large Language Models cites Soft Threshold Weight Reparameterization for Learnable Sparsity
- Discovering Sparsity Allocation for Layer-wise Pruning of Large Language Models cites Plug-and-Play: An Efficient Post-training Pruning Method for Large Language Models
- Discovering Sparsity Allocation for Layer-wise Pruning of Large Language Models cites BESA: Pruning Large Language Models with Blockwise Parameter-Efficient Sparsity Allocation
- Discovering Sparsity Allocation for Layer-wise Pruning of Large Language Models cites Dynamic Sparse No Training: Training-Free Fine-tuning for Sparse LLMs
- Discovering Sparsity Allocation for Layer-wise Pruning of Large Language Models cites Rigging the Lottery: Making All Tickets Winners
- Learning N: M Fine-grained Structured Sparse Neural Networks From Scratch cites Soft Threshold Weight Reparameterization for Learnable Sparsity
- Learning N: M Fine-grained Structured Sparse Neural Networks From Scratch cites Rigging the Lottery: Making All Tickets Winners
Cited by top-tier papers20
- Dynamic Sparse No Training: Training-Free Fine-tuning for Sparse LLMsYuxin Zhang, Lirui Zhao, Mingbao Lin, Yunyun Sun et al.ICLR 2024 · 78 citations
- Plug-and-Play: An Efficient Post-training Pruning Method for Large Language ModelsYingtao Zhang, Haoli Bai, Haokun Lin, Jialin Zhao et al.ICLR 2024 · 72 citations
- MaskLLM: Learnable Semi-Structured Sparsity for Large Language ModelsGongfan Fang, Hongxu Yin, Saurav Muralidharan, Greg Heinrich et al.NeurIPS 2024 · 72 citations
- BESA: Pruning Large Language Models with Blockwise Parameter-Efficient Sparsity AllocationPeng Xu, Wenqi Shao, Mengzhao Chen, Shitao Tang et al.ICLR 2024 · 52 citations
- Discovering Sparsity Allocation for Layer-wise Pruning of Large Language ModelsLujun Li, Peijie Dong, Zhenheng Tang, Xiang Liu et al.NeurIPS 2024 · 51 citations
Builds on11
- Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa et al.ICML 2021 · 8,974 citations
- Rigging the Lottery: Making All Tickets WinnersUtku Evci, Trevor Gale, Jacob Menick, Pablo Samuel Castro et al.ICML 2020 · 723 citations
- MetaPruning: Meta Learning for Automatic Neural Network Channel PruningZechun Liu, Haoyuan Mu, Xiangyu Zhang, Zichao Guo et al.ICCV 2019 · 633 citations
- Learning N: M Fine-grained Structured Sparse Neural Networks From ScratchAojun Zhou, Yukun Ma, Junnan Zhu, Jianbo Liu et al.ICLR 2021 · 301 citations
- Soft Threshold Weight Reparameterization for Learnable SparsityAditya Kusupati, Vivek Ramanujan, Raghav Somani, Mitchell Wortsman et al.ICML 2020 · 266 citations
Related papers
- MaxQ: Multi-Axis Query for N: m Sparsity NetworkJingyang Xiang, Siqi Li, Junhao Chen, Zhuangzhi Chen et al.CVPR 2024 · 2 citations
- Channel Permutations for N: M SparsityJeff Pool, Chong YuNeurIPS 2021 · 75 citations
- Bi-directional Masks for Efficient N: M Sparse TrainingYuxin Zhang, Yiting Luo, Mingbao Lin, Yunshan Zhong et al.ICML 2023 · 23 citations
- BAME: Block-Aware Mask Evolution for Efficient N: M Sparse TrainingChenyi Yang, Wenjie Nie, Yuxin Zhang, Yuhang Wu et al.ICML 2025
- DominoSearch: Find layer-wise fine-grained N: M sparse schemes from dense neural networksWei Sun, Aojun Zhou, Sander Stuijk, Rob G. J. Wijnhoven et al.NeurIPS 2021 · 67 citations
