Litcius/Paper detail

GSI: GPU-friendly Subgraph Isomorphism

Li Zeng, Lei Zou, M. Tamer Ozsu, Lin Hu, Fan Zhang

202059 citationsDOIOpen Access PDF

Abstract

Subgraph isomorphism is a well-known NP-hard problem that is widely used in many applications, such as social network analysis and querying over the knowledge graph. Due to the inherent hardness, its performance is often a bottleneck in various real-world applications. We address this by designing an efficient subgraph isomorphism algorithm leveraging features of GPU architecture, such as massive parallelism and memory hierarchy. Existing GPU-based solutions adopt two-step output scheme, performing the same join twice in order to write inter-mediate results concurrently. They also lack GPU architecture-aware optimizations that allow scaling to large graphs. In this paper, we propose a GPU-friendly subgraph isomorphism algorithm, GSI. Different from existing edge join-based GPU solutions, we propose a Prealloc-Combine strategy based on the vertex-oriented framework, which avoids joining-twice in existing solutions. Also, a GPU-friendly data structure (called PCSR) is proposed to represent an edge-labeled graph. Extensive experiments on both synthetic and real graphs show that GSI outperforms the state-of-the-art algorithms by up to several orders of magnitude and has good scalability with graph size scaling to hundreds of millions of edges.

Topics & Concepts

Subgraph isomorphism problemInduced subgraph isomorphism problemBottleneckComputer scienceGraph isomorphismScalabilityTheoretical computer scienceScalingIsomorphism (crystallography)GraphData structureEnhanced Data Rates for GSM EvolutionParallel computingGraph homomorphismAlgorithmGraph factorizationKernel (algebra)Benchmark (surveying)Graph Theory and AlgorithmsAdvanced Graph Neural NetworksData Management and Algorithms