Learning to Sample Replacements for ELECTRA Pre-Training
Not on the map. Why?
Abstract (arXiv)
ELECTRA pretrains a discriminator to detect replaced tokens, where the replacements are sampled from a generator trained with masked language modeling. Despite the compelling performance, ELECTRA suffers from the following two issues. First, there is no direct feedback loop from discriminator to generator, which renders replacement sampling inefficient. Second, the generator's prediction tends to be over-confident along with training, making replacements biased to correct tokens. In this paper, we propose two methods to improve replacement sampling for ELECTRA pre-training. Specifically, we augment sampling with a hardness prediction mechanism, so that the generator can encourage the discriminator to learn what it has not acquired. We also prove that efficient sampling reduces the training variance of the discriminator. Moreover, we propose to use a focal loss for the generator in order to relieve oversampling of correct tokens as replacements. Experimental results show that our method improves ELECTRA pre-training on various downstream tasks.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 17 of its 29 references that are in the map. First posted on arXiv 25 Jun 2021.
Builds on
17 of 29 references.
References · 17
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,790
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
- 2018Deep contextualized word representationscited by 2,290
- 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,043
- 2017SemEval-2017 Task 1: Semantic Textual Similarity - Multilingual and Cross-lingual Focused Evaluationcited by 1,001
5 more
- 2018Neural Network Acceptability Judgmentscited by 958
- 2019Unified Language Model Pre-training for Natural Language Understanding and Generationcited by 670
- 2020Calibrating Deep Neural Networks using Focal Losscited by 357
- 2020UniLMv2: Pseudo-Masked Language Models for Unified Language Model Pre-Trainingcited by 204
- 2020Pre-Training Transformers as Energy-Based Cloze Modelscited by 52
Built on by
Citing papers per year: 2021: 1; 2022: 4; 2023: 2.
7 papers.
- 2021XLM-E: Cross-lingual Language Model Pre-training via ELECTRAcited by 72
- 2022Z-Code++: A Pre-trained Language Model Optimized for Abstractive Summarizationcited by 29
- 2022Pretraining Text Encoders with Adversarial Mixture of Training Signal Generatorscited by 9
- 2022Instance Regularization for Discriminative Language Model Pre-trainingcited by 2
- 2022Language Model Pre-training on True Negativescited by 1
- 2023Fast-ELECTRA for Efficient Pre-trainingcited by 1
- 2023Pre-training Language Model as a Multi-perspective Course Learnercited by 0
- 2023Fast-ELECTRA for Efficient Pre-training11 Oct 2023
- 2023Pre-training Language Model as a Multi-perspective Course Learner6 May 2023
- 2022Language Model Pre-training on True Negatives1 Dec 2022
- 2022Instance Regularization for Discriminative Language Model Pre-training11 Oct 2022
- 2022Z-Code++: A Pre-trained Language Model Optimized for Abstractive Summarization21 Aug 2022
- 2022Pretraining Text Encoders with Adversarial Mixture of Training Signal Generators7 Apr 2022
- 2021XLM-E: Cross-lingual Language Model Pre-training via ELECTRA30 Jun 2021