论文标题
汇总规则:一个简单的统一语义
Recursive Rules with Aggregation: A Simple Unified Semantics
论文作者
论文摘要
复杂的推理问题是使用逻辑规则最清晰,很容易指定的,但是需要具有汇总的递归规则,例如计数和总和,用于实际应用。不幸的是,此类规则的含义是一个重大挑战,导致许多不同的语义分歧。 本文描述了具有汇总的递归规则的统一语义,并扩展了统一的基础语义和约束语义,以否定为递归规则。关键思想是支持对不同语义的不同假设的简单表达,并使用其简单的含义正交解释聚合操作。我们提出了语义的形式定义,证明了语义的重要特性,并与先前的语义相比。特别是,我们提出了对聚集的有效推断,该推论为我们从文献中研究的所有示例提供了精确的答案。我们还将语义应用于各种挑战的示例,并表明我们的语义很简单,并且在所有情况下都与所需的结果相匹配。最后,我们描述了最具挑战性的示例实验,在能够计算正确的答案时,表现出与知名系统相比出现的出色性能。
Complex reasoning problems are most clearly and easily specified using logical rules, but require recursive rules with aggregation such as count and sum for practical applications. Unfortunately, the meaning of such rules has been a significant challenge, leading to many disagreeing semantics. This paper describes a unified semantics for recursive rules with aggregation, extending the unified founded semantics and constraint semantics for recursive rules with negation. The key idea is to support simple expression of the different assumptions underlying different semantics, and orthogonally interpret aggregation operations using their simple usual meaning. We present a formal definition of the semantics, prove important properties of the semantics, and compare with prior semantics. In particular, we present an efficient inference over aggregation that gives precise answers to all examples we have studied from the literature. We also apply our semantics to a wide range of challenging examples, and show that our semantics is simple and matches the desired results in all cases. Finally, we describe experiments on the most challenging examples, exhibiting unexpectedly superior performance over well-known systems when they can compute correct answers.