Imputing Out-of-vocabulary Embeddings With LOVE Makes Language Models Robust With Little Cost · The Large Language Model Bible Contribute to LLM-Bible

Imputing Out-of-vocabulary Embeddings With LOVE Makes Language Models Robust With Little Cost

Chen Lihu, Varoquaux Gaƫl, Suchanek Fabian M.. Arxiv 2022

[Paper]    
BERT Model Architecture Pretraining Methods Security Tools

State-of-the-art NLP systems represent inputs with word embeddings, but these are brittle when faced with Out-of-Vocabulary (OOV) words. To address this issue, we follow the principle of mimick-like models to generate vectors for unseen words, by learning the behavior of pre-trained embeddings using only the surface form of words. We present a simple contrastive learning framework, LOVE, which extends the word representation of an existing pre-trained language model (such as BERT), and makes it robust to OOV with few additional parameters. Extensive evaluations demonstrate that our lightweight model achieves similar or even better performances than prior competitors, both on original datasets and on corrupted variants. Moreover, it can be used in a plug-and-play fashion with FastText and BERT, where it significantly improves their robustness.

Similar Work