A Sequential Flow Control Framework for Multi-hop Knowledge Base Question Answering

Minghui Xie, Chuzhan Hao, Peng ZhangEMNLP 2022

Introduction

Multi-hop Knowledge Base Question Answering (KBQA) is a critical task in natural language processing, requiring models to navigate complex knowledge graphs (KGs) to find answers that are several steps away from the initial entity. For instance, answering "What character did John Noble play in Lord of the Rings?" requires identifying the actor, locating the specific film, and then extracting the character role. However, current models often struggle with "information loss" or become distracted by irrelevant data from previous reasoning steps. This paper introduces GFC (GRU-inspired Flow Control), a novel framework that utilizes gating mechanisms to precisely manage information flow across reasoning hops.

The Challenge of Sequential Logic

The authors identify two primary weaknesses in existing path-based reasoning methods. First, many models rely on "coarse-grained" attention, which compresses the entire question into a single vector. This often fails to capture the nuances needed to distinguish between similar relations. Second, models frequently lack effective "feedback inhibition." Without a mechanism to suppress information from previous hops, a model might erroneously re-attend to a relation it has already processed, leading to reasoning loops and incorrect answers.

Comparison of GFC and TransferNet reasoning paths, highlighting the feedback inhibition mechanism in GFC.

As shown in Figure 1, GFC addresses this by explicitly inhibiting the influence of previous relations (e.g., $r_1$) when moving to the next hop ($r_2$), ensuring the model focuses on the current reasoning step.

The GFC Framework

The GFC framework treats multi-hop reasoning as a controlled sequence of information updates, drawing inspiration from Gated Recurrent Units (GRUs) used in sequential modeling.

The overall architecture of the GFC framework, showing the flow from question encoding to multi-hop reasoning.

Core Components

  1. Sequential Reasoning Self-Attention: Instead of a static question representation, GFC employs a fine-grained mechanism where the state of the previous hop guides the model to select the most relevant tokens in the question for the current step.
  2. GRU-inspired Flow Control: The heart of the system is the Self-Gate Unit (SGU). This unit acts as a filter, deciding which parts of the reasoning history should be retained and which should be inhibited to prevent interference with the current hop.
  3. Differentiable Knowledge Graph: The model represents the KB as a sparse matrix, allowing the entire reasoning chain—from natural language parsing to graph traversal—to be trained end-to-end via gradient descent.

Experimental Results

The GFC framework was evaluated on three major KBQA benchmarks: MetaQA, WebQSP, and CompWebQ. The results demonstrate that GFC sets a new state-of-the-art (SOTA) across multiple metrics.

  • WebQSP: GFC achieved a Hits@1 of 76.8%, outperforming established models like TransferNet and NSM.
  • MetaQA: The model achieved 100% accuracy on both 2-hop and 3-hop questions, demonstrating perfect reasoning on this large-scale dataset.
  • CompWebQ: On this more complex dataset involving constraints and aggregations, GFC reached 50.4% Hits@1, a significant improvement over previous methods like PullNet (47.2%).

Robustness to Incomplete Data

Knowledge bases are often incomplete. When tested on a version of WebQSP where 50% of the triples were removed, GFC maintained a performance of 59.5% Hits@1, significantly higher than the previous best of 53.2%. This suggests that GFC learns the underlying logic of reasoning paths rather than merely relying on entity proximity within the graph.

Conclusion

The GFC framework demonstrates that "forgetting" or inhibiting past information is as vital as capturing new information in multi-hop reasoning. By implementing a sequential flow control mechanism, GFC avoids common pitfalls like reasoning loops and information interference. Future work will focus on making the "hop size" adaptive, allowing the model to determine the optimal number of reasoning steps for any given question autonomously.

Summary updated

BibTeX
@inproceedings{xie2022sequential,
  author = {Minghui Xie and Chuzhan Hao and Peng Zhang},
  title = {{A Sequential Flow Control Framework for Multi-hop Knowledge Base Question Answering}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2022},
  doi = {10.18653/v1/2022.emnlp-main.578},
}
Figure