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

有向图上随机游动采样的近优两遍流算法

Near-Optimal Two-Pass Streaming Algorithm for Sampling Random Walks over Directed Graphs

Lijie Chen, Gillat Kol, Dmitry Paramonov, Raghuvansh Saxena, Zhao Song, Huacheng Yu

摘要:

对于具有$n$顶点和起始顶点$u_{\sf start}$的有向图$G$,我们希望使用仅在图的边缘上进行少量遍历的算法,以最小空间从$u_{\sf start}$开始(近似地)对$L$ -步随机游走进行采样。这个问题发现了许多应用程序,例如,在近似网页的PageRank。如果只允许一次遍历,则该问题的空间复杂度为$\tildeΘ(n \cdot L)$。在我们的工作之前,只有$\tilde{O}(\sqrt{L})$通道具有更好的空间复杂度。通过给出几乎匹配的上界和下界,我们解决了两遍流算法的随机游走模拟问题的空间复杂度,表明它是$\tildeΘ(n \cdot \sqrt{L})$。我们的下界参数扩展到每个常数次数的通过$p$,并表明,任何$p$ -通过这个问题的算法使用$\tildeΩ(n \cdot L^{1/p})$空间。此外,我们展示了一个类似的$\tildeΘ(n \cdot \sqrt{L})$约束的空间复杂度的任何算法(与任何数量的通行证)的相关问题的采样$L$步随机游走从图中的每个顶点。

英文摘要:

For a directed graph $G$ with $n$ vertices and a start vertex $u_{\sf start}$, we wish to (approximately) sample an $L$-step random walk over $G$ starting from $u_{\sf start}$ with minimum space using an algorithm that only makes few passes over the edges of the graph. This problem found many applications, for instance, in approximating the PageRank of a webpage. If only a single pass is allowed, the space complexity of this problem was shown to be $\tildeΘ(n \cdot L)$. Prior to our work, a better space complexity was only known with $\tilde{O}(\sqrt{L})$ passes. We settle the space complexity of this random walk simulation problem for two-pass streaming algorithms, showing that it is $\tildeΘ(n \cdot \sqrt{L})$, by giving almost matching upper and lower bounds. Our lower bound argument extends to every constant number of passes $p$, and shows that any $p$-pass algorithm for this problem uses $\tildeΩ(n \cdot L^{1/p})$ space. In addition, we show a similar $\tildeΘ(n \cdot \sqrt{L})$ bound on the space complexity of any algorithm (with any number of passes) for the related problem of sampling an $L$-step random walk from every vertex in the graph.

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

↑