CLLGMLMar 23, 2020

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

arXiv:2003.11645v320 citations
AI Analysis

This work addresses hyper-parameter tuning for NLP practitioners, but it is incremental as it builds on existing Word2Vec methods.

The study empirically identifies optimal hyper-parameter combinations for Word2Vec, showing that task-specific models outperform the original pre-trained model, with smaller corpora yielding better WordSim scores and downstream performance compared to a 100 billion-word corpus.

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. 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.

Code Implementations2 repos
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes