arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.25517cs.AI
收藏

基于大语言模型的谓词重命名

Predicate Renaming via Large Language Models

Nantes Université, École Centrale Nantes, CNRS, LS2N(南特大学,中央南特学院,CNRS,LS2N);National Institute of Informatics(日本信息机构)

Elisabetta Gentili, Tony Ribeiro, Fabrizio Riguzzi, Katsumi Inoue

AI总结:

针对归纳逻辑编程中规则含未命名谓词影响逻辑理论可读性等问题,本文探索用大语言模型的自然语言与代码处理能力提供谓词命名建议,实验验证了该方法的潜力。

摘要:

本文研究利用大语言模型(LLMs)为逻辑规则中的谓词命名的问题。在归纳逻辑编程场景下,包括谓词发明在内的多种规则生成方法会产生含未命名谓词的规则,这会降低逻辑理论的可读性、可解释性与可复用性。我们借助LLMs的最新进展,探索其利用自然语言与代码处理能力为未命名谓词提供语义合理命名建议的能力。在若干人工构建的逻辑规则上的评估表明,LLMs在该任务上具备应用潜力。

英文摘要:

In this paper, we address the problem of giving names to predicates in logic rules using Large Language Models (LLMs). In the context of Inductive Logic Programming, various rule generation methods produce rules containing unnamed predicates, with Predicate Invention being a key example. This hinders the readability, interpretability, and reusability of the logic theory. Leveraging recent advancements in LLMs development, we explore their ability to process natural language and code to provide semantically meaningful suggestions for giving a name to unnamed predicates. The evaluation of our approach on some hand-crafted logic rules indicates that LLMs hold potential for this task.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑