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

SLUGGER: Lossless Hierarchical Summarization of Massive Graphs

Kyuhan Lee, Jihoon Ko, Kijung Shin

Introduction

As global networks—from the World Wide Web to social media platforms—expand to encompass hundreds of billions of edges, traditional graph storage and processing methods face significant bottlenecks. Storing raw graph data often exceeds main memory capacity, necessitating slow disk or network I/O. Graph summarization offers a solution by grouping similar nodes into "supernodes" to describe connectivity concisely. However, most existing models are "flat," requiring supernodes to be disjoint. This ignores the inherent hierarchical structure of real-world networks, such as university departments containing research groups, which in turn contain individual labs.

SLUGGER (Scalable Lossless Summarization of Graphs with Hierarchy) is a novel framework designed to exploit this nested structure. By allowing supernodes to contain other supernodes, SLUGGER achieves superior lossless compression while maintaining the linear scalability required for massive datasets.

The Hierarchical Model and SLUGGER Algorithm

The core of SLUGGER is a hierarchical representation that uses three distinct edge types to describe a graph:

  1. P-edges (Positive): Define connectivity between supernodes.
  2. N-edges (Negative): Act as exceptions, removing edges that should not exist according to the supernode connections.
  3. H-edges (Hierarchy): Define parent-child relationships between supernodes.

An edge exists between two nodes if the net result of P-edges and N-edges across their respective supernode hierarchies indicates a connection.

The SLUGGER Process: Evolution of supernodes, hierarchy trees, and edge counts during summarization.

To efficiently find the most concise summary, the SLUGGER algorithm employs a randomized greedy approach based on three pillars:

  • Candidate Generation via Min-Hashing: To avoid the $O(N^2)$ complexity of comparing all node pairs, SLUGGER uses min-hashing (shingles) to identify nodes likely to benefit from merging.
  • Memoization: The algorithm pre-calculates and caches optimal encoding patterns for small groups of supernodes, significantly accelerating the merging process.
  • Iterative Pruning: After merging, SLUGGER removes supernodes that do not contribute to a reduction in the total edge count, ensuring the hierarchy remains efficient.

A key theoretical insight driving SLUGGER is the Distance-2 Constraint. The authors prove that merging nodes more than two hops apart in the original graph will always increase the encoding cost, allowing the algorithm to safely ignore the vast majority of potential merges.

Experimental Evaluation

The researchers evaluated SLUGGER against 16 real-world graphs, including social networks (Youtube, LiveJournal), web graphs (UK-05 with ~783 million edges), and biological networks.

Performance Summary: Relative output size and scalability of SLUGGER.

Key Results

  • Superior Compression: SLUGGER consistently outperformed state-of-the-art "flat" summarization methods. On the Protein-interaction (PR) dataset, it achieved a representation 29.6% smaller than the previous best method, SWeG.
  • Linear Scalability: As shown in the performance summary, SLUGGER’s execution time scales linearly with the number of edges ($O(|E|)$). This efficiency allowed it to process the massive UK-05 graph, while many competitors failed due to memory limits or timeouts.
  • Operational Efficiency: Because the output is a hierarchical graph, standard algorithms like PageRank can run directly on the summary using on-the-fly partial decompression, often outperforming execution on the raw graph.

Conclusion and Future Work

SLUGGER demonstrates that embracing hierarchy is a "compression multiplier" for graph summarization. While the current greedy heuristic provides impressive results, future work could explore theoretical bounds on the minimum encoding cost. Additionally, extending this hierarchical approach to dynamic graphs—where edges are constantly added or deleted—and weighted graphs remains a promising direction for research in large-scale network analysis.

Summary updated

BibTeX
@inproceedings{lee2021slugger,
  author = {Kyuhan Lee and Jihoon Ko and Kijung Shin},
  title = {{SLUGGER: Lossless Hierarchical Summarization of Massive Graphs}},
  booktitle = {ICDE},
  year = {2021},
  doi = {10.1109/icde53745.2022.00040},
}
Figure