paper-with-me

Papers

Random-LTD: Random and Layerwise Token Dropping Brings Efficient Training for Large-scale Transformers

2022-11-17 · Zhewei Yao, Xiaoxia Wu, Conglong Li, Connor Holmes, Minjia Zhang, Cheng Li, Yuxiong He

Large-scale transformer models have become the de-facto architectures for various machine learning applications, e.g., CV and NLP. However, those large models also introduce prohibitive training costs. To mitigate this issue, we propose a novel random and layerwise token dropping method (random-LTD), which skips the computation of a subset of the input tokens at all middle layers. Particularly, random-LTD achieves considerable speedups and comparable accuracy as the standard training baseline. Compared to other token dropping methods, random-LTD does not require (1) any importance score-based metrics, (2) any special token treatment (e.g., [CLS]), and (3) many layers in full sequence length training except the first and the last layers. Besides, a new LayerToken learning rate schedule is proposed for pretraining problems that resolve the heavy tuning requirement for our proposed training mechanism. Finally, we demonstrate that random-LTD can be applied to broader applications, including GPT and BERT pretraining as well as ViT and GPT finetuning tasks. Our results show that random-LTD can save about 33.3% theoretical compute cost and 25.6% wall-clock training time while achieving similar zero-shot evaluations on GPT-31.3B as compared to baseline.

📄 PDF Abstract BibTeX arXiv:2211.11586

Code (1)

microsoft/DeepSpeed 공식 구현 pytorch

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 &…
Multi-Head Attention 설명 없음
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…
Linear Warmup With Cosine Annealing Linear Warmup With Cosine Annealing is a learning rate schedule where we increase the learning rate linearly for $n$ updates and then anneal according to a cosine schedule…
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…
Weight Decay 설명 없음
Adam 설명 없음

Similar Papers 제목 키워드 기반

Revisiting Token Dropping Strategy in Efficient BERT Pretraining

2023-05-24 · Qihuang Zhong, Liang Ding, Juhua Liu, Xuebo Liu 외

Token dropping is a recently-proposed strategy to speed up the pretraining of masked language models, such as BERT, by skipping the computation of a subset of the input tokens at several middle layers. It can effectively…

Keep The Essentials: Efficient Reference Conditioned Generation via Token Dropping

2026-06-22 · Rishubh Parihar, Ayush Raina, R. Venkatesh Babu, Or Patashnik arxiv

Reference-based diffusion models enable highly controllable image generation by leveraging elements from input images to guide prompt-driven synthesis. However, these models are computationally expensive in runtime, and …

Image Generation

DropMessage: Unifying Random Dropping for Graph Neural Networks

2022-04-21 · Taoran Fang, Zhiqing Xiao, Chunping Wang, Jiarong Xu 외

Graph Neural Networks (GNNs) are powerful tools for graph representation learning. Despite their rapid development, GNNs also face some challenges, such as over-fitting, over-smoothing, and non-robustness. Previous works…

Graph Representation LearningRepresentation Learning

Layerwise Systematic Scan: Deep Boltzmann Machines and Beyond

2017-05-15 · Heng Guo, Kaan Kara, Ce Zhang

For Markov chain Monte Carlo methods, one of the greatest discrepancies between theory and system is the scan order - while most theoretical development on the mixing time analysis deals with random updates, real-world s…

Decision Transformer under Random Frame Dropping

2023-03-03 · Kaizhe Hu, Ray Chen Zheng, Yang Gao, Huazhe Xu

Controlling agents remotely with deep reinforcement learning~(DRL) in the real world is yet to come. One crucial stepping stone is to devise RL algorithms that are robust in the face of dropped information from corrupted…

Deep Reinforcement LearningMuJoCoOffline RL