cuMatch: A GPU-based Memory-Efficient Worst-case Optimal Join Processing Method for Subgraph Queries with Complex Patterns
Subgraph queries are widely used but face significant challenges due to complex patterns such as negative and optional edges. While worst-case optimal joins have proven effective for subgraph queries with regular patterns, no method has been proposed that can process queries involving complex patterns in a single multi-way join. Existing CPU-based and GPU-based methods experience intermediate data explosion when processing complex patterns following regular patterns. In addition, GPU-based methods struggle with issues of wasted GPU memory and redundant computation. In this paper, we propose cuMatch, a GPU-based unified worst-case optimal join processing method for subgraph queries. It avoids intermediate data explosions by processing even complex pattern queries in a single multi-way join. It is also memory-efficient and fast, due to a new partitioning format, scheduling method, and task fusion technique. Extensive experiments demonstrate that cuMatch outperforms state-of-the-art methods by orders of magnitude, without out-of-memory errors.
Authors
- Sungwoo Park (ORCID: https://orcid.org/0009-0008-3927-7935)
- Min-Soo Kim (ORCID: https://orcid.org/0000-0002-7852-0853)
- Seyeon Oh (ORCID: https://orcid.org/0009-0004-9027-0916)
Institutions
- Korea Advanced Institute of Science and Technology (KR)
Publication Details
- Journal
- Proceedings of the ACM on Management of Data
- Published
- 2025-06-17
- DOI
- https://doi.org/10.1145/3725398
- Primary Topic
- Graph Theory and Algorithms
- Type
- article
- Field-Weighted Citation Impact
- 0.00