mlsanityData to 14 Oct 2026

On Initializing Transformers with Pre-trained Embeddings

arXiv 2407.12514 ↗First posted 17 Jul 2024cs.CLcited by 2

Not on the map. Why?

Abstract (arXiv)

It has become common practice now to use random initialization schemes, rather than the pre-trained embeddings, when training transformer based models from scratch. Indeed, we find that pre-trained word embeddings from GloVe, and some sub-word embeddings extracted from language models such as T5 and mT5 fare much worse compared to random initialization. This is counter-intuitive given the well-known representational and transfer-learning advantages of pre-training. Interestingly, we also find that BERT and mBERT embeddings fare better than random initialization, showing the advantages of pre-trained representations. In this work, we posit two potential factors that contribute to these mixed results: the model sensitivity to parameter distribution and the embedding interactions with position encodings. We observe that pre-trained GloVe, T5, and mT5 embeddings have a wider distribution of values. As argued in the initialization studies, such large value initializations can lead to poor training because of saturated outputs. Further, the larger embedding values can, in effect, absorb the smaller position encoding values when added together, thus losing position information. Standardizing the pre-trained embeddings to a narrow range (e.g. as prescribed by Xavier) leads to substantial gains for Glove, T5, and mT5 embeddings. On the other hand, BERT pre-trained embeddings, while larger, are still relatively closer to Xavier initialization range which may allow it to effectively transfer the pre-trained knowledge.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 18 of its 28 references that are in the map. First posted on arXiv 17 Jul 2024.

Builds on

18 of 28 references.

References · 18

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  5. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  6. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,375
  7. 2015Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classificationcited by 3,611
  8. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
  9. 2023A Survey of Large Language Modelscited by 2,576
  10. 2020mT5: A massively multilingual pre-trained text-to-text transformercited by 1,818
  11. 2016Enriching Word Vectors with Subword Informationcited by 1,583
  12. 2014Convolutional Neural Networks for Sentence Classificationcited by 1,127
6 more
  1. 2018Self-Attention with Relative Position Representationscited by 1,120
  2. 2016Neural Architectures for Named Entity Recognitioncited by 550
  3. 2016Multi30K: Multilingual English-German Image Descriptionscited by 250
  4. 2018When and Why are Pre-trained Word Embeddings Useful for Neural Machine Translation?cited by 126
  5. 2021WECHSEL: Effective initialization of subword embeddings for cross-lingual transfer of monolingual language modelscited by 89
  6. 2017An Exploration of Word Embedding Initialization in Deep-Learning Taskscited by 6

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 2.

2 papers.