Non-backtracking PageRank

Francesca Arrigo, Desmond J. Higham, Vanni Noferini

Abstract

Standard PageRank algorithms model a random walker that can immediately return to a previously visited node, a behavior known as "backtracking." While effective for the web, this behavior is often unrealistic for physical systems like transportation networks or social flows. This paper introduces Non-backtracking PageRank (NBPR), a novel centrality measure that prevents these "U-turns." By shifting the analysis from node-space to edge-space using the Hashimoto matrix, the authors develop a framework that is both physically more intuitive and, in many cases, computationally faster than the standard approach.

Introduction

Centrality measures are fundamental tools in network science used to identify the most influential or "important" nodes in a system. PageRank, the algorithm that powered early Google search, models a "random surfer" who follows links or teleports to a random page. Mathematically, this is a Markov chain where a walker can move from node $i$ to node $j$ and then immediately back to $i$.

In many real-world applications, however, these backtracking steps are considered "unproductive" walks that can artificially inflate the importance of certain nodes—particularly those at the end of a single reciprocated edge. For example, in a transportation network, a vehicle rarely enters an intersection only to immediately turn around and return the way it came. The challenge in preventing such behavior lies in the memory requirement: a non-backtracking walker must "remember" its previous step, which traditionally increases the computational complexity of the problem.

Methodology

The authors address the memory problem by moving the analysis from the primal graph (nodes and edges) to the dual graph (or line graph), where the edges of the original network become the nodes of the new system.

The Hashimoto Matrix ($B$)

The core of the approach is the Hashimoto matrix, an $m \times m$ matrix (where $m$ is the number of edges). An entry in $B$ is 1 if two edges are consecutive but do not form a backtracking walk, and 0 otherwise. By defining PageRank on this edge-space, the non-backtracking constraint is naturally incorporated because the state space itself is defined by transitions between edges.

Projection and Optimization

To return to a standard node-based ranking, the authors project the steady-state vector of the edge-space back onto the original nodes using a "source matrix" $L$. Recognizing that an $m \times m$ matrix can be prohibitively large for massive networks, the authors derived an explicit representation of the algorithm that avoids forming $B$ directly. Instead, they decompose the operation into sparse matrix-vector multiplications. This allows the use of efficient iterative solvers like GMRES, exploiting the underlying network structure for speed.

Experimental Evaluation

The authors evaluated NBPR on four real-world road networks where non-backtracking is a natural physical constraint: Birmingham (UK), Philadelphia (USA), Austin (USA), and the Federal State of Hesse (Germany). In these networks, edges represent roads and nodes represent intersections.

Key Insights

  • Regularity Nullifies the Effect: The authors proved that for undirected, $k$-regular graphs (where every node has the same number of neighbors), NBPR produces the exact same ranking as standard PageRank. The new measure only reveals its unique properties in "messy," non-regular real-world networks.
  • Handling "Dangling" Structures: The paper provides a rigorous mathematical framework to handle nodes with no outgoing edges (dangling nodes) or nodes with only one reciprocated edge (dangling edges), ensuring the algorithm is robust for real-world data.
  • Computational Efficiency: Counter-intuitively, even though the edge-space is larger than the node-space, the non-backtracking version can be faster. In the Philadelphia network, NBPR was computed in 0.127 seconds, compared to 4.71 seconds for standard PageRank. This is because the Hashimoto-based system can be more sparse and better-conditioned for iterative solvers.

Results and Discussion

While NBPR correlates strongly with standard PageRank (Pearson coefficients between 0.81 and 0.94), the top-ranked nodes differ significantly. In the Birmingham dataset, the top-10 lists for the two methods shared only 8 nodes. Qualitatively, NBPR filters out "noise" at the bottom of the ranking by assigning identical scores to "source nodes" and "reciprocated leaves," which standard PageRank might otherwise differentiate.

As with many centrality measures, there is no absolute "ground truth," but the authors argue that NBPR is more logical for transport and flow-based systems. Future work may explore "Personalized Non-backtracking PageRank" using non-uniform teleportation distributions or apply the framework to citation and social interaction graphs where backtracking is similarly undesirable.

Summary updated

BibTeX
@article{arrigo2019non,
  author = {Francesca Arrigo and Desmond J. Higham and Vanni Noferini},
  title = {{Non-backtracking PageRank}},
  journal = {J. Sci. Comput.},
  year = {2019},
  doi = {10.1007/s10915-019-00981-8},
}
Figure