Taking Notes on the Fly Helps BERT Pre-training
Not on the map. Why?
Abstract (arXiv)
How to make unsupervised language pre-training more efficient and less resource-intensive is an important research direction in NLP. In this paper, we focus on improving the efficiency of language pre-training methods through providing better data utilization. It is well-known that in language data corpus, words follow a heavy-tail distribution. A large proportion of words appear only very few times and the embeddings of rare words are usually poorly optimized. We argue that such embeddings carry inadequate semantic signals, which could make the data utilization inefficient and slow down the pre-training of the entire model. To mitigate this problem, we propose Taking Notes on the Fly (TNF), which takes notes for rare words on the fly during pre-training to help the model understand them when they occur next time. Specifically, TNF maintains a note dictionary and saves a rare word's contextual information in it as notes when the rare word occurs in a sentence. When the same rare word occurs again during training, the note information saved beforehand can be employed to enhance the semantics of the current sentence. By doing so, TNF provides better data utilization since cross-sentence information is employed to cover the inadequate semantics caused by rare words in the sentences. We implement TNF on both BERT and ELECTRA to check its efficiency and effectiveness. Experimental results show that TNF's training time is 60% less than its backbone pre-training models when reaching the same performance. When trained with the same number of iterations, TNF outperforms its backbone methods on most of downstream tasks and the average GLUE score. Source code is attached in the supplementary material.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). First posted on arXiv 4 Aug 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 2; 2023: 0; 2024: 1.
5 papers.
- 2022Token Dropping for Efficient BERT Pretrainingcited by 42
- 2021Dict-BERT: Enhancing Language Model Pre-training with Dictionarycited by 38
- 2022Prompt Combines Paraphrase: Teaching Pre-trained Models to Understand Rare Biomedical Wordscited by 6
- 2021Combining Transformers with Natural Language Explanationscited by 1
- 2024TRELM: Towards Robust and Efficient Pre-training for Knowledge-Enhanced Language Modelscited by 0
- 2024TRELM: Towards Robust and Efficient Pre-training for Knowledge-Enhanced Language Models17 Mar 2024
- 2022Prompt Combines Paraphrase: Teaching Pre-trained Models to Understand Rare Biomedical Words14 Sep 2022
- 2022Token Dropping for Efficient BERT Pretraining24 Mar 2022
- 2021Dict-BERT: Enhancing Language Model Pre-training with Dictionary13 Oct 2021
- 2021Combining Transformers with Natural Language Explanations2 Sep 2021