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.
翻译:可以通过知识汇编完成多个查询评估任务 : 查询结果是编译成一条线条路流, 从中可以确定答案。 对于这些任务,必须利用电路的某些宽度参数, 如条纹树枝或路径线条, 将电路转换成结构化的类别, 例如确定式结构型NNNF (d- SDNNF) 或 OBDDs 。 在这项工作中, 我们展示了如何将电路宽与结构代表的大小连接起来, 通过上下界线路路路流。 对于上界线线线线线, 我们展示了如何将线条线条线条的宽度转换成 d- SDNNF 的宽度参数, 在时间线条线条线条大小中, 时间线条线条线条线条线条线条线条的宽度参数可以转换成 d- SDNNF 。 我们的线条线条线条线条线条线条的长度和程度, 线条线条线条的长度和程度( 每个变量的发生次数数号数号), 任何DNNF( resp.