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

使用颜色和草图来计算流图中的子图

Using Colors and Sketches to Count Subgraphs in a Streaming Graph

Shirin Handjani, Douglas Jungreis, Mark Tiefenbruck

摘要:

假设我们希望估计$\#H$,即大型流图$G$中某个小图$H$的副本数。当$H$是三角形时,有许多算法可用于此任务,但只有少数算法适用于任意$H$。在这里,我们专注于一个这样的算法,这是介绍了凯恩,梅尔霍恩,Sauerwald,和太阳。其算法的每条边的存储和更新时间都是$O(m^k/(\#H)^2)$,其中$m$是$G$中的边数,$k$是$H$中的边数。在这里,我们提出了三个修改他们的算法,可以大大减少存储和更新时间。假设$H$没有叶子,而$G$有最大度$\leq m^{1/2 - α}$,其中$α> 0$。定义$C = \min(m^{2α},m^{1/3})$。然后在我们的算法版本中,每条边的更新时间是$O(1)$,存储量大约减少了一个因子$C^{2k-t-2}$,其中$t$是$H$中的顶点数;特别地,存储量是$O(C^2 + m^k/(C^{2k-t-2} (\#H)^2))$。

英文摘要:

Suppose we wish to estimate $\#H$, the number of copies of some small graph $H$ in a large streaming graph $G$. There are many algorithms for this task when $H$ is a triangle, but just a few that apply to arbitrary $H$. Here we focus on one such algorithm, which was introduced by Kane, Mehlhorn, Sauerwald, and Sun. The storage and update time per edge for their algorithm are both $O(m^k/(\#H)^2)$, where $m$ is the number of edges in $G$, and $k$ is the number of edges in $H$. Here, we propose three modifications to their algorithm that can dramatically reduce both the storage and update time. Suppose that $H$ has no leaves and that $G$ has maximum degree $\leq m^{1/2 - α}$, where $α> 0$. Define $C = \min(m^{2α},m^{1/3})$. Then in our version of the algorithm, the update time per edge is $O(1)$, and the storage is approximately reduced by a factor of $C^{2k-t-2}$, where $t$ is the number of vertices in $H$; in particular, the storage is $O(C^2 + m^k/(C^{2k-t-2} (\#H)^2))$.

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

↑