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

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

Introduction

In Natural Language Processing, mapping entities into a continuous vector space is a fundamental task. Current approaches generally fall into two categories: distributional methods, which learn from large unstructured text corpora (e.g., Word2Vec, GloVe), and relational methods, which learn from structured Knowledge Bases (KBs) like WordNet or Freebase.

A persistent challenge in relational modeling is the "Cold Start" problem. Many entities in structured KBs appear too infrequently in general text to have reliable distributional vectors. As illustrated in the table below, only a small percentage of entities from WordNet (WN) and Freebase (FB15k) are found in standard pre-trained word vector vocabularies.

Entity overlap between KBs and pre-trained word vectors.

Without a meaningful starting point, relational models like TransE—which represents relationships as translations ($subject + relation \approx object$)—must begin with random initialization. This often leads to slow convergence and poor performance for rare entities.

Methodology

The authors propose a "strategic initialization" approach that leverages the textual descriptions (glosses) already present in many KBs. The process is straightforward:

  1. Description Extraction: For each entity, the short text description is retrieved.
  2. The First Sentence Rule: Only the first sentence is used to capture the core definition and avoid noise.
  3. Vector Averaging: Pre-trained word vectors for each word in the sentence are averaged to form a single "description vector."
  4. Dimensionality Reduction: Principal Component Analysis (PCA) is applied to match the desired embedding size and prevent overfitting.
  5. TransE Training: The model is initialized with these description vectors rather than random noise before standard training on relational triplets.

Results and Convergence

The impact of this initialization is most pronounced on the WordNet dataset. The "Filtered Mean Rank" error dropped significantly from a previous state-of-the-art of 212 to just 51.

Beyond final accuracy, the method provides a significant "warm start" advantage. As shown in the learning curves for WordNet, models initialized with Word2Vec or GloVe vectors reach high performance levels in a fraction of the time required for randomly initialized models to converge.

Training set mean rank on WordNet over 100 epochs.

Discussion and Insights

Several key insights emerged from this study:

  • Simple Compositionality: Simple averaging of word vectors is surprisingly effective at capturing semantic flavor, suggesting that complex encoders like RNNs may not always be necessary for initialization.
  • Avoiding "Disasters": The initialization helps the model avoid placing correct entities at extremely low ranks (e.g., 10,000th), keeping the optimization within a sensible neighborhood of the vector space.
  • Dataset Specificity: The method was more effective on WordNet than on Freebase. Freebase relations (e.g., specific award nominations) are often more niche than what general dictionary definitions can provide, limiting the utility of general-purpose word vectors.
  • Mean Rank vs. Hits@10: While mean rank improved drastically, the improvement in Hits@10 was less dramatic. This suggests that while initialization helps the model understand the "big picture," fine-grained ranking still relies heavily on the relational training phase.

Conclusion

By bridging the gap between distributional and relational semantics through simple description-based initialization, the authors demonstrated a massive leap in performance and training efficiency. This work highlights the value of leveraging existing lexical resources to jumpstart the learning of structured entity embeddings.

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