mlsanityData to 7 Oct 2026

ScaLA: Accelerating Adaptation of Pre-Trained Transformer-Based Language Models via Efficient Large-Batch Adversarial Noise

arXiv 2201.12469 ↗First posted 29 Jan 2022cs.LG cs.CLcited by 0

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  4. 2020Language Models are Few-Shot Learnerscited by 32,199
  5. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  6. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  7. 2020Scaling Laws for Neural Language Modelscited by 6,411
  8. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  9. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  10. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
  11. 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
  12. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
35 more
  1. 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,479
  2. 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,404
  3. 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,337
  4. 2021Towards a Unified View of Parameter-Efficient Transfer Learningcited by 863
  5. 2020AdapterFusion: Non-Destructive Task Composition for Transfer Learningcited by 780
  6. 2013Stochastic First- and Zeroth-order Methods for Nonconvex Stochastic Programmingcited by 716
  7. 2019Large Batch Optimization for Deep Learning: Training BERT in 76 minutescited by 671
  8. 2017In-Datacenter Performance Analysis of a Tensor Processing Unitcited by 610
  9. 2020K-Adapter: Infusing Knowledge into Pre-Trained Models with Adapterscited by 318
  10. 2017Don't Decay the Learning Rate, Increase the Batch Sizecited by 313
  11. 2016Adversarial Training Methods for Semi-Supervised Text Classificationcited by 280
  12. 2017Train longer, generalize better: closing the generalization gap in large batch training of neural networkscited by 278
  13. 2019On Gradient Descent Ascent for Nonconvex-Concave Minimax Problemscited by 266
  14. 2019FreeLB: Enhanced Adversarial Training for Natural Language Understandingcited by 261
  15. 2021When Vision Transformers Outperform ResNets without Pre-training or Strong Data Augmentationscited by 259
  16. 2019SMART: Robust and Efficient Fine-Tuning for Pre-trained Natural Language Models through Principled Regularized Optimizationcited by 253
  17. 2018A disciplined approach to neural network hyper-parameters: Part 1 -- learning rate, batch size, momentum, and weight decaycited by 223
  18. 2018Mesh-TensorFlow: Deep Learning for Supercomputerscited by 168
  19. 2018Stochastic model-based minimization of weakly convex functionscited by 157
  20. 2017Non-convex Optimization for Machine Learningcited by 132
  21. 2020Adversarial Training for Large Neural Language Modelscited by 109
  22. 2019Robust Neural Machine Translation with Doubly Adversarial Inputscited by 105
  23. 2020Accelerating Training of Transformer-Based Language Models with Progressive Layer Droppingcited by 93
  24. 2018Curriculum Adversarial Trainingcited by 89
  25. 2018Hessian-based Analysis of Large Batch Training and Robustness to Adversariescited by 87
  26. 2018Weakly-Convex Concave Min-Max Optimization: Provable Algorithms and Applications in Machine Learningcited by 62
  27. 2019Benchmarking TPU, GPU, and CPU Platforms for Deep Learningcited by 51
  28. 2019Improving Neural Language Modeling via Adversarial Trainingcited by 49
  29. 2018Stochastic subgradient method converges at the rate O(k-1/4) on weakly convex functionscited by 31
  30. 2021A Large Batch Optimizer Reality Check: Traditional, Generic Optimizers Suffice Across Batch Sizescited by 20
  31. 2018Word Embedding Perturbation for Sentence Classificationcited by 11
  32. 2021Concurrent Adversarial Learning for Large-Batch Trainingcited by 11
  33. 2020Improving the affordability of robustness training for DNNscited by 8
  34. 2020The Limit of the Batch Sizecited by 6
  35. 2020Amata: An Annealing Mechanism for Adversarial Training Accelerationcited by 5

Built on by

Not cited yet.