BERTRAM: Improved Word Embeddings Have Big Impact on Contextualized Model Performance
Preprint
Abstract
Pretraining deep language models has led to large performance gains in NLP. Despite this success, Schick and Sch\"utze (2020) recently showed that these models struggle to understand rare words. For static word embeddings, this problem has been addressed by separately learning representations for rare words. In this work, we transfer this idea to pretrained language models: We introduce BERTRAM, a powerful architecture based on BERT that is capable of inferring high-quality embeddings for rare words that are suitable as input representations for deep language models. This is achieved by enabling the surface form and contexts of a word to interact with each other in a deep architecture. Integrating BERTRAM into BERT leads to large performance increases due to improved representations of rare and medium frequency words on both a rare word probing task and three downstream tasks.Keywords
All Related Versions
This publication has 15 references indexed in Scilit:
- BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding2019
- Cloze-driven Pretraining of Self-attention Networks2019
- Bad Form: Comparing Context-Based and Form-Based Few-Shot Learning in Distributional Semantic Models2019
- Attentive Mimicking: Better Word Embeddings by Attending to Informative Contexts2019
- Misspelling Oblivious Word Embeddings2019
- Deep Contextualized Word Representations2018
- Enriching Word Vectors with Subword InformationTransactions of the Association for Computational Linguistics, 2017
- Multimodal Word Meaning Induction From Minimal Exposure to Natural TextCognitive Science, 2017
- context2vec: Learning Generic Context Embedding with Bidirectional LSTM2016
- WordNetCommunications of the ACM, 1995