[Paper Review] MIRAGE: An Iterative MapReduce based FrequentSubgraph Mining Algorithm
MiRage is a complete, iterative MapReduce-based algorithm for frequent subgraph mining that efficiently scales to large graph datasets by distributing computation across clusters. It achieves significant performance gains—up to 6.5x faster than prior MapReduce methods—by using optimized partitioning and iterative state propagation across MapReduce iterations to mine all frequent subgraphs at user-defined support thresholds.
Frequent subgraph mining (FSM) is an important task for exploratory data analysis on graph data. Over the years, many algorithms have been proposed to solve this task. These algorithms assume that the data structure of the mining task is small enough to fit in the main memory of a computer. However, as the real-world graph data grows, both in size and quantity, such an assumption does not hold any longer. To overcome this, some graph database-centric methods have been proposed in recent years for solving FSM; however, a distributed solution using MapReduce paradigm has not been explored extensively. Since, MapReduce is becoming the de- facto paradigm for computation on massive data, an efficient FSM algorithm on this paradigm is of huge demand. In this work, we propose a frequent subgraph mining algorithm called MIRAGE which uses an iterative MapReduce based framework. MIRAGE is complete as it returns all the frequent subgraphs for a given user-defined support, and it is efficient as it applies all the optimizations that the latest FSM algorithms adopt. Our experiments with real life and large synthetic datasets validate the effectiveness of MIRAGE for mining frequent subgraphs from large graph datasets. The source code of MIRAGE is available from www.cs.iupui.edu/alhasan/software/
Motivation & Objective
- To address the scalability limitations of in-memory frequent subgraph mining (FSM) algorithms on growing real-world graph datasets.
- To design a complete and efficient FSM solution using the MapReduce paradigm, which lacks mature distributed solutions despite its popularity for big data.
- To overcome the challenges of state management and support aggregation in a stateless distributed environment like MapReduce.
- To enable scalable, iterative mining of all frequent subgraphs by propagating intermediate results across MapReduce iterations.
- To empirically validate MiRage’s performance on large real-world and synthetic graph datasets under varying configurations.
Proposed method
- MiRage uses an iterative MapReduce framework where each iteration mines subgraphs of increasing size (by number of edges), starting from size-1 subgraphs.
- In each map phase, mappers generate candidate subgraphs of size i and compute their local support across input graphs in their partition.
- Reducers aggregate local supports from all mappers to compute global support, identifying frequent subgraphs of size i.
- The algorithm retains and propagates all non-zero-support patterns across iterations using a novel data structure to maintain mining state.
- Partitioning strategies are optimized: schema 2, which balances total edges per partition, outperforms schema 1 (which balances only graph count), especially on unbalanced datasets.
- The system uses a custom data format and I/O optimization to reduce network overhead and improve performance.
Experimental results
Research questions
- RQ1Can a complete and efficient frequent subgraph mining algorithm be designed using the iterative MapReduce paradigm?
- RQ2How can support aggregation be achieved across distributed nodes without global state, given the stateless nature of MapReduce?
- RQ3What partitioning strategy minimizes execution time in large-scale graph mining under MapReduce?
- RQ4How does MiRage’s performance compare to existing MapReduce-based FSM methods in terms of scalability and efficiency?
- RQ5What is the optimal number of input partitions for minimizing runtime in MiRage’s iterative mining process?
Key findings
- MiRage achieves up to 6.5x speedup over Hill et al.’s [32] MapReduce-based FSM implementation, with execution times of 16.6, 8.3, and 17.5 minutes on three biological datasets at 40% minimum support.
- The optimal number of input partitions for MiRage is significantly higher than in traditional MapReduce tasks—around 1000 partitions for the Yeast dataset—due to the exponential complexity of subgraph mining.
- Schema 2 partitioning, which balances total edges per partition, reduces runtime by up to 30% compared to schema 1 (which balances only graph count) on unbalanced synthetic datasets.
- Performance improvement from reducing mapper workload (exponential gain) outweighs the cost of increased key-value pairs and network I/O (linear cost), making high partition counts beneficial.
- MiRage’s iterative design ensures completeness by retaining all non-zero-support patterns across iterations, enabling discovery of all frequent subgraphs.
- The algorithm scales effectively on large synthetic datasets with 50,000 graphs, demonstrating robustness across diverse graph characteristics.
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.