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.
The PEGASUS Algorithm
The proposed PEGASUS (Personalized Graph Summarization with Scalability) algorithm follows a greedy pipeline designed for efficiency and accuracy:
- Candidate Generation: To avoid $O(N^2)$ comparisons, PEGASUS uses shingling (Locality Sensitive Hashing) to group nodes with similar connectivity.
- 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.
- Adaptive Thresholding: The algorithm dynamically adjusts a threshold to balance exploration and exploitation during the merging process.
- 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.
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