arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1108.3260cs.AIcs.LOcs.PL
收藏

在答案集编程中寻找相似/不同的解决方案

Finding Similar/Diverse Solutions in Answer Set Programming

Vienna University of Technology(维也纳工业大学);Sabanci University(萨班哲大学)

Thomas Eiter, Esra Erdem, Halit Erdogan, Michael Fink

摘要:

对于某些计算问题(例如,产品配置、规划、诊断、查询应答、遗传学重构)计算一组相似/不同的解决方案对于更好的决策可能是期望的。基于这一动机,我们在答案集编程(ASP)的背景下研究了该问题的几个决策/优化版本,分析了它们的计算复杂性,并引入了离线/在线方法来计算给定距离函数下此类计算问题的相似/不同解.所有这些方法都依赖于通过为描述问题的ASP程序找到答案集来计算问题的解决方案的想法。离线方法使用ASP求解器(如Clasp)使用问题的ASP公式提前计算所有解决方案,然后使用聚类方法识别相似/不同的解决方案。在线方法计算类似/不同的解决方案以下三种方法之一:通过重新制定的ASP表示的问题,以计算类似/不同的解决方案一次使用ASP求解器;通过计算类似/不同的解决方案迭代(一个接一个)使用ASP求解器;通过修改搜索算法的ASP求解器计算类似/不同的解决方案增量。我们修改了Clasp来实现最后一个在线方法,并将其称为Clasp-NK。在前两种在线方法中,给定的距离函数用ASP表示;在最后一种方法中,它是用C++实现的。我们展示了这些方法在印欧语言相似/不同的同源性重建上的适用性和有效性,以及在Blocks World中的几个规划问题上的适用性和有效性。我们观察到,在计算效率方面,最后一个在线方法优于其他方法;当距离函数不能在ASP中表示时,它还允许我们计算类似/不同的解决方案。

英文摘要:

For some computational problems (e.g., product configuration, planning, diagnosis, query answering, phylogeny reconstruction) computing a set of similar/diverse solutions may be desirable for better decision-making. With this motivation, we studied several decision/optimization versions of this problem in the context of Answer Set Programming (ASP), analyzed their computational complexity, and introduced offline/online methods to compute similar/diverse solutions of such computational problems with respect to a given distance function. All these methods rely on the idea of computing solutions to a problem by means of finding the answer sets for an ASP program that describes the problem. The offline methods compute all solutions in advance using the ASP formulation of the problem with an ASP solver, like Clasp, and then identify similar/diverse solutions using clustering methods. The online methods compute similar/diverse solutions following one of the three approaches: by reformulating the ASP representation of the problem to compute similar/diverse solutions at once using an ASP solver; by computing similar/diverse solutions iteratively (one after other) using an ASP solver; by modifying the search algorithm of an ASP solver to compute similar/diverse solutions incrementally. We modified Clasp to implement the last online method and called it Clasp-NK. In the first two online methods, the given distance function is represented in ASP; in the last one it is implemented in C++. We showed the applicability and the effectiveness of these methods on reconstruction of similar/diverse phylogenies for Indo-European languages, and on several planning problems in Blocks World. We observed that in terms of computational efficiency the last online method outperforms the others; also it allows us to compute similar/diverse solutions when the distance function cannot be represented in ASP.

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

↑