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

基于边采样的任意子图计数的简单次线性时间算法

A Simple Sublinear-Time Algorithm for Counting Arbitrary Subgraphs via Edge Sampling

Sepehr Assadi, Michael Kapralov, Sanjeev Khanna

摘要:

在子图计数问题中,我们给定一个输入图$G(V, E)$和一个目标图$H$ ;目标是估计$H$在$G$中出现的次数。我们在这里的重点是设计次线性时间算法,用于近似计数$H$在$G$中的出现,在该算法被赋予查询访问$G$的设置。这个问题已经在最近的几篇论文中进行了研究,这些论文主要集中在特定的图族$H$上,例如三角形、团和星形。然而,不太了解近似计数任意图$H$。这与密切相关的子图枚举问题形成鲜明对比,后者在数据库社区中受到了极大的关注,如数据库连接问题。AGM界表明,在具有$m$边的图$G$中,任何任意子图$H$的最大出现次数是$O(m^{ρ(H)})$,其中$ρ(H)$是$H$的分数边覆盖,并且具有匹配运行时间的枚举算法对于任何$H$是已知的。我们通过设计一个子线性时间算法来弥合子图计数和子图枚举之间的差距,该算法可以估计$G$中任何任意子图$H$(用$\#H$表示)的数量,使其在$(1\pm ε)$ -近似值范围内。在$O(\frac{m^{ρ(H)}}{\#H}) \cdot poly(\log{n},1/ε)$时间。我们的算法是允许的一般图,即度查询,对查询和邻居查询的标准集,加上一个额外的边样本查询,返回随机均匀选择的边。我们的算法的性能与Eden等人的性能相匹配。[FOCS 2015,STOC 2018]用于计算三角形和团,并在边样本查询的附加假设下将其扩展到子图$H$的所有选择。我们进一步表明,我们的算法适用于更一般的数据库连接大小估计问题,并证明了这个问题的匹配下界。

英文摘要:

In the subgraph counting problem, we are given a input graph $G(V, E)$ and a target graph $H$; the goal is to estimate the number of occurrences of $H$ in $G$. Our focus here is on designing sublinear-time algorithms for approximately counting occurrences of $H$ in $G$ in the setting where the algorithm is given query access to $G$. This problem has been studied in several recent papers which primarily focused on specific families of graphs $H$ such as triangles, cliques, and stars. However, not much is known about approximate counting of arbitrary graphs $H$. This is in sharp contrast to the closely related subgraph enumeration problem that has received significant attention in the database community as the database join problem. The AGM bound shows that the maximum number of occurrences of any arbitrary subgraph $H$ in a graph $G$ with $m$ edges is $O(m^{ρ(H)})$, where $ρ(H)$ is the fractional edge-cover of $H$, and enumeration algorithms with matching runtime are known for any $H$. We bridge this gap between subgraph counting and subgraph enumeration by designing a sublinear-time algorithm that can estimate the number of any arbitrary subgraph $H$ in $G$, denoted by $\#H$, to within a $(1\pm ε)$-approximation w.h.p. in $O(\frac{m^{ρ(H)}}{\#H}) \cdot poly(\log{n},1/ε)$ time. Our algorithm is allowed the standard set of queries for general graphs, namely degree queries, pair queries and neighbor queries, plus an additional edge-sample query that returns an edge chosen uniformly at random. The performance of our algorithm matches those of Eden et.al. [FOCS 2015, STOC 2018] for counting triangles and cliques and extend them to all choices of subgraph $H$ under the additional assumption of edge-sample queries. We further show that our algorithm works for the more general database join size estimation problem and prove a matching lower bound for this problem.

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

↑