知识编译中的连接宽度与结构(扩展版)
Connecting Width and Structure in Knowledge Compilation (Extended Version)
摘要:
几个查询评估任务可以通过知识编译来完成:查询结果被编译为可以确定答案的沿袭电路。对于这样的任务,重要的是利用电路的一些宽度参数,例如有界树宽度或路径宽度,以将电路转换为结构化类,例如,确定性结构化NNF(d-SDNNF)或OBDD。在这项工作中,我们将展示如何连接电路的宽度,其结构化表示的大小,通过上限和下限。对于上限,我们展示了如何绑定树宽电路可以转换为一个d-SDNNF,在时间上线性的电路大小。我们的界,不同于现有的结果,是建设性的,只有单指数的树宽。我们显示了一个相关的下界单调DNF或CNF公式,假设一个常数的arity(条款的大小)和程度(每个变量的出现次数)的约束。具体地,任何d-SDNNF(分别,SDNNF)对于这样的DNF(相应地,CNF)的树宽必须是指数级的;在编译成OBDD时,路径宽度也是如此。我们的下限,在大多数以前的工作相比,适用于任何公式的这个类,而不仅仅是一个精心挑选的家庭。因此,对于我们的DNF和CNF语言,路径宽度和树宽度分别表征了编译成OBDD和(d-)SDNNF的效率,即编译在宽度参数上是单指数的。最后,我们将我们的下限结果应用到查询评估的任务。
英文摘要:
Several query evaluation tasks can be done via knowledge compilation: the query result is compiled as a lineage circuit from which the answer can be determined. For such tasks, it is important to leverage some width parameters of the circuit, such as bounded treewidth or pathwidth, to convert the circuit to structured classes, e.g., deterministic structured NNFs (d-SDNNFs) or OBDDs. In this work, we show how to connect the width of circuits to the size of their structured representation, through upper and lower bounds. For the upper bound, we show how bounded-treewidth circuits can be converted to a d-SDNNF, in time linear in the circuit size. Our bound, unlike existing results, is constructive and only singly exponential in the treewidth. We show a related lower bound on monotone DNF or CNF formulas, assuming a constant bound on the arity (size of clauses) and degree (number of occurrences of each variable). Specifically, any d-SDNNF (resp., SDNNF) for such a DNF (resp., CNF) must be of exponential size in its treewidth; and the same holds for pathwidth when compiling to OBDDs. Our lower bounds, in contrast with most previous work, apply to any formula of this class, not just a well-chosen family. Hence, for our language of DNF and CNF, pathwidth and treewidth respectively characterize the efficiency of compiling to OBDDs and (d-)SDNNFs, that is, compilation is singly exponential in the width parameter. We conclude by applying our lower bound results to the task of query evaluation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。