Lune

AAAI2020Top-tier venue

Rare Words: A Major Problem for Contextualized Embeddings and How to Fix it by Attentive Mimicking

Timo Schick, Hinrich Schütze

Abstract

Pretraining deep neural network architectures with a language modeling objective has brought large improvements for many natural language processing tasks. Exemplified by BERT, a recently proposed such architecture, we demonstrate that despite being trained on huge amounts of data, deep language models still struggle to understand rare words. To fix this problem, we adapt Attentive Mimicking, a method that was designed to explicitly learn embeddings for rare words, to deep language models. In order to make this possible, we introduce one-token approximation, a procedure that enables us to use Attentive Mimicking even when the underlying language model uses subword-based tokenization, i.e., it does not assign embeddings to all words. To evaluate our method, we create a novel dataset that tests the ability of language models to capture semantic properties of words without any task-specific fine-tuning. Using this dataset, we show that adding our adapted version of Attentive Mimicking to BERT does substantially improve its understanding of rare words.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

12 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers12

  1. Few-Shot Text Generation with Natural Language InstructionsTimo Schick, Hinrich SchützeEMNLP 2021 · 101 citations
  2. Towards Open-World Feature Extrapolation: An Inductive Graph Learning ApproachQitian Wu, Chenxiao Yang, Junchi YanNeurIPS 2021 · 39 citations
  3. Improving Tokenisation by Alternative Treatment of SpacesEdward Gow-Smith, Harish Tayyar Madabushi, Carolina Scarton, Aline VillavicencioEMNLP 2022 · 6 citations
  4. Graph-based Relation Mining for Context-free Out-of-vocabulary Word Embedding LearningZiran Liang, Yuyin Lu, Hegang Chen, Yanghui RaoACL 2023 · 5 citations
  5. WSPAlign: Word Alignment Pre-training via Large-Scale Weakly Supervised Span PredictionQiyu Wu, Masaaki Nagata, Yoshimasa TsuruokaACL 2023 · 3 citations

Related papers

  1. Dict-BERT: Enhancing Language Model Pre-training with DictionaryWenhao Yu, Chenguang Zhu, Yuwei Fang, Donghan Yu et al.ACL Findings 2022 · 56 citations
  2. BERTRAM: Improved Word Embeddings Have Big Impact on Contextualized Model PerformanceTimo Schick, Hinrich SchützeACL 2020 · 1 citation
  3. Imputing Out-of-Vocabulary Embeddings with LOVE Makes LanguageModels Robust with Little CostLihu Chen, Gaël Varoquaux, Fabian M. SuchanekACL 2022
  4. Lacking the Embedding of a Word? Look it up into a Traditional DictionaryElena Sofia Ruzzetti, Leonardo Ranaldi, Michele Mastromattei, Francesca Fallucchi et al.ACL Findings 2022 · 10 citations
  5. GiBERT: Enhancing BERT with Linguistic Information using a Lightweight Gated Injection MethodNicole Peinelt, Marek Rei, Maria LiakataEMNLP Findings 2021 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines