[Paper Review] Benchmarking the Combinatorial Generalizability of Complex Query Answering on Knowledge Graphs
This paper introduces EFO-1-QA, a large-scale benchmark with 301 complex query types—20× larger than prior datasets—to evaluate combinatorial generalizability in Knowledge Graph-based Complex Query Answering (CQA). It proposes a systematic framework for generating diverse query normal forms using 7 operator systems and 9 query representations, revealing that increasing training query diversity does not always improve generalization, challenging current training paradigms.
Complex Query Answering (CQA) is an important reasoning task on knowledge graphs. Current CQA learning models have been shown to be able to generalize from atomic operators to more complex formulas, which can be regarded as the combinatorial generalizability. In this paper, we present EFO-1-QA, a new dataset to benchmark the combinatorial generalizability of CQA models by including 301 different queries types, which is 20 times larger than existing datasets. Besides, our work, for the first time, provides a benchmark to evaluate and analyze the impact of different operators and normal forms by using (a) 7 choices of the operator systems and (b) 9 forms of complex queries. Specifically, we provide the detailed study of the combinatorial generalizability of two commonly used operators, i.e., projection and intersection, and justify the impact of the forms of queries given the canonical choice of operators. Our code and data can provide an effective pipeline to benchmark CQA models.
Motivation & Objective
- To address the lack of comprehensive benchmarks for evaluating combinatorial generalization in Complex Query Answering (CQA) on knowledge graphs.
- To provide a scalable, extensible framework for generating diverse EFO-1 query types, normal forms, and training data.
- To investigate how different operator systems and query normal forms impact model generalization.
- To analyze the effect of training query diversity on out-of-distribution generalization performance.
- To challenge assumptions about training data expansion by revealing non-monotonic improvements in generalization with increased training types.
Proposed method
- Design a comprehensive framework to systematically explore the combinatorial space of Existential First-Order Queries with Single Free Variable (EFO-1).
- Define 7 distinct operator systems, including combinations of projection, conjunction, disjunction, negation, and set difference.
- Transform each query into up to 9 different normal forms using logical equivalences, enabling analysis of representation impact.
- Sample queries and their answer sets from three knowledge graphs (Freebase, YAGO, NELL) to construct the EFO-1-QA dataset.
- Train and evaluate multiple CQA models (e.g., BetaE, LogicE, NewLook) across different normal forms and training regimes.
- Use metrics like MRR, HIT@k, and RA-Oracle to assess generalization across unseen query types.
Experimental results
Research questions
- RQ1How does the choice of operator system affect the generalization performance of CQA models across unseen query types?
- RQ2To what extent do different normal forms of the same logical query influence model generalization and performance?
- RQ3Does increasing the number of training query types always lead to better out-of-distribution generalization in CQA?
- RQ4How do different logical representations (e.g., DNF + IU vs. DNF + IUD) impact model learning and generalization?
- RQ5What is the impact of query structure complexity (e.g., chain length, number of operators) on model generalization?
Key findings
- The EFO-1-QA dataset contains 301 distinct query types, representing a 20× increase over existing benchmarks, and is significantly more challenging than prior datasets.
- Models trained on diverse query types do not always generalize better; performance gains plateau or even decline with increased training diversity, indicating a non-monotonic relationship.
- The DNF + IU normal form consistently outperforms other forms in terms of MRR and HIT@k across all models and knowledge graphs.
- The use of set difference (via intersection and negation) as a replacement for explicit negation operators leads to better generalization than treating negation as a primitive operator.
- The RA-Oracle metric shows that models trained on EFO-1-QA generalize better than on prior datasets, confirming the benchmark’s increased difficulty and representativeness.
- The framework enables systematic ablation of normal forms and operator systems, revealing that query representation significantly affects model learning and generalization.
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.