Accelerating Top-K Subgraph Matching With Topology-Aware Pruning and Parallel Processing
- 11 June 2026
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Knowledge and Data Engineering
- Vol. 38 (8) , 4836-4850
Abstract
Given a query graph, top-k subgraph matching finds up to $k$ matches in a data graph with the highest scores according to a user-defined scoring function. It has wide applications across many fields, including knowledge graphs and social networks. Due to the enormous search space, existing methods are not efficient enough on large graphs. In this paper, we propose PTAB, an efficient serial algorithm for top-k subgraph matching. It traverses an efficiently pruned search space by topology-aware subspace score upper bounds computed from a novel hop index, which stores the range of node properties in a constrained multi-hop neighborhood of each node. Additionally, PTAB integrates a cost-aware root selection strategy, which chooses query nodes leading to a search process that utilizes the pruning power of the hop index as much as possible. Furthermore, we use a novel edge-cut strategy to handle general query graphs with cycles. We also extend PTAB to a parallel version, PTABP, which further improves performance via multi-threading and enhanced pruning techniques. Experimental results on real and synthetic datasets demonstrate that our methods outperform existing methods.Keywords
Funding Information
- New Generation Artificial Intelligence-National Science and Technology Major Project (2025ZD0123305)
- National Natural Science Foundation of China (62532001)
This publication has 35 references indexed in Scilit:
- An analytical study of large SPARQL query logsThe VLDB Journal, 2019
- Redesign of the gStore systemFrontiers of Computer Science, 2018
- Fast top-k search in knowledge graphs2016
- FEASIBLE: A Feature-Based SPARQL Benchmark Generation Framework2015
- Top-k queries on RDF graphsInformation Sciences, 2015
- Top-k graph pattern matching over large graphs2013
- YAGO2: A spatially and temporally enhanced knowledge base from WikipediaArtificial Intelligence, 2013
- DBpedia: A Nucleus for a Web of Open Data2007
- Supporting top-k join queries in relational databasesThe VLDB Journal, 2004
- Models of the Small WorldJournal of Statistical Physics, 2000