Nonlocal pagerank

Stefano Cipolla, Fabio Durastante, Francesco Tudisco

Abstract

In this work, we introduce and study a nonlocal version of PageRank. In our approach, the random walker explores the graph using longer excursions than just moving between neighboring nodes. As a result, the corresponding ranking of the nodes, which takes into account a long-range interaction between them, does not exhibit concentration phenomena typical of spectral rankings which take into account just local interactions. We show that the predictive value of the rankings obtained using our proposals is considerably improved on different real-world problems.

Introduction

Identifying influential nodes within a network is a cornerstone of network science, with applications ranging from search engine optimization to urban planning. While the PageRank algorithm has long served as the industry standard for determining node centrality, it is fundamentally constrained by its local nature. In the standard PageRank model, a random walker transitions only between immediate neighbors.

This locality frequently results in the "localization phenomenon," where importance scores concentrate excessively on a small subset of nodes. Such concentration makes the resulting rankings fragile—minor perturbations in the network topology, such as the addition or removal of a single edge, can lead to significant shifts in node importance. Furthermore, local models often fail to capture the meso-scale or global structural properties of the network.

Methodology: The Nonlocal Approach

To address these limitations, we propose a nonlocal transition matrix, $P_\alpha$. In this framework, the probability of a transition from node $i$ to node $j$ is governed by a distance function $\delta(i, j)$ and a decaying smoothing function $f_\alpha$. Unlike the binary neighbor/non-neighbor distinction in classical PageRank, our model allows every node a non-zero probability of being visited based on its relative distance in the graph.

The parameter $\alpha$ serves as a tunable "dial" for nonlocality. At high values of $\alpha$, the decay is sharp, and the model recovers standard PageRank behavior where only immediate neighbors significantly influence the score. Conversely, lower values of $\alpha$ encourage the random walker to perform long-range excursions, thereby incorporating the global topology into the centrality calculation. We also explore flexible distance metrics, including Logarithmic distance (based on the graph Laplacian) and a specialized "Metro distance" for transit networks.

Experimental Setup and Datasets

The efficacy of nonlocal PageRank was evaluated across a diverse array of synthetic and real-world datasets:

  • Social and Biological Networks: Including the Zachary karate club, word adjacencies in David Copperfield (adjnoun), and DNA electrophoresis data (cage9).
  • Infrastructure Networks: US air traffic (USAir97), European flight networks (EUair), and the Barcelona transportation system.
  • The "Tube" Dataset: A comprehensive multilayer network of the London Underground, integrating 13 layers (lines) with a decade of passenger usage data (2008–2017) to serve as a ground-truth benchmark.

Key Insights: Smoothing and Stability

One of the primary advantages of the nonlocal model is its ability to "smooth" the importance distribution. In standard PageRank, a few dominant nodes often obscure a more nuanced hierarchy. By spreading importance across the network, nonlocal PageRank reveals structural details previously buried in the noise of low-ranking scores.

Visualization of node importance distribution in a network using the nonlocal approach.

Furthermore, the model demonstrates superior mathematical stability. By considering the entire graph structure, the rankings become less sensitive to localized noise or minor edge modifications. This robustness is particularly valuable in real-world networks where data may be incomplete or noisy.

Results and Convergence

Empirical results highlight the predictive power of the nonlocal approach. In link prediction tasks, the model consistently outperformed standard PageRank in identifying missing connections by leveraging information from distant nodes. In the London Underground analysis, using a "Metro distance" that penalizes line changes—mimicking actual human behavior—yielded a ranking that matched the top 15 most-used stations with significantly higher accuracy than the local model.

Crucially, the nonlocal PageRank is a true generalization of the classical algorithm. As shown in our numerical experiments across various datasets, the ranking produced by the nonlocal model perfectly converges to the standard PageRank ranking as the parameter $\alpha$ increases.

Kendall tau correlation showing convergence of nonlocal PageRank to standard PageRank as alpha increases.

Limitations and Future Directions

The primary challenge for nonlocal PageRank is its computational overhead. Calculating all-pairs shortest paths for the distance matrix scales at $O(n^3)$, which is prohibitive for massive networks. Additionally, the resulting transition matrix is dense, unlike the sparse matrices used in standard PageRank, leading to increased memory and processing requirements during power iteration. Future research will focus on developing approximation methods and fast solvers to scale nonlocal PageRank to large-scale graphs.

Summary updated

BibTeX
@inproceedings{cipolla2020nonlocal,
  author = {Stefano Cipolla and Fabio Durastante and Francesco Tudisco},
  title = {{Nonlocal pagerank}},
  booktitle = {ESAIM},
  year = {2020},
  doi = {10.1051/m2an/2020071},
}
Figure