TL;DR
This paper investigates a generative model for word embeddings that predicts a linear relationship between word co-occurrence (PMI) and the dot product of word vectors. The authors show this relationship doesn't hold in practice with small errors, suggesting either natural language doesn't fit the model's assumptions or current embedding methods fail to capture them.
What Problem Does This Paper Address?
The paper delves into the theoretical underpinnings of latent discourse models for word embeddings, specifically those proposed by Arora et al. (2016). These models suggest that a "concentration phenomenon" in the partition function of word vectors leads to a linear relationship between the Pointwise Mutual Information (PMI) of word pairs and the dot product of their corresponding word vectors. This relationship is crucial for explaining semantic analogies. However, empirical evidence has been mixed, and the authors aim to provide a more thorough theoretical and empirical analysis to understand why this predicted relationship might fail in real-world language data. They question whether this theoretical link is a robust indicator of word embedding quality.
Methods
The authors extend the theoretical analysis of the concentration phenomenon, showing it holds under weaker assumptions than previously stated. They then conduct extensive empirical evaluations to test the predicted linear relationship between PMI and scalar products of word vectors. This involves:
- Theoretical analysis: Proving the concentration property for a broader class of random vectors and investigating the conditions under which the linear relationship between PMI and scalar product can hold. This includes analyzing the positive semidefiniteness of the shifted PMI matrix.
- Empirical verification: Training word embeddings using standard methods (SN and GloVe) and then performing linear regressions to test the theoretical relationships derived from the generative model. They analyze the correlation, slope, and intercept of these regressions.
Datasets
The paper uses publicly available datasets derived from English Wikipedia 2020. Specifically, they mention:
- Corpus 1: The first 1 million documents, pre-processed and with prepositions and pronouns removed.
- Corpus 2: The first 1,072,907 documents.
- Corpus 3: The first 3,170,407 documents.
Words appearing more than 1000 times were considered.
Key Insights and Ideas
- Concentration is general: The "concentration phenomenon" observed in Arora et al. (2016) is not unique to their specific model assumptions but is a more general property of random vectors symmetrically distributed around the origin. This suggests it might not be a strong indicator of word embedding quality.
- PMI vs. Scalar Product Divergence: The core finding is that the theoretically predicted linear relationship between PMI and scalar products of word vectors does not hold in practice with small errors. This suggests a fundamental mismatch between the generative model's assumptions and the nature of natural language or the capabilities of current embedding methods.
- Implicit Matrix Factorization Limitations: The paper shows that for symmetric PMI matrices, the condition for the linear relationship to hold (positive semidefiniteness) can be violated in natural language. This implies that methods relying on this factorization might struggle.
- Infrequent Words are Problematic: The linear relationship appears to break down for infrequent words, where PMI can be high due to rare co-occurrences, but the scalar product might not reflect this strongly.
Key Results
- Empirical evidence against linear relation: Linear regressions testing the relationship between PMI and scalar products (equations 10 and 12) showed low correlation and poor determination coefficients, especially for larger corpora. The experimental slopes often contradicted theoretical predictions.
- Theoretical conditions for failure: The paper provides theoretical arguments showing that the necessary condition for the linear relationship (positive semidefiniteness of the shifted PMI matrix) can be violated in natural language.
- High error term required: The authors conclude that the claimed linear relationship between PMI and word embeddings only holds with an unacceptably high error term, rendering it impractical.
Limitations and Future Work
- Model Assumptions vs. Reality: The authors suggest that either natural language does not adhere to the assumptions of the generative model (specifically, Assumptions 1 and 3 regarding discourse vectors and word generation) or current word embedding methods fail to accurately reconstruct the hypothesized word vectors.
- Future Directions: The paper implicitly suggests that future work might focus on developing generative models that better capture the nuances of natural language or exploring alternative theoretical frameworks for understanding word embeddings and their relationship to semantics. The limitations of PMI as a sole indicator of word embedding quality are also highlighted.
Summary updated