[Paper Review] Invariance and Identifiability Issues for Word Embeddings
This paper identifies a fundamental identifiability issue in word embeddings: the same objective function f can yield multiple non-unique solutions due to invariance under general linear transformations, while evaluation functions g (e.g., cosine similarity) are only invariant under orthogonal and scale transformations. The key contribution is showing that performance disparities between embeddings may stem not from model superiority but from arbitrary solution selection within the non-identifiable solution space, with numerical results demonstrating significant performance variation across different valid solutions, especially when optimizing over diagonal scaling matrices.
Word embeddings are commonly obtained as optimizers of a criterion function $f$ of a text corpus, but assessed on word-task performance using a different evaluation function $g$ of the test data. We contend that a possible source of disparity in performance on tasks is the incompatibility between classes of transformations that leave $f$ and $g$ invariant. In particular, word embeddings defined by $f$ are not unique; they are defined only up to a class of transformations to which $f$ is invariant, and this class is larger than the class to which $g$ is invariant. One implication of this is that the apparent superiority of one word embedding over another, as measured by word task performance, may largely be a consequence of the arbitrary elements selected from the respective solution sets. We provide a formal treatment of the above identifiability issue, present some numerical examples, and discuss possible resolutions.
Motivation & Objective
- To investigate the root cause of inconsistent word embedding performance across different models and implementations.
- To formalize the non-identifiability of word embeddings due to invariance under general linear transformations.
- To analyze the mismatch between the invariance classes of the objective function f and the evaluation function g.
- To demonstrate that apparent performance gains may arise from arbitrary solution selection rather than model superiority.
- To propose and evaluate strategies for resolving non-identifiability through constrained optimization or supervised tuning over solution sets.
Proposed method
- Formalizing word embeddings as solutions to an optimization problem arg min_{U,V} f(X, UV), where f is invariant under general linear transformations C ∈ GL(d).
- Characterizing the set Fd of non-singular transformations under which the evaluation function g is not invariant, particularly for cosine similarity-based tasks.
- Analyzing the widely used strategy of scaling base embeddings via V = Λ^α V* as a one-dimensional subset of the full solution space GL(d).
- Using random matrices R ∈ Fd (diagonal or upper-triangular) to sample from the solution set and evaluate performance variation on WordSim-353 and SimLex-999.
- Optimizing over diagonal scaling matrices Λ = diag(λ₁,…,λ_d) to find improved embeddings, treating this as a supervised search over the solution manifold.
- Comparing baseline embeddings with those refined via optimization over Fd, using Spearman correlation as the evaluation metric g(D, V).
Experimental results
Research questions
- RQ1To what extent do performance differences in word similarity and analogy tasks arise from arbitrary solution selection within the non-identifiable solution space of word embedding models?
- RQ2What is the mismatch between the invariance classes of the objective function f and the evaluation function g, and how does this affect performance comparisons?
- RQ3Can significant performance improvements be achieved by optimizing over the solution set of f with respect to g, rather than relying on default solution choices?
- RQ4Why is the common practice of using a one-dimensional scaling parameter α (e.g., in Λ^α) suboptimal compared to full optimization over the solution manifold?
- RQ5How does the dimensionality of the solution space—after accounting for orthogonal and scale invariances—affect the reliability of performance evaluations?
Key findings
- The solution set for word embeddings is non-identifiable: any solution V* can be transformed to CV* for any invertible matrix C ∈ GL(d), and all such solutions are equally optimal under the objective function f.
- The evaluation function g, such as cosine similarity, is only invariant under orthogonal transformations and scalar multiples of identity, meaning the effective solution space after invariance reduction has dimension d(d+1)/2 − 1.
- Numerical experiments show that random transformations from the solution set Fd (e.g., diagonal or upper-triangular matrices) lead to substantial variation in Spearman correlation scores, with performance ranging from 0.50 to 0.70 on WordSim-353.
- Optimizing over diagonal scaling matrices Λ = diag(λ₁,…,λ_d) yields significant performance gains: for word2vec on WordSim-353, Spearman correlation increased from 0.700 to 0.797, and Pearson from 0.652 to 0.838.
- The performance of the standard GloVe embedding V* was improved from 0.601 to 0.679 Spearman on WordSim-353 by optimizing over Λ, indicating that the default solution is suboptimal.
- The results suggest that the widely used one-dimensional scaling strategy (e.g., Λ^α) is not inherently optimal and that broader optimization over the solution manifold can yield better performance, challenging the rationale for its continued use.
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.