Lune

NeurIPS2024Top-tier venue

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

Yuezhou Hu, Jun Zhu, Jianfei Chen

Abstract

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.

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.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • A Simple and Effective Pruning Approach for Large Language Models cites Language Models are Few-Shot Learners
  • A Simple and Effective Pruning Approach for Large Language Models cites SparseGPT: Massive Language Models Can be Accurately Pruned in One-Shot
  • STUN: Structured-Then-Unstructured Pruning for Scalable MoE Pruning cites A Simple and Effective Pruning Approach for Large Language Models
  • STUN: Structured-Then-Unstructured Pruning for Scalable MoE Pruning cites SparseGPT: Massive Language Models Can be Accurately Pruned in One-Shot
  • Learnable Permutation for Structured Sparsity on Transformer Models cites SparseGPT: Massive Language Models Can be Accurately Pruned in One-Shot
  • Efficient Plug-and-Play Weight Refinement for Sparse Large Models cites A Simple and Effective Pruning Approach for Large Language Models
  • Efficient Plug-and-Play Weight Refinement for Sparse Large Models cites SparseGPT: Massive Language Models Can be Accurately Pruned in One-Shot
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

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

Builds on18

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

Related papers

  1. Accelerating Transformer Pre-training with 2: 4 SparsityYuezhou Hu, Kang Zhao, Weiyu Huang, Jianfei Chen et al.ICML 2024 · 19 citations
  2. Towards Fully Sparse Training: Information Restoration with Spatial SimilarityWeixiang Xu, Xiangyu He, Ke Cheng, Peisong Wang et al.AAAI 2022 · 7 citations
  3. Learning N: M Fine-grained Structured Sparse Neural Networks From ScratchAojun Zhou, Yukun Ma, Junnan Zhu, Jianbo Liu et al.ICLR 2021 · 301 citations
  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 et al.ICLR 2020 · 53 citations
  5. STEP: Learning N: M Structured Sparsity Masks from Scratch with PreconditionYucheng Lu, Shivani Agrawal, Suvinay Subramanian, Oleg Rybakov et al.ICML 2023 · 32 citations
Dusk over the sea between two cliffs drawn in fine vertical lines