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

合取查询并集的不平衡三角形检测与枚举难度

Unbalanced Triangle Detection and Enumeration Hardness for Unions of Conjunctive Queries

Karl Bringmann, Nofar Carmeli

AI总结:

本文研究合取查询并集(UCQs)答案的最优时间枚举,发现不平衡三角形检测的计算障碍是分类无自连接UCQs复杂度的关键,并基于3SUM假设证明了部分UCQs的困难性及两个无自连接CQs并集的二分法。

摘要:

我们研究在最优时间保证下对合取查询并集(UCQs)答案的枚举。更确切地说,我们希望识别出可以用线性预处理时间和常数延迟解决的查询。尽管该问题具有基础性质,但直到最近才表明,如果UCQs允许free-connex并集扩展,即使并集中的所有单个CQ在同一复杂度度量下都是难解的,它们也可以在这些时间界限内解决。我们的目标是理解是否存在当前已知算法未涵盖的额外可解UCQs。作为第一步,我们使用经典的3SUM假设,通过已知的从3SUM到图中三角形列出的归约,表明一些先前未分类的UCQs是困难的。作为第二步,我们确定了一个关于该图任务变体的问题,如果我们想分类所有无自连接UCQs,这个问题是不可避免的:是否可能在线性时间内判定顶点不平衡三分图中三角形的存在性?我们证明该任务在难度上等价于某些UCQs族。最后,如果我们假设对该问题的答案是否定的,我们展示了两个无自连接CQs并集的二分法。总之,本文以单一决策问题的形式精确定位了一个计算障碍,该问题是推进我们对许多UCQs枚举复杂性理解的关键。如果没有不平衡三角形检测的突破,我们就没有希望为额外的两个无自连接CQs并集找到高效算法。另一方面,一个足够高效的不平衡三角形检测算法可以转化为目前尚不知可解的UCQs族的高效算法。

英文摘要:

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.

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

↑