Introduction
Traditional word embedding techniques, such as Word2Vec and GloVe, are rooted in the distributional hypothesis: the idea that words appearing in similar contexts share similar meanings. While effective, these methods typically rely on simple co-occurrence counts within a fixed window, often ignoring the structured nature of the relationships between words. This paper proposes a novel unsupervised method that learns word representations by factorizing a relational graph, explicitly modeling semantic relations like "is-a" or "part-of" to capture richer linguistic information.
The Relational Graph Approach
The authors model the lexicon as a relational graph $G(V, E)$, where vertices $V$ represent words and edges $E$ represent specific semantic patterns $l$ connecting word pairs $(u, v)$. Each edge carries a weight $w$ indicating the strength of the relationship.
To learn embeddings, the relationship is modeled using a bilinear form: $$ \text{Score} \approx x(u)^\top \mathbf{G}(l) x(v) $$ Here, $x(u)$ and $x(v)$ are $d$-dimensional word vectors, and $\mathbf{G}(l)$ is a $d \times d$ matrix representing the specific relation $l$. The model is trained using Stochastic Gradient Descent (SGD) with AdaGrad to minimize the squared loss between the predicted score and the actual co-occurrence weight $w$. To ensure stability, the relation matrices $\mathbf{G}(l)$ are constrained to be positive semi-definite.
Experimental Evaluation
The model was trained on the ukWaC corpus, a 2-billion-token web crawl. The authors explored three types of patterns to define the graph edges:
- LEX (Lexical): Specific strings (e.g., "X is a large Y").
- POS (Part-of-Speech): Abstracted patterns (e.g., "X VBZ DT JJ Y").
- DEP (Dependency): Paths in a dependency parse tree (e.g., "X direct-object-of Y").
Performance was evaluated using the Google Semantic Word Analogy dataset, which requires the model to solve analogies such as "Man is to Woman as King is to Queen."
Results and Analysis
The proposed method, particularly the Prop+LEX configuration, significantly outperformed established baselines. As shown in the table below, Prop+LEX achieved an overall accuracy of 26.61%, more than doubling the performance of GloVe (11.89%) and substantially exceeding skip-gram (14.86%) when trained on the same corpus.
Key Insights
- Relations as Attributes: By learning from structured relations, the model implicitly captures latent attributes (e.g., "flightless" or "mammal") that define word meanings.
- The Power of Lexical Specificity: Surprisingly, the most specific patterns (LEX) provided the strongest signal. Even though they are sparser than general co-occurrences, strings like "X is a flightless bird Y" offer high-precision semantic information.
- Joint Factorization: The authors demonstrate that modeling the 3-way relationship (word1, word2, relation) jointly is superior to SVD-based methods that decouple these interactions.
- Dimensionality and Robustness: Accuracy was found to stabilize around 200 dimensions. The method also proved robust across various weighting schemes, including PPMI and Entropy-based measures.
Conclusion and Future Work
This research demonstrates that relational graphs provide a powerful framework for learning word embeddings that capture nuanced semantic analogies. While the model currently struggles with rarer named entities and incurs computational costs for high-cardinality relation sets, it opens new avenues for Knowledge Representation. Future work includes exploring the learned relation matrices $\mathbf{G}(l)$ for tasks such as relation clustering or identifying synonymous linguistic patterns.
Summary updated