paper-with-me

홈 › Papers

Mixed Sparsity Training: Achieving 4$\times$ FLOP Reduction for Transformer Pretraining

2024-08-21 · Pihe Hu, Shaolong Li, Longbo Huang

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\times$ without compromising performance.

📄 PDF Abstract BibTeX arXiv:2408.11746

Code (0)

등록된 구현이 없습니다.

Tasks

GPU

Methods 이 논문이 사용한 방법론

Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Residual Connection 설명 없음
Multi-Head Attention 설명 없음
Cosine Annealing Cosine Annealing is a type of learning rate schedule that has the effect of starting with a large learning rate that is relatively rapidly decreased to a minimum value before…
Adam 설명 없음
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Weight Decay 설명 없음

Similar Papers 제목 키워드 기반

Boost Vision Transformer with GPU-Friendly Sparsity and Quantization

2023-05-18 · CVPR 2023 1 · Chong Yu, Tao Chen, Zhongxue Gan, Jiayuan Fan

The transformer extends its success from the language to the vision domain. Because of the stacked self-attention and cross-attention blocks, the acceleration deployment of vision transformer on GPU hardware is challengi…

BenchmarkingGPUKnowledge DistillationQuantization

ELSA: Exploiting Layer-wise N:M Sparsity for Vision Transformer Acceleration

2024-09-15 · Ning-Chi Huang, Chi-Chih Chang, Wei-Cheng Lin, Endri Taka 외

$N{:}M$ sparsity is an emerging model compression method supported by more and more accelerators to speed up sparse matrix multiplication in deep neural networks. Most existing $N{:}M$ sparsity methods compress neural ne…

Model Compression

BEAM: Binary Expert Activation Masking for Dynamic Routing in MoE

2026-05-14 · Juntong Wu, Jialiang Cheng, Qishen Yin, Yue Dai 외 arxiv

Mixture-of-Experts (MoE) architectures enhance the efficiency of large language models by activating only a subset of experts per token. However, standard MoE employs a fixed Top-K routing strategy, leading to redundant …

Guiding Token-Sparse Diffusion Models

2026-01-04 · Felix Krause, Stefan Andreas Baumann, Johannes Schusterbauer, Olga Grebenkova 외 arxiv

Diffusion models deliver high quality in image synthesis but remain expensive during training and inference. Recent works have leveraged the inherent redundancy in visual content to make training more affordable by train…

AUTOSPARSE: Towards Automated Sparse Training of Deep Neural Networks

2023-04-14 · Abhisek Kundu, Naveen K. Mellempudi, Dharma Teja Vooturi, Bharat Kaul 외

Sparse training is emerging as a promising avenue for reducing the computational cost of training neural networks. Several recent studies have proposed pruning methods using learnable thresholds to efficiently explore th…