arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2202.05938cs.AI
收藏

d-DNNF电路的伪多项式时间Top-k算法

Pseudo Polynomial-Time Top-k Algorithms for d-DNNF Circuits

University of Lille(里尔大学);CNRS(法国国家科学研究中心);INRIA(法国国家信息与自动化研究所);CRIStAL(里尔自动化与信息信号研究中心);Univ. Artois(阿图瓦大学);CRIL(朗斯计算机研究实验室);Institut Universitaire de France(法兰西大学研究院)

Pierre Bourhis, Laurence Duchien, Jérémie Dusart, Emmanuel Lonca, Pierre Marquis, Clément Quinton

摘要:

我们有兴趣在计算$k$最优选的模型,一个给定的d-DNNF电路$C$,其中的偏好关系是基于一个代数结构称为单调,全序,半群$(K, \otimes, <)$。在我们的设置中,$C$中的每个文字在$K$中都有一个值,赋值的值是通过使用$\otimes$聚合相应文字的值而获得的$K$的一个元素。我们提出了一种算法,计算$k$模型的$C$中具有最大值w.r.t. $<$算法,并证明了该算法在$k$上以时间多项式运行,且在$C$的大小下运行.我们还提出了一个伪多项式时间算法推导的顶部$k$值,可以达到,提供了一个额外的(但不是很苛刻)的要求,满足半群。在同样的假设下,我们提出了一个伪多项式时间算法,将$C$转换成一个d-DNNF电路$C'$完全满足的$C$的模型中的顶部- $k$的值。最后,专注于半群$(\mathbb{N}, +, <)$,我们比较了大量的情况下,我们的编译为基础的算法计算$k$顶解的算法处理相同的问题,但基于部分加权MaxSAT求解器的性能。

英文摘要:

We are interested in computing $k$ most preferred models of a given d-DNNF circuit $C$, where the preference relation is based on an algebraic structure called a monotone, totally ordered, semigroup $(K, \otimes, <)$. In our setting, every literal in $C$ has a value in $K$ and the value of an assignment is an element of $K$ obtained by aggregating using $\otimes$ the values of the corresponding literals. We present an algorithm that computes $k$ models of $C$ among those having the largest values w.r.t. $<$, and show that this algorithm runs in time polynomial in $k$ and in the size of $C$. We also present a pseudo polynomial-time algorithm for deriving the top-$k$ values that can be reached, provided that an additional (but not very demanding) requirement on the semigroup is satisfied. Under the same assumption, we present a pseudo polynomial-time algorithm that transforms $C$ into a d-DNNF circuit $C'$ satisfied exactly by the models of $C$ having a value among the top-$k$ ones. Finally, focusing on the semigroup $(\mathbb{N}, +, <)$, we compare on a large number of instances the performances of our compilation-based algorithm for computing $k$ top solutions with those of an algorithm tackling the same problem, but based on a partial weighted MaxSAT solver.

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

↑