[Paper Review] SQALER: Scaling Question Answering by Decoupling Multi-Hop and Logical Reasoning
SQALER proposes a two-stage approach to knowledge-based question answering that decouples multi-hop reasoning from logical reasoning, enabling linear scalability with respect to relation types rather than edges or nodes. By first using a relation-level model on a coalesced graph to generate candidate answers and then refining them with an edge-level model on localized subgraphs, SQALER achieves state-of-the-art performance on WebQuestionsSP and orders-of-magnitude better scalability than prior methods, while enabling compositional generalization beyond training distributions.
State-of-the-art approaches to reasoning and question answering over knowledge graphs (KGs) usually scale with the number of edges and can only be applied effectively on small instance-dependent subgraphs. In this paper, we address this issue by showing that multi-hop and more complex logical reasoning can be accomplished separately without losing expressive power. Motivated by this insight, we propose an approach to multi-hop reasoning that scales linearly with the number of relation types in the graph, which is usually significantly smaller than the number of edges or nodes. This produces a set of candidate solutions that can be provably refined to recover the solution to the original problem. Our experiments on knowledge-based question answering show that our approach solves the multi-hop MetaQA dataset, achieves a new state-of-the-art on the more challenging WebQuestionsSP, is orders of magnitude more scalable than competitive approaches, and can achieve compositional generalization out of the training distribution.
Motivation & Objective
- To address the scalability bottleneck in knowledge-based question answering (KBQA) over large knowledge graphs (KGs), where existing neural methods scale poorly with the number of edges or nodes.
- To demonstrate that multi-hop reasoning and logical reasoning can be separated without loss of expressive power, enabling efficient and scalable KBQA.
- To develop a method that scales linearly with the number of relation types—typically much smaller than the number of edges or nodes—thereby enabling application to real-world KGs with millions of entities.
- To achieve compositional generalization, allowing the model to answer questions not seen during training by combining known reasoning patterns.
Proposed method
- The method uses a relation-level model φ that operates on a coalesced graph, where edges of the same relation type are merged, reducing complexity to scale with the number of relation types rather than edges or nodes.
- The relation-level model generates a set of candidate answers ˜AQ by performing multi-hop relational chaining from the entities mentioned in the question, ensuring that all true answers are included in ˜AQ.
- An edge-level model ψ is then applied on a subgraph G(˜AQ) centered on the candidate answers to refine them using logical reasoning, recovering the exact answer set AQ.
- The coalesced graph is precomputed once before training, incurring only a one-time linear cost, and enables efficient training and inference for the relation-level model.
- The edge-level model is constrained to select answers only from the candidate set ˜AQ, ensuring correctness and efficiency.
- The approach is theoretically grounded in expressive power and computational complexity, showing that the two-stage process preserves the ability to solve any KBQA problem.
Experimental results
Research questions
- RQ1Can multi-hop reasoning and logical reasoning in KBQA be decoupled without sacrificing expressive power or performance?
- RQ2Does scaling with the number of relation types instead of edges or nodes enable practical application of KBQA to large real-world knowledge graphs?
- RQ3Can a two-stage approach—first generating candidates via relational chaining, then refining with local logical reasoning—achieve better generalization than end-to-end models?
- RQ4To what extent does the method generalize compositionally to questions outside the training distribution?
Key findings
- SQALER achieves a new state-of-the-art on the challenging WebQuestionsSP dataset, outperforming prior methods.
- The method scales orders of magnitude better than competitive approaches, enabling effective reasoning on knowledge graphs with millions of entities.
- The relation-level model alone achieves strong performance on MetaQA, confirming that multi-hop reasoning via relational chaining is sufficient for simpler questions.
- The edge-level model is essential for complex questions on WebQuestionsSP, where relation sequences alone are insufficient to identify correct answers.
- Relational coalescing reduces the number of paths by up to two orders of magnitude, significantly lowering memory and computational costs.
- The model generalizes compositionally, correctly answering questions that combine known reasoning patterns in novel ways, even when such combinations were absent in training.
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.