Skip to main content
QUICK REVIEW

[Paper Review] Deconstructing and reconstructing word embedding algorithms

Edward Newell, Kian Kenyon-Dean|arXiv (Cornell University)|Nov 29, 2019
Topic ModelingComputer Science67 references7 citations
TL;DR

This paper deconstructs major word embedding algorithms—Word2vec, GloVe, and others—revealing two core principles: (1) learning vector-covector dot products to approximate pointwise mutual information (PMI), and (2) modulating loss gradients to balance weak and strong signals. Based on these principles, the authors propose Hilbert-MLE, a novel algorithm that achieves performance on par with or better than existing methods across 17 intrinsic and extrinsic NLP datasets.

ABSTRACT

Uncontextualized word embeddings are reliable feature representations of words used to obtain high quality results for various NLP applications. Given the historical success of word embeddings in NLP, we propose a retrospective on some of the most well-known word embedding algorithms. In this work, we deconstruct Word2vec, GloVe, and others, into a common form, unveiling some of the necessary and sufficient conditions required for making performant word embeddings. We find that each algorithm: (1) fits vector-covector dot products to approximate pointwise mutual information (PMI); and, (2) modulates the loss gradient to balance weak and strong signals. We demonstrate that these two algorithmic features are sufficient conditions to construct a novel word embedding algorithm, Hilbert-MLE. We find that its embeddings obtain equivalent or better performance against other algorithms across 17 intrinsic and extrinsic datasets.

Motivation & Objective

  • To provide a theoretical deconstruction of dominant word embedding algorithms such as Word2vec and GloVe to uncover shared design principles.
  • To investigate why uncontextualized word embeddings are effective despite differing architectures and training objectives.
  • To determine whether a minimal set of algorithmic features is sufficient to construct a high-performing word embedding model.
  • To demonstrate that vector-covector dot products approximate PMI and that gradient modulation balances signal strength in skewed corpora.
  • To develop and validate a new embedding algorithm, Hilbert-MLE, based solely on the identified principles.

Proposed method

  • Deconstructs Word2vec (SGNS), GloVe, and matrix factorization methods into a common mathematical form to isolate shared algorithmic components.
  • Identifies two key principles: (1) modeling vector-covector dot products to approximate pointwise mutual information (PMI) in the corpus, and (2) gradient modulation to balance weak and strong co-occurrence signals.
  • Derives a global matrix factorization loss function for Hilbert-MLE based on the maximum likelihood estimate of the multinomial distribution of corpus co-occurrences.
  • Algebraically transforms the global Hilbert-MLE objective into a local sampling-based formulation, enabling efficient training on large vocabularies.
  • Employs a bilinear parameterization of PMI using learned word vectors and context vectors, with a tempered gradient to stabilize learning on rare co-occurrences.
  • Validates the framework through systematic evaluation on 17 intrinsic and extrinsic NLP benchmarks, comparing against SGNS and GloVe.

Experimental results

Research questions

  • RQ1What common algorithmic features underlie the success of diverse word embedding models like Word2vec and GloVe?
  • RQ2To what extent can word embeddings be reconstructed using only PMI approximation and gradient modulation?
  • RQ3Do vector-vector and vector-covector similarities recover distinct linguistic relationships—semantic similarity versus co-occurrence patterns?
  • RQ4Can a novel embedding algorithm derived from minimal principles outperform established baselines across diverse evaluation tasks?
  • RQ5What is the role of covectors in capturing PMI statistics, and how can they be leveraged beyond simple averaging?

Key findings

  • All major word embedding algorithms implicitly learn vector-covector dot products to approximate pointwise mutual information (PMI) in the corpus.
  • Gradient modulation to balance weak and strong signals is a shared, critical mechanism across algorithms, enabling stable learning on highly skewed co-occurrence distributions.
  • The Hilbert-MLE algorithm, derived solely from the two core principles, achieves performance equivalent to or better than SGNS and GloVe on 17 intrinsic and extrinsic NLP datasets.
  • Vector-vector dot products recover semantic similarity (e.g., 'cat' ↔ 'kitten'), while vector-covector dot products recover co-occurrence patterns (e.g., 'cat' ↔ 'burglar' in 'cat burglar').
  • The results confirm that the two identified principles are sufficient for high-quality word embeddings, suggesting that many idiosyncratic components in prior models are unnecessary.
  • Covectors are not merely a byproduct but carry distinct linguistic information tied to PMI, and their use can improve downstream performance when explicitly incorporated.

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.