English

Simulating Random Walks on Graphs in the Streaming Model

Data Structures and Algorithms 2020-01-03 v1

Abstract

We study the problem of approximately simulating a tt-step random walk on a graph where the input edges come from a single-pass stream. The straightforward algorithm using reservoir sampling needs O(nt)O(nt) words of memory. We show that this space complexity is near-optimal for directed graphs. For undirected graphs, we prove an Ω(nt)\Omega(n\sqrt{t})-bit space lower bound, and give a near-optimal algorithm using O(nt)O(n\sqrt{t}) words of space with 2Ω(t)2^{-\Omega(\sqrt{t})} simulation error (defined as the 1\ell_1-distance between the output distribution of the simulation algorithm and the distribution of perfect random walks). We also discuss extending the algorithms to the turnstile model, where both insertion and deletion of edges can appear in the input stream.

Keywords

Cite

@article{arxiv.1811.08205,
  title  = {Simulating Random Walks on Graphs in the Streaming Model},
  author = {Ce Jin},
  journal= {arXiv preprint arXiv:1811.08205},
  year   = {2020}
}

Comments

To appear in ITCS 2019

R2 v1 2026-06-23T05:22:01.960Z