Means of Hitting Times for Random Walks on Graphs: Connections, Computation, and Optimization

Haisong Xia, Wanyue Xu, Zuobai Zhang, Zhongzhi Zhang · DOI

Introduction

In the study of complex networks, "hitting time"—the expected number of steps a random walker takes to reach a specific node or set of nodes—serves as a fundamental metric for assessing node importance and graph accessibility. Unlike traditional centrality measures that rely solely on shortest paths, hitting times incorporate the entire topology of the graph, offering a robust perspective for applications such as image segmentation, community detection, and recommendation systems.

Despite its utility, calculating hitting times has historically been computationally prohibitive. Exact calculation requires inverting the graph's Laplacian matrix or performing spectral decomposition, operations that scale at $O(n^3)$ for a graph with $n$ vertices. For modern "big data" networks containing millions of nodes and edges, these methods are effectively impossible. This paper addresses this bottleneck by introducing nearly linear-time algorithms for calculating hitting times and optimizing group selection in massive networks.

Theoretical Foundations

The authors begin by establishing a theoretical link between local node importance and global graph properties. They prove a direct linear relationship between Walk Centrality (a measure of how easily a node is reached) and the Kemeny Constant (a global metric representing the average connectivity of the entire graph). This connection provides a unified framework for understanding how individual nodes contribute to the overall efficiency of random walks across a network.

The ApproxHK Algorithm

To overcome the $O(n^3)$ complexity of matrix inversion, the researchers developed ApproxHK. This algorithm utilizes two key mathematical tools:

  1. Johnson-Lindenstrauss (JL) Lemma: This allows the projection of high-dimensional graph data into a significantly smaller space ($O(\log n)$ dimensions) while preserving the relative distances between points.
  2. SDD Solvers: By employing fast Symmetric Diagonally Dominant (SDD) solvers, the algorithm can estimate centralities in nearly linear time relative to the number of edges.

By combining dimensionality reduction with efficient solvers, ApproxHK provides a "sketch" of the graph's structure that is sufficient for high-accuracy centrality rankings without the need for the full Laplacian pseudoinverse.

Group Walk Centrality and Optimization

While identifying influential individual nodes is useful, many real-world problems—such as sensor placement or influencer marketing—require identifying the best group of $k$ nodes. The authors extend their framework to Group Walk Centrality (GWC).

A significant contribution of this work is the proof that GWC is monotonic and supermodular. In combinatorial optimization, supermodularity is a powerful property; it guarantees that a simple "greedy" selection strategy (iteratively picking the node that provides the best marginal gain) will yield a high-quality approximation for an otherwise NP-hard problem. The resulting algorithm, ApproxMinGWC, allows for the selection of influential node sets in networks that were previously too large to analyze.

Experimental Validation

The researchers validated their algorithms using 24 real-world datasets from the Koblenz Network Collection and SNAP, including social networks (Jazz musicians), infrastructure (roadNet-CA, $n=1.9M$), and web graphs (YouTube, $n=1.1M$). They also utilized mathematically generated model networks to compare approximations against exact theoretical values.

Key Findings:

  • Scalability: On the roadNet-CA network, ApproxHK produced results in approximately 4 minutes, whereas exact deterministic methods failed due to memory constraints. The ApproxMinGWC algorithm identified influential groups in massive networks in roughly 4 hours—a task that would traditionally take years.
  • Accuracy: The approximation error was consistently minimal, with mean relative errors often falling between $10^{-2}$ and $10^{-4}$, significantly outperforming theoretical worst-case guarantees.
  • Performance: The GWC selection method consistently outperformed common baselines such as PageRank, Degree Centrality, and Betweenness Centrality in identifying the most accessible node sets.

Conclusion and Future Directions

This research demonstrates that dimensionality reduction and greedy optimization can make complex random-walk metrics accessible for massive, real-world networks. By proving the supermodularity of Group Walk Centrality, the authors have turned a complex combinatorial problem into a manageable one with provable performance guarantees.

Future work remains in extending these nearly linear-time guarantees to directed graphs and dynamic networks. Currently, the core SDD solver benefits are most robust for undirected, weighted graphs. Adapting these techniques to live, changing data streams—such as social media feeds—remains a significant open challenge in the field.

Summary updated

BibTeX
@article{xia2025means,
  author = {Haisong Xia and Wanyue Xu and Zuobai Zhang and Zhongzhi Zhang},
  title = {{Means of Hitting Times for Random Walks on Graphs: Connections, Computation, and Optimization}},
  journal = {ACM Trans. Knowl. Discov. Data},
  year = {2025},
  doi = {10.1145/3708561},
}
Figure