Rule2Text: A Framework for Generating and Evaluating Natural Language Explanations of Knowledge Graph Rules
Nasim Shirvani-Mahdavi, Chengkai Li

TL;DR
Rule2Text uses large language models to generate natural language explanations for knowledge graph rules, enhancing interpretability and usability through extensive experiments, human evaluation, and fine-tuning of models.
Contribution
This work introduces Rule2Text, a novel framework leveraging LLMs for explaining KG rules, including a new evaluation method and fine-tuning approach for improved explanation quality.
Findings
LLMs can generate accurate and clear explanations for KG rules.
Fine-tuning with high-quality datasets significantly improves explanation quality.
The framework effectively supports KGs without explicit type information.
Abstract
Knowledge graphs (KGs) can be enhanced through rule mining; however, the resulting logical rules are often difficult for humans to interpret due to their inherent complexity and the idiosyncratic labeling conventions of individual KGs. This work presents Rule2Text, a comprehensive framework that leverages large language models (LLMs) to generate natural language explanations for mined logical rules, thereby improving KG accessibility and usability. We conduct extensive experiments using multiple datasets, including Freebase variants (FB-CVT-REV, FB+CVT-REV, and FB15k-237) as well as the ogbl-biokg dataset, with rules mined using AMIE 3.5.1. We systematically evaluate several LLMs across a comprehensive range of prompting strategies, including zero-shot, few-shot, variable type incorporation, and Chain-of-Thought reasoning. To systematically assess models' performance, we conduct a human…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
