Introduction
Knowledge Graphs (KGs) like Freebase and DBpedia are essential for various AI tasks, yet they often suffer from data sparsity. While Knowledge Representation Learning (KRL) aims to map entities and relations into continuous vector spaces, traditional models like TransE rely exclusively on structured triples (head, relation, tail). This approach ignores the vast amount of information available in plain text.
Previous attempts to integrate textual data faced two primary challenges: the neglect of word-order semantics (often using "bag-of-words" models) and the presence of noisy, irrelevant text. For instance, not every sentence mentioning an entity provides a useful definition.
The STKRL Framework
To address these issues, the authors propose STKRL (Sequential Text-embodied Knowledge Representation Learning). This framework represents each entity using two distinct vectors: a structure-based vector ($h_K$) from KG triples and a text-based vector ($h_S$) derived from sequential text.
Sequential Sentence Encoding
STKRL utilizes Recurrent Neural Networks (RNNs) or Long Short-Term Memory (LSTM) networks to encode sentences. Unlike bag-of-words approaches, these sequential models capture the importance of word order and long-distance dependencies, leading to more nuanced entity representations.
Attention Mechanism for Noise Filtering
A key innovation is the attention mechanism, which uses the KG's structural information to "teach" the model which sentences are most relevant. By calculating the semantic similarity between a sentence's encoding and the entity's structural representation, the model can automatically prioritize informative definitions over noisy or off-topic mentions.
Joint Learning Objective
The model is trained using a margin-based loss function that encourages "cross-pollination" between text and structure. It considers four types of triples—(Structure, Relation, Structure), (Text, Relation, Text), (Text, Relation, Structure), and (Structure, Relation, Text)—ensuring both modalities are mapped into a unified vector space.
Experimental Evaluation
The researchers evaluated STKRL on the FB15K dataset, using Wikipedia as the source for reference sentences. The results demonstrate the superiority of joint learning:
- Triple Classification: The LSTM+ATT version of STKRL achieved an accuracy of 88.6%, significantly outperforming TransE (77.1%) and previous joint models (84.2%).
- Link Prediction: In terms of "Hits@10" (the probability that the correct entity is in the top 10 results), STKRL reached 81.2%, a substantial jump from TransE’s 68.7%.
- Qualitative Performance: Case studies confirmed that the attention mechanism effectively ranks actual definitions as the most relevant, successfully filtering out vague or incidental mentions.
Conclusion
STKRL demonstrates that textual information is a powerful bridge for handling sparse data in knowledge graphs. By combining sequential text encoding with a structure-aware attention mechanism, the model builds more robust and accurate knowledge representations. Future work may involve scaling this approach to larger corpora and exploring its potential for automated definition extraction.
Summary updated