[Paper Review] Analogies Explained: Towards Understanding Word Embeddings
The paper provides a probabilistic framework for paraphrasing and word transformation that explains why word embeddings exhibit linear analogies, and offers rigorous proofs of the linear relationships observed in analogies for PMI-factorised embeddings like W2V and GloVe.
Word embeddings generated by neural network methods such as word2vec (W2V) are well known to exhibit seemingly linear behaviour, e.g. the embeddings of analogy "woman is to queen as man is to king" approximately describe a parallelogram. This property is particularly intriguing since the embeddings are not trained to achieve it. Several explanations have been proposed, but each introduces assumptions that do not hold in practice. We derive a probabilistically grounded definition of paraphrasing that we re-interpret as word transformation, a mathematical description of "$w_x$ is to $w_y$". From these concepts we prove existence of linear relationships between W2V-type embeddings that underlie the analogical phenomenon, identifying explicit error terms.
Motivation & Objective
- Motivate and define a probabilistic notion of paraphrasing linked to word context distributions.
- Show how paraphrasing leads to linear relationships between embeddings when PMI is factorised.
- Derive a formal connection between paraphrase, word transformation, and analogy in embeddings.
- Provide rigorous proofs of linear analogies in PMI-based embeddings and their manifestation in W2V and GloVe.
Proposed method
- Define paraphrase of a word by comparing induced context distributions using KL divergence.
- Express paraphrase relationships as sums of PMI vectors plus paraphrase and dependence error terms.
- Prove that paraphrase translates to embedding equality up to a linear transformation via the C-dagger projection.
- Extend to word sets and generalize from single-word paraphrase to word transformation.
- Derive conditions under which analogies arise as w_a to w_a* and w_b to w_b* share transformation parameters.
- Present explicit formulations linking PMI factorisation to linear analogue relationships.
Experimental results
Research questions
- RQ1Under what conditions does a sum of word embeddings paraphrase a single word embedding?
- RQ2How can paraphrase and word transformation explain the linear analogy phenomenon in embeddings?
- RQ3What is the precise mathematical relationship between paraphrase errors, dependence errors, and the observed analogy vectors?
Key findings
- A probabilistic definition of paraphrasing governs when a linear combination of PMI-derived embeddings matches another embedding.
- Paraphrase can be interpreted as a word transformation with additive parameters that explains analogy structures.
- There is a rigorous proof of the linear relationship between word embeddings of analogies, with interpretable error terms.
- The results apply to PMI factorisations and to W2V and Glove style embeddings through projection relations.
- Explicitly, embeddings of analogies can be characterized by w_b* ≈ w_a* − w_a + w_b plus an error term dependent on paraphrase and dependence properties.
- The framework clarifies when linear analogy results are exact and when false positives may occur due to error cancellations.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.