TL;DR
This paper challenges the assumption that neural models for complex question answering over knowledge graphs inherently outperform simpler, training-free methods. By comparing neural approaches with a query relaxation strategy, the authors find that neural models don't consistently surpass relaxation, often retrieve different answers, and that combining both methods yields significant improvements, suggesting complementary reasoning capabilities.
What Problem Does This Paper Address?
Knowledge Graphs (KGs) store information as entities and relations, enabling structured reasoning. Complex Query Answering (CQA) aims to answer queries that go beyond simple lookups, often requiring multi-hop reasoning. Traditionally, this was done with symbolic methods. More recently, neural methods have emerged, learning embeddings and operators to infer answers that might not be explicitly present in the KG. The prevailing belief is that these neural models can generalize beyond explicit graph structures, inferring answers unreachable by symbolic means. However, this paper questions whether neural models truly offer an advantage over simpler, non-learning-based approaches, specifically a query relaxation strategy, in complex CQA tasks.
Methods
The core of the paper is a comparative study between state-of-the-art neural CQA models and a training-free query relaxation strategy called RELAX. RELAX works by iteratively relaxing query constraints (e.g., replacing a specific entity with a variable) and then scoring candidate answers based on the number of paths that match the relaxed query. This process is hierarchical, prioritizing more specific matches and using global graph properties (like indegree) as tie-breakers. The authors then compare the performance (using Mean Reciprocal Rank - MRR) and the overlap of answers retrieved by RELAX and several neural CQA models across various datasets and query types. They also investigate the complementarity of these approaches by evaluating the performance of combining their predictions.
Datasets
The study uses existing benchmarks for CQA, specifically:
- FB15k237+H and NELL995+H: These are derived from earlier datasets and have been refined to include more complex queries.
- ICEWS18+H: This dataset is temporally split, meaning test queries involve predicting future edges based on past graph states, making it more challenging.
The authors note that previous benchmarks were often dominated by simple, one-hop queries, and the chosen datasets are designed to better represent more complex, multi-hop reasoning scenarios.
Key Insights and Ideas
- Neural models don't consistently "win": The assumption that neural models inherently outperform simpler methods is challenged. RELAX often performs comparably or even better, especially on more complex queries.
- Different reasoning signals: Despite similar overall performance, neural models and RELAX retrieve substantially different sets of answers. This suggests they capture distinct patterns or signals within the knowledge graph.
- Complementarity is key: Combining the predictions of neural models and RELAX consistently leads to significant performance improvements. This strongly indicates that these approaches are not redundant but offer complementary reasoning capabilities.
- Query relaxation as a baseline: The study highlights the importance of strong, interpretable non-neural baselines like RELAX for accurately assessing progress in CQA research.
- Path queries are a sweet spot for relaxation: The benefits of combining RELAX with neural methods are most pronounced for path queries (e.g., 2p, 3p), suggesting that relaxation effectively recovers structural connections that neural models struggle with as path length increases.
Key Results
- Performance: In many cases, RELAX achieved comparable or superior MRR scores to neural methods across various datasets and query types. For instance, on ICEWS18+H, RELAX outperformed several neural models on 2p queries.
- Answer Overlap: Jaccard similarity analysis showed that the top-k retrieved answers between RELAX and neural models diverged significantly, especially for more complex query structures (2i, 3p, pi). For simple 1p queries, overlap was moderate to high, but it decreased substantially with query complexity.
- Combined Performance: An oracle-based evaluation of combining RELAX with neural models (e.g., RELAX+QTO, RELAX+ConE, RELAX+ULTRAQ) consistently yielded higher MRR than individual methods, with relative gains reaching 30-50% for certain query types. This demonstrates the significant value of their complementary signals.
Limitations and Future Work
- Scalability: The current analysis is limited to KGs of a certain scale. Extending this to very large-scale KGs might require more advanced scalability techniques for query relaxation.
- Hybrid Mechanisms: The paper suggests designing realistic fusion mechanisms for combining neural and symbolic methods, such as learned ensembles, meta-predictors, or neural architectures that explicitly incorporate relaxation signals.
- Heuristic Routing & Rank-Level Ensembling: Future work could explore heuristic routing (using relaxation when its signal is strong, falling back to neural otherwise) and rank-level ensembling to combine predictions.
- Alternative Relaxation Strategies: The study focused on one instantiation of query relaxation. Exploring alternative schemes, richer statistical features, or domain-informed heuristics could further enhance understanding.
- Neural Model Interpretation: The findings raise questions about what neural models are actually learning, suggesting they might be reducing to simple statistical patterns or retrieving fundamentally different answers. Further work is needed to understand this.
Summary updated