Accelerating Set Intersections over Graphs by Reducing-Merging
Authors:
Open Access
- 14 August 2021
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 2349-2359
Abstract
Given two sets of vertices Sa and Sb of a graph, computing their common vertices, namely set intersection, is one primitive operation in many graph algorithms such as triangle counting, maximal clique enumeration, and subgraph matching. Thus, accelerating set intersections is beneficial to these algorithms. In the paper, we propose a novel reducing-merging framework for set intersections over graphs rather than intersecting the two sets directly. In the reducing phase, the vertices that cannot fall into the intersection are screened out by applying the range reduction. Based on the truncated subsets, the intersection can be easily obtained using the classic merging algorithm. To optimize the range codes that sketch the vertices, we formulate the problem of range code optimization and prove its NP-hardness. We develop efficient yet effective algorithms for two typical scenarios global intersection and local intersection. Moreover, we present a novel two-level merging algorithm to enhance the performance. The results of extensive experiments over real graphs show that our approach can achieve significant speedups compared to the merge-based algorithm.Keywords
Funding Information
- National Natural Science Foundation of China (61902074)
- Research Grant Council of the Hong Kong Special Administrative Region, China (CUHK 14205617, CUHK 14205618)
- Science and Technology Committee Shanghai Municipality (19ZR1404900)
This publication has 20 references indexed in Scilit:
- Multicore triangle computations without tuning2015
- Faster set intersection with SIMD instructions by reducing branch mispredictionsProceedings of the VLDB Endowment, 2014
- SlashBurn: Graph Compression and Mining beyond Caveman CommunitiesIEEE Transactions on Knowledge and Data Engineering, 2014
- Finding maximal cliques in massive networksACM Transactions on Database Systems, 2011
- Triangle listing in massive networks and its applications2011
- Fast set intersection in memoryProceedings of the VLDB Endowment, 2011
- A (sub)graph isomorphism algorithm for matching large graphsIEEE Transactions on Pattern Analysis and Machine Intelligence, 2004
- The webgraph framework I2004
- Multilevelk-way Partitioning Scheme for Irregular GraphsJournal of Parallel and Distributed Computing, 1998
- Algorithm 457: finding all cliques of an undirected graphCommunications of the ACM, 1973