Word2Vec: Optimal Hyper-Parameters and Their Impact on NLP Downstream Tasks

Tosin P. Adewumi, Foteini Liwicki, Marcus Liwicki
3/23/2020
21 citations
cs.CLcs.LGstat.ML

Official code: tosingithub/sdesk (9 stars, Python, last commit 2020-07-25).

Abstract

Word2Vec is a prominent model for natural language processing (NLP) tasks. Similar inspiration is found in distributed embeddings for new state-of-the-art (SotA) deep neural networks.

Show full abstract

However, wrong combination of hyper-parameters can produce poor quality vectors. The objective of this work is to empirically show optimal combination of hyper-parameters exists and evaluate various combinations. We compare them with the released, pre-trained original word2vec model. Both intrinsic and extrinsic (downstream) evaluations, including named entity recognition (NER) and sentiment analysis (SA) were carried out. The downstream tasks reveal that the best model is usually task-specific, high analogy scores don't necessarily correlate positively with F1 scores and the same applies to focus on data alone. Increasing vector dimension size after a point leads to poor quality or performance. If ethical considerations to save time, energy and the environment are made, then reasonably smaller corpora may do just as well or even better in some cases. Besides, using a small corpus, we obtain better human-assigned WordSim scores, corresponding Spearman correlation and better downstream performances (with significance tests) compared to the original model, trained on 100 billion-word corpus.

View on arXivView PDF

Code Implementations(1)

tosingithub/sdeskOfficial100%

Word2Vec: Optimal Hyper-Parameters and Their Impact on NLP Downstream Tasks

90PythonAug 14, 20196 years ago

Similar Papers

Cite this paper

@article{adewumi2020wordvec,
  title  = {Word2Vec: Optimal Hyper-Parameters and Their Impact on NLP Downstream Tasks},
  author = {Tosin P. Adewumi and Foteini Liwicki and Marcus Liwicki},
  year   = {2020},
  eprint = {2003.11645},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2003.11645}
}

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

Discussion