Skip to main content
QUICK REVIEW

[Paper Review] Deep Analysis on Subgraph Isomorphism

Li Zeng, Yan Jiang|arXiv (Cornell University)|Dec 12, 2020
Graph Theory and AlgorithmsComputer Science26 references6 citations
TL;DR

This paper provides a rigorous, fair comparison of seven state-of-the-art subgraph isomorphism algorithms by re-implementing them in C++ on the same platform to eliminate implementation and platform biases. It identifies VF3, QuickSI, and DAF as the top performers in time efficiency and memory consumption, reveals critical bugs in VF3 and BoostISO, and demonstrates that index-based pruning techniques often incur high overhead without consistent performance gains.

ABSTRACT

Subgraph isomorphism is a well-known NP-hard problem which is widely used in many applications, such as social network analysis and knowledge graph query. Its performance is often limited by the inherent hardness. Several insightful works have been done since 2012, mainly optimizing pruning rules and matching orders to accelerate enumerating all isomorphic subgraphs. Nevertheless, their correctness and performance are not well studied. First, different languages are used in implementation with different compilation flags. Second, experiments are not done on the same platform and the same datasets. Third, some ideas of different works are even complementary. Last but not least, there exist errors when applying some algorithms. In this paper, we address these problems by re-implementing seven representative subgraph isomorphism algorithms as well as their improved versions, and conducting comprehensive experiments on various graphs. The results show pros and cons of state-of-the-art solutions and explore new approaches to optimization.

Motivation & Objective

  • To address inconsistencies in prior subgraph isomorphism evaluations caused by differing programming languages, compilation flags, platforms, and datasets.
  • To re-implement seven representative subgraph isomorphism algorithms (QuickSI, GraphQL, TurboISO, BoostISO, CFL-Match, VF3, CECI, DAF) in C++ on Linux for fair comparison.
  • To identify and correct critical implementation errors in VF3 (2-hop pruning only valid for induced subgraphs) and BoostISO (incorrect results in some cases).
  • To evaluate the effectiveness of BoostISO's preprocessing techniques when integrated with other algorithms.
  • To provide a comprehensive, empirical analysis of time and memory performance across diverse graph types and query sets.

Proposed method

  • Re-implemented all seven algorithms in C++ using the same compiler and compilation flags to ensure platform and implementation consistency.
  • Conducted experiments on three real-world datasets (Human, Email, DBLP) with both sparse and dense query graphs to evaluate performance under varied conditions.
  • Evaluated both original and boosted versions of algorithms, with BoostISO's preprocessing techniques applied to other algorithms to assess their general benefit.
  • Used in-memory execution to eliminate disk I/O effects and focused on pure algorithmic performance.
  • Applied standardized query sets across all datasets to ensure fair comparison of time and memory consumption.
  • Conducted deep analysis on experimental results to identify performance trends, trade-offs, and algorithmic strengths and weaknesses.

Experimental results

Research questions

  • RQ1How do the performance characteristics of state-of-the-art subgraph isomorphism algorithms compare under fair, controlled experimental conditions?
  • RQ2What is the true impact of BoostISO's preprocessing techniques when applied to other algorithms?
  • RQ3Why do index-based algorithms with complex pruning mechanisms not consistently outperform simpler tree-search methods?
  • RQ4What are the root causes of incorrect results in VF3 and BoostISO, and how do they affect performance?
  • RQ5In which scenarios do boosted versions of algorithms provide measurable improvements over their non-boosted counterparts?

Key findings

  • VF3, QuickSI, and DAF are the top three performers in terms of time efficiency, with VF3 and QuickSI leading in both time and memory consumption on most datasets.
  • Tree-search algorithms (VF3 and QuickSI) outperform index-based algorithms in both time and memory efficiency, despite the latter’s complex pruning mechanisms.
  • The ranking of memory consumption across algorithms is: QuickSI < VF3 < GraphQL < CFL-Match < TurboISO < CECI < DAF, directly reflecting the size of their index structures.
  • BoostISO’s preprocessing techniques are effective in improving performance on specific bad cases but offer limited overall benefit, and its original implementation contains bugs that lead to incorrect results.
  • On the DBLP dataset, GQL+ outperforms GQL, but other boosted versions (e.g., VF3+) perform worse than their non-boosted counterparts due to increased recursive call overhead.
  • DAF shows superior performance on dense query sets due to its failing set technique, which is effective in large search spaces, while VF3 and QuickSI remain efficient across diverse graph types.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.