Learning Semantic Representations for Novel Words: Leveraging Both Form and Context

Timo Schick, Hinrich Schütze
11/9/2018
cs.CLcs.AI

Official code: timoschick/form-context-model (30 stars, Python, Apache-2.0, last commit 2020-05-11).

Abstract

Word embeddings are a key component of high-performing natural language processing (NLP) systems, but it remains a challenge to learn good representations for novel words on the fly, i.e., for words that did not occur in the training data. The general problem setting is that word embeddings are induced on an unlabeled training corpus and then a model is trained that embeds novel words into this induced embedding space.

Show full abstract

Currently, two approaches for learning embeddings of novel words exist: (i) learning an embedding from the novel word's surface-form (e.g., subword n-grams) and (ii) learning an embedding from the context in which it occurs. In this paper, we propose an architecture that leverages both sources of information - surface-form and context - and show that it results in large increases in embedding quality. Our architecture obtains state-of-the-art results on the Definitional Nonce and Contextual Rare Words datasets. As input, we only require an embedding set and an unlabeled corpus for training our architecture to produce embeddings appropriate for the induced embedding space. Thus, our model can easily be integrated into any existing NLP system and enhance its capability to handle novel words.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

This repository contains the code for the Form-Context Model and its Attentive Mimicking variant.

302PythonNov 2, 20186 years agoApache-2.0

Similar Papers

Cite this paper

@article{schick2018learning,
  title  = {Learning Semantic Representations for Novel Words: Leveraging Both Form and Context},
  author = {Timo Schick and Hinrich Schütze},
  year   = {2018},
  eprint = {1811.03866},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1811.03866}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1811.03866.svg)](https://codeofpaper.com/paper/1811.03866)

Discussion