arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.19212cs.CCcs.AIcs.DB
收藏

利用树宽及其局限性求解投影模型计数

Solving Projected Model Counting by Utilizing Treewidth and its Limits

Linköping University(林雪平大学);Massachusetts Institute of Technology(麻省理工学院);University of Klagenfurt(克拉根福大学);TU Wien(维也纳工业大学)

Johannes K. Fichte, Markus Hecher, Michael Morak, Patrick Thier, Stefan Woltran

AI总结:

本文利用输入公式原始图的小树宽提出求解投影模型计数(PMC)的固定参数算法,并给出基于 ETH 的紧确下界;同时提出嵌套动态规划与数据库实现,使实际可求解实例的树宽上界超过 200。

摘要:

本文提出了一种求解投影模型计数(PMC)的新算法。PMC 要求对给定投影变量集合下的布尔公式解进行计数,其中在投影变量上相同的多个解只计为一个解。受“树宽”是最重要的结构参数之一这一观察的启发,我们的算法利用了输入实例原始图的小树宽。更准确地说,其运行时间为 O(2^2k+4n2),其中 k 为树宽,n 为实例的输入规模。换言之,我们得到了 PMC 问题在以树宽为参数时是固定参数可解的结论。此外,我们考虑指数时间假设(ETH),并建立了针对 PMC 的有界树宽算法的下界,从而得到我们算法渐近紧确的运行时间界。虽然上述算法是第一个理论上界,并且对于较小的 k 值可能相当有吸引力,但不出所料,遵循该运行时间界的朴素实现在相对较小宽度的实例上就已经遇到困难。因此,我们将注意力转向若干措施,以在实际中利用树宽解决这一问题:我们提出了一种称为嵌套动态规划的技术,其中使用原始图的不同抽象层次来(递归地)计算并细化给定实例的树分解。最后,我们提供了一个嵌套动态规划算法以及一个基于数据库技术的实现,用于 PMC 及其重要特例——模型计数(#Sat)。实验表明这些进展很有前景,使我们能够求解树宽上界超过 200 的实例。

英文摘要:

In this paper, we introduce a novel algorithm to solve projected model counting (PMC). PMC asks to count solutions of a Boolean formula with respect to a given set of projection variables, where multiple solutions that are identical when restricted to the projection variables count as only one solution. Inspired by the observation that the so-called "treewidth" is one of the most prominent structural parameters, our algorithm utilizes small treewidth of the primal graph of the input instance. More precisely, it runs in time O(2^2k+4n2) where k is the treewidth and n is the input size of the instance. In other words, we obtain that the problem PMC is fixed-parameter tractable when parameterized by treewidth. Further, we take the exponential time hypothesis (ETH) into consideration and establish lower bounds of bounded treewidth algorithms for PMC, yielding asymptotically tight runtime bounds of our algorithm. While the algorithm above serves as a first theoretical upper bound and although it might be quite appealing for small values of k, unsurprisingly a naive implementation adhering to this runtime bound suffers already from instances of relatively small width. Therefore, we turn our attention to several measures in order to resolve this issue towards exploiting treewidth in practice: We present a technique called nested dynamic programming, where different levels of abstractions of the primal graph are used to (recursively) compute and refine tree decompositions of a given instance. Finally, we provide a nested dynamic programming algorithm and an implementation that relies on database technology for PMC and a prominent special case of PMC, namely model counting (#Sat). Experiments indicate that the advancements are promising, allowing us to solve instances of treewidth upper bounds beyond 200.

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

↑