Abstract
This paper introduces PSDVec, a generative framework for word embeddings that bridges the gap between neural models (like word2vec) and matrix factorization (like GloVe). By framing embedding learning as a weighted low-rank positive semidefinite (PSD) matrix approximation, the model provides a clear probabilistic interpretation. PSDVec addresses common pitfalls in existing methods, such as the "SVD trap" and vector asymmetry. Empirical results demonstrate that PSDVec outperforms traditional methods on word similarity benchmarks while remaining competitive on analogy tasks.
Introduction
In the mid-2010s, word embedding methods were split into two primary camps: Neural Embedding Models, which are efficient but often function as "black boxes," and Matrix Factorization (MF) methods, which are mathematically grounded but often lose information during decomposition.
The authors identify three specific gaps in existing literature:
- The SVD Trap: Most MF methods use Singular Value Decomposition (SVD), which cannot distinguish between positive and negative correlations, potentially leading to undesirable correlations in the resulting vectors.
- Asymmetry: Many models learn separate vectors for "target" and "context" roles for every word, which is redundant and lacks a unified generative explanation.
- Lack of Global Context: Existing models struggle to incorporate global factors like document topics or sentiment in a principled, probabilistic way.
Methods
The authors propose a generative model where the probability of a word sequence is determined by the interaction of word embeddings, a residual term (capturing noise or non-linearities), and unigram priors.
Key technical innovations include:
- Unified Link Function: They define a link function connecting embeddings directly to Pointwise Mutual Information (PMI) statistics. Unlike SVD-based approaches, they enforce a Positive Semidefinite (PSD) constraint, ensuring the model captures the true underlying structure of word interactions.
- Information Theory Approximation: To move from simple word pairs (bigrams) to longer text windows, they use a first-order approximation from information theory, assuming that redundant and synergistic information between words roughly cancel each other out.
- Online Blockwise Regression: To make the model scalable, they developed an optimization strategy that first solves for a "core" vocabulary using eigendecomposition and then uses efficient online regression to "fill in" embeddings for the remaining vocabulary.
- Smoothing and Priors: They incorporate Jelinek-Mercer smoothing and Gaussian priors to prevent the model from overfitting on rare words or missing data.
Results and Evaluation
The model was trained on a 2015 snapshot of English Wikipedia (2.04 billion words) and evaluated against standard benchmarks for similarity (e.g., WordSim-353, SimLex-999) and analogy (Google, MSR).
As shown in the evaluation table, PSDVec (specifically the PSD-Reg-180K variant) outperformed word2vec, GloVe, and SVD on 4 out of 5 word similarity tasks. It was particularly strong on the WS Sim and Turk datasets. While word2vec (SGNS) remained the leader in analogy tasks, PSDVec significantly outperformed other matrix factorization-based methods like GloVe and SVD. The model also demonstrated more stable performance across different datasets compared to SVD-based methods, which the authors attribute to their robust probabilistic framework.
Conclusion
PSDVec provides a theoretically sound basis for word embeddings by treating word-context interactions as a PSD matrix. By avoiding the "SVD trap" and utilizing a core-word regression strategy, the model achieves state-of-the-art performance in word similarity. While the optimization pipeline is more complex than simple neural models, it serves as a foundation for incorporating global latent factors—such as document topics or writing styles—directly into the generative process for more nuanced embeddings.
Summary updated