SSP: Semantic Space Projection for Knowledge Graph Embedding with Text Descriptions

Han Xiao, Minlie Huang, Lian Meng, Xiaoyan Zhu

Knowledge Graph (KG) embedding models, such as the classic TransE, represent entities and relations as vectors in a continuous space. While effective, these models rely primarily on symbolic triples (e.g., (Anna_Roosevelt, Parent, Franklin_Roosevelt)), often ignoring the rich semantic information available in textual descriptions. This paper, presented at AAAI 2017, introduces Semantic Space Projection (SSP), a method that bridges the gap between structured data and natural language by projecting symbolic relationships onto a semantic hyperplane derived from text.

The Problem: Symbolic Limitations

Triple-only models face two major hurdles:

  1. Semantic Relevance: Some facts are hard to infer from structure alone but are obvious in text (e.g., a description mentioning "Daughter of the President").
  2. Precise Expression: Structurally similar entities (like a "politician" and a "lawyer") can be hard to distinguish without external information.

Previous attempts to include text often used "weak correlation" methods, such as simple vector concatenation. SSP argues for a "strong correlation" approach where text directly constrains the geometric embedding process.

The SSP Model

The core innovation of SSP is the use of entity text descriptions to create a geometric constraint on the embedding space.

1. The Semantic Hyperplane

For any given triple $(h, r, t)$, the model generates semantic vectors ($s_h$ and $s_t$) from the text descriptions of the head and tail entities. These are combined into a single vector $s$ that defines a semantic hyperplane. This hyperplane represents the "topical context" of the relationship.

2. The Projection Mechanism

In standard translation models, the goal is $h + r \approx t$, meaning the loss vector $e = h + r - t$ should be close to zero. SSP modifies the score function by projecting $e$ onto the semantic hyperplane.

The SSP projection mechanism: (a) standard translation model loss; (b) SSP projecting the loss onto a semantic hyperplane.

If a triple is semantically relevant to the text, the loss vector will lie mostly within the hyperplane. Conversely, if the triple contradicts the text, the loss vector will have a large component orthogonal to the plane, resulting in a high penalty. This ensures that text directly constrains the geometric embedding process.

3. Semantic Vector Generation

The authors utilize Topic Modeling (specifically Non-negative Matrix Factorization or NMF) to generate semantic vectors. They argue that topic distributions are a more natural fit for defining the semantic space of KGs, which are often organized by categories and types.

Experimental Evaluation

The model was evaluated on standard benchmarks: WN18 (WordNet subset) and FB15K/FB20K (Freebase subsets). Two training modes were tested: SSP (Std.), which uses fixed topic vectors, and SSP (Joint), which jointly learns the topic model and KG embeddings.

Key Results

SSP demonstrated significant improvements over baseline models in Knowledge Graph completion tasks.

Comparison of Mean Rank and HITS@10 on FB15K and WN18 datasets.

On FB15K, SSP (Joint) achieved a HITS@10 of 79.0%, a significant jump over TransE (66.1%) and the previous text-aware leader, DKRL (67.4%). Additionally, SSP showed robust performance in entity classification and zero-shot scenarios on FB20K, where it accurately classified entities never seen during triple training by leveraging their text descriptions.

Conclusion

SSP highlights the importance of "strong coupling" between text and graph structure. By using hyperplanes as semantic filters, the model effectively ignores noise in the embedding space that does not align with entity topics. While the model relies on linear projections and high-quality text, it provides a powerful "semantic anchor" for knowledge graph alignment.

Summary updated

BibTeX
@inproceedings{xiao2017ssp,
  author = {Han Xiao and Minlie Huang and Lian Meng and Xiaoyan Zhu},
  title = {{SSP: Semantic Space Projection for Knowledge Graph Embedding with Text Descriptions}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.1609/aaai.v31i1.10952},
}
Figure