arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2204.02758cs.DBcs.CC
收藏

多重性有界的Bag-TIDB的期望多重性计算

Computing expected multiplicities for bag-TIDBs with bounded multiplicities

Su Feng, Boris Glavic, Aaron Huber, Oliver Kennedy, Atri Rudra

摘要:

在这项工作中,我们研究的问题,计算一个元组的预期多重概率数据库与袋语义(其中每个元组与多重性)准确和近似。我们考虑bag-TIDB,其中我们在每个元组的最大多重性上具有约束$c$,并且元组是独立的概率事件(我们将这样的数据库称为c-TIDB)。我们特别感兴趣的是计算预期的多重性的细粒度的复杂性,以及它如何与确定性查询评估算法的复杂性进行比较-如果这些复杂性是可比的,它打开了概率数据库的实际部署的大门。不幸的是,我们的研究结果意味着,计算预期的多重性C-TIDBs的基础上产生的结果,这样的查询评估算法引入超线性开销(参数化的复杂性硬度假设/假设)。我们继续研究近似的预期结果元组多重性的正关系代数查询($RA^+$)在c-TIDBs和块独立数据库(BIDBs)的非平凡子类。我们开发了一个采样算法,计算一个1 $\pmε$近似的输出元组的预期多重性在时间线性的运行时相应的确定性查询的任何$RA^+$查询。

英文摘要:

In this work, we study the problem of computing a tuple's expected multiplicity over probabilistic databases with bag semantics (where each tuple is associated with a multiplicity) exactly and approximately. We consider bag-TIDBs where we have a bound $c$ on the maximum multiplicity of each tuple and tuples are independent probabilistic events (we refer to such databases as c-TIDBs. We are specifically interested in the fine-grained complexity of computing expected multiplicities and how it compares to the complexity of deterministic query evaluation algorithms -- if these complexities are comparable, it opens the door to practical deployment of probabilistic databases. Unfortunately, our results imply that computing expected multiplicities for c-TIDBs based on the results produced by such query evaluation algorithms introduces super-linear overhead (under parameterized complexity hardness assumptions/conjectures). We proceed to study approximation of expected result tuple multiplicities for positive relational algebra queries ($RA^+$) over c-TIDBs and for a non-trivial subclass of block-independent databases (BIDBs). We develop a sampling algorithm that computes a 1$\pmε$ approximation of the expected multiplicity of an output tuple in time linear in the runtime of the corresponding deterministic query for any $RA^+$ query.

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

↑