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

可计算的加权一阶模型计数与有界树宽二元证据

Tractable Weighted First-Order Model Counting with Bounded Treewidth Binary Evidence

Václav Kůla, Qipeng Kuang, Yuyi Wang, Yuanhong Wang, Ondřej Kuželka

AI总结:

本文提出了一种在有界树宽二元证据下计算加权一阶模型计数的多项式时间算法,并应用于解决稳定座位安排问题。

摘要:

加权一阶模型计数问题(WFOMC)要求计算给定一阶逻辑句子在给定领域上的加权模型总和。将WFOMC条件于证据--固定一组地面字句的真值--已被证明在领域大小多项式时间内是不可能的(除非#P⊆FP),即使对于其他在无证据情况下对WFOMC可计算的逻辑片段。在本工作中,我们通过限制二元证据到其底层Gaifman图具有有界树宽的情况下克服了这一障碍。我们提出了一种在领域大小多项式时间内计算FO²和C²两个变量片段在这样的二元证据下的WFOMC的算法。此外,我们通过在有界树宽图上解决稳定座位安排问题(一个开放性问题)来展示我们算法在组合问题中的适用性。我们还进行了实验,以展示我们的算法与现有模型计数求解器相比的可扩展性。

英文摘要:

The Weighted First-Order Model Counting Problem (WFOMC) asks to compute the weighted sum of models of a given first-order logic sentence over a given domain. Conditioning WFOMC on evidence -- fixing the truth values of a set of ground literals -- has been shown impossible in time polynomial in the domain size (unless $\mathsf{\#P \subseteq FP}$) even for fragments of logic that are otherwise tractable for WFOMC without evidence. In this work, we address the barrier by restricting the binary evidence to the case where the underlying Gaifman graph has bounded treewidth. We present a polynomial-time algorithm in the domain size for computing WFOMC for the two-variable fragments $\text{FO}^2$ and $\text{C}^2$ conditioned on such binary evidence. Furthermore, we show the applicability of our algorithm in combinatorial problems by solving the stable seating arrangement problem on bounded-treewidth graphs of bounded degree, which was an open problem. We also conducted experiments to show the scalability of our algorithm compared to the existing model counting solvers.

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

↑