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

枚举 Graphlet:摊还时间复杂度与图规模无关

Enumerating Graphlets with Amortized Time Complexity Independent of Graph Size

Alessio Conte, Roberto Grossi, Yasuaki Kobayashi, Kazuhiro Kurita, Davide Rucci, Takeaki Uno, Kunihiro Wasa

AI总结:

针对图规模或最大度影响 graphlet 枚举单解成本的问题,本文提出摊还开销仅依赖阶 k 的枚举算法,实现 k-graphlet 的 O(k^2) 与 edge k-graphlet 的 O(k) 单解时间。

摘要:

图 G 中阶为 k 的 graphlet 是由 k 个节点诱导的连通子图(称为 k-graphlet),或由 k 条边诱导的连通子图(称为 edge k-graphlet)。它们是网络分析中值得关注的子图之一,可用于洞察网络的局部和全局结构。尽管已有若干用于发现和枚举 graphlet 的算法,但这类算法每个解的成本通常取决于图 G 的规模或其最大度。在真实网络中,即使是最大度也可能达到百万量级,而 k 通常要求是一个较小的值。本文提出首个列出图 G=(V,E) 中所有阶为 k 的 graphlet 的算法,其每个解的摊还成本仅取决于阶 k;这与以往方法不同,后者的成本还取决于 G 的规模或其最大度。具体而言,我们证明可以以每个解 O(k^2) 的时间列出 k-graphlet,并以每个解 O(k) 的时间列出 edge k-graphlet。此外,我们证明,如果输入图具有有界度,则列出 k-graphlet 的每个解成本可降至 O(k)。当 k=O(1) 时(实际情形中通常如此),这些算法是首批实现每个解常数时间的算法。

英文摘要:

Graphlets of order $k$ in a graph $G$ are connected subgraphs induced by $k$ nodes (called $k$-graphlets) or by $k$ edges (called edge $k$-graphlets). They are among the interesting subgraphs in network analysis to get insights on both the local and global structure of a network. While several algorithms exist for discovering and enumerating graphlets, the cost per solution of such algorithms typically depends on the size of the graph $G$, or its maximum degree. In real networks, even the latter can be in the order of millions, whereas $k$ is typically required to be a small value. In this paper we provide the first algorithm to list all graphlets of order $k$ in a graph $G=(V,E)$ with an amortized cost per solution depending \emph{solely} on the order $k$, contrarily to previous approaches where the cost depends \emph{also} on the size of $G$ or its maximum degree. Specifically, we show that it is possible to list $k$-graphlets in $O(k^2)$ time per solution, and to list edge $k$-graphlets in $O(k)$ time per solution. Furthermore we show that, if the input graph has bounded degree, then the cost per solution for listing $k$-graphlets is reduced to $O(k)$. Whenever $k = O(1)$, as it is often the case in practical settings, these algorithms are the first to achieve constant time per solution.

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

↑