Skip to main navigation Skip to search Skip to main content

ChatRule: Mining Logical Rules with Large Language Models for Knowledge Graph Reasoning

Research output: Chapter in Book/Report/Conference proceedingConference PaperResearchpeer-review

Abstract

Logical rules are essential for uncovering the logical connections between relations, which could improve reasoning performance and provide interpretable results on knowledge graphs (KGs). Although there have been many efforts to mine meaningful logical rules over KGs, existing methods suffer from computationally intensive searches over the rule space and a lack of scalability for large-scale KGs. Besides, they often ignore the semantics of relations which is crucial for uncovering logical connections. Recently, large language models (LLMs) have shown impressive performance in the field of natural language processing and various applications, owing to their emergent ability and generalizability. In this paper, we propose a novel framework, ChatRule, unleashing the power of large language models for mining logical rules over knowledge graphs. Specifically, the framework is initiated with an LLM-based rule generator, leveraging both the semantic and structural information of KGs to prompt LLMs to generate logical rules. To refine the generated rules, a rule ranking module estimates the rule quality by incorporating facts from existing KGs. Last, the ranked rules can be used to conduct reasoning over KGs. ChatRule is evaluated on five large-scale KGs, showing the effectiveness and scalability of our method.

Original languageEnglish
Title of host publicationAdvances in Knowledge Discovery and Data Mining - 29th Pacific-Asia Conference on Knowledge Discovery and Data Mining, PAKDD 2025 Sydney, NSW, Australia, June 10–13, 2025 Proceedings, Part II
EditorsXintao Wu, Myra Spiliopoulou, Can Wang, Vipin Kumar, Longbing Cao, Yanqiu Wu, Zhangkai Wu, Yu Yao
Place of PublicationSingapore Singapore
PublisherSpringer
Pages314-325
Number of pages12
ISBN (Electronic)9789819681730
ISBN (Print)9789819681723
DOIs
Publication statusPublished - 2025
EventPacific-Asia Conference on Knowledge Discovery and Data Mining 2025 - Sydney, Australia
Duration: 10 Jun 202513 Jun 2025
Conference number: 29th
https://link.springer.com/book/10.1007/978-981-96-8173-0 (Proceedings)
https://pakdd2025.org/ (Website)

Publication series

NameLecture Notes in Computer Science
PublisherSpringer
Volume15871
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

ConferencePacific-Asia Conference on Knowledge Discovery and Data Mining 2025
Abbreviated titlePAKDD 2025
Country/TerritoryAustralia
CitySydney
Period10/06/2513/06/25
Internet address

Keywords

  • Knowledge Graph
  • Large Language Model
  • Logical Rule Mining

Cite this