Abstract
Knowledge Graph Completion (KGC) is a critical task for maintaining the integrity of structured databases. However, traditional methods relying solely on graph topology often struggle with sparse entities. This paper presents a general framework that incorporates external text corpora as a regularization term to improve entity representations. By forcing embeddings to align with semantic information derived from word embeddings, news co-occurrence, and Wikipedia descriptions, the proposed approach achieves substantial performance gains. Evaluation on the FB60K-NYT10 dataset demonstrates that text-aided regularization significantly outperforms the baseline TransE model across multiple metrics.
Introduction
Knowledge Graphs (KGs) serve as the backbone for many AI applications, from search engines to recommendation systems. Despite their utility, KGs are frequently incomplete. KGC, or link prediction, aims to infer missing facts. A major hurdle in this field is the "sparsity problem," where entities with limited structural connections lack sufficient information for models to learn robust embeddings. The authors argue that external text (news articles, encyclopedias) contains rich latent semantics that can "fill in the gaps" where the graph structure is thin.
Methodology
To address sparsity, the authors propose a joint loss function that augments standard KG embedding loss with a text-based regularization term:
$$L = \sum_{(e_1, e_2, r) \in KG} \lambda_1 \times L_{KG}(e_1, e_2, r) + \lambda_2 \times L_{text}(e_1, e_2)$$
The framework explores three primary variants for the text-aided regularization ($L_{text}$):
- Variant A (Word Embedding Alignment): KG entity embeddings are regularized toward pre-trained word embeddings (e.g., GloVe) of their names.
- Variant B (Entity-tagged Co-occurrence): Using the New York Times (NYT) corpus, the model ensures entities appearing in similar contexts in news stories have similar embeddings.
- Variant C (Wikipedia Descriptions): Semantic similarity is calculated from Wikipedia articles using TF-IDF or Relaxed Word Mover Distance (RWMD).
Experimental Results
The researchers evaluated these methods on the FB60K-NYT10 dataset, which combines Freebase structural data with NYT articles and Wikipedia descriptions. The results show consistent improvements over the baseline TransE model.
The "Filtered" metrics reveal the most significant gains. Specifically, the TransE + GloVe-RWMD variant achieved a Hits@1 score of 0.4292, a marked improvement over the baseline's 0.3392. For broader ranking, the TransE + Cosine variant (Variant A) reached a Hits@10 of 0.7035 and an MRR of 0.5216.
Discussion and Conclusion
By using text as a "semantic anchor," the model gains latent common-sense knowledge that structural data alone cannot provide. For example, even if the graph doesn't explicitly link two tech companies, their Wikipedia descriptions will likely share vocabulary that forces their embeddings into a similar region of the vector space.
This framework is model-agnostic and could potentially enhance more advanced architectures like RotatE or ConvE. Future work will focus on hyperparameter optimization and applying these techniques to more modern knowledge bases beyond the now-defunct Freebase.
Summary updated