Gradient Sparsification For Masked Fine-Tuning of Transformers
Not on the map. Why?
Abstract (arXiv)
Fine-tuning pretrained self-supervised language models is widely adopted for transfer learning to downstream tasks. Fine-tuning can be achieved by freezing gradients of the pretrained network and only updating gradients of a newly added classification layer, or by performing gradient updates on all parameters. Gradual unfreezing makes a trade-off between the two by gradually unfreezing gradients of whole layers during training. This has been an effective strategy to trade-off between storage and training speed with generalization performance. However, it is not clear whether gradually unfreezing layers throughout training is optimal, compared to sparse variants of gradual unfreezing which may improve fine-tuning performance. In this paper, we propose to stochastically mask gradients to regularize pretrained language models for improving overall fine-tuned performance. We introduce GradDrop and variants thereof, a class of gradient sparsification methods that mask gradients during the backward pass, acting as gradient noise. GradDrop is sparse and stochastic unlike gradual freezing. Extensive experiments on the multilingual XGLUE benchmark with XLMR-Large show that GradDrop is competitive against methods that use additional translated data for intermediate pretraining and outperforms standard fine-tuning and gradual unfreezing. A post-analysis shows how GradDrop improves performance with languages it was not trained on, such as under-resourced languages.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 26 of its 33 references that are in the map. First posted on arXiv 19 Jul 2023.
Builds on
26 of 33 references.
References · 26
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
- 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,907
- 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,973
- 2019Cross-lingual Language Model Pretrainingcited by 1,088
- 2020AdapterFusion: Non-Destructive Task Composition for Transfer Learningcited by 780
- 2020XTREME: A Massively Multilingual Multi-task Benchmark for Evaluating Cross-lingual Generalizationcited by 738
- 2020MAD-X: An Adapter-Based Framework for Multi-Task Cross-Lingual Transfercited by 443
- 2020AdapterHub: A Framework for Adapting Transformerscited by 441
- 2019Reducing Transformer Depth on Demand with Structured Dropoutcited by 434
- 2019MLQA: Evaluating Cross-lingual Extractive Question Answeringcited by 339
- 2020Universal Dependencies v2: An Evergrowing Multilingual Treebank Collectioncited by 269
14 more
- 2019PAWS-X: A Cross-lingual Adversarial Dataset for Paraphrase Identificationcited by 262
- 2020AdapterDrop: On the Efficiency of Adapters in Transformerscited by 223
- 2020XGLUE: A New Benchmark Dataset for Cross-lingual Pre-training, Understanding and Generationcited by 221
- 2020Understanding the Difficulty of Training Transformerscited by 210
- 2020Just Pick a Sign: Optimizing Deep Multitask Models with Gradient Sign Dropoutcited by 199
- 2019To Tune or Not to Tune? Adapting Pretrained Representations to Diverse Taskscited by 167
- 2019Unicoder: A Universal Language Encoder by Pre-training with Multiple Cross-lingual Taskscited by 96
- 2020Masking as an Efficient Alternative to Finetuning for Pretrained Language Modelscited by 92
- 2016Quasi-Recurrent Neural Networkscited by 87
- 2021First Align, then Predict: Understanding the Cross-Lingual Ability of Multilingual BERTcited by 64
- 2021AutoFreeze: Automatically Freezing Model Blocks to Accelerate Fine-tuningcited by 48
- 2019MultiFiT: Efficient Multi-lingual Language Model Fine-tuningcited by 31
- 2020FILTER: An Enhanced Fusion Method for Cross-lingual Language Understandingcited by 29
- 2019Explicit Cross-lingual Pre-training for Unsupervised Machine Translationcited by 13
Built on by
Not cited yet.