Lune

NeurIPS2024顶会

S-STE: Continuous Pruning Function for Efficient 2: 4 Sparse Pre-training

Yuezhou Hu, Jun Zhu, Jianfei Chen

摘要

Training deep neural networks (DNNs) is costly. Fortunately, Nvidia Ampere and Hopper GPUs can accelerate matrix multiplications twice as fast as a dense equivalent by implementing 2:4 sparsity. However, previous STE-based 2:4 pre-training methods (e.g. STE with hard-thresholding, SR-STE) suffer from optimization difficulties because of discontinuous pruning function. In this study, we comprehensively analyse the bottleneck of traditional N:M sparse training and recognize three drawbacks with discontinuity: incorrect descending direction, inability to predict the amount of descent and sparse mask oscillation. In light of this, we propose S-STE, a simple yet powerful 2:4 training method that contains two parts: to continuously project weights to be 2:4 sparse, and to rescale sparse weights with a per-tensor fixed scaling factor. Besides, we adopt minimum-variance unbiased estimation for activation gradient and FP8 quantization for whole process. Results show that our method surpasses previous 2:4 pre-training recipes and is comparable even with full parameter models. Our toolkit is available at https://github.com/huyz2023/2by4-pretrain.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • A Simple and Effective Pruning Approach for Large Language Models 引用了 Language Models are Few-Shot Learners
  • A Simple and Effective Pruning Approach for Large Language Models 引用了 SparseGPT: Massive Language Models Can be Accurately Pruned in One-Shot
  • STUN: Structured-Then-Unstructured Pruning for Scalable MoE Pruning 引用了 A Simple and Effective Pruning Approach for Large Language Models
  • STUN: Structured-Then-Unstructured Pruning for Scalable MoE Pruning 引用了 SparseGPT: Massive Language Models Can be Accurately Pruned in One-Shot
  • Learnable Permutation for Structured Sparsity on Transformer Models 引用了 SparseGPT: Massive Language Models Can be Accurately Pruned in One-Shot
  • Efficient Plug-and-Play Weight Refinement for Sparse Large Models 引用了 A Simple and Effective Pruning Approach for Large Language Models
  • Efficient Plug-and-Play Weight Refinement for Sparse Large Models 引用了 SparseGPT: Massive Language Models Can be Accurately Pruned in One-Shot
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper3

  1. STUN: Structured-Then-Unstructured Pruning for Scalable MoE PruningJaeseong Lee, Seung-won Hwang, Aurick Qiao, Daniel F. Campos 等ACL 2025
  2. Learnable Permutation for Structured Sparsity on Transformer ModelsZekai Li, Ji Liu, Guanchen Li, Yixing Xu 等AAAI 2026
  3. Efficient Plug-and-Play Weight Refinement for Sparse Large ModelsJingcheng Xie, Yinda Chen, Xiaoyu Liu, Yinglong Li 等AAAI 2026

它引用的 Paper18

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa 等ICML 2021 · 8,974 次引用
  3. SparseGPT: Massive Language Models Can be Accurately Pruned in One-ShotElias Frantar, Dan AlistarhICML 2023 · 1,240 次引用
  4. Plug and Play Language Models: A Simple Approach to Controlled Text GenerationSumanth Dathathri, Andrea Madotto, Janice Lan, Jane Hung 等ICLR 2020 · 1,166 次引用
  5. A Simple and Effective Pruning Approach for Large Language ModelsMingjie Sun, Zhuang Liu, Anna Bair, J. Zico KolterICLR 2024 · 794 次引用

相关 Paper

  1. Accelerating Transformer Pre-training with 2: 4 SparsityYuezhou Hu, Kang Zhao, Weiyu Huang, Jianfei Chen 等ICML 2024 · 19 次引用
  2. Towards Fully Sparse Training: Information Restoration with Spatial SimilarityWeixiang Xu, Xiangyu He, Ke Cheng, Peisong Wang 等AAAI 2022 · 7 次引用
  3. Learning N: M Fine-grained Structured Sparse Neural Networks From ScratchAojun Zhou, Yukun Ma, Junnan Zhu, Jianbo Liu 等ICLR 2021 · 301 次引用
  4. Shifted and Squeezed 8-bit Floating Point format for Low-Precision Training of Deep Neural NetworksLéopold Cambier, Anahita Bhiwandiwalla, Ting Gong, Oguz H. Elibol 等ICLR 2020 · 53 次引用
  5. STEP: Learning N: M Structured Sparsity Masks from Scratch with PreconditionYucheng Lu, Shivani Agrawal, Suvinay Subramanian, Oleg Rybakov 等ICML 2023 · 32 次引用
黄昏的海面,两侧是细线勾勒的悬崖