Personalized Graph Summarization: Formulation, Scalable Algorithms, and Applications

Shinhwan Kang, Kyuhan Lee, Kijung Shin · DOI

Abstract

This paper introduces Personalized Graph Summarization, a technique that compresses massive graphs while prioritizing accuracy around specific "target" nodes of interest. We propose PEGASUS, a linear-time algorithm that scales to graphs with a billion edges and enables "communication-free" distributed query answering by providing each machine with a summary tailored to its local workload.

Introduction

As real-world graphs such as social networks and web crawls explode in size, they often exceed the main memory capacity of a single machine. Traditional graph summarization addresses this by merging similar nodes into "supernodes" and connections into "superedges," creating a lossy but compact representation.

However, standard summarization treats every node equally. In reality, users often care more about the "neighborhood" around them—a concept rooted in Tobler’s First Law of Geography: "Everything is related to everything else, but near things are more related than distant things." This paper formalizes this intuition, aiming to minimize reconstruction error where it matters most to the user. By defining error as a weighted sum where weights decay exponentially with distance from target nodes, the optimization naturally allocates its limited bit-budget to the most relevant parts of the graph.

Conceptual overview of personalized summarization: focusing accuracy on node u vs. node v.

The PEGASUS Algorithm

The proposed PEGASUS (Personalized Graph Summarization with Scalability) algorithm follows a greedy pipeline designed for efficiency and accuracy:

  1. Candidate Generation: To avoid $O(N^2)$ comparisons, PEGASUS uses shingling (Locality Sensitive Hashing) to group nodes with similar connectivity.
  2. Greedy Merging & Addition: Within groups, it merges supernodes that maximize relative cost reduction. This approach prevents the algorithm from prematurely merging important local nodes just because a distant, low-weight region offers a larger absolute error reduction.
  3. Adaptive Thresholding: The algorithm dynamically adjusts a threshold to balance exploration and exploitation during the merging process.
  4. Sparsification: If the summary still exceeds the memory budget, it greedily drops the least important superedges.

Experimental Evaluation

We evaluated PEGASUS on six diverse real-world datasets (LastFM-Asia, Caida, Skitter, DBLP, Amazon0601, and Wikipedia) and a massive 1-billion edge synthetic graph.

Key Results

  • Higher Accuracy: For target nodes, PEGASUS answered similarity queries (Random Walk with Restart, Shortest Path) up to 4.1x more accurately than non-personalized state-of-the-art methods like SSUMM.
  • Linear Scalability: The algorithm's runtime scales linearly with the number of edges. It successfully summarized a 1-billion edge graph in roughly 10 hours on a standard desktop—a feat many competing algorithms could not achieve due to memory or time limits.
  • Effective Distribution: In distributed settings, PEGASUS enables "communication-free" processing. By giving every machine a summary of the entire graph personalized to its local nodes, machines can answer complex queries locally without network I/O. This reduced query error by over 2x compared to standard graph partitioning.
Effectiveness of PEGASUS: 4.1x reduction in personalized reconstruction error compared to non-personalized methods.

Conclusion

PEGASUS provides a scalable and effective solution for personalized graph summarization. By prioritizing local accuracy, it allows for high-fidelity query answering on massive graphs within limited memory constraints. Future work may involve extending this personalization to dynamic graphs or exploring automated selection of personalization parameters.

Summary updated

BibTeX
@inproceedings{kang2022personalized,
  author = {Shinhwan Kang and Kyuhan Lee and Kijung Shin},
  title = {{Personalized Graph Summarization: Formulation, Scalable Algorithms, and Applications}},
  booktitle = {ICDE},
  year = {2022},
  doi = {10.1109/icde53745.2022.00219},
}
Figure