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 -step random walk on a graph where the input edges come from a single-pass stream. The straightforward algorithm using reservoir sampling needs words of memory. We show that this space complexity is near-optimal for directed graphs. For undirected graphs, we prove an -bit space lower bound, and give a near-optimal algorithm using words of space with simulation error (defined as the -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.
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