English

Walking Randomly, Massively, and Efficiently

Data Structures and Algorithms 2019-11-07 v4 Distributed, Parallel, and Cluster Computing

Abstract

We introduce a set of techniques that allow for efficiently generating many independent random walks in the Massive Parallel Computation (MPC) model with space per machine strongly sublinear in the number of vertices. In this space-per-machine regime, many natural approaches to graph problems struggle to overcome the Θ(logn)\Theta(\log n) MPC round complexity barrier. Our techniques enable breaking this barrier for PageRank---one of the most important applications of random walks---even in more challenging directed graphs, and for approximate bipartiteness and expansion testing. In the undirected case, we start our random walks from the stationary distribution, which implies that we approximately know the empirical distribution of their next steps. This allows for preparing continuations of random walks in advance and applying a doubling approach. As a result we can generate multiple random walks of length ll in Θ(logl)\Theta(\log l) rounds on MPC. Moreover, we show that under the popular 1-vs.-2-Cycles conjecture, this round complexity is asymptotically tight. For directed graphs, our approach stems from our treatment of the PageRank Markov chain. We first compute the PageRank for the undirected version of the input graph and then slowly transition towards the directed case, considering convex combinations of the transition matrices in the process. For PageRank, we achieve the following round complexities for damping factor equal to 1ϵ1 - \epsilon: * in O(loglogn+log1/ϵ)O(\log \log n + \log 1 / \epsilon) rounds for undirected graphs (with O~(m/ϵ2)\tilde O(m / \epsilon^2) total space), * in O~(log2logn+log21/ϵ)\tilde O(\log^2 \log n + \log^2 1/\epsilon) rounds for directed graphs (with O~((m+n1+o(1))/polyϵ)\tilde O((m+n^{1+o(1)}) / poly\, \epsilon) total space).

Keywords

Cite

@article{arxiv.1907.05391,
  title  = {Walking Randomly, Massively, and Efficiently},
  author = {Jakub Łącki and Slobodan Mitrović and Krzysztof Onak and Piotr Sankowski},
  journal= {arXiv preprint arXiv:1907.05391},
  year   = {2019}
}
R2 v1 2026-06-23T10:18:52.967Z