Ruleformer: Context-aware Differentiable Rule Mining over Knowledge Graph

09/13/2022
by   Zezhong Xu, et al.
0

Rule mining is an effective approach for reasoning over knowledge graph (KG). Existing works mainly concentrate on mining rules. However, there might be several rules that could be applied for reasoning for one relation, and how to select appropriate rules for completion of different triples has not been discussed. In this paper, we propose to take the context information into consideration, which helps select suitable rules for the inference tasks. Based on this idea, we propose a transformer-based rule mining approach, Ruleformer. It consists of two blocks: 1) an encoder extracting the context information from subgraph of head entities with modified attention mechanism, and 2) a decoder which aggregates the subgraph information from the encoder output and generates the probability of relations for each step of reasoning. The basic idea behind Ruleformer is regarding rule mining process as a sequence to sequence task. To make the subgraph a sequence input to the encoder and retain the graph structure, we devise a relational attention mechanism in Transformer. The experiment results show the necessity of considering these information in rule mining task and the effectiveness of our model.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/02/2022

On the Effectiveness of Knowledge Graph Embeddings: a Rule Mining Approach

We study the effectiveness of Knowledge Graph Embeddings (KGE) for knowl...
research
02/07/2022

Towards Loosely-Coupling Knowledge Graph Embeddings and Ontology-based Reasoning

Knowledge graph completion (a.k.a. link prediction), i.e., the task of i...
research
12/17/2015

Towards automating the generation of derivative nouns in Sanskrit by simulating Panini

About 1115 rules in Astadhyayi from A.4.1.76 to A.5.4.160 deal with gene...
research
05/22/2023

Logical Entity Representation in Knowledge-Graphs for Differentiable Rule Learning

Probabilistic logical rule learning has shown great strength in logical ...
research
07/10/2021

PatentMiner: Patent Vacancy Mining via Context-enhanced and Knowledge-guided Graph Attention

Although there are a small number of work to conduct patent research by ...
research
05/13/2022

R5: Rule Discovery with Reinforced and Recurrent Relational Reasoning

Systematicity, i.e., the ability to recombine known parts and rules to f...
research
04/21/2023

Linear building pattern recognition via spatial knowledge graph

Building patterns are important urban structures that reflect the effect...

Please sign up or login with your details

Forgot password? Click here to reset