Skip to main content
QUICK REVIEW

[Paper Review] How Does Knowledge Graph Embedding Extrapolate to Unseen Data: A Semantic Evidence View

Ren Li, Yanan Cao|arXiv (Cornell University)|Sep 24, 2021
Advanced Graph Neural NetworksComputer Science7 citations
TL;DR

This paper introduces Semantic Evidence (SE) — a novel framework to explain knowledge graph embedding (KGE) extrapolation by identifying three levels of semantic support: relation-level co-occurrence, entity-level path connections, and triple-level similarity. It proposes SE-GNN, a GNN-based KGE model that explicitly models these evidences through structured neighbor patterns and multi-layer aggregation, achieving state-of-the-art performance on FB15k-237 and WN18RR with improved extrapolation ability.

ABSTRACT

Knowledge Graph Embedding (KGE) aims to learn representations for entities and relations. Most KGE models have gained great success, especially on extrapolation scenarios. Specifically, given an unseen triple (h, r, t), a trained model can still correctly predict t from (h, r, ?), or h from (?, r, t), such extrapolation ability is impressive. However, most existing KGE works focus on the design of delicate triple modeling function, which mainly tells us how to measure the plausibility of observed triples, but offers limited explanation of why the methods can extrapolate to unseen data, and what are the important factors to help KGE extrapolate. Therefore in this work, we attempt to study the KGE extrapolation of two problems: 1. How does KGE extrapolate to unseen data? 2. How to design the KGE model with better extrapolation ability? For the problem 1, we first discuss the impact factors for extrapolation and from relation, entity and triple level respectively, propose three Semantic Evidences (SEs), which can be observed from train set and provide important semantic information for extrapolation. Then we verify the effectiveness of SEs through extensive experiments on several typical KGE methods. For the problem 2, to make better use of the three levels of SE, we propose a novel GNN-based KGE model, called Semantic Evidence aware Graph Neural Network (SE-GNN). In SE-GNN, each level of SE is modeled explicitly by the corresponding neighbor pattern, and merged sufficiently by the multi-layer aggregation, which contributes to obtaining more extrapolative knowledge representation. Finally, through extensive experiments on FB15k-237 and WN18RR datasets, we show that SE-GNN achieves state-of-the-art performance on Knowledge Graph Completion task and performs a better extrapolation ability. Our code is available at https://github.com/renli1024/SE-GNN.

Motivation & Objective

  • To understand the underlying mechanisms enabling KGE models to generalize to unseen triples.
  • To identify key semantic factors in training data that support extrapolation to unseen triples.
  • To design a KGE model that explicitly leverages these factors for improved extrapolation performance.
  • To validate the effectiveness of Semantic Evidence through extensive experiments on standard benchmarks.

Proposed method

  • Proposes three types of Semantic Evidence (SE): relation-level co-occurrence, entity-level path connections, and triple-level similarity between candidate and ground-truth entities.
  • Quantifies each SE type using distinct metrics: co-occurrence frequency, shortest path count, and embedding similarity.
  • Designs SE-GNN, a GNN-based KGE model that uses separate neighbor patterns to encode each level of SE.
  • Employs multi-layer graph aggregation to fuse and refine SE representations across layers.
  • Applies edge masking during training to prevent information leakage and simulate real extrapolation scenarios.
  • Unifies bidirectional prediction via inverse relations and undirected graph construction to improve message passing.

Experimental results

Research questions

  • RQ1What semantic factors in the training data enable KGE models to extrapolate to unseen triples?
  • RQ2How do relation-level, entity-level, and triple-level semantic evidence contribute to extrapolation performance?
  • RQ3Can explicit modeling of semantic evidence improve KGE model generalization beyond existing methods?
  • RQ4How does the strength of semantic evidence correlate with model performance on unseen data?

Key findings

  • Semantic Evidence (SE) metrics — co-occurrence, path connections, and similarity — are strongly correlated with extrapolation performance across multiple KGE models.
  • Models achieve significantly better performance on unseen triples when the corresponding SE values are high, especially in the entity and triple levels.
  • SE-GNN outperforms state-of-the-art KGE models on both FB15k-237 and WN18RR, demonstrating superior extrapolation ability.
  • The ablation study confirms that explicit modeling of all three SE levels contributes to improved performance, with entity and triple-level SE being more influential in WN18RR due to its small relation set.
  • The correlation between SE strength and model performance holds consistently across different KGE models on both datasets, validating the generality of the SE framework.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.