Meeting times on graphs in near-cubic time

Abstract

The expected meeting time of two random walkers on an undirected graph of size N, where at each time step one walker moves and the process stops when they collide, satisfies a system of N2 linear equations. Na\"ively, solving this system takes O(N6) operations. However, this system of linear equations has nice structure in that it is almost a Sylvester equation, with the obstruction being a diagonal absorption constraint. We give a simple algorithm for solving this system that exploits this structure, leading to O(N4) operations and (N2) space for exact computation of all N2 meeting times. While this practical method uses only standard dense linear algebra, it can be improved (in theory) to O(N32N) operations by exploiting the Cauchy structure of the diagonal correction. We generalize this result slightly to cover the Poisson equation for the absorbing "lazy" pair walk with an arbitrary source, which can be solved at the same cost, with O(N3) per additional source on the same graph. We conclude with applications to evolutionary dynamics, giving improved algorithms for calculating fixation probabilities and mean trait frequencies.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…