Analogy-making is at the core of human intelligence and creativity with applications to such diverse tasks as commonsense reasoning, learning, language acquisition, and story telling. This paper contributes to the foundations of artificial general intelligence by developing an abstract algebraic framework for logic-based analogical reasoning and learning in the setting of logic programming. The main idea is to instantiate the abstract algebraic framework of analogical proportions of the form $a:b::c:d$, recently introduced by the author, in the domain of logic programming. That is, in this paper we introduce and study logic program proportions of the form $P:Q::R:S$ as a mechanism for learning similar programs by analogy-making. Technically, we define proportions in terms of modularity where we derive abstract forms of concrete programs from a `known' source domain which can then be instantiated in an `unknown' target domain to obtain analogous programs. To this end, we introduce algebraic operations for syntactic logic program composition and concatenation. We then argue that reasoning and learning by analogy is the task of solving analogical equations between logic programs. Interestingly, our work suggests a close relationship between modularity, generalization, and analogy which we believe should be explored further in the future. In a broader sense, this paper is a further step towards an algebraic and mainly syntactic theory of logic-based analogical reasoning and learning in knowledge representation and reasoning systems, with potential applications to fundamental AI-problems like commonsense reasoning and computational learning and creativity.
翻译:分析是人类智慧和创造力的核心,其应用包括常识推理、学习、语言获取和故事叙事等多种任务。本文通过在逻辑编程设置中为基于逻辑的模拟推理和学习开发一个抽象的代数框架,为人为一般情报奠定基础。主要想法是即时利用形式$a:b:c:d$的抽象代数框架,作者最近在逻辑编程领域引入了这种模拟比例框架。这就是,在本文件中,我们引入并研究以 $P:Q:R:S$的逻辑方案比例,作为通过类推学习类似程序的机制。在技术上,我们从一个“已知”源域中产生具体方案的抽象形式,然后在“未知”的目标域中进行即刻录,以获得类似的程序。为此,我们引入了类似于基于理论的逻辑编程和编程的计算操作。我们随后认为,通过比较推理和学习以推理法推理是解决以类推理学为类似程序的一个任务,从更广义的逻辑和逻辑关系中,我们更深入地理解了一种广义的逻辑关系,我们更接近地探讨了一种理论和逻辑关系。