Lune

ICLR2021顶会

Learning N: M Fine-grained Structured Sparse Neural Networks From Scratch

Aojun Zhou, Yukun Ma, Junnan Zhu, Jianbo Liu, Zhijie Zhang, Kun Yuan, Wenxiu Sun, Hongsheng Li

摘要

Sparsity in Deep Neural Networks (DNNs) has been widely studied to compress and accelerate the models on resource-constrained environments. It can be generally categorized into unstructured fine-grained sparsity that zeroes out multiple individual weights distributed across the neural network, and structured coarse-grained sparsity which prunes blocks of sub-networks of a neural network. Fine-grained sparsity can achieve a high compression ratio but is not hardware friendly and hence receives limited speed gains. On the other hand, coarse-grained sparsity cannot simultaneously achieve both apparent acceleration on modern GPUs and decent performance. In this paper, we are the first to study training from scratch an N:M fine-grained structured sparse network, which can maintain the advantages of both unstructured fine-grained sparsity and structured coarse-grained sparsity simultaneously on specifically designed GPUs. Specifically, a 2 : 4 sparse network could achieve 2× speed-up without performance drop on Nvidia A100 GPUs. Furthermore, we propose a novel and effective ingredient, sparse-refined straight-through estimator (SR-STE), to alleviate the negative influence of the approximated gradients computed by vanilla STE during optimization. We also define a metric, Sparse Architecture Divergence (SAD), to measure the sparse network’s topology change during the training process. Finally, We justify SR-STE’s advantages with SAD and demonstrate the effectiveness of SR-STE by performing comprehensive experiments on various tasks. Anonymous code and model will be at available at https://github.com/anonymous-NM-sparsity/NM-sparsity.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 92 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 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
  • Do We Actually Need Dense Over-Parameterization? In-Time Over-Parameterization in Sparse Training 引用了 Soft Threshold Weight Reparameterization for Learnable Sparsity
  • Do We Actually Need Dense Over-Parameterization? In-Time Over-Parameterization in Sparse Training 引用了 Rigging the Lottery: Making All Tickets Winners
  • Do We Actually Need Dense Over-Parameterization? In-Time Over-Parameterization in Sparse Training 引用了 Language Models are Few-Shot Learners
  • Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and Pruning 引用了 Group Fisher Pruning for Practical Network Compression
  • SparseGPT: Massive Language Models Can be Accurately Pruned in One-Shot 引用了 Group Fisher Pruning for Practical Network Compression
  • SparseGPT: Massive Language Models Can be Accurately Pruned in One-Shot 引用了 Rigging the Lottery: Making All Tickets Winners
  • SparseGPT: Massive Language Models Can be Accurately Pruned in One-Shot 引用了 Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and Pruning
  • Sparse Training via Boosting Pruning Plasticity with Neuroregeneration 引用了 Soft Threshold Weight Reparameterization for Learnable Sparsity
  • Sparse Training via Boosting Pruning Plasticity with Neuroregeneration 引用了 Do We Actually Need Dense Over-Parameterization? In-Time Over-Parameterization in Sparse Training
  • Sparse Training via Boosting Pruning Plasticity with Neuroregeneration 引用了 Rigging the Lottery: Making All Tickets Winners
  • Sparse Training via Boosting Pruning Plasticity with Neuroregeneration 引用了 Language Models are Few-Shot Learners
  • Sparse Training via Boosting Pruning Plasticity with Neuroregeneration 引用了 Comparing Rewinding and Fine-tuning in Neural Network Pruning
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper92

  1. SparseGPT: Massive Language Models Can be Accurately Pruned in One-ShotElias Frantar, Dan AlistarhICML 2023 · 1,240 次引用
  2. Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and PruningElias Frantar, Dan AlistarhNeurIPS 2022 · 440 次引用
  3. Group Fisher Pruning for Practical Network CompressionLiyang Liu, Shilong Zhang, Zhanghui Kuang, Aojun Zhou 等ICML 2021 · 204 次引用
  4. Do We Actually Need Dense Over-Parameterization? In-Time Over-Parameterization in Sparse TrainingShiwei Liu, Lu Yin, Decebal Constantin Mocanu, Mykola PechenizkiyICML 2021 · 146 次引用
  5. Sparse Training via Boosting Pruning Plasticity with NeuroregenerationShiwei Liu, Tianlong Chen, Xiaohan Chen, Zahra Atashgahi 等NeurIPS 2021 · 145 次引用

它引用的 Paper6

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. Rigging the Lottery: Making All Tickets WinnersUtku Evci, Trevor Gale, Jacob Menick, Pablo Samuel Castro 等ICML 2020 · 723 次引用
  3. Comparing Rewinding and Fine-tuning in Neural Network PruningAlex Renda, Jonathan Frankle, Michael CarbinICLR 2020 · 437 次引用
  4. Soft Threshold Weight Reparameterization for Learnable SparsityAditya Kusupati, Vivek Ramanujan, Raghav Somani, Mitchell Wortsman 等ICML 2020 · 266 次引用
  5. PCNN: Pattern-based Fine-Grained Regular Pruning Towards Optimizing CNN AcceleratorsZhanhong Tan, Jiebo Song, Xiaolong Ma, Sia Huat Tan 等DAC 2020 · 28 次引用

相关 Paper

  1. Accelerated Sparse Neural Training: A Provable and Efficient Method to Find N: M Transposable MasksItay Hubara, Brian Chmiel, Moshe Island, Ron Banner 等NeurIPS 2021 · 148 次引用
  2. S-STE: Continuous Pruning Function for Efficient 2: 4 Sparse Pre-trainingYuezhou Hu, Jun Zhu, Jianfei ChenNeurIPS 2024 · 14 次引用
  3. Dynamic Sparsity Is Channel-Level Sparsity LearnerLu Yin, Gen Li, Meng Fang, Li Shen 等NeurIPS 2023 · 29 次引用
  4. Accelerating Transformer Pre-training with 2: 4 SparsityYuezhou Hu, Kang Zhao, Weiyu Huang, Jianfei Chen 等ICML 2024 · 19 次引用
  5. Cascading structured pruning: enabling high data reuse for sparse DNN acceleratorsEdward Hanson, Shiyu Li, Hai Helen Li, Yiran ChenISCA 2022 · 30 次引用
黄昏的海面,两侧是细线勾勒的悬崖