Introduction
Analyzing and visualizing massive graphs—such as social networks, web graphs, and recommendation systems—often results in either out-of-memory errors or incomprehensible "hairball" visualizations. Real-world graphs frequently contain hundreds of thousands of nodes and millions of edges. While previous systems attempted to solve this by recursively breaking graphs into hierarchical partitions, they often lost the relationship context between different clusters. This paper introduces GMine, a system that combines a novel hierarchical data structure called the Graph-Tree for macro-level navigation with a graph summarization algorithm (CEPS) for micro-level inspection.
Methodology
The authors integrate two primary methodologies into the GMine visual analytics framework to allow interactive exploration of millions of edges in sub-linear time.
SuperGraphs and the Graph-Tree
Instead of simple node grouping, GMine formalizes a structure that preserves cross-partition relationships. Nodes are grouped into SuperNodes, and edges between them are aggregated into SuperEdges.
The Graph-Tree structure propagates "open nodes" (nodes with edges pointing outside their partition) up the hierarchy. This allows the system to dynamically compute SuperNodes Connectivity (SNC)—finding all edges between arbitrary partitions—and Graph Nodes Connectivity (GNC)—finding all global connections of a single node—without loading the full graph into memory.
Center-Piece Subgraph (CEPS)
Even at the deepest level of the hierarchy, a single partition might contain hundreds of nodes, causing visual clutter. CEPS is a summarization algorithm that takes user-selected "query nodes" and a budget (e.g., max 40 nodes) to extract the most important paths connecting them. It uses Random Walk with Restart (RWR) to calculate a "goodness score" for nodes, ensuring the resulting subgraph captures the multi-faceted relationships between query nodes rather than just the shortest paths.
Datasets and Evaluation
The system was evaluated using both synthetic and real-world data:
- Synthetic Graphs: 18 generated graphs (up to 1,000,000 nodes and 20 million edges) were used to benchmark computational performance and memory consumption.
- DBLP Dataset: A co-authorship network containing 315,688 authors and 1,659,853 edges was used to demonstrate the visual environment and CEPS accuracy.
Key Results and Insights
- Efficiency: For GNC queries, the Graph-Tree scales logarithmically, $O(h)$, where $h$ is the tree height. It outperformed a highly optimized relational database (DB2) by nearly two orders of magnitude while using significantly less memory than traditional in-memory adjacency lists.
- Scalability: SNC computation scales linearly with the number of edges actually connecting the SuperNodes, avoiding the overhead of scanning the entire graph.
- Summarization Quality: In the DBLP dataset, a restricted CEPS subgraph of just 20 to 30 nodes successfully captured over 80% of the total "importance" (measured via RWR scores) of an entire 500-node community.
Conclusion
GMine demonstrates that hierarchical structures combined with intelligent summarization can overcome the "hairball" problem in large-scale graph analysis. By keeping the leaf subgraphs on disk and maintaining a hierarchical index in memory, the system achieves high performance with a low memory footprint. Future work includes optimizing the Graph-Tree for disk-native access and developing new large-scale algorithms that run directly over the SuperEdge representations.
Summary updated