Weighted model counting (WMC) has emerged as a prevalent approach for probabilistic inference. In its most general form, WMC is #P-hard. Weighted DNF counting (weighted #DNF) is a special case, where approximations with probabilistic guarantees are obtained in O(nm), where n denotes the number of variables, and m the number of clauses of the input DNF, but this is not scalable in practice. In this paper, we propose a neural model counting approach for weighted #DNF that combines approximate model counting with deep learning, and accurately approximates model counts in linear time when width is bounded. We conduct experiments to validate our method, and show that our model learns and generalizes very well to large-scale #DNF instances.
On the Approximability of Weighted Model Integration on DNF Structures
University of Oxford(牛津大学)
加权模型计数(Weighted Model Counting,WMC)是计算一个命题公式的所有满足赋值的加权和。WMC是众所周知的是精确求解的#P-困难,但承认一个完全多项式随机逼近方案(FPRAS)时,限制到DNF结构。在这项工作中,我们研究加权模型集成,加权模型计数的推广,其中涉及到真实的变量,除了命题变量,并提出以下问题:是否加权模型集成DNF结构承认FPRAS?基于近似体积计算和近似加权模型计数的经典结果,我们证明了DNF结构上的加权模型积分确实可以近似为一类权重函数。我们的近似算法基于三个子程序,每个子程序都可以是弱(即,近似的),或强的(即,精确)Oracle,并且在所有情况下都有准确性保证。我们通过实验验证了我们的方法在不同大小的随机生成的DNF实例,并表明我们的算法可扩展到大型问题实例,涉及多达1 K个变量,这是目前现有的通用加权模型集成求解器无法达到的。
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研究所)
Chennai Mathematical Institute, India IAI, TCG CREST, Kolkata, India(钦奈数学研究所,印度 IAI,TCG CREST,科利尔,印度);Georgia Institute of Technology, USA University of Toronto, Canada(佐治亚理工学院,美国 蒙特利尔大学,加拿大)