TL;DR
This paper introduces WGE, a novel Graph Neural Network (GNN) model for Knowledge Graph (KG) completion. WGE uniquely leverages two distinct graph views – one focusing on entity relationships and another on relation-focused constraints – to learn richer entity and relation embeddings, leading to improved performance on KG completion tasks.
What Problem Does This Paper Address?
Knowledge graphs (KGs) are powerful representations of structured information, but they are often incomplete, missing many valid relationships (triples). This incompleteness hinders their utility in applications like question answering. KG completion aims to predict these missing links. While existing methods, including those using GNNs, have shown promise, they often focus primarily on the entity-centric structure of KGs. This can lead to missing crucial information about how relations themselves are interconnected, which could provide valuable context for predicting missing links.
Methods
The core innovation of WGE lies in its "two-view" approach to constructing graph representations of KGs.
- Entity-Focused View: A standard undirected graph is built where entities are nodes, and an edge exists between two entities if they appear together in a triple. This captures direct entity neighborhood information.
- Relation-Focused View: This view is more novel. It constructs a graph where both entities and relations are nodes. This graph is built from "relation-focused constraints" (RFCs), which are sequences of (subjective relation, predicate entity, objective relation). For example, in a KG, if "born_in" relates a person to a city, and "city_in" relates that city to a country, this forms an RFC. WGE selects a subset of these RFCs based on co-occurrence frequency. This view aims to capture potential dependencies between relations (e.g., understanding the link between "born_in" and "city_in" might help infer "nationality").
WGE then employs a GNN-based encoder that processes these two graph views simultaneously. Specifically, it uses two Quaternion Graph Neural Networks (QGNNs), one for each view, whose outputs are combined to generate refined entity and relation embeddings. These embeddings are then fed into a weighted score function (decoder) to predict the likelihood of a triple. The use of QGNNs is motivated by their demonstrated effectiveness in related tasks.
Datasets
The paper evaluates WGE on seven benchmark datasets:
- FB15K-237: A widely used KG completion dataset.
- Six new challenging datasets: CoDEx-S, CoDEx-M, CoDEx-L, LitWD1K, LitWD19K, and LitWD48K. These datasets are noted for being more difficult and covering more diverse content than previous benchmarks.
Key Insights and Ideas
- Two-View Modeling is Crucial: The paper strongly suggests that modeling both entity-centric and relation-centric graph structures is more effective than relying on a single view. This is supported by ablation studies showing that single-view variants of WGE perform worse.
- Relation Dependencies Matter: Capturing the interdependencies between relations (via the relation-focused view) provides valuable contextual information that helps improve KG completion accuracy.
- Quaternion Embeddings Enhance Representation: The use of Quaternion Graph Neural Networks (QGNNs) in the encoder module contributes to better learning of entity and relation representations, outperforming standard GCNs in ablation studies.
- RFCs as a Bridge: Relation-focused constraints (RFCs) serve as a clever mechanism to bridge the gap between entities and relations, allowing for the construction of a richer graph structure.
Key Results
WGE demonstrates strong performance across the evaluated datasets:
- It outperforms strong GNN-based baselines (R-GCN, CompGCN) and other competitive KG embedding models (TransE, ComplEx, ConvE, TuckER, SimQGNN, QuatE).
- On the CoDEx and LitWD datasets, WGE achieves the highest Mean Reciprocal Rank (MRR) and Hits@10 scores.
- On FB15K-237, WGE achieves the third highest MRR and the second highest Hits@10.
- Ablation studies confirm the effectiveness of the two-view approach and the use of QGNNs over GCNs.
Limitations and Future Work
- RFC Selection Mechanism: The current method for selecting RFCs in the relation-focused view is based on observed co-occurrence frequency. The authors acknowledge that this might not be optimal, especially for incomplete KGs, and suggest that a more sophisticated mechanism could be beneficial.
- Soft Scoring Mechanism: For future work, the authors propose designing a "soft scoring mechanism" that can adaptively prune the graph during training, potentially improving performance further.
- Hyperparameter Sensitivity: While WGE performs well, the paper notes that the optimal hyperparameter $\beta$ (percentage of kept RF constraints) was tuned on a single dataset (CoDEx-S) and then applied to others. Further tuning on each dataset might yield even better results.
- Specific Relation Performance: While WGE generally outperforms other models, there are instances (e.g., head prediction for "country of citizenship") where other models like QuatE achieve higher scores, suggesting room for improvement in handling specific relation types.
Summary updated