[Paper Review] G-thinker: Big Graph Mining Made Easier and Faster
G-thinker is a distributed graph mining framework designed for computation-intensive subgraph finding tasks, such as graph matching and clique detection, by enabling subgraph-centric programming and efficient, memory-bounded execution with minimal communication. It achieves orders-of-magnitude speedup over existing systems like Pregelix and Arabesque, scaling to graphs two orders of magnitude larger under the same hardware constraints.
This paper proposes a general system for compute-intensive graph mining tasks that find from a big graph all subgraphs that satisfy certain requirements (e.g., graph matching and community detection). Due to the broad range of applications of such tasks, many single-threaded algorithms have been proposed. However, graphs such as online social networks and knowledge graphs often have billions of vertices and edges, which require distributed processing in order to scale. Unfortunately, existing distributed graph processing systems such as Pregel and GraphLab are designed for data-intensive analytics, and are inefficient for compute-intensive graph mining tasks since computation over any data is coupled with the data's access that involves network transmission. We propose a distributed graph mining framework, called G-thinker, which is designed for compute-intensive graph mining workloads. G-thinker provides an intuitive graph-exploration API for the convenient implementation of various graph mining algorithms, and the runtime engine provides efficient execution with bounded memory consumption, light network communication, and parallelism between computation and communication. Extensive experiments were conducted, which demonstrate that G-thinker is orders of magnitude faster than existing solution, and can scale to graphs that are two orders of magnitude larger given the same hardware resources.
Motivation & Objective
- Address the inefficiency of existing data-intensive distributed graph systems (e.g., Pregel, GraphLab) in handling computation-intensive subgraph mining workloads.
- Overcome the limitations of vertex-centric models in expressing subgraph-centric algorithms naturally and efficiently.
- Enable scalable, high-performance execution of subgraph finding tasks (e.g., graph matching, clique detection) on billion-edge graphs using bounded memory and low network I/O.
- Provide a user-friendly, subgraph-centric programming interface that supports backtracking and incremental subgraph exploration without materializing subgraphs.
- Minimize redundant data transmission and storage by allowing subgraphs sharing common vertices to co-locate and share vertex information (e.g., adjacent edges).
Proposed method
- Introduce a subgraph-centric programming model that allows developers to express algorithms using backtracking and incremental subgraph construction, similar to serial algorithms.
- Design a runtime engine that decouples computation from data access, enabling parallelism between computation and communication.
- Implement a task scheduling mechanism that streams subgraphs from disk and maintains bounded memory usage via buffer and cache management (T_cache, task buffer).
- Use a novel LSH-Queue data structure to organize subgraph tasks for near-sequential disk I/O, reducing random access overhead.
- Enable subgraphs on the same machine to share vertex data (e.g., adjacent edges) via a vertex cache (T_cache), minimizing redundant network transfers.
- Avoid global synchronization by allowing independent, asynchronous processing of subgraph tasks across machines, improving load balancing and fault tolerance.
Experimental results
Research questions
- RQ1Can a distributed graph mining system achieve significant performance gains over data-intensive frameworks for computation-intensive subgraph finding workloads?
- RQ2How can subgraph-centric programming be efficiently supported in a distributed environment without materializing subgraphs?
- RQ3To what extent can bounded memory usage and reduced network I/O be achieved in large-scale subgraph mining?
- RQ4How does the system scale with increasing graph size and hardware resources compared to existing systems?
- RQ5What role do system parameters like buffer capacity and vertex cache size play in performance?
Key findings
- G-thinker achieved orders-of-magnitude speedup over Pregelix and Arabesque on graph matching, completing the task on the YouTube graph in ~20 seconds, while both systems failed due to memory or disk overflow.
- For triangle counting, G-thinker was significantly faster than both Arabesque and Pregelix, completing the task on Friendster in 78 seconds, compared to 1986 seconds for NScale on a 16-node cluster.
- G-thinker scaled well with both vertical (increasing workers per machine) and horizontal (increasing number of machines) scaling, especially for highly computation-intensive workloads like graph matching.
- The system’s performance was most sensitive to buffer capacity and T_cache size, with optimal performance achieved at buffer capacity ≥10^4 and larger T_cache, though performance remained stable across a wide range of parameter values.
- LSH-Queue reduced random disk I/O and improved performance for computation-heavy tasks, while stream-queue was more efficient for lighter workloads due to lower overhead.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.