[Paper Review] Neural-Symbolic Entangled Framework for Complex Query Answering
This paper proposes ENeSy, a neural-symbolic entangled framework that jointly leverages knowledge graph embedding (KGE) and symbolic reasoning to improve complex query answering over incomplete knowledge graphs. By entangling neural predictions with symbolic logic operations—without parameterizing operators—ENeSy reduces cascading errors and handles KG incompleteness, achieving SOTA performance even when trained solely on link prediction.
Answering complex queries over knowledge graphs (KG) is an important yet challenging task because of the KG incompleteness issue and cascading errors during reasoning. Recent query embedding (QE) approaches to embed the entities and relations in a KG and the first-order logic (FOL) queries into a low dimensional space, answering queries by dense similarity search. However, previous works mainly concentrate on the target answers, ignoring intermediate entities' usefulness, which is essential for relieving the cascading error problem in logical query answering. In addition, these methods are usually designed with their own geometric or distributional embeddings to handle logical operators like union, intersection, and negation, with the sacrifice of the accuracy of the basic operator - projection, and they could not absorb other embedding methods to their models. In this work, we propose a Neural and Symbolic Entangled framework (ENeSy) for complex query answering, which enables the neural and symbolic reasoning to enhance each other to alleviate the cascading error and KG incompleteness. The projection operator in ENeSy could be any embedding method with the capability of link prediction, and the other FOL operators are handled without parameters. With both neural and symbolic reasoning results contained, ENeSy answers queries in ensembles. ENeSy achieves the SOTA performance on several benchmarks, especially in the setting of the training model only with the link prediction task.
Motivation & Objective
- Address the challenge of cascading errors in multi-hop knowledge graph reasoning by leveraging intermediate entities beyond just target answers.
- Overcome the limitations of existing query embedding methods that sacrifice projection accuracy for complex logical operators like union, intersection, and negation.
- Enable generalization of existing KGE models (e.g., TransE, RotatE) to complex queries without retraining or architectural changes.
- Support all first-order logic operators (including negation) without parameterized embeddings, allowing training with only link prediction data.
- Foster mutual enhancement between neural and symbolic reasoning to improve robustness against knowledge graph incompleteness and reasoning errors.
Proposed method
- Integrate any KGE model (e.g., RotatE) as the neural component to generate entity and relation embeddings for link prediction.
- Use symbolic reasoning to compute logical operations (union, intersection, negation) via set operations on entity sets, without learning parameters for these operators.
- Entangle neural and symbolic results by fusing their predictions at inference time through ensemble scoring, enhancing both reasoning paths.
- Train the entire framework using only link prediction supervision, enabling deployment in low-resource settings with limited complex query annotations.
- Apply symbolic reasoning to refine neural predictions by including entities missed by KGE due to KG incompleteness, and vice versa, correcting erroneous neural predictions.
Experimental results
Research questions
- RQ1Can symbolic reasoning improve neural reasoning by reducing cascading errors in multi-hop queries?
- RQ2Can neural reasoning improve symbolic reasoning by mitigating the impact of knowledge graph incompleteness?
- RQ3Does ensemble prediction of neural and symbolic results lead to better overall performance than either component alone?
- RQ4Can ENeSy achieve SOTA performance when trained exclusively on link prediction, without complex query supervision?
- RQ5How effective is the neural-symbolic entanglement mechanism in enhancing reasoning robustness across different query types?
Key findings
- ENeSy significantly reduces cascading errors: MRR on 3-hop queries improved by up to 14.0% compared to pure KGE models when using symbolic assistance.
- Symbolic reasoning alone achieves near-SOTA performance (MRR ~0.45 on FB15K-237) by incorporating neural embeddings, outperforming naive traversal by a large margin.
- The ensemble of neural and symbolic predictions improves MRR by 15.3% on average over pure neural models and 28.6% over pure symbolic models across query types.
- ENeSy achieves SOTA performance on FB15K-237 and NELL-995, even when trained only on link prediction, outperforming baselines trained with complex query supervision.
- The model’s performance is robust across diverse query types, with consistent gains in MRR for 2i/3i, 2u/up, 2in/3in, and other complex patterns.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.