ScaLA: Accelerating Adaptation of Pre-Trained Transformer-Based Language Models via Efficient Large-Batch Adversarial Noise
Not on the map. Why?
Abstract (arXiv)
In recent years, large pre-trained Transformer-based language models have led to dramatic improvements in many natural language understanding tasks. To train these models with increasing sizes, many neural network practitioners attempt to increase the batch sizes in order to leverage multiple GPUs to improve training speed. However, increasing the batch size often makes the optimization more difficult, leading to slow convergence or poor generalization that can require orders of magnitude more training time to achieve the same model quality. In this paper, we explore the steepness of the loss landscape of large-batch optimization for adapting pre-trained Transformer-based language models to domain-specific tasks and find that it tends to be highly complex and irregular, posing challenges to generalization on downstream tasks. To tackle this challenge, we propose ScaLA, a novel and efficient method to accelerate the adaptation speed of pre-trained transformer networks. Different from prior methods, we take a sequential game-theoretic approach by adding lightweight adversarial noise into large-batch optimization, which significantly improves adaptation speed while preserving model generalization. Experiment results show that ScaLA attains 2.7--9.8× adaptation speedups over the baseline for GLUE on BERT-base and RoBERTa-large, while achieving comparable and sometimes higher accuracy than the state-of-the-art large-batch optimization methods. Finally, we also address the theoretical aspect of large-batch optimization with adversarial noise and provide a theoretical convergence rate analysis for ScaLA using techniques for analyzing non-convex saddle-point problems.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 47 of its 58 references that are in the map. First posted on arXiv 29 Jan 2022.
Builds on
47 of 58 references.
References · 47
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
- 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
35 more
- 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,479
- 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,404
- 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,337
- 2021Towards a Unified View of Parameter-Efficient Transfer Learningcited by 863
- 2020AdapterFusion: Non-Destructive Task Composition for Transfer Learningcited by 780
- 2013Stochastic First- and Zeroth-order Methods for Nonconvex Stochastic Programmingcited by 716
- 2019Large Batch Optimization for Deep Learning: Training BERT in 76 minutescited by 671
- 2017In-Datacenter Performance Analysis of a Tensor Processing Unitcited by 610
- 2020K-Adapter: Infusing Knowledge into Pre-Trained Models with Adapterscited by 318
- 2017Don't Decay the Learning Rate, Increase the Batch Sizecited by 313
- 2016Adversarial Training Methods for Semi-Supervised Text Classificationcited by 280
- 2017Train longer, generalize better: closing the generalization gap in large batch training of neural networkscited by 278
- 2019On Gradient Descent Ascent for Nonconvex-Concave Minimax Problemscited by 266
- 2019FreeLB: Enhanced Adversarial Training for Natural Language Understandingcited by 261
- 2021When Vision Transformers Outperform ResNets without Pre-training or Strong Data Augmentationscited by 259
- 2019SMART: Robust and Efficient Fine-Tuning for Pre-trained Natural Language Models through Principled Regularized Optimizationcited by 253
- 2018A disciplined approach to neural network hyper-parameters: Part 1 -- learning rate, batch size, momentum, and weight decaycited by 223
- 2018Mesh-TensorFlow: Deep Learning for Supercomputerscited by 168
- 2018Stochastic model-based minimization of weakly convex functionscited by 157
- 2017Non-convex Optimization for Machine Learningcited by 132
- 2020Adversarial Training for Large Neural Language Modelscited by 109
- 2019Robust Neural Machine Translation with Doubly Adversarial Inputscited by 105
- 2020Accelerating Training of Transformer-Based Language Models with Progressive Layer Droppingcited by 93
- 2018Curriculum Adversarial Trainingcited by 89
- 2018Hessian-based Analysis of Large Batch Training and Robustness to Adversariescited by 87
- 2018Weakly-Convex Concave Min-Max Optimization: Provable Algorithms and Applications in Machine Learningcited by 62
- 2019Benchmarking TPU, GPU, and CPU Platforms for Deep Learningcited by 51
- 2019Improving Neural Language Modeling via Adversarial Trainingcited by 49
- 2018Stochastic subgradient method converges at the rate O(k-1/4) on weakly convex functionscited by 31
- 2021A Large Batch Optimizer Reality Check: Traditional, Generic Optimizers Suffice Across Batch Sizescited by 20
- 2018Word Embedding Perturbation for Sentence Classificationcited by 11
- 2021Concurrent Adversarial Learning for Large-Batch Trainingcited by 11
- 2020Improving the affordability of robustness training for DNNscited by 8
- 2020The Limit of the Batch Sizecited by 6
- 2020Amata: An Annealing Mechanism for Adversarial Training Accelerationcited by 5
Built on by
Not cited yet.