Derandomizing Directed Random Walks in Almost-Linear Time

Rasmus Kyng, Simon Meierhans, Maximilian Probst Gutenberg

Abstract

Solving directed Laplacian linear systems is a fundamental challenge in graph theory, traditionally requiring randomized algorithms for almost-linear time performance. This paper presents the first deterministic algorithm to achieve this, running in $m^{1+o(1)}$ time. The core innovation is a "$\beta$-partial symmetrization" technique that robustifies directed Eulerian graphs, allowing for the application of crude deterministic sparsification tools like expander decompositions. This result enables deterministic computation of PageRank, stationary distributions, and hitting times in almost-linear time.

Introduction

In graph theory, undirected Laplacian systems ($Lx = b$) have been efficiently solvable in nearly-linear time for nearly two decades. The symmetry and positive semi-definiteness of undirected Laplacians facilitate powerful spectral techniques. Directed graphs, however, possess asymmetric Laplacians that resist these methods. While randomized solvers using spectral sparsification were eventually developed, a deterministic almost-linear time solver remained elusive. This paper bridges that gap, providing a robust framework for derandomizing directed random walk computations.

Methodology

$\beta$-Partial Symmetrization

The primary technical hurdle in directed graphs is the lack of stability in asymmetric matrices. The authors introduce $\beta$-partial symmetrization to address this. For an Eulerian directed graph (where in-degree equals out-degree), they construct a new matrix by adding a scaled version of its "undirectification"—the graph where all edges are treated as undirected—to the original Laplacian.

Illustration of $\beta$-partial symmetrization, combining a directed graph $G_0$ with its undirectification $\mathcal{U}(G_0)$ to improve stability.

This process makes the graph "less directed" and more numerically stable, serving as a preconditioner that does not require the high-precision spectral approximations used in randomized approaches.

Crude Deterministic Sparsification

By robustifying the matrix through partial symmetrization, the authors can utilize "cruder" deterministic sparsification tools. Specifically, they employ expander decompositions, which would typically be too imprecise for directed spectral sparsification but are sufficient when the matrix has been stabilized.

The integration of expander decompositions for deterministic sparsification within the recursive solver framework.

Recursive Frameworks

The authors demonstrate that these techniques can derandomize two major algorithmic frameworks:

  1. Squaring-based: Improving the condition number by repeatedly squaring the adjacency matrix.
  2. Sparsified Cholesky: Maintaining sparsity during vertex elimination, similar to Gaussian elimination.

Results

The proposed algorithm achieves a runtime of $m^{1+o(1)} \log \epsilon^{-1}$, where $m$ is the number of edges and $\epsilon$ is the target precision. As a purely theoretical contribution, the efficiency is proven through rigorous mathematical analysis rather than empirical benchmarking. This breakthrough immediately provides the first deterministic almost-linear time algorithms for:

  • Computing stationary distributions of Markov chains.
  • Calculating Personalized PageRank vectors.
  • Determining hitting times and escape probabilities in directed random walks.

Discussion and Future Work

While this work represents a significant theoretical milestone, it has certain limitations. The algorithm's performance depends on the condition number ($\kappa$) of the matrix, which is linked to the graph's mixing time. Furthermore, the current "crude approximations" are not easily composable, requiring a recursive solver structure. Future research may explore extending these techniques to "small space" (low memory) deterministic solvers and addressing the inherent difficulties of using certain directed cycles as preconditioners.

Summary updated

BibTeX
@inproceedings{kyng2022derandomizing,
  author = {Rasmus Kyng and Simon Meierhans and Maximilian Probst Gutenberg},
  title = {{Derandomizing Directed Random Walks in Almost-Linear Time}},
  booktitle = {FOCS},
  year = {2022},
}
Figure