arXivDaily arXiv每日学术速递 周一至周五更新
今晚才能更新了~~大家休息下再来吧
arXiv 1908.07093cs.DB
收藏

无自连接合取查询的一致可靠性

Uniform Reliability of Self-Join-Free Conjunctive Queries

Antoine Amarilli, Benny Kimelfeld

AI总结:

本文研究无自连接合取查询的一致可靠性计数问题,证明分层性既是多项式时间可解性的充分条件也是必要条件,并将已知二分法推广至元组概率由关系决定的受限情形。

摘要:

布尔合取查询(CQ)在元组独立概率数据库上的可靠性,是指当数据库中的元组以其关联概率被逐一独立采样时,该查询被满足的概率。对于无自连接(即无重复关系符号)的查询,该问题的数据复杂度已由已知的二分法完全刻画:对于分层查询,可靠性可在多项式时间内计算;对于非分层查询,则为#P-难问题。受此二分法启发,我们研究了无自连接CQ的一个基本计数问题:输入数据库中有多少事实集合满足该查询?这等价于查询可靠性问题的一致情形,其中每个元组的概率均要求为1/2。当然,对于分层查询,一致可靠性如同可靠性问题一样可在多项式时间内求解。我们证明(在常规复杂性假设下)分层性也是这种可解性的必要条件。事实上,我们建立了该二分法的一个推广,涵盖了可靠性中所有元组概率由其所属关系决定的受限情形。

英文摘要:

The reliability of a Boolean Conjunctive Query (CQ) over a tuple-independent probabilistic database is the probability that the CQ is satisfied when the tuples of the database are sampled one by one, independently, with their associated probability. For queries without self-joins (repeated relation symbols), the data complexity of this problem is fully characterized by a known dichotomy: reliability can be computed in polynomial time for hierarchical queries, and is #P-hard for non-hierarchical queries. Inspired by this dichotomy, we investigate a fundamental counting problem for CQs without self-joins: how many sets of facts from the input database satisfy the query? This is equivalent to the uniform case of the query reliability problem, where the probability of every tuple is required to be 1/2. Of course, for hierarchical queries, uniform reliability is solvable in polynomial time, like the reliability problem. We show that being hierarchical is also necessary for this tractability (under conventional complexity assumptions). In fact, we establish a generalization of the dichotomy that covers every restricted case of reliability in which the probabilities of tuples are determined by their relation.

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

↑