Probabilistic Databases of Universal Schema

Limin Yao, Sebastian Riedel, Andrew McCallumAKBC-WEKEX @ NAACL 2012

Abstract

In data integration, we transform information from a source into a target schema. A general problem in this task is loss of fidelity and coverage: the source expresses more knowledge than can fit into the target schema, or knowledge that is hard to fit into any schema at all. This problem is taken to an extreme in information extraction (IE) where the source is natural language. To address this issue, we propose to store data in a probabilistic database of universal schema. This schema is simply the union of all source schemas, and the probabilistic database learns how to predict the cells of each source relation in this union. For example, the database could store Freebase relations and relations that correspond to natural language surface patterns. The database would learn to predict what freebase relations hold true based on what surface patterns appear, and vice versa. We describe an analogy between such databases and collaborative filtering models, and use it to implement our paradigm with probabilistic PCA, a scalable and effective collaborative filtering method.

Introduction: The Schema Bottleneck

Information Extraction (IE) typically attempts to map the infinite variety of human language into a fixed, predefined schema, such as Freebase or DBPedia. For instance, a sentence like "Alice was a harsh critic of Bob" might be forced into a generic criticized(Person, Person) relation.

However, most schemas are inherently incomplete. If a specific relation does not exist in the target schema, that knowledge is discarded. Manually extending schemas is labor-intensive, while automatically clustering patterns into latent meanings is often brittle. This "schema bottleneck" results in a significant loss of fidelity and coverage from the original source text.

Methodology: Universal Schema and gPCA

To overcome these limitations, we introduce the Universal Schema. Instead of mapping text to a schema, the schema becomes the union of all available sources, including structured relations and "surface patterns" (the literal words between entities in a sentence).

Matrix Representation and Collaborative Filtering

We represent the data as a massive, sparse matrix where rows correspond to entity pairs (e.g., Obama, USA) and columns correspond to relations (e.g., born_in or the text pattern "X is the president of Y"). We treat knowledge extraction as a recommendation problem, analogous to how movie streaming services predict user preferences.

gPCA learns low-dimensional feature vectors for entity pairs and relations to predict missing facts.

To fill missing entries in this matrix, we employ Generalized Principal Component Analysis (gPCA). The model learns low-dimensional feature vectors for entity pairs ($a_e$) and relations ($v_r$). The probability that a relation holds true for a pair is calculated via the dot product of these vectors: $P(r(e)) = \sigma(a_e^T v_r)$. This approach allows for implicit alignment, where the model automatically links structured data to text patterns by observing shared entity pairs.

Experimental Evaluation

We evaluated our approach using a combination of structured and unstructured data:

  • Unstructured Data: 20 years of New York Times (NYT) articles, yielding ~350,000 entity pairs across 23,000 surface pattern relations.
  • Structured Data: 116 relations from Freebase overlapping with the NYT corpus.

Key Results

The integration of structured data significantly enhanced the model's understanding of raw text. As shown in the performance metrics, the model achieves substantial recall while maintaining precision.

Performance metrics and qualitative prediction examples showing the benefit of integrating structured Freebase data.

Beyond quantitative metrics, the model demonstrated qualitative strengths:

  • Asymmetric Entailment: The model learns directed relationships, such as "historian at Harvard" implying "professor at Harvard," but not necessarily vice versa.
  • Error Correction: The model can refine predictions using background knowledge. For example, an initial prediction of "arrested in B" based on text was corrected to "born in B" after incorporating Freebase's placeOfBirth relation, as seen in the qualitative examples in the results table.

Conclusion and Future Work

Universal Schema provides a flexible framework for data integration that avoids the loss of information inherent in fixed-schema IE. By treating facts as predictable latent features, we can leverage both structured databases and raw text simultaneously. Future research will focus on extending the model to handle n-ary relations, optimizing negative sampling strategies, and incorporating hard logic constraints to further refine probabilistic predictions.

Summary updated

BibTeX
@inproceedings{yao2012probabilistic,
  author = {Limin Yao and Sebastian Riedel and Andrew McCallum},
  title = {{Probabilistic Databases of Universal Schema}},
  booktitle = {AKBC-WEKEX @ NAACL},
  year = {2012},
  url = {https://openreview.net/forum?id=BJVbl7ZuZH},
}
Figure