Ruleformer: Context-aware Differentiable Rule Mining over Knowledge Graph
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). First posted on arXiv 13 Sep 2022.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2023: 5; 2024: 2; 2025: 1; 2026: 1.
9 papers.
- 2023ChatRule: Mining Logical Rules with Large Language Models for Knowledge Graph Reasoningcited by 26
- 2024Evaluating Deep Unlearning in Large Language Modelscited by 14
- 2023Large Knowledge Model: Perspectives and Challengescited by 12
- 2023On the Evolution of Knowledge Graphs: A Survey and Perspectivecited by 10
- 2023A Comprehensive Study on Knowledge Graph Embedding over Relational Patterns Based on Rule Learningcited by 3
- 2023Federated Neuro-Symbolic Learningcited by 2
- 2025DuetGraph: Coarse-to-Fine Knowledge Graph Reasoning with Dual-Pathway Global-Local Fusioncited by 2
- 2024Improving rule mining via embedding-based link predictioncited by 0
- 2026Bridging Graph Structure and Knowledge-Guided Editing for Interpretable Temporal Knowledge Graph Reasoningcited by 0
- 2026Bridging Graph Structure and Knowledge-Guided Editing for Interpretable Temporal Knowledge Graph Reasoning29 Jan 2026
- 2025DuetGraph: Coarse-to-Fine Knowledge Graph Reasoning with Dual-Pathway Global-Local Fusion15 Jul 2025
- 2024Evaluating Deep Unlearning in Large Language Models19 Oct 2024
- 2024Improving rule mining via embedding-based link prediction14 Jun 2024
- 2023Large Knowledge Model: Perspectives and Challenges5 Dec 2023
- 2023On the Evolution of Knowledge Graphs: A Survey and Perspective7 Oct 2023
- 2023ChatRule: Mining Logical Rules with Large Language Models for Knowledge Graph Reasoning4 Sep 2023
- 2023Federated Neuro-Symbolic Learning29 Aug 2023
- 2023A Comprehensive Study on Knowledge Graph Embedding over Relational Patterns Based on Rule Learning15 Aug 2023