Skip to main content
QUICK REVIEW

[Paper Review] Logic Attention Based Neighborhood Aggregation for Inductive Knowledge Graph Embedding

Peifeng Wang, Jialong Han|arXiv (Cornell University)|Nov 4, 2018
Advanced Graph Neural NetworksComputer Science27 references10 citations
TL;DR

This paper proposes Logic Attention Network (LAN), a novel neighborhood aggregator for inductive knowledge graph embedding that combines logic rules and neural attention to address permutation invariance, redundancy awareness, and query relation awareness. LAN outperforms baselines on link prediction and triplet classification, demonstrating superior robustness on sparse knowledge graphs and effective neighbor weighting in case studies.

ABSTRACT

Knowledge graph embedding aims at modeling entities and relations with low-dimensional vectors. Most previous methods require that all entities should be seen during training, which is unpractical for real-world knowledge graphs with new entities emerging on a daily basis. Recent efforts on this issue suggest training a neighborhood aggregator in conjunction with the conventional entity and relation embeddings, which may help embed new entities inductively via their existing neighbors. However, their neighborhood aggregators neglect the unordered and unequal natures of an entity's neighbors. To this end, we summarize the desired properties that may lead to effective neighborhood aggregators. We also introduce a novel aggregator, namely, Logic Attention Network (LAN), which addresses the properties by aggregating neighbors with both rules- and network-based attention weights. By comparing with conventional aggregators on two knowledge graph completion tasks, we experimentally validate LAN's superiority in terms of the desired properties.

Motivation & Objective

  • To address the challenge of embedding emerging entities in knowledge graphs that are not seen during training.
  • To identify three essential properties for effective neighborhood aggregators: permutation invariance, redundancy awareness, and query relation awareness.
  • To design a novel aggregator, Logic Attention Network (LAN), that satisfies all three properties.
  • To validate LAN's superiority over conventional aggregators in inductive knowledge graph completion tasks.

Proposed method

  • LAN uses a two-level attention mechanism: coarse-level logic rule-based attention to weigh relations, and fine-level neural attention to weigh individual neighbors.
  • The logic rule mechanism assigns initial attention weights based on predefined logical dependencies among relations, such as transitive or symmetric properties.
  • Neural attention at the neighbor level refines weights using query relation embeddings, enabling query-aware aggregation.
  • The final entity representation is a weighted sum of neighbor embeddings, with attention weights computed via a differentiable mechanism ensuring permutation invariance.
  • The model is trained end-to-end using a scoring function for link prediction and triplet classification.
  • The framework supports inductive inference: unseen entities are embedded by aggregating only their observed neighbors using the learned aggregator.

Experimental results

Research questions

  • RQ1Can a neighborhood aggregator for knowledge graphs be designed to be invariant to neighbor permutation order?
  • RQ2How can redundancy among neighborhood facts be effectively exploited to improve embedding quality?
  • RQ3To what extent does incorporating query relation information enhance the performance of inductive knowledge graph embedding?
  • RQ4Can logic rules and neural attention be combined to outperform purely neural or rule-based approaches in neighbor aggregation?
  • RQ5How robust is the proposed method on sparse knowledge graphs with a high proportion of unseen entities?

Key findings

  • LAN significantly outperforms MEAN and LSTM baselines on both link prediction and triplet classification tasks, with consistent improvements across all evaluation metrics.
  • The ablation study shows that isolating the logic rule mechanism alone achieves a larger performance gain than relying solely on neural attention, demonstrating the effectiveness of symbolic knowledge.
  • Query-Attention, which incorporates query relation information, outperforms Global-Attention and MEAN, confirming the importance of query-awareness in neighbor aggregation.
  • LAN maintains relatively stable performance as the proportion of unseen entities increases, indicating greater robustness on sparse knowledge graphs compared to MEAN and LSTM.
  • Case studies confirm that LAN assigns higher attention weights to neighbors with semantically relevant relations and more informative entities, aligning with human reasoning.

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.