Generalizing Word Embeddings using Bag of Subwords

Jinman Zhao, Sidharth Mudgal, Yingyu Liang
9/12/2018
cs.CLcs.LG

Official code: jmzhao/bag-of-substring-embedder (16 stars, Python, BSD-3-Clause, last commit 2020-05-08).

Abstract

We approach the problem of generalizing pre-trained word embeddings beyond fixed-size vocabularies without using additional contextual information. We propose a subword-level word vector generation model that views words as bags of character $n$-grams.

Show full abstract

The model is simple, fast to train and provides good vectors for rare or unseen words. Experiments show that our model achieves state-of-the-art performances in English word similarity task and in joint prediction of part-of-speech tag and morphosyntactic attributes in 23 languages, suggesting our model's ability in capturing the relationship between words' textual representations and their embeddings.

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause
163Python, ShellAug 27, 20186 years agoBSD-3-Clause

Similar Papers

Cite this paper

@article{zhao2018generalizing,
  title  = {Generalizing Word Embeddings using Bag of Subwords},
  author = {Jinman Zhao and Sidharth Mudgal and Yingyu Liang},
  year   = {2018},
  eprint = {1809.04259},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1809.04259}
}

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/1809.04259.svg)](https://codeofpaper.com/paper/1809.04259)

Discussion