Connecting Language and Knowledge Bases with Embedding Models for Relation Extraction

Jason Weston, Antoine Bordes, Oksana Yakhnenko, Nicolas Usunier

Abstract

This paper proposes a novel framework for relation extraction (RE) that jointly learns from unstructured text and structured Knowledge Bases (KBs) using low-dimensional embeddings. By treating the KB as a structured map to denoise noisy text mentions, the model significantly improves extraction precision. We demonstrate that incorporating KB structural patterns as a prior allows for effective filtering of false positives, particularly in high-precision regimes. Our approach, WSABIE M2R+FB, outperforms existing state-of-the-art methods by leveraging the internal logic of the KB to validate textual predictions.

Introduction

Knowledge Bases (KBs) like Freebase or Wikidata are massive but perpetually incomplete. To fill these gaps, researchers employ Relation Extraction (RE) to automatically identify relationships between entities from raw text. The standard approach, weak supervision, assumes that if a KB contains a fact (e.g., "Alfred Hitchcock directed The Birds"), any sentence containing both entities expresses that relationship. However, this method is notoriously noisy, as many co-occurrences do not actually state the target relation.

Traditional RE systems rely primarily on textual features. This paper addresses a missed opportunity: the KB itself contains structural patterns that can determine if a predicted relationship is plausible. By modeling these patterns, we can "denoise" the extraction process.

Methodology

The authors introduce an embedding-based framework that maps words, entities, and relations into a shared low-dimensional vector space ($\mathbb{R}^k$). The system utilizes two scoring sub-models:

  1. The Text Model ($S_{m2r}$): This model scores the match between a text mention $m$ and a relation $r$. Mentions are represented as a sum of feature embeddings, and similarity is measured via a dot product with the relation's vector.
  2. The KB Model ($S_{kb}$): This model learns the plausibility of a triple $(h, r, t)$ based on KB structure. It employs a "translation" logic where the vector of the head entity plus the relation vector should approximate the tail entity vector ($h + r \approx t$).

Joint Inference: At test time, the model uses the text model to propose relations, which are then "re-scored" by the KB model. If the KB model deems a triple structurally unlikely (e.g., a "Place of Birth" relation applied to a non-person entity), the score is penalized, acting as a structural sanity check.

Experimental Results

The models were evaluated on the NYT+FB dataset, which aligns New York Times articles with Freebase. To ensure generalizability, entity pairs in the test set were removed from the KB training data, forcing the model to learn underlying patterns rather than memorizing facts.

Precision-Recall curves comparing the joint embedding model (WSABIE M2R+FB) against several baselines on the NYT+FB dataset.

As shown in Figure 1, the joint model (WSABIE M2R+FB) significantly outperforms baseline methods like Multi-Instance Learning (MIMLRE) and Hoffmann. The inclusion of KB information provides a substantial performance boost over the text-only version (WSABIE M2R).

A zoomed-in view of the precision-recall curves focusing on the low-recall region (0.0 to 0.1), where the joint model shows its strongest performance.

Figure 2 highlights the model's performance in the high-precision/low-recall region. The KB model successfully filters out false positives where text is ambiguous but the resulting relationship is structurally nonsensical. This "KB Boost" is most pronounced when the system is required to be highly certain of its extractions.

Conclusion

By embedding language and structured data into a shared latent space, this framework bridges the gap between fuzzy textual mentions and rigid KB facts. While the model currently struggles at higher recall levels due to a single-label assumption, it represents a foundational step in using KBs as a prior for information extraction. Future work includes extending the model to multi-label learning and integrating entity linking directly into the embedding process.

Summary updated

BibTeX
@inproceedings{weston2013connecting,
  author = {Jason Weston and Antoine Bordes and Oksana Yakhnenko and Nicolas Usunier},
  title = {{Connecting Language and Knowledge Bases with Embedding Models for Relation Extraction}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2013},
  doi = {10.18653/v1/d13-1136},
}
Figure