Learning Best Combination for Efficient N: M Sparsity
Yuxin Zhang, Mingbao Lin, Zhihang Lin, Yiting Luo, Ke Li, Fei Chao, Yongjian Wu, Rongrong Ji
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 20 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Soft Threshold Weight Reparameterization for Learnable Sparsity 引用了 Rigging the Lottery: Making All Tickets Winners
- Rigging the Lottery: Making All Tickets Winners 引用了 Soft Threshold Weight Reparameterization for Learnable Sparsity
- Plug-and-Play: An Efficient Post-training Pruning Method for Large Language Models 引用了 Rigging the Lottery: Making All Tickets Winners
- Plug-and-Play: An Efficient Post-training Pruning Method for Large Language Models 引用了 Learning N: M Fine-grained Structured Sparse Neural Networks From Scratch
- BESA: Pruning Large Language Models with Blockwise Parameter-Efficient Sparsity Allocation 引用了 Soft Threshold Weight Reparameterization for Learnable Sparsity
- BESA: Pruning Large Language Models with Blockwise Parameter-Efficient Sparsity Allocation 引用了 Rigging the Lottery: Making All Tickets Winners
- MaskLLM: Learnable Semi-Structured Sparsity for Large Language Models 引用了 Plug-and-Play: An Efficient Post-training Pruning Method for Large Language Models
- MaskLLM: Learnable Semi-Structured Sparsity for Large Language Models 引用了 Learning N: M Fine-grained Structured Sparse Neural Networks From Scratch
- Dynamic Sparse No Training: Training-Free Fine-tuning for Sparse LLMs 引用了 Rigging the Lottery: Making All Tickets Winners
- Dynamic Sparse No Training: Training-Free Fine-tuning for Sparse LLMs 引用了 Learning N: M Fine-grained Structured Sparse Neural Networks From Scratch
- Discovering Sparsity Allocation for Layer-wise Pruning of Large Language Models 引用了 Soft Threshold Weight Reparameterization for Learnable Sparsity
- Discovering Sparsity Allocation for Layer-wise Pruning of Large Language Models 引用了 Plug-and-Play: An Efficient Post-training Pruning Method for Large Language Models
- Discovering Sparsity Allocation for Layer-wise Pruning of Large Language Models 引用了 BESA: Pruning Large Language Models with Blockwise Parameter-Efficient Sparsity Allocation
- Discovering Sparsity Allocation for Layer-wise Pruning of Large Language Models 引用了 Dynamic Sparse No Training: Training-Free Fine-tuning for Sparse LLMs
- Discovering Sparsity Allocation for Layer-wise Pruning of Large Language Models 引用了 Rigging the Lottery: Making All Tickets Winners
- Learning N: M Fine-grained Structured Sparse Neural Networks From Scratch 引用了 Soft Threshold Weight Reparameterization for Learnable Sparsity
- Learning N: M Fine-grained Structured Sparse Neural Networks From Scratch 引用了 Rigging the Lottery: Making All Tickets Winners
引用它的顶会 Paper20
- Dynamic Sparse No Training: Training-Free Fine-tuning for Sparse LLMsYuxin Zhang, Lirui Zhao, Mingbao Lin, Yunyun Sun 等ICLR 2024 · 78 次引用
- Plug-and-Play: An Efficient Post-training Pruning Method for Large Language ModelsYingtao Zhang, Haoli Bai, Haokun Lin, Jialin Zhao 等ICLR 2024 · 72 次引用
- MaskLLM: Learnable Semi-Structured Sparsity for Large Language ModelsGongfan Fang, Hongxu Yin, Saurav Muralidharan, Greg Heinrich 等NeurIPS 2024 · 72 次引用
- BESA: Pruning Large Language Models with Blockwise Parameter-Efficient Sparsity AllocationPeng Xu, Wenqi Shao, Mengzhao Chen, Shitao Tang 等ICLR 2024 · 52 次引用
- Discovering Sparsity Allocation for Layer-wise Pruning of Large Language ModelsLujun Li, Peijie Dong, Zhenheng Tang, Xiang Liu 等NeurIPS 2024 · 51 次引用
它引用的 Paper11
- Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa 等ICML 2021 · 8,974 次引用
- Rigging the Lottery: Making All Tickets WinnersUtku Evci, Trevor Gale, Jacob Menick, Pablo Samuel Castro 等ICML 2020 · 723 次引用
- MetaPruning: Meta Learning for Automatic Neural Network Channel PruningZechun Liu, Haoyuan Mu, Xiangyu Zhang, Zichao Guo 等ICCV 2019 · 633 次引用
- Learning N: M Fine-grained Structured Sparse Neural Networks From ScratchAojun Zhou, Yukun Ma, Junnan Zhu, Jianbo Liu 等ICLR 2021 · 301 次引用
- Soft Threshold Weight Reparameterization for Learnable SparsityAditya Kusupati, Vivek Ramanujan, Raghav Somani, Mitchell Wortsman 等ICML 2020 · 266 次引用
相关 Paper
- MaxQ: Multi-Axis Query for N: m Sparsity NetworkJingyang Xiang, Siqi Li, Junhao Chen, Zhuangzhi Chen 等CVPR 2024 · 2 次引用
- Channel Permutations for N: M SparsityJeff Pool, Chong YuNeurIPS 2021 · 75 次引用
- Bi-directional Masks for Efficient N: M Sparse TrainingYuxin Zhang, Yiting Luo, Mingbao Lin, Yunshan Zhong 等ICML 2023 · 23 次引用
- BAME: Block-Aware Mask Evolution for Efficient N: M Sparse TrainingChenyi Yang, Wenjie Nie, Yuxin Zhang, Yuhang Wu 等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 等NeurIPS 2021 · 67 次引用
