Mixed Sparsity Training: Achieving 4× FLOP Reduction for Transformer Pretraining
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) have made significant strides in complex tasks, yet their widespread adoption is impeded by substantial computational demands. With hundreds of billion parameters, transformer-based LLMs necessitate months of pretraining across a high-end GPU cluster. However, this paper reveals a compelling finding: transformers exhibit considerable redundancy in pretraining computations, which motivates our proposed solution, Mixed Sparsity Training (MST), an efficient pretraining method that can reduce about 75% of Floating Point Operations (FLOPs) while maintaining performance. MST integrates dynamic sparse training (DST) with Sparsity Variation (SV) and Hybrid Sparse Attention (HSA) during pretraining, involving three distinct phases: warm-up, ultra-sparsification, and restoration. The warm-up phase transforms the dense model into a sparse one, and the restoration phase reinstates connections. Throughout these phases, the model is trained with a dynamically evolving sparse topology and an HSA mechanism to maintain performance and minimize training FLOPs concurrently. Our experiment on GPT-2 showcases a FLOP reduction of 4× without compromising performance.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 33 of its 69 references that are in the map. First posted on arXiv 21 Aug 2024.
Builds on
33 of 69 references.
References · 33
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,827
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
- 2023Qwen-VL: A Versatile Vision-Language Model for Understanding, Localization, Text Reading, and Beyondcited by 2,179
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,838
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
21 more
- 2019Generating Long Sequences with Sparse Transformerscited by 1,523
- 2017Mixed Precision Trainingcited by 1,135
- 2023SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shotcited by 1,090
- 2021GLM: General Language Model Pretraining with Autoregressive Blank Infillingcited by 1,026
- 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 960
- 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 881
- 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 791
- 2023A Simple and Effective Pruning Approach for Large Language Modelscited by 776
- 2023LLM-Pruner: On the Structural Pruning of Large Language Modelscited by 643
- 2023PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallelcited by 641
- 2013One Billion Word Benchmark for Measuring Progress in Statistical Language Modelingcited by 302
- 2019Sparse Networks from Scratch: Faster Training without Losing Performancecited by 210
- 2020PyTorch Distributed: Experiences on Accelerating Data Parallel Trainingcited by 87
- 2023Learning to Grow Pretrained Models for Efficient Transformer Trainingcited by 81
- 2023LoRAPrune: Structured Pruning Meets Low-Rank Parameter-Efficient Fine-Tuningcited by 53
- 2023LoRAShear: Efficient Large Language Model Structured Pruning and Knowledge Recoverycited by 37
- 2023What Matters In The Structured Pruning of Generative Language Models?cited by 30
- 2021Maximizing Parallelism in Distributed Training for Huge Neural Networkscited by 23
- 2023Fantastic Weights and How to Find Them: Where to Prune in Dynamic Sparse Trainingcited by 16
- 2023One-Shot Sensitivity-Aware Mixed Sparsity Pruning for Large Language Modelscited by 16
- 2021Towards Structured Dynamic Sparse Pre-Training of BERTcited by 12
Built on by
Not cited yet.