TL;DR
SLUGGER introduces a novel hierarchical graph summarization model that compresses massive graphs by allowing supernodes to be nested within one another. This approach yields up to 29.6% better compression than state-of-the-art flat summarization methods while maintaining exact, lossless recovery. Crucially, the algorithm scales linearly with the number of edges, making it capable of processing web-scale graphs with nearly a billion edges.
What Problem Does This Paper Address?
Graph summarization is a powerful technique for compressing massive graphs (such as social networks or web hyperlinks) by grouping similar nodes into "supernodes" and representing connections between them. However, traditional approaches assume supernodes are strictly disjoint (flat).
Real-world graphs naturally exhibit hierarchical structures—for instance, individuals belong to a research group, which is part of a department, which is part of a university. Forcing these nested relationships into flat, disjoint groups limits compression efficiency. The authors tackle this gap by designing a lossless summarization model that natively supports hierarchical, nested supernodes, allowing for much tighter compression without losing any structural information.
Methods
The authors propose the Hierarchical Graph Summarization Model, which represents a graph using three types of edges:
- Hierarchy edges (h-edges): Define the nesting structure of the supernodes.
- Positive edges (p-edges): Denote full connectivity between supernodes.
- Negative edges (n-edges): Act as corrections or exceptions where edges do not exist.
To find the most compact representation under this model, they introduce SLUGGER (Scalable Lossless Summarization of Graphs with Hierarchy), a randomized greedy heuristic consisting of three main phases:
- Candidate Generation: Uses min-hashing and shingling to quickly group root nodes within a distance of 2 into small candidate pools. This avoids an expensive $O(|R|^2)$ pairwise comparison of all nodes.
- Greedy Merging with Memoization: Iteratively merges supernodes to minimize encoding costs. To make this computationally feasible, SLUGGER updates encodings locally. It utilizes a pre-calculated look-up table (memoization) for all possible input/output configurations of up to 10 local supernodes, reducing the local search time to a constant $O(1)$ lookup.
- Pruning: A lossless post-processing step that removes redundant internal or root supernodes that do not contribute to a more succinct encoding.
Datasets
The method was evaluated on 16 real-world graphs spanning various domains:
- Internet/Hyperlinks: Caida, CNR-2000, Skitter, EU-05, IC-04, UK-02, UK-05
- Social Networks: Ego-Facebook, Youtube, Eswiki-13, LiveJournal
- Collaboration/Co-purchase: DBLP, Amazon0601, Hollywood
- Biological: Protein (PR)
- Email: Email-Enron
The largest dataset, UK-05, contains approximately 39.5 million nodes and 783 million edges. No new benchmarks were introduced.
Key Insights and Ideas
- Expressive Power of Nesting: The authors mathematically prove that a hierarchical model can be strictly more concise than a flat model. In certain structured graphs, flat models require polynomial edge representations ($\mathcal{O}(n^{1.5})$ or $\mathcal{O}(n^2)$), whereas the hierarchical model can represent them sub-linearly.
- Local Complexity to Constant Time: While finding an optimal hierarchical structure is globally complex, limiting structural updates to immediate parents and children bounds the local problem size to a maximum of 10 supernodes. This allows the authors to pre-compute and memoize the optimal choices, turning a potentially slow greedy search into a highly efficient linear-time operation.
- Query-Friendly Compression: Because the representation consists of structured trees and edge lists, the neighbors of any given node can be retrieved on-the-fly via partial decompression without restoring the entire graph. This allows standard graph algorithms like PageRank or Depth First Search (DFS) to run directly on the compressed data.
Key Results
- Superior Compactness: SLUGGER achieved the most concise representation across all 16 datasets. Notably, it provided a 29.6% smaller representation than the best flat competitor (SWEG) on the Protein dataset.
- Linear Scalability: The execution time scales linearly ($\mathcal{O}(|E|)$) with the number of edges. SLUGGER successfully compressed the 0.8-billion-edge UK-05 dataset in a few hours, whereas most state-of-the-art competitors failed due to out-of-memory or out-of-time (>24 hours) errors.
Limitations and Future Work
- Theoretical Hardness: The exact computational complexity (e.g., NP-hardness) of both the flat lossless graph summarization problem and this new hierarchical variant remains an open theoretical question.
- Trade-off in Merge Speed: Although SLUGGER shares the same asymptotic time complexity ($\mathcal{O}(T \cdot |E|)$) as flat methods like SWEG, it can be practically slower per iteration. This is because SLUGGER dynamically encodes and evaluates local edge changes during the merging phase, whereas flat methods typically defer encoding until after all merges are finalized.
Summary updated