Weakly-supervised Contextualization of Knowledge Graph Facts

Nikos Voskarides, Edgar Meij, Ridho Reinanda, Abhinav Khaitan, Miles Osborne, Giorgio Stefanoni, Prabhanjan Kambadur, Maarten de Rijke · DOI

TL;DR

This paper introduces "KG fact contextualization," the task of enriching a given knowledge graph fact with other relevant facts. They propose NFCM, a neural method that uses distant supervision to learn a ranking model, significantly outperforming heuristic baselines and demonstrating the value of combining learned and hand-crafted features.

What Problem Does This Paper Address?

Knowledge graphs (KGs) are powerful tools for representing real-world information, often used to augment search results with entity cards. However, simply presenting a single fact about an entity can be limiting. Users often benefit from additional, contextually relevant facts that provide a richer understanding. For example, knowing "Bill Gates founded Microsoft" is useful, but knowing his profession, Microsoft's founding date, and co-founder Paul Allen provides a more complete picture. The challenge lies in efficiently discovering and ranking these relevant "contextual" facts from massive KGs, as a naive approach would be computationally infeasible. This paper tackles this problem by proposing a method for KG fact contextualization.

Methods

The authors introduce the Neural Fact Contextualization Method (NFCM), which operates in two main stages:

  1. Candidate Fact Enumeration: Given a query fact (e.g., founderOf(Bill Gates, Microsoft)), NFCM first identifies a set of potential candidate facts. This is done by exploring facts that are at most two hops away from the entities in the query fact within the KG. This neighborhood-based approach prunes the search space to manageable proportions.
  2. Fact Ranking: A supervised learning-to-rank (LTR) model is then employed to rank these candidate facts based on their relevance to the query fact. The core of NFCM lies in its scoring function, which combines two types of features:
  3. Learned Features: These are automatically extracted using a neural network architecture. The architecture encodes the query fact and candidate facts by representing entities as aggregations of their types and using RNNs to process paths within the KG.
  4. Hand-crafted Features: These are manually designed features that capture aspects like fact importance (e.g., predicate and entity frequency) and relevance (e.g., entity and predicate similarity between the query and candidate facts).

To overcome the challenge of obtaining labeled data for training the LTR model, the authors employ distant supervision. They leverage large entity-tagged text corpora (like Wikipedia) to automatically generate noisy relevance labels for query-candidate fact pairs.

Datasets

  • Training and Validation Data: Generated using distant supervision on a large entity-tagged text corpus (specifically, Wikipedia articles filtered for entities present in Freebase and matching specific domains). This process yielded a dataset with millions of query-candidate fact pairs.
  • Evaluation Data: A manually curated dataset was created through crowdsourcing. Annotators were asked to judge the relevance of candidate facts to query facts on a three-graded scale (irrelevant, somewhat relevant, very relevant). This dataset consists of 28,281 fact judgments for 2,275 query facts across 65 relationships.

Key Insights and Ideas

  • Distant Supervision is Effective: The paper demonstrates that distant supervision, despite generating noisy labels, is a viable and scalable approach for obtaining training data for KG fact contextualization. The authors report a 76% precision when comparing their distant supervision labels against manual annotations.
  • Neural Ranking Outperforms Heuristics: NFCM significantly outperforms simple heuristic baselines (like Fact Informativeness, Average Predicate Similarity, and Average Entity Similarity), highlighting the complexity of the task and the power of learned models.
  • Complementarity of Learned and Hand-crafted Features: The ablation study reveals that NFCM benefits from both automatically learned features and hand-crafted features. While the learned features alone perform well, combining them with hand-crafted features leads to further improvements, suggesting they capture complementary signals.
  • Attribute Facts are More Relevant: The evaluation dataset showed that attribute facts (facts that are attributes of other facts) tend to be judged as more relevant, likely because they often directly describe aspects of the main fact.

Key Results

  • NFCM achieved a MAP of 0.4874 and NDCG@5 of 0.5110 on the manually curated evaluation dataset, significantly outperforming the best heuristic baseline (AES) by a large margin.
  • NFCM also significantly outperformed a baseline using only distant supervision labels (DistSup) on MAP, NDCG@5, and NDCG@10, demonstrating the benefit of learning a ranking model.
  • The ablation study showed that NFCM (combining learned and hand-crafted features) outperformed variations using only learned features (LF) or only hand-crafted features (HF) across all metrics. For instance, NFCM achieved a MAP of 0.4874 compared to 0.4676 for LF and 0.4620 for HF.
  • The model showed strong performance across different relationships, with the "profession" relationship yielding the highest NDCG@5 score (0.8275).

Limitations and Future Work

  • Noise in Distant Supervision: While effective, distant supervision introduces noise into the training data, which can sometimes lead to NFCM performing worse on MRR compared to the DistSup baseline. The authors suggest this might be because NFCM returns relevant facts that were not selected by the distant supervision procedure.
  • Sophisticated Feature Combination: The paper suggests exploring more advanced methods for combining learned and hand-crafted features beyond simple concatenation.
  • Alternative Data Sources: The authors propose investigating other data sources for gathering training data, such as news articles and click logs.
  • Presentation of Results: Future work could also focus on exploring methods for combining and presenting the ranked facts in search engine result pages in a diversified fashion.
  • User Study: An additional user study is suggested to further validate the findings.

Summary updated

BibTeX
@inproceedings{voskarides2018weakly,
  author = {Nikos Voskarides and Edgar Meij and Ridho Reinanda and Abhinav Khaitan and Miles Osborne and Giorgio Stefanoni and Prabhanjan Kambadur and Maarten de Rijke},
  title = {{Weakly-supervised Contextualization of Knowledge Graph Facts}},
  booktitle = {International ACM SIGIR Conference on Research and Development in Information Retrieval},
  year = {2018},
  doi = {10.1145/3209978.3210031},
}
Figure