arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.02183cs.DScs.DB
收藏

高效列出投影树,以及列出与枚举的等价性

Efficiently Listing Projected Trees, and Equivalence of Listing and Enumeration

ETH Zurich(苏黎世联邦理工学院);Saarland University(萨尔兰大学);Max Planck Institute for Informatics(马克斯·普朗克信息学研究所)

Karl Bringmann, Nick Fischer, Yanheng Wang

AI总结:

本文提出了首个在多项式预处理时间和多对数延迟下枚举投影树的算法,并证明了列出与枚举在自然假设下的等价性。

摘要:

子图同构问题及其推广(如投影节点的合取查询)是图算法和数据库理论中最基本的问题之一。本文研究了这些问题的列出和枚举变体,并给出了两个主要结果。(1)我们提出了首个在多项式预处理时间($\widetilde{O}(n^{17.42})$)和多对数延迟($\mathrm{polylog}(n)$)下枚举投影树的算法。在此之前,文献中所有算法都需要时间$Ω(n^{Ω(k)} + t)$或$t \cdot n^{Ω(1)}$来列出所有带投影的$k$节点树副本,其中$t$是解的数量。我们的结果推广到任意投影超图,实现了预处理时间$\widetilde{O}(m^{17.42 \cdot \mathrm{subw}(H)})$和多对数延迟的枚举,其中$\mathrm{subw}(H)$是模式超图$H$的子模宽度。我们严重依赖快速(矩形和输出敏感)矩阵乘法,并通过细粒度下界表明,任何优于时间$Ω(n^{Ω(k)} + t)$的算法都必须依赖快速矩阵乘法。(2)作为第二个主要结果,我们提出了一个通用的枚举到列出归约,证明了在自然假设下列出和枚举是等价的。对于(带颜色的)子图同构,我们的归约将任何运行时间为$O(f(n,m) + t \cdot g(n,m))$的列出算法转化为预处理时间$O((f(n,m)+g(n,m)+m) \log^2 n)$和延迟$O(g(n,m))$的枚举算法。我们利用这种等价性作为证明第一个主要结果的工具,并期望我们的通用归约将在未来得到许多应用。

英文摘要:

The subgraph isomorphism problem and its generalizations, such as conjunctive queries where some nodes are projected, are among the most fundamental problems in graph algorithms and database theory. In this paper, we study the listing and enumeration variants of these problems and present two main results. The first result is an algorithm for enumerating projected trees with preprocessing time $\widetilde{O}(n^{17.42})$ and delay $\mathrm{polylog}(n)$. Prior to this work, for trees on $k$ nodes all algorithms in the literature required preprocessing time $n^{Ω(k)}$ or delay $n^{Ω(1)}$ or assumed $ω=2$. Our result generalizes to arbitrary projected hypergraphs, achieving enumeration in preprocessing time $\widetilde{O}(m^{17.42 \, \mathrm{subw}(H)})$ and polylogarithmic delay, where $\mathrm{subw}(H)$ is the submodular width of the pattern hypergraph $H$. We heavily rely on fast (rectangular and output-sensitive) matrix multiplication, which we complement by fine-grained lower bounds indicating that any algorithm beating preprocessing time $n^{Ω(k)}$ with polylogarithmic delay must rely on fast matrix multiplication. The second result is a generic enumeration-to-listing reduction, establishing that listing and enumeration are equivalent under natural assumptions. For (colored) subgraph isomorphism, our reduction transforms any listing algorithm running in time $O(f(n,m) + t \cdot g(n,m))$ into an enumeration algorithm with preprocessing time $O\left( (f(n,m)+g(n,m)+n+m) \log^2 n \right)$ and delay $O(g(n,m))$. We utilize this reduction to prove our first main result, and we expect that our generic reduction will find many future applications.

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

↑