NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Effective and Efficient PageRank-based Positioning for Graph Visualization

Shiqi Zhang, Renchi Yang, Xiaokui Xiao, Xiao Yan, Bo Tang

TL;DR

This paper introduces PDist, a novel node distance metric for graph visualization that leverages Personalized PageRank (PPR) to capture richer structural information than traditional methods. They also propose Tau-Push, an efficient algorithm for computing PDist, enabling near real-time visualization of massive graphs with billions of edges.

What Problem Does This Paper Address?

Visualizing large, complex graphs is crucial for understanding relationships in data across various domains like social networks, web analysis, and bioinformatics. A key challenge is determining how to position nodes on a screen to best represent the underlying graph structure while maintaining visual clarity. Existing methods often fall short in two main areas:

  1. Effectiveness: Traditional node distance measures (like shortest path or direct linkage) fail to capture higher-order structural information, leading to cluttered visualizations with overlapping nodes and distorted edges.
  2. Efficiency: Visualizing large graphs is computationally expensive. Many existing methods struggle with scalability, requiring excessive time for distance computation and layout generation, making interactive exploration difficult.

The authors aim to bridge this gap by developing a more informative node distance metric and a highly efficient algorithm to compute it, thereby improving both the quality and speed of graph visualization.

Methods

The core contributions of this paper are:

  • PDist (PageRank-based Distance): This new node distance metric is inspired by Personalized PageRank (PPR), a measure of node proximity based on random walks. PDist enhances PPR by incorporating node degrees and symmetry, and applying transformations and truncation to optimize it for visualization. This aims to better reflect graph structure and improve aesthetic criteria.
  • Tau-Push Algorithm: This is an efficient algorithm designed to approximate PDist. It employs a "filter-refinement" paradigm that combines:
  • Grouped Forward Push (GFP): An optimized forward push that processes multiple source nodes simultaneously.
  • DPR-guided Termination: It uses the Degree-Normalized PageRank (DPR) of supernodes to filter out nodes that are unlikely to significantly impact the final PDist, thus avoiding unnecessary computations.
  • Grouped Backward Push (GBP): An efficient backward push mechanism to refine PDist estimations for the remaining critical nodes.

The paper also discusses extensions for multi-level visualization, where PDist is computed between "supernodes" (groups of nodes) to enable hierarchical exploration of large graphs.

Datasets

The authors evaluated their approach on 12 real-world graphs, including:

  • Smaller graphs (for visualization quality): TwEgo, FbEgo, Wiki-ii, Physician, FilmTrust, SciNet.
  • Larger graphs (for efficiency): Amazon, Youtube, Orkut, DBLP, It-2004, Twitter.

These datasets represent various domains such as social networks, collaboration networks, and web graphs. No new benchmarks were introduced; existing datasets were used to compare against state-of-the-art methods.

Key Insights and Ideas

  • PPR's Potential for Visualization: The paper highlights that PPR, a well-established measure of node proximity, can be effectively adapted for graph visualization by carefully transforming and normalizing it. This moves beyond simple shortest-path distances to capture more nuanced relationships.
  • The Trade-off in Multi-level Visualization: While multi-level methods are essential for large graphs, computing distances between supernodes is a bottleneck. The paper shows that naive approaches (like averaging leaf node distances or using weighted edges between supernodes) are insufficient, necessitating a more sophisticated metric like PDist.
  • DPR as a "Filter" for Efficiency: The insight that nodes with low DPR are less critical for accurate PDist estimation is key to Tau-Push's efficiency. This allows the algorithm to focus computational effort on the most important parts of the graph.
  • Bidirectional Approach for Speed: Combining forward and backward push operations in Tau-Push is crucial. This allows the algorithm to quickly estimate distances for most nodes and then refine only the necessary ones, significantly reducing computation time compared to purely forward or purely random-walk-based methods.

Key Results

  • Visualization Quality: PPRviz (the system built on PDist and Tau-Push) consistently outperformed 13 state-of-the-art graph visualization solutions on 12 real-world graphs in terms of aesthetic criteria (ND and ULCV scores) and user feedback.
  • Efficiency:
    • PPRviz can produce satisfactory visualizations for billion-edge graphs within one second.
  • It is orders of magnitude faster than competing methods, especially for large graphs. For instance, on the Twitter graph (3 billion edges), PPRviz took 0.63 seconds, while others failed to finish within 1000 seconds.
  • The preprocessing time for PPRviz was also significantly faster than multi-level competitors like OpenOrd and KDraw.
  • User Study: Participants could not reliably distinguish between visualizations generated by the approximate PDist (Tau-Push) and a near-exact solution, indicating that the efficiency gains do not sacrifice perceived visualization quality.

Limitations and Future Work

  • Dynamic and Attributed Graphs: The current PDist and Tau-Push algorithms are designed for static, homogeneous graphs. Extending them to handle dynamic graphs (where edges and nodes change over time) or attributed graphs (where nodes/edges have properties) is a significant future challenge.
  • Knowledge Graphs: Visualizing knowledge graphs, which often have complex structures and attributes, is another area for future work. This would likely require new distance measures that consider both topology and attributes.
  • Theoretical Guarantees for Dynamic Settings: Developing PDist estimation algorithms with rigorous theoretical accuracy guarantees for dynamic graph scenarios is an open problem.

Summary updated

BibTeX
@article{zhang2023effective,
  author = {Shiqi Zhang and Renchi Yang and Xiaokui Xiao and Xiao Yan and Bo Tang},
  title = {{Effective and Efficient PageRank-based Positioning for Graph Visualization}},
  journal = {Proc. ACM Manag. Data},
  year = {2023},
  doi = {10.1145/3588930},
}
Figure