paper-with-me

Papers

SPDF: Sparse Pre-training and Dense Fine-tuning for Large Language Models

2023-03-18 · Vithursan Thangarasa, Abhay Gupta, William Marshall, Tianda Li, Kevin Leong, Dennis Decoste, Sean Lie, Shreyas Saxena

The pre-training and fine-tuning paradigm has contributed to a number of breakthroughs in Natural Language Processing (NLP). Instead of directly training on a downstream task, language models are first pre-trained on large datasets with cross-domain knowledge (e.g., Pile, MassiveText, etc.) and then fine-tuned on task-specific data (e.g., natural language generation, text summarization, etc.). Scaling the model and dataset size has helped improve the performance of LLMs, but unfortunately, this also lead to highly prohibitive computational costs. Pre-training LLMs often require orders of magnitude more FLOPs than fine-tuning and the model capacity often remains the same between the two phases. To achieve training efficiency w.r.t training FLOPs, we propose to decouple the model capacity between the two phases and introduce Sparse Pre-training and Dense Fine-tuning (SPDF). In this work, we show the benefits of using unstructured weight sparsity to train only a subset of weights during pre-training (Sparse Pre-training) and then recover the representational capacity by allowing the zeroed weights to learn (Dense Fine-tuning). We demonstrate that we can induce up to 75% sparsity into a 1.3B parameter GPT-3 XL model resulting in a 2.5x reduction in pre-training FLOPs, without a significant loss in accuracy on the downstream tasks relative to the dense baseline. By rigorously evaluating multiple downstream tasks, we also establish a relationship between sparsity, task complexity and dataset size. Our work presents a promising direction to train large GPT models at a fraction of the training FLOPs using weight sparsity, while retaining the benefits of pre-trained textual representations for downstream tasks.

📄 PDF Abstract BibTeX arXiv:2303.10464

Code (0)

등록된 구현이 없습니다.

Tasks

Text GenerationText Summarization

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 &…
15 Ways to Contact How can i speak to someone at Delta Airlines 설명 없음
Multi-Head Attention 설명 없음
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Discriminative Fine-Tuning Discriminative Fine-Tuning is a fine-tuning strategy that is used for ULMFiT type models. Instead of using the same learning rate…
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Residual Connection 설명 없음

Similar Papers 제목 키워드 기반

Semantics Prompting Data-Free Quantization for Low-Bit Vision Transformers

2024-12-21 · Yunshan Zhong, Yuyao Zhou, Yuxin Zhang, Shen Li 외

Data-free quantization (DFQ), which facilitates model quantization without real data to address increasing concerns about data security, has garnered significant attention within the model compression community. Recently…

Data Free QuantizationModel CompressionQuantization

Monarch: Expressive Structured Matrices for Efficient and Accurate Training

2022-04-01 · Tri Dao, Beidi Chen, Nimit Sohoni, Arjun Desai 외

Large neural networks excel in many domains, but they are expensive to train and fine-tune. A popular approach to reduce their compute or memory requirements is to replace dense weight matrices with structured ones (e.g.…

Language ModelingLanguage ModellingMRI Reconstruction

Benchmarking Middle-Trained Language Models for Neural Search

2023-06-05 · Hervé Déjean, Stéphane Clinchant, Carlos Lassance, Simon Lupart 외

Middle training methods aim to bridge the gap between the Masked Language Model (MLM) pre-training and the final finetuning for retrieval. Recent models such as CoCondenser, RetroMAE, and LexMAE argue that the MLM task i…

BenchmarkingLanguage ModelingLanguage ModellingRetrieval

Sparse-Tuning: Adapting Vision Transformers with Efficient Fine-tuning and Inference

2024-05-23 · Ting Liu, Xuyang Liu, Siteng Huang, Liangtao Shi 외

Parameter-efficient fine-tuning (PEFT) has emerged as a popular solution for adapting pre-trained Vision Transformer (ViT) models to downstream applications. While current PEFT methods have achieved parameter efficiency,…

GPUparameter-efficient fine-tuning

MoE Jetpack: From Dense Checkpoints to Adaptive Mixture of Experts for Vision Tasks

2024-06-07 · Xingkui Zhu, Yiran Guan, Dingkang Liang, Yuchao Chen 외

The sparsely activated mixture of experts (MoE) model presents a promising alternative to traditional densely activated (dense) models, enhancing both quality and computational efficiency. However, training MoE models fr…

Computational EfficiencyMixture-of-Experts