Abstract
Knowledge Graph (KG) embedding models typically represent entities and relations as low-dimensional vectors based on individual facts (triples). However, these methods often fail to capture global semantic structures and struggle with data sparsity. This paper introduces Semantically Smooth Embedding (SSE), a framework that leverages manifold learning to enforce a "smooth" geometric structure in the embedding space. By ensuring that entities within the same semantic category remain close to one another, SSE provides a robust geometric prior that compensates for missing facts. Evaluations on NELL-derived datasets demonstrate that SSE significantly outperforms state-of-the-art models like TransE in link prediction and triple classification tasks.
Introduction
Knowledge Graph embedding involves representing entities (e.g., "Paris") and relations (e.g., "is_capital_of") as vectors. Most existing methods learn these vectors by optimizing for individual triples. While effective for dense graphs, this approach has two major flaws: it ignores the global semantic structure (e.g., knowing that "Paris" and "London" are both cities) and it performs poorly on sparse data where entities appear in very few triples.
To address these issues, the authors propose the "smoothness assumption": entities belonging to the same semantic category should lie close to each other in the vector space. This geometric constraint helps the model find meaningful locations for entities even when observed facts are limited.
Methodology
The authors implement the smoothness assumption by repurposing two classic manifold learning algorithms as regularization terms for the standard KG loss function:
- Laplacian Eigenmaps (LE): This approach forces every entity to be close to every other entity in its category by minimizing the sum of squared distances between all pairs within the same group.
- Locally Linear Embedding (LLE): A more flexible approach that assumes an entity can be reconstructed as a linear combination of its neighbors in the same category, minimizing the reconstruction error.
These terms act as geometric constraints that pull similar entities together while the model simultaneously tries to satisfy observed facts using standard energy functions.
Experimental Setup
The researchers evaluated SSE using three datasets derived from NELL (Never-Ending Language Learner):
- Location: A small-scale geographic dataset (8 relations, ~380 entities).
- Sport: A dataset focused on teams and athletes (8 relations, ~1,520 entities).
- Nell186: A large, diverse dataset containing the 186 most frequent relations (~14,463 entities).
Semantic categories (e.g., "City," "Athlete") were extracted from NELL’s "Generalization" relation to build the smoothness constraints.
Key Results and Visual Proof
The SSE framework was tested against baselines such as TransE, SME, and SE on two primary tasks: Link Prediction and Triple Classification.
- Link Prediction: SSE models showed massive improvements, with Mean Rank dropping by 10% to 65% and Hits@10 rising by up to 190% on some datasets.
- Triple Classification: Accuracy improved consistently, with Micro-ACC rising by 1% to 25% compared to non-smooth baselines.
- Sparsity Resilience: The performance gains were most notable on smaller, sparser datasets, proving that semantic smoothness effectively compensates for a lack of observed facts.
Visual evidence of these improvements is provided via t-SNE visualizations. As shown in Figure 3, standard TransE results in a "cloud" where categories overlap significantly. In contrast, SSE variants (particularly TransE-LLE) result in distinct, tight clusters where semantic categories are clearly separated.
Conclusion and Future Work
SSE demonstrates that treating semantic categories as a blueprint for vector space geometry provides a powerful prior for KG embedding. While highly effective, the current Laplacian Eigenmaps approach can be computationally expensive for massive graphs. Future work includes exploring more efficient iterative algorithms to scale the framework and investigating methods to automatically derive similarity scores from textual descriptions when category labels are unavailable.
Summary updated