TL;DR
This paper introduces OKGIT, a novel method for predicting missing facts (link prediction) in Open Knowledge Graphs (OpenKGs). OKGIT significantly improves prediction accuracy and, crucially, ensures that the predicted entities are type-compatible with the existing information, addressing a key limitation of previous approaches.
What Problem Does This Paper Address?
Open Knowledge Graphs (OpenKGs) are built by extracting factual triples (like "tesla," "return to," "new york") from text using Open Information Extraction (OpenIE) tools. While easy to create for new domains, these graphs are often very sparse and lack explicit type information for entities. This makes them difficult to use directly in downstream tasks like question answering or text comprehension. A critical step is "link prediction," where the goal is to predict missing facts. Existing methods, while improving prediction accuracy, often suggest entities that don't logically fit the context (e.g., predicting a person's name where a location is expected). This paper tackles this "type incompatibility" problem in OpenKG link prediction.
Methods
The core of OKGIT lies in combining two key ideas:
- Leveraging BERT for Type Compatibility: The authors hypothesize that pre-trained language models like BERT, through their Masked Language Model (MLM) objective, implicitly capture type information about entities. They use BERT to generate a "type vector" for potential tail entities.
- Novel Type Compatibility Score and Regularization: OKGIT introduces a new "type compatibility score" that measures how well a candidate tail entity's type aligns with the head entity and relation. This score is combined with a traditional link prediction score. Additionally, a "type regularization" term is added to the training objective, further encouraging type-consistent predictions.
The architecture involves:
- CaRE Embeddings: Using an existing OpenKG embedding method (CaRE) to get initial predictions and embeddings.
- BERT for Type Information: Using BERT to predict a "masked" tail entity and extract its type vector.
- Type Projectors: Small neural networks that project BERT's output and CaRE's embeddings into a common "type space."
- Combined Score: A weighted sum of the CaRE prediction score and the new type compatibility score.
Datasets
The experiments were conducted on subsets of English OpenKGs derived from the ReVerb dataset:
- ReVerb20K and ReVerb45K: Standard datasets for OpenKG research.
- ReVerb20KF and ReVerb45KF: Filtered versions containing only single-token noun phrases (NPs) to specifically test BERT's capabilities with simpler entities.
Key Insights and Ideas
- Implicit Type Information in BERT: The paper strongly suggests that large language models like BERT, even without explicit fine-tuning for typing, contain valuable implicit type information that can be harnessed for knowledge graph tasks.
- Type Compatibility is Crucial: Simply predicting correct entities isn't enough; predicting type-compatible entities is essential for making OpenKGs truly useful in downstream applications.
- Synergy of Prediction and Type: The combination of a traditional link prediction score (from CaRE) and a novel type compatibility score (from BERT) yields the best results, indicating that both aspects are important and complementary.
- Type Projectors are Effective: The type projectors play a key role in extracting meaningful type information from high-dimensional embeddings, allowing for better clustering and comparison of entity types.
Key Results
- State-of-the-Art Performance: OKGIT consistently outperforms baseline methods (including CaRE and BERT-initialized CaRE) across all datasets in terms of Mean Reciprocal Rank (MRR) and Hits@k metrics. For instance, on ReVerb20K, OKGIT achieved an MRR of 35.9%, a significant improvement over CaRE's 30.6%.
- Improved Type Compatibility: Qualitative evaluations and quantitative F1-scores (using an external entity typing model) show that OKGIT generates significantly more type-compatible predictions than CaRE.
- Ablation Studies: Both the type compatibility score and type regularization contribute positively to performance, with the combined model achieving the highest gains.
Limitations and Future Work
- Dependency on BERT: The effectiveness of OKGIT is tied to the quality of the pre-trained BERT model and the corpus it was trained on. Biases in BERT or the OpenKG can be propagated.
- Language Specificity: The current work focuses on English datasets. While the architecture is language-agnostic, its effectiveness might vary across languages.
- External Entity Typing Model Limitations: The evaluation of type compatibility relied on an external entity typing model (UFET), whose coverage and quality can limit the assessment.
- Future Work: The authors suggest exploring other pre-trained language models (like RoBERTa, which showed promising results in ablation studies) and investigating how OKGIT performs on different types of OpenKGs and in various downstream applications. They also note that while BERT itself has limitations with multi-token NPs for direct prediction, OKGIT's approach of using BERT for type compatibility bypasses this issue.
Summary updated