Answering Regular Path Queries through Exemplars
Komal Chauhan, Kartik Jain, Sayan Ranu, Srikanta Bedathur, Amitabha Bagchi
摘要
Regular simple path query (RPQ) is one of the fundamental operators in graph analytics. In an RPQ, the input is a graph, a source node and a regular expression. The goal is to identify all nodes that are connected to the source through a simple path whose label sequence satisfies the given regular expression. The regular expression acts as a formal specification of the search space that is of interest to the user. Although regular expressions have high expressive power, they act as barrier to non-technical users. Furthermore, to fully realize the power of regular expressions, the user must be familiar with the domain of the graph dataset. In this study, we address this bottleneck by bridging RPQs with the query-by-example paradigm. More specifically, we ask the user for an exemplar pair that characterizes the paths of interest, and the regular expression is automatically inferred from this exemplar. This novel problem introduces several new challenges. How do we infer the regex? Given that answering RPQs is NP-hard, how do we scale to large graphs? We address these challenges through a unique combination of Biermann and Feldman's algorithm with NFA-guided random walks with restarts. Extensive experiments on multiple real, million-scale datasets establish that RQuBE is at least 3 orders of magnitude faster than baseline strategies with an average accuracy in excess of 90%.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
它引用的 Paper3
- Answering Billion-Scale Label-Constrained Reachability Queries within MicrosecondYou Peng, Ying Zhang, Xuemin Lin, Lu Qin 等VLDB 2020 · 65 次引用
- Regular Path Query Evaluation on Streaming GraphsAnil Pacaci, Angela Bonifati, M. Tamer ÖzsuSIGMOD 2020 · 49 次引用
- Mining Top-k Pairs of Correlated Subgraphs in a Large NetworkArneish Prateek, Arijit Khan, Akshit Goyal, Sayan RanuVLDB 2020 · 13 次引用
相关 Paper
- Efficient Regular Simple Path Queries under Transitive Restricted ExpressionsQi Liang, Dian Ouyang, Fan Zhang, Jianye Yang 等VLDB 2024 · 4 次引用
- Regular Path Query Evaluation Sharing a Reduced Transitive Closure Based on Graph ReductionInju Na, Yang-Sae Moon, Ilyeop Yi, Kyu-Young Whang 等ICDE 2022 · 10 次引用
- cuRPQ: A High-Performance GPU-Based Framework for Processing Regular and Conjunctive Regular Path QueriesSungwoo Park, Seohyeon Kim, Min-Soo KimSIGMOD 2026 · 1 次引用
- DRPQ: Distributed Evaluation of Regular Path Queries On Streaming GraphsSiyuan Zhang, Kai Zhang, Zhenying He, Yinan Jing 等SIGMOD 2026
- Search-Based Regular Expression Inference on a GPUMojtaba Valizadeh, Martin BergerPLDI 2023 · 11 次引用
