Efficient and Scalable Neural Symbolic Search for Knowledge Graph Complex Query Answering

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Fei, Weizhi, Wang, Zihao, Yin, hang, Zhao, Shukai, Zhang, Wei, Song, Yangqiu
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866918521845317632
author Fei, Weizhi
Wang, Zihao
Yin, hang
Zhao, Shukai
Zhang, Wei
Song, Yangqiu
author_facet Fei, Weizhi
Wang, Zihao
Yin, hang
Zhao, Shukai
Zhang, Wei
Song, Yangqiu
contents Complex Query Answering (CQA) is a crucial reasoning task over Knowledge Graphs (KGs), which aims to answer first-order logical queries from incomplete KGs. While existing neural-symbolic methods achieve strong performance, they face significant complexity bottlenecks: quadratic data complexity scaling with the number of entities, and NP-hard query complexity for cyclic queries. Consequently, these approaches struggle to scale effectively to large knowledge graphs and complex queries. To address these limitations, we propose an efficient and scalable symbolic search method comprising two key components: (1) constraint strategies that drastically reduce the variable search domain, lowering data complexity; and (2) a local search algorithm that approximately solves NP-hard cyclic queries. Experiments on various CQA benchmarks demonstrate that, for tree-form queries, our method achieves 97% relative MRR with a 10$\times$ speedup using only 10% of the search space. Furthermore, it demonstrates robust performance on complex cyclic queries and large-scale KGs, effectively alleviating efficiency and scalability challenges. Our code is provided in https://github.com/HKUST-KnowComp/NLISA_KDD2026.
format Preprint
id arxiv_https___arxiv_org_abs_2505_08155
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Efficient and Scalable Neural Symbolic Search for Knowledge Graph Complex Query Answering
Fei, Weizhi
Wang, Zihao
Yin, hang
Zhao, Shukai
Zhang, Wei
Song, Yangqiu
Artificial Intelligence
Complex Query Answering (CQA) is a crucial reasoning task over Knowledge Graphs (KGs), which aims to answer first-order logical queries from incomplete KGs. While existing neural-symbolic methods achieve strong performance, they face significant complexity bottlenecks: quadratic data complexity scaling with the number of entities, and NP-hard query complexity for cyclic queries. Consequently, these approaches struggle to scale effectively to large knowledge graphs and complex queries. To address these limitations, we propose an efficient and scalable symbolic search method comprising two key components: (1) constraint strategies that drastically reduce the variable search domain, lowering data complexity; and (2) a local search algorithm that approximately solves NP-hard cyclic queries. Experiments on various CQA benchmarks demonstrate that, for tree-form queries, our method achieves 97% relative MRR with a 10$\times$ speedup using only 10% of the search space. Furthermore, it demonstrates robust performance on complex cyclic queries and large-scale KGs, effectively alleviating efficiency and scalability challenges. Our code is provided in https://github.com/HKUST-KnowComp/NLISA_KDD2026.
title Efficient and Scalable Neural Symbolic Search for Knowledge Graph Complex Query Answering
topic Artificial Intelligence
url https://arxiv.org/abs/2505.08155