答案集编程(Answer Set Programming,ASP)凭借能以自然方式建模来自不同领域的困难组合问题的能力,已成为知识表示与自动推理领域中一种颇具前景的范式。依托命题SAT求解技术的进展,过去二十年间涌现出了一批经过良好工程实现的系统,用于求解答案集可满足性问题,即找到给定答案集程序的模型或答案集。近年来,人们对ASP语境下可满足性之外的问题(例如模型计数)的兴趣日益浓厚。与命题模型计数的早期发展阶段类似,当前最先进的精确答案集计数器在超出小规模实例范围后可扩展性不佳,难以处理更大规模的输入公式。本文的主要贡献是提出了一种名为sharpASP的新型ASP计数框架,该框架可在避免处理大规模输入公式的情况下完成答案集计数。这一框架基于一种定义答案集的替代方式,该方式能够迁移命题模型计数领域中开发的关键技术。我们在1470个基准测试上开展的广泛实证分析表明,该框架相较于当前最先进的精确答案集计数器实现了显著的性能提升。具体而言,在所有其他实验条件一致的情况下,使用sharpASP我们能够求解1062个基准测试,PAR2得分为3082;而使用此前的最优方法仅能求解895个基准测试,PAR2得分为4205。
英文摘要:
Answer Set Programming (ASP) has emerged as a promising paradigm in knowledge representation and automated reasoning owing to its ability to model hard combinatorial problems from diverse domains in a natural way. Building on advances in propositional SAT solving, the past two decades have witnessed the emergence of well-engineered systems for solving the answer set satisfiability problem, i.e., finding models or answer sets for a given answer set program. In recent years, there has been growing interest in problems beyond satisfiability, such as model counting, in the context of ASP. Akin to the early days of propositional model counting, state-of-the-art exact answer set counters do not scale well beyond small instances. Exact ASP counters struggle with handling larger input formulas. The primary contribution of this paper is a new ASP counting framework, called sharpASP, which counts answer sets avoiding larger input formulas. This relies on an alternative way of defining answer sets that allows for the lifting of key techniques developed in the context of propositional model counting. Our extensive empirical analysis over 1470 benchmarks demonstrates significant performance gain over current state-of-the-art exact answer set counters. Specifically, by using sharpASP, we were able to solve 1062 benchmarks with PAR2 score of 3082 whereas using prior state-of-the-art, we could only solve 895 benchmarks with a PAR2 score of 4205, all other experimental conditions being the same.
Epistemic Logic Programs: Non-Ground and Counting Complexity
Institute of Logic and Computation, TU Wien(维也纳技术大学逻辑与计算研究所);Department of Computer and Information Science (IDA), Linköping University(林雪平大学计算机与信息科学系);Univ. Artois, CNRS, CRIL(阿图瓦大学、法国国家科学研究中心、CRIL研究所)
Best-Effort Inductive Logic Programming via Fine-grained Cost-based Hypothesis Generation
Technische Universität Wien(维也纳技术大学);Marmara University(马尔马拉大学);Karlsruhe Institute of Technology(卡尔斯鲁厄理工学院);Sabanci University(萨班哲大学)
本文介绍了参加第一届归纳逻辑程序设计(ILP)竞赛的计算机系统。它基于Answer Set Programming(ASP)。假设空间生成的ASP编码:给定一组表示模式偏差的事实和一组成本配置参数,该编码的每个答案集表示一个规则,该规则被认为是用于找到需要给定示例的假设。与使用规则体的长度作为规则复杂性度量的最新方法相比,我们的方法允许对假设候选规则的形状进行更细粒度的规范。系统迭代地增加规则成本限制,从而增加搜索空间,直到找到合适的假设。该系统搜索一个假设,需要一个单一的例子,利用ASP编码从XHAIL中使用的编码派生。我们用ILP竞赛的开发和测试集进行实验。为了比较,我们还适应了ILASP系统处理竞争的情况下。实验结果表明,假设搜索空间的代价参数是在有限的资源范围内找到竞争实例的假设的重要因素。
回答集编程(ASP)是声明性编程的一个良好建立的范例,与其他声明性形式主义(诸如SAT模理论、约束处理规则、FO(.)PDDL和许多其他人。自从第一个非正式版本以来,ASP系统已经在现在已经建立的ASP竞赛中进行了比较。第三届(公开)ASP竞赛,作为在德国波茨坦大学(2006-2007年)和比利时鲁汶大学(2009年)举行的ASP竞赛系列的续集,于2011年上半年在卡拉布里亚大学(意大利)举行。参与者在预先选择的基准问题集合上进行竞争,这些问题来自各个领域以及现实世界的应用。竞赛分为两个部分:模型和求解(M&S)部分,基于开放的问题编码和开放的语言,对任何基于声明式规范范式的系统开放;系统部分,基于固定的公共问题编码,用标准ASP语言编写。本文讨论了比赛的形式和背后的理由,然后报告了两个轨道的结果。与第二次ASP竞争和国家的最先进的解决方案的一些基准域的比较,最终进行了讨论。逻辑程序设计理论与实践(Theory and Practice of Logic Programming,TPLP)