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 studies directed analogical proportions between logic programs of the form `$P$ transforms into $Q$ as $R$ transforms into $S$' -- in symbols, $P\dashrightarrow Q::R\dashrightarrow S$ -- as a mechanism for deriving similar programs by analogy-making. The idea is to instantiate an abstract algebraic framework of analogical proportions recently introduced by the author in the domain of logic programming. 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. 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 theory of logic-based analogical reasoning and learning with potential applications to fundamental AI-problems like commonsense reasoning and computational learning and creativity.
翻译:模拟分析是人类智慧和创造力的核心,其应用包括常识推理、学习、语言获取和故事叙事等多种任务。本文研究指导了“美元随着美元转换成美元变成美元”的逻辑方案之间的类比比例 -- -- 符号为$P\dashrightrow Q:R\dashrightrowS$ -- -- 作为通过类推得出类似方案的一种机制。想法是即时化作者最近在逻辑编程领域引入的模拟比例抽象代数框架。技术上,我们从模块化角度界定了我们从一个“已知”源域获得具体方案的抽象形式,然后在“已知”目标域中进行回现,以获得类似的程序。为此,我们引入了用于合成逻辑程序构成和配对等的代数操作。有趣的是,我们的工作表明模块化、概括化和类比之间的密切关系,我们认为今后应该进一步探讨。从一个更广泛的意义上说,我们从一个“已知”源域中获取的抽象形式的具体程序,然后可以在一个“未知”目标域中进行回现。对于一个共同的逻辑学理论和基本推理学的推理学,我们今后应该进一步探讨。