论文标题
不平衡的三角检测和枚举硬度,用于联合查询的工会
Unbalanced Triangle Detection and Enumeration Hardness for Unions of Conjunctive Queries
论文作者
论文摘要
我们研究结合查询工会(UCQ)的答案,并提供最佳的时间保证。更确切地说,我们希望确定可以通过线性预处理时间和恒定延迟来解决的查询。尽管这个问题具有基本的性质,但直到最近,即使联盟中的所有单个CQ相对于相同的复杂性度量,也可以在这些时间范围内解决UCQ。我们的目标是了解是否存在其他可进行的UCQ,而当前已知的算法不涵盖。作为第一步,我们证明,使用经典的3sum假设很难通过图形中的3sum降低到三角形列表,因此很难使用经典的3sum假设。作为第二步,我们确定了有关该图任务变体的问题,如果我们要对所有无自结合的UCQ进行分类,则不可避免地是不可避免的:是否有可能在线性时间以线性时间来确定三角形的存在?我们证明,这项任务在硬度上与某些UCQ家族相当。最后,如果我们假设这个问题的答案为负面,我们显示了两个无自结合CQ的工会的二分法。总之,本文以单个决策问题的形式指出了计算障碍,这是我们对许多UCQ的枚举复杂性的理解的关键。如果没有对三角形检测的突破,我们没有希望找到有效的两个无自结合CQ的工会的有效算法。另一方面,对于目前尚不知道的UCQ家族而言,可以将足够有效的不平衡三角检测算法变成有效的算法。
We study the enumeration of answers to Unions of Conjunctive Queries (UCQs) with optimal time guarantees. More precisely, we wish to identify the queries that can be solved with linear preprocessing time and constant delay. Despite the basic nature of this problem, it was shown only recently that UCQs can be solved within these time bounds if they admit free-connex union extensions, even if all individual CQs in the union are intractable with respect to the same complexity measure. Our goal is to understand whether there exist additional tractable UCQs, not covered by the currently known algorithms. As a first step, we show that some previously unclassified UCQs are hard using the classic 3SUM hypothesis, via a known reduction from 3SUM to triangle listing in graphs. As a second step, we identify a question about a variant of this graph task that is unavoidable if we want to classify all self-join-free UCQs: is it possible to decide the existence of a triangle in a vertex-unbalanced tripartite graph in linear time? We prove that this task is equivalent in hardness to some family of UCQs. Finally, we show a dichotomy for unions of two self-join-free CQs if we assume the answer to this question is negative. In conclusion, this paper pinpoints a computational barrier in the form of a single decision problem that is key to advancing our understanding of the enumeration complexity of many UCQs. Without a breakthrough for unbalanced triangle detection, we have no hope of finding an efficient algorithm for additional unions of two self-join-free CQs. On the other hand, a sufficiently efficient unbalanced triangle detection algorithm can be turned into an efficient algorithm for a family of UCQs currently not known to be tractable.