Predicting Asymmetric Transitive Relations in Knowledge Bases

Pushpendre Rastogi, Benjamin Van DurmeKG4IR @ SIGIR 2017 · OpenReview

TL;DR

This paper investigates how the logical properties of relations, specifically asymmetry and transitivity, impact the performance of knowledge base completion (KBC) methods like RESCAL. The authors theoretically prove that standard RESCAL struggles with these relations, leading to incorrect predictions, and propose a solution using role-specific entity embeddings that significantly improves performance.

What Problem Does This Paper Address?

Knowledge bases (KBs) like Freebase and YAGO are crucial for many NLP tasks, but they are often incomplete. Knowledge Base Completion (KBC) aims to fill these gaps by predicting missing links (relations between entities). While many KBC methods exist, there's a lack of understanding regarding how the inherent logical properties of relations within a KB affect their performance. This paper focuses on asymmetric and transitive relations, which are common in KBs (e.g., "is-a" or "part-of"), and how standard embedding-based KBC models, particularly RESCAL, fail to capture these properties effectively, leading to systematic errors.

Methods

The core of the paper involves a theoretical analysis of the RESCAL model. The authors prove a theorem stating that if a matrix is transitive, it must be symmetric. This implies that for an asymmetric transitive relation, RESCAL, which relies on symmetric matrix operations for relation representation, will incorrectly predict reverse relations. To address this, they propose augmenting RESCAL by using "role-specific embeddings" for entities. Instead of a single embedding per entity, they use two embeddings, allowing for different representations depending on whether the entity is a subject or an object in a relation. This approach is related to Tucker2 decomposition.

Datasets

The paper uses two primary datasets for evaluation:

  • Simulated Data: A complete, balanced, rooted, directed binary tree structure was created and augmented to represent a KB with transitive relations. This allowed for precise control over the graph structure and the generation of "reverse" edges for testing.
  • WordNet: A subtree rooted at the "living_thing" synset from WordNet was used. The hyponymy relation was extracted and its transitive closure was computed to form the KB edges.

Key Insights and Ideas

  • Transitivity implies symmetry for RESCAL: The theoretical proof that transitive matrices must be symmetric is a key insight. This directly explains why RESCAL, which implicitly assumes symmetry in its score function for transitive relations, fails.
  • Asymmetric transitive relations are problematic for standard embeddings: The paper demonstrates that models relying on a single vector embedding per entity struggle with relations that are both asymmetric and transitive, leading to a tendency to predict reverse links.
  • Role-specific embeddings as a solution: The proposed method of using distinct embeddings for entities based on their role (subject vs. object) effectively mitigates the problem of asymmetric transitive relations.
  • Evaluation methodology critique: The authors highlight a significant drawback in common KBC evaluation practices, where randomly sampling test sets can overlook errors on specific types of relations (like reverse relations), leading to an inflated sense of performance.

Key Results

  • Theoretical prediction confirmed: Experiments on both simulated and WordNet data showed that RESCAL's accuracy on "reverse" relations (Erev) was substantially lower than its accuracy on forward relations (E and Ec), confirming the theoretical hypothesis.
  • Significant performance improvement with role-specific embeddings: In experiments on WordNet (Table 2), augmenting RESCAL with role-specific embeddings led to a notable increase in accuracy, particularly on Erev, and improved overall performance compared to standard RESCAL. For instance, with d=400, standard RESCAL achieved 89% on E and 69% on Erev, while role-specific embeddings achieved 100% on E and 91% on Erev.
  • Error visualization: Table 3 provides concrete examples of incorrect predictions made by RESCAL on hyponym relations, such as predicting "fruit tree" as a hyponym of "mango," illustrating the practical implications of the model's failures.

Limitations and Future Work

  • Comparison to newer methods: The authors acknowledge that their proposed augmentation might not outperform more recent KBC methods like ARE or Poincaré embeddings and suggest that a thorough empirical comparison is needed.
  • Evaluation methodology: The paper points out that random sampling for evaluation can mask errors on specific relation types. Future work could involve developing more targeted evaluation strategies that specifically assess performance on asymmetric and transitive relations.
  • Generalizability: While the theoretical analysis focuses on RESCAL, the insights about the challenges of asymmetric transitive relations likely apply to other embedding-based KBC models. Further research could explore the extent to which these findings generalize.

Summary updated

BibTeX
@inproceedings{rastogi2017predicting,
  author = {Pushpendre Rastogi and Benjamin Van Durme},
  title = {{Predicting Asymmetric Transitive Relations in Knowledge Bases}},
  booktitle = {KG4IR @ SIGIR},
  year = {2017},
  url = {https://openreview.net/forum?id=H1-cpS-_ZS},
}
Figure