arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2201.11524cs.DB
收藏

袋语义下的概率查询求值

Probabilistic Query Evaluation with Bag Semantics

Martin Grohe, Peter Lindner, Christoph Standke

AI总结:

本文研究袋语义概率数据库上的查询求值复杂性,区分答案多重度期望与至多出现 k 次的概率,并证明期望易算、无自连接合取查询的概率求值存在多项式时间与 #P 困难二分。

摘要:

我们研究在袋语义下对概率数据库中的查询进行求值的复杂性。我们关注无自连接合取查询,以及不同事实的出现相互独立的概率数据库;这是元组独立概率数据库在袋语义设定下的自然推广。对于集合语义,该问题的数据复杂性已经得到充分理解,即使对于更一般的合取查询并类也是如此:根据查询的不同,它要么可在多项式时间内求解,要么为 #P 困难(Dalvi & Suciu,JACM 2012)。一个相当一般的袋概率数据库模型可能具有无界多重度。在这种情况下,概率数据库不再是有限的,因此需要谨慎处理表示机制。此外,布尔查询的答案是在(可能所有)非负整数上的概率分布,而不是在 {true, false} 上的概率分布。因此,我们讨论两类概率查询求值:计算答案元组多重度的期望,以及对于某个参数 k,计算一个元组在答案中至多出现 k 次的概率。在对表示系统作出温和技术假设的条件下,结果表明期望很容易计算,即使对于合取查询并也是如此。对于查询答案概率,我们针对无自连接合取查询获得了多项式时间可解性与 #P 困难性之间的二分法。

英文摘要:

We study the complexity of evaluating queries on probabilistic databases under bag semantics. We focus on self-join free conjunctive queries, and probabilistic databases where occurrences of different facts are independent, which is the natural generalization of tuple-independent probabilistic databases to the bag semantics setting. For set semantics, the data complexity of this problem is well understood, even for the more general class of unions of conjunctive queries: it is either in polynomial time, or #P-hard, depending on the query (Dalvi & Suciu, JACM 2012). A reasonably general model of bag probabilistic databases may have unbounded multiplicities. In this case, the probabilistic database is no longer finite, and a careful treatment of representation mechanisms is required. Moreover, the answer to a Boolean query is a probability distribution over (possibly all) non-negative integers, rather than a probability distribution over { true, false }. Therefore, we discuss two flavors of probabilistic query evaluation: computing expectations of answer tuple multiplicities, and computing the probability that a tuple is contained in the answer at most k times for some parameter k. Subject to mild technical assumptions on the representation systems, it turns out that expectations are easy to compute, even for unions of conjunctive queries. For query answer probabilities, we obtain a dichotomy between solvability in polynomial time and #P-hardness for self-join free conjunctive queries.

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

↑