论文标题
有效的知识汇编超出加权模型计数
Efficient Knowledge Compilation Beyond Weighted Model Counting
论文作者
论文摘要
逻辑编程的定量扩展通常需要解决所谓的第二级推理任务的解决方案,即,在加法和乘法之上,涉及第三个操作(例如最大化或归一化)的问题,因此超出了分布分布语法下的概率逻辑编程的众所周知的加权或代数模型计数。我们将第二级代数模型计数(2AMC)引入了这些问题的通用框架。由于2amc是(代数)模型,计算出什么是forall存在的sat是命题可满足的,因此众所周知,很难解决。基于知识汇编(KC)的第一级技术已通过在结果电路上施加可变订单约束来适应特定的2AMC实例。但是,这些约束可以严重增加电路的大小,从而降低此类方法的效率。我们表明,我们可以利用2amc问题的逻辑结构来省略这些约束的一部分,从而限制了负面影响。此外,我们介绍并实施了一项策略,以静态地生成一组足够的约束,并为KC的性能提供先验的保证。我们对几个基准和任务的经验评估证实,我们的理论结果可以转化为实践中更有效的解决。正在考虑在TPLP中接受。
Quantitative extensions of logic programming often require the solution of so called second level inference tasks, i.e., problems that involve a third operation, such as maximization or normalization, on top of addition and multiplication, and thus go beyond the well-known weighted or algebraic model counting setting of probabilistic logic programming under the distribution semantics. We introduce Second Level Algebraic Model Counting (2AMC) as a generic framework for these kinds of problems. As 2AMC is to (algebraic) model counting what forall-exists-SAT is to propositional satisfiability, it is notoriously hard to solve. First level techniques based on Knowledge Compilation (KC) have been adapted for specific 2AMC instances by imposing variable order constraints on the resulting circuit. However, those constraints can severely increase the circuit size and thus decrease the efficiency of such approaches. We show that we can exploit the logical structure of a 2AMC problem to omit parts of these constraints, thus limiting the negative effect. Furthermore, we introduce and implement a strategy to generate a sufficient set of constraints statically, with a priori guarantees for the performance of KC. Our empirical evaluation on several benchmarks and tasks confirms that our theoretical results can translate into more efficient solving in practice. Under consideration for acceptance in TPLP.