Skip to main content
QUICK REVIEW

[Paper Review] Knowledge Graph Embedding using Graph Convolutional Networks with Relation-Aware Attention

Nasrullah Sheikh, Xiao Qin|arXiv (Cornell University)|Feb 14, 2021
Advanced Graph Neural NetworksComputer Science22 references7 citations
TL;DR

This paper proposes RelAtt, a relation-aware graph attention mechanism that enhances knowledge graph embedding by dynamically weighting neighboring entities based on their relation types during feature aggregation in graph convolutional networks. The method improves link prediction and unsupervised entity matching by leveraging relation semantics, outperforming state-of-the-art baselines, especially under low-context conditions.

ABSTRACT

Knowledge graph embedding methods learn embeddings of entities and relations in a low dimensional space which can be used for various downstream machine learning tasks such as link prediction and entity matching. Various graph convolutional network methods have been proposed which use different types of information to learn the features of entities and relations. However, these methods assign the same weight (importance) to the neighbors when aggregating the information, ignoring the role of different relations with the neighboring entities. To this end, we propose a relation-aware graph attention model that leverages relation information to compute different weights to the neighboring nodes for learning embeddings of entities and relations. We evaluate our proposed approach on link prediction and entity matching tasks. Our experimental results on link prediction on three datasets (one proprietary and two public) and results on unsupervised entity matching on one proprietary dataset demonstrate the effectiveness of the relation-aware attention.

Motivation & Objective

  • To address the limitation of existing graph convolutional networks in knowledge graphs that assign equal weights to all neighbors regardless of relation type.
  • To improve entity and relation representation learning by incorporating relation-specific semantics into the attention mechanism.
  • To enhance link prediction and unsupervised entity matching performance using a relation-aware attention mechanism.
  • To develop an inductive model capable of generalizing to unseen nodes in knowledge graphs.

Proposed method

  • Proposes a relation-aware masked attention mechanism that computes attention scores based on both entity features and relation types.
  • Integrates the attention mechanism into graph convolutional networks to dynamically weight messages from neighboring nodes during feature propagation.
  • Uses a scoring function to optimize embeddings such that valid triplets receive higher scores than invalid ones.
  • Applies the trained model to infer embeddings of entities in query graphs for downstream entity matching tasks.
  • Employs cosine similarity between learned embeddings to perform unsupervised entity matching between query and reference graphs.
  • Trains the model end-to-end using a link prediction objective on full knowledge graphs, enabling inductive transfer to unseen nodes.

Experimental results

Research questions

  • RQ1Can a relation-aware attention mechanism improve knowledge graph embedding by considering the semantic role of relations in neighbor aggregation?
  • RQ2How does the proposed RelAtt model perform in link prediction compared to state-of-the-art GCN-based methods on diverse datasets?
  • RQ3To what extent does the attention mechanism enhance unsupervised entity matching, especially when contextual information is limited?
  • RQ4Does the model maintain performance under low-context query graphs where only a subset of neighbors is available?

Key findings

  • On the proprietary Comp dataset, RelAtt achieved Hits@1 of 0.7736 at a threshold of 0.5, outperforming BERT (0.7373) and RGCN (0.7250).
  • At a low context threshold (th=0.2), RelAtt maintained high performance (Hits@1: 0.7380), while RGCN degraded significantly (Hits@1: 0.6248), demonstrating robustness to limited context.
  • As the threshold increased (th=0.5), RelAtt continued to improve, achieving Hits@10 of 0.8919, indicating strong generalization under richer context.
  • The model significantly outperformed both BERT and RGCN in entity matching, especially when contextual information was sparse, due to its ability to weigh neighbors based on relation semantics.
  • RelAtt achieved 92.45% Hits@30 on the entity matching task at th=0.5, showing strong performance across all top-k evaluation metrics.
  • The ablation shows that relation-aware attention is critical: models without relation-specific weighting (e.g., RGCN) underperform, especially in low-context scenarios.

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.