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

环的快速近似计数

Fast Approximate Counting of Cycles

Keren Censor-Hillel, Tomer Even, Virginia Vassilevska Williams

AI总结:

本文提出有向图中三角形及任意固定长度环的快速近似计数算法,将三角形计数时间改进为与矩形矩阵乘法相当,并证明在细粒度假设下该时间最优。

摘要:

我们研究有向图中三角形及更长固定长度环的近似计数问题。对于三角形,Tětek [ICALP'22] 给出了一个算法,能在 $\tilde{O}(n^ω/t^{ω-2})$ 时间内返回 $(1 \pm \eps)$-近似,其中 $t$ 是给定 $n$ 节点图中未知的三角形数量,$ω<2.372$ 是矩阵乘法指数。我们得到一个改进算法,其运行时间在多重对数因子内与计算一个 $n\times n/t$ 矩阵乘以一个 $n/t \times n$ 矩阵的时间相同。随后我们将该框架扩展,首次得到图中 $h$-环数量的非平凡 $(1 \pm \eps)$-近似算法,适用于任意常数 $h\geq 3$。我们的运行时间为\n \\[\tilde{O}(\mathsf{MM}(n,n/t^{1/(h-2)},n)), \textrm{即计算 } n\times \frac{n}{t^{1/(h-2)}} \textrm{ 乘以 } \frac{n}{t^{1/(h-2)}}\times n \textrm{ 矩阵的时间}.\\]\n 最后,我们证明在流行的细粒度假设下,该运行时间是最优的。

英文摘要:

We consider the problem of approximate counting of triangles and longer fixed length cycles in directed graphs. For triangles, Tětek [ICALP'22] gave an algorithm that returns a $(1 \pm \eps)$-approximation in $\tilde{O}(n^ω/t^{ω-2})$ time, where $t$ is the unknown number of triangles in the given $n$ node graph and $ω<2.372$ is the matrix multiplication exponent. We obtain an improved algorithm whose running time is, within polylogarithmic factors the same as that for multiplying an $n\times n/t$ matrix by an $n/t \times n$ matrix. We then extend our framework to obtain the first nontrivial $(1 \pm \eps)$-approximation algorithms for the number of $h$-cycles in a graph, for any constant $h\geq 3$. Our running time is \[\tilde{O}(\mathsf{MM}(n,n/t^{1/(h-2)},n)), \textrm{the time to multiply } n\times \frac{n}{t^{1/(h-2)}} \textrm{ by } \frac{n}{t^{1/(h-2)}}\times n \textrm{ matrices}.\] Finally, we show that under popular fine-grained hypotheses, this running time is optimal.

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

↑