Leveraging Lexical Resources for Learning Entity Embeddings in Multi-Relational Data

Teng Long, Ryan Lowe, Jackie Chi Kit Cheung, Doina Precup

Abstract

Recent work in learning vector-space embeddings for multi-relational data has focused on combining relational information derived from knowledge bases with distributional information derived from large text corpora. We propose a simple approach that leverages the descriptions of entities or phrases available in lexical resources, in conjunction with distributional semantics, in order to derive a better initialization for training relational models. Applying this initialization to the TransE model results in significant new state-of-the-art performances on the WordNet dataset, decreasing the mean rank from the previous best of 212 to 51. It also results in faster convergence of the entity representations. We find that there is a trade-off between improving the mean rank and the hits@10 with this approach. This illustrates that much remains to be understood regarding performance improvements in relational models.

Introduction

In the domain of multi-relational data, facts are typically represented as triplets of $(subject, relation, object)$. Models such as TransE aim to embed these entities and relations into a continuous vector space where the relation acts as a translation vector: $v_s + v_r \approx v_o$. A significant challenge in training these models is the initialization of entity vectors. While pre-trained word embeddings like Word2Vec or GloVe offer rich semantic information, they often suffer from poor coverage of the specific entities found in structured knowledge bases.

Entity coverage in pre-trained word embedding models across WordNet (WN) and Freebase (FB15k) datasets.

As shown in the table above, a large percentage of entities in standard benchmarks like WordNet and Freebase are missing from common pre-trained vocabularies. This "missing entity" problem often forces models to rely on random initialization, which lacks initial semantic grounding and can lead to slower convergence or suboptimal local minima.

Methodology: Strategic Initialization

The authors propose a "Strategic Initialization" method that utilizes textual descriptions (e.g., dictionary definitions or Wikipedia leads) to "warm-start" the embedding process. This approach is model-agnostic and can be integrated into various relational embedding architectures.

  1. Description Extraction: For each entity, a short textual description is retrieved, such as a dictionary definition or the first sentence of a description.
  2. Compositional Representation: Entity vectors are initialized by averaging the pre-trained vectors of the words within their descriptions. This simple averaging provides a semantically sensible starting point for rare entities that do not have their own pre-trained vectors.
  3. Dimensionality Reduction: Principal Component Analysis (PCA) is applied to match the dimensionality of the pre-trained vectors to the target model's embedding size, which also serves as a form of regularization to prevent overfitting.
  4. Relational Training: These initialized vectors serve as the starting point for standard TransE training on relational triplets, where they are further refined.

Results and Discussion

The impact of this initialization strategy is most pronounced on the WordNet dataset. By using GloVe-based entity definitions, the TransE model achieved a filtered Mean Rank of 51, a substantial improvement over the previous state-of-the-art of 212. This simple initialization of the basic TransE model even outperformed more complex, newer architectures like TransD.

Learning curves showing the training set mean rank over epochs for WordNet and Freebase with different initialization strategies.

Beyond final performance, the strategic initialization significantly accelerates convergence. As illustrated in the learning curves, models initialized with Word2Vec or GloVe descriptions reach lower mean ranks in far fewer epochs than those starting from a random initialization.

Interestingly, while the Mean Rank improved dramatically, the improvement in Hits@10 was more modest. This suggests that the initialization helps the model avoid highly incorrect predictions (improving the average case) but does not necessarily refine the precision for the very top-ranked candidates. The gains on Freebase were also more marginal compared to WordNet, likely because WordNet's general semantic relations align more closely with the broad definitions found in lexical resources than the highly specific factual relations in Freebase.

Conclusion

Leveraging entity descriptions for model initialization provides a simple yet powerful way to incorporate external semantic knowledge into relational models. This method effectively addresses the sparsity of entities in pre-trained vocabularies and leads to faster, more robust training. Future work may explore more complex compositional models, such as RNNs or Paragraph Vectors, to further capture the nuances of entity descriptions and potentially bridge the gap between Mean Rank and Hits@10 performance.

Summary updated

BibTeX
@inproceedings{long2016leveraging,
  author = {Teng Long and Ryan Lowe and Jackie Chi Kit Cheung and Doina Precup},
  title = {{Leveraging Lexical Resources for Learning Entity Embeddings in Multi-Relational Data}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2016},
  url = {https://openreview.net/forum?id=r14sVoxOZH},
}
Figure