Skip to main content
QUICK REVIEW

[Paper Review] Enriching Word Vectors with Subword Information

Piotr Bojanowski, Édouard Grave|arXiv (Cornell University)|Jul 15, 2016
Topic ModelingComputer Science35 references438 citations
TL;DR

Introduces a subword-aware word embedding model that represents words as the sum of hashed character n-gram vectors, enabling representations for unseen words and improving performance on morphologically rich languages.

ABSTRACT

Continuous word representations, trained on large unlabeled corpora are useful for many natural language processing tasks. Popular models that learn such representations ignore the morphology of words, by assigning a distinct vector to each word. This is a limitation, especially for languages with large vocabularies and many rare words. In this paper, we propose a new approach based on the skipgram model, where each word is represented as a bag of character $n$-grams. A vector representation is associated to each character $n$-gram; words being represented as the sum of these representations. Our method is fast, allowing to train models on large corpora quickly and allows us to compute word representations for words that did not appear in the training data. We evaluate our word representations on nine different languages, both on word similarity and analogy tasks. By comparing to recently proposed morphological word representations, we show that our vectors achieve state-of-the-art performance on these tasks.

Motivation & Objective

  • Address limitations of traditional word embeddings that ignore word morphology.
  • Leverage subword information to share parameters across words and better represent rare/unseen words.
  • Evaluate on multiple languages and tasks to demonstrate benefits for morphologically rich languages.

Proposed method

  • Extend skip-gram with negative sampling to incorporate subword information.
  • Represent each word as a bag of character n-grams with boundary symbols, summing their vectors to form word representations.
  • Associate a vector with every n-gram and learn via SGD with negative sampling.
  • Use hashing to bound memory by mapping n-grams to a fixed set of vectors.
  • Train and evaluate on large Wikipedia corpora in nine languages, with OOV handling by summing n-gram vectors.

Experimental results

Research questions

  • RQ1Does incorporating character n-gram subword information improve word similarity and analogy performance across languages?
  • RQ2How does subword-based word representation compare to morphology-aware baselines and previous subword methods?
  • RQ3Can OOV words be effectively represented via sums of n-gram vectors, and how does this affect downstream tasks?
  • RQ4What is the impact of training data size and n-gram range on performance, especially for morphologically rich languages?

Key findings

  • Subword-enriched vectors (sisg) outperform baselines on most word similarity datasets and improve OOV word handling.
  • The approach yields strong syntactic analogy performance and notable gains for morphologically rich languages like German and Czech.
  • Compared to morphology-based methods, the simple n-gram sum representation is competitive and often superior, particularly for languages with compounding and rich inflection.
  • Performance remains robust when training data is limited, demonstrating practical benefits for low-resource settings.
  • Extending the n-gram range to include longer sequences can help semantic aspects of analogies, with a trade-off across languages.
  • Language modeling experiments show reduced perplexity when initialization uses subword-aware vectors, especially in Slavic languages.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.