How to Generate a Good Word Embedding?

Siwei Lai, Kang Liu, Liheng Xu, Jun Zhao
7/20/2015
cs.CL

Official code: licstar/compare (238 stars, last commit 2015-09-23).

Abstract

We analyze three critical components of word embedding training: the model, the corpus, and the training parameters. We systematize existing neural-network-based word embedding algorithms and compare them using the same corpus. We evaluate each word embedding in three ways: analyzing its semantic properties, using it as a feature for supervised tasks and using it to initialize neural networks. We also provide several simple guidelines for training word embeddings. First, we discover that corpus domain is more important than corpus size. We recommend choosing a corpus in a suitable domain for the desired task, after that, using a larger corpus yields better results. Second, we find that faster models provide sufficient performance in most cases, and more complex models can be used if the training corpus is sufficiently large. Third, the early stopping metric for iterating should rely on the development set of the desired task rather than the validation loss of training embedding.

View on arXivView PDF

Code Implementations(1)

licstar/compareOfficial100%

compare embedding

238109C, C++Jul 20, 201511 years ago

Similar Papers

Cite this paper

@article{lai2015generate,
  title  = {How to Generate a Good Word Embedding?},
  author = {Siwei Lai and Kang Liu and Liheng Xu and Jun Zhao},
  year   = {2015},
  eprint = {1507.05523},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1507.05523}
}

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

Discussion