🤖 AI Summary
This work addresses the high computational cost of regular path queries (RPQs) and their more expressive variants, such as conjunctive regular path queries (CRPQs), in graph analysis, for which efficient GPU acceleration has been lacking. We present cuRPQ, the first framework to harness GPU acceleration for RPQ/CRPQ evaluation, introducing a novel parallel traversal mechanism tailored to GPU architectures, an efficient access set management scheme, and a concurrent exploration-materialization strategy. Experimental results demonstrate that cuRPQ achieves performance improvements of several orders of magnitude over the current state-of-the-art methods while effectively mitigating out-of-memory issues.
📝 Abstract
Regular path queries (RPQs) are fundamental for path-constrained reachability analysis, and more complex variants such as conjunctive regular path queries (CRPQs) are increasingly used in graph analytics. Evaluating these queries is computationally expensive, but to the best of our knowledge, no prior work has explored GPU acceleration. In this paper, we propose cuRPQ, a high-performance GPU-optimized framework for processing RPQs and CRPQs. cuRPQ addresses the key GPU challenges through a novel traversal algorithm, an efficient visited-set management scheme, and a concurrent exploration-materialization strategy. Extensive experiments show that cuRPQ outperforms state-of-the-art methods by orders of magnitude, without out-of-memory errors.