Efficient and Scalable Neural Symbolic Search for Knowledge Graph Complex Query Answering
By: Weizhi Fei , Zihao Wang , hang Yin and more
Potential Business Impact:
Answers tough questions from smart computer brains faster.
Complex Query Answering (CQA) aims to retrieve answer sets for complex logical formulas from incomplete knowledge graphs, which is a crucial yet challenging task in knowledge graph reasoning. While neuro-symbolic search utilized neural link predictions achieve superior accuracy, they encounter significant complexity bottlenecks: (i) Data complexity typically scales quadratically with the number of entities in the knowledge graph, and (ii) Query complexity becomes NP-hard for cyclic queries. Consequently, these approaches struggle to effectively scale to larger knowledge graphs and more complex queries. To address these challenges, we propose an efficient and scalable symbolic search framework. First, we propose two constraint strategies to compute neural logical indices to reduce the domain of variables, thereby decreasing the data complexity of symbolic search. Additionally, we introduce an approximate algorithm based on local search to tackle the NP query complexity of cyclic queries. Experiments on various CQA benchmarks demonstrate that our framework reduces the computational load of symbolic methods by 90\% while maintaining nearly the same performance, thus alleviating both efficiency and scalability issues.
Similar Papers
Neural-Symbolic Message Passing with Dynamic Pruning
Machine Learning (CS)
Answers questions from messy data faster.
Transformers for Complex Query Answering over Knowledge Hypergraphs
Computation and Language
Answers tricky questions using smart computer knowledge.
Counting Still Counts: Understanding Neural Complex Query Answering Through Query Relaxation
Artificial Intelligence
Finds answers by trying many paths.