Instance-Optimality in PageRank Computation
Abstract
We study the problem of estimating a vertex's PageRank within a constant relative error, with constant probability. We prove that an adaptive variant of the simple classic bidirectional algorithm is instance-optimal up to a polylogarithmic factor for all directed graphs of order whose maximum in- and out-degrees are at most a constant fraction of . In other words, there is no correct algorithm that can be faster than our algorithm on any such graph by more than a polylogarithmic factor. We further extend the instance-optimality to all graphs in which at most a polylogarithmic number of vertices have unbounded degrees. This covers all sparse graphs with edges. In addition, we provide a counterexample showing that the bidirectional algorithm is not instance-optimal for graphs whose degrees are mostly equal to . We also consider weighted graphs and multigraphs. We show that the bidirectional algorithm is instance-optimal on \emph{all} multigraphs, but for weighted simple graphs, we have almost the same limitations as for unweighted simple graphs.
Cite
@article{arxiv.2512.16087,
title = {Instance-Optimality in PageRank Computation},
author = {Mikkel Thorup and Hanzhi Wang},
journal= {arXiv preprint arXiv:2512.16087},
year = {2026}
}