TL;DR
This paper introduces Arabesque, a novel distributed graph mining system that shifts the paradigm from "think like a vertex" to "think like an embedding." It provides a high-level API that simplifies the development of scalable graph mining algorithms, enabling efficient exploration of massive graph datasets and offering significant performance improvements over existing approaches.
What Problem Does This Paper Address?
Graph mining, the task of discovering patterns within graph data, is crucial for fields like social network analysis, bioinformatics, and web analysis. However, traditional graph mining algorithms face significant scalability challenges. Input graphs can be enormous, leading to an exponential explosion of potential subgraphs (embeddings) that need to be explored. Existing distributed graph processing platforms like Pregel, designed for "vertex-centric" computations, are not well-suited for the combinatorial nature of graph mining. Centralized algorithms, while often optimized, struggle to scale to the massive datasets now common. This paper addresses the need for a distributed system that can efficiently and scalably handle the exploration of a vast number of graph embeddings for mining purposes.
Methods
Arabesque introduces a "Think Like an Embedding" (TLE) paradigm, contrasting with the "Think Like a Vertex" (TLV) of systems like Pregel. Its core is a filter-process computational model. Applications define two functions: filter (to prune embeddings) and process (to extract information). Arabesque automates the distributed exploration of embeddings, passing them to these functions.
Key novelties include:
- Embedding Canonicality: A coordination-free mechanism to avoid redundant work by identifying and selecting a single "canonical" representation among automorphic embeddings. This is crucial for distributed efficiency.
- Overapproximating Directed Acyclic Graphs (ODAGs): A novel data structure for compactly storing and representing sets of embeddings, significantly reducing memory footprint compared to storing individual embeddings.
- Two-Level Pattern Aggregation: An optimization that first uses "quick patterns" (derived from vertex/edge labels) for local aggregation, drastically reducing the number of expensive graph isomorphism checks needed for full pattern canonicalization.
- High-Level API: A simplified API that abstracts away the complexities of distributed execution, making it easier for researchers to develop and deploy graph mining algorithms.
Arabesque is implemented as a layer on top of Apache Giraph, leveraging its BSP model for distributed computation.
Datasets
The authors evaluated Arabesque on six real-world datasets:
- CiteSeer: Publications as vertices, citations as edges, CS area as labels.
- MiCo: Authors as vertices, co-authorship as edges, field of interest as labels.
- Patents: US Patents, citation edges, grant year as labels.
- Youtube: Video IDs as vertices, related videos as edges, rating/length as labels.
- SN: A snapshot of a social network (not publicly available).
- Instagram: A snapshot of a popular photo/video sharing network.
Key Insights and Ideas
- "Think Like an Embedding" is Key: The core insight is that graph mining problems are fundamentally about exploring embeddings, and a system designed around this concept can be far more efficient than vertex-centric approaches.
- Canonicality is a Distributed Enabler: The coordination-free canonicality check is a critical innovation, allowing distributed workers to prune redundant work without expensive global coordination.
- ODAGs: Space vs. Time Trade-off: ODAGs offer significant memory compression, enabling the processing of much larger graphs. While they introduce some computational overhead for filtering spurious paths, the overall benefit in memory reduction is substantial.
- Two-Level Aggregation is a Game Changer: The two-level pattern aggregation significantly reduces the computational bottleneck of graph isomorphism checks, which is often the most expensive part of graph mining.
- Generality and Simplicity: Arabesque's high-level API allows for concise implementations of complex graph mining tasks, democratizing access to distributed graph mining.
Key Results
- Scalability: Arabesque demonstrates excellent scalability, handling trillions of embeddings and running efficiently on clusters with up to 20 servers.
- Performance:
- For frequent subgraph mining (FSM) on CiteSeer, Arabesque achieved a speedup of 20x compared to a baseline with 5 servers, and was orders of magnitude faster than TLV approaches.
- Arabesque's single-threaded performance was comparable to or better than state-of-the-art centralized implementations for tasks like Motifs and Cliques.
- ODAGs reduced memory usage by several orders of magnitude, enabling the processing of graphs that would otherwise be intractable.
- The two-level pattern aggregation reduced the number of graph isomorphism checks by factors of millions, drastically speeding up computation.
- Code Simplicity: Implementations for FSM, Motifs, and Cliques required only tens of lines of code, compared to thousands for specialized centralized baselines.
Limitations and Future Work
- ODAGs and Initial Steps: While ODAGs are generally beneficial, in the very first exploration steps on large, sparse graphs, the overhead of constructing them can outweigh the compression benefits. The authors suggest reverting to embedding lists in such cases.
- Pattern Canonicality Bottleneck: While significantly reduced, pattern canonicality checking (graph isomorphism) remains a computational bottleneck, especially for complex patterns.
- Future Work: The paper suggests exploring more advanced techniques for pattern canonicality and further optimizing the ODAG structure. The authors also highlight the potential for Arabesque to be applied to a wider range of graph mining problems.
Summary updated