Modeling Multi-hop Question Answering as Single Sequence Prediction

Semih Yavuz, Kazuma Hashimoto, Yingbo Zhou, Nitish Shirish Keskar, Caiming Xiong

Modeling Multi-hop Question Answering as Single Sequence Prediction

Introduction

Multi-hop question answering (QA) represents a significant challenge in natural language processing, requiring models to synthesize information across multiple documents to arrive at a correct answer. For instance, answering "What is the population of the city where the Memphis Hustle are based?" necessitates identifying the city (Southaven, Mississippi) from one source and then retrieving its population from another. While generative models like Fusion-in-Decoder (FiD) have shown promise in open-domain QA, they often operate as "black boxes," providing answers without explicit reasoning chains. Furthermore, they suffer from an "independence bottleneck," where retrieved passages are encoded in isolation, hindering the discovery of inter-document connections until the final decoding stage.

Methodology: PATHFID and PATHFID+

To address these limitations, this work introduces PATHFID, a model that treats the entire reasoning process as a single sequence prediction task. Instead of outputting only the answer string, PATHFID is trained to generate a linearized reasoning path. This path explicitly includes passage titles and sentence-level fact indicators, effectively forcing the model to "show its work."

Example of a linearized reasoning path for a multi-hop question.

The reasoning path is structured using special tokens such as <title-n> for passage titles, <fn> for specific facts, and <answer> for the final result. This approach leverages the generative capacity of the T5-based architecture to perform both evidence identification and answer generation within a unified sequence-to-sequence framework.

Building upon this, PATHFID+ addresses the independence bottleneck by introducing cross-passage interactions during the encoding phase. By identifying a potential "first-hop" passage and pairing it with other retrieved documents, the model's self-attention mechanism can identify "bridge" entities and relationships before decoding begins. This early interaction is crucial for complex multi-hop reasoning where the relevance of a second document may only be apparent in the context of the first.

Experimental Results

The models were evaluated on the HotpotQA and IIRC benchmarks. HotpotQA requires reasoning over two Wikipedia passages, while IIRC involves following hyperlinks to find missing information.

Performance comparison of PATHFID+ against state-of-the-art models on HotpotQA.

As shown in the results, PATHFID+ achieves a significant performance leap. On the HotpotQA distractor set, it reached an Exact Match (EM) score of 72.7, substantially outperforming the baseline FiD (64.4) and even complex graph-based architectures like Gated Memory Flow (69.6). Similar gains were observed on the IIRC dataset, with a 4.7% absolute EM improvement over the baseline.

Faithfulness and Grounding

A key advantage of the PATHFID approach is the inherent transparency of the generated reasoning paths. Qualitative analysis indicates high levels of "faithfulness": in 97.5% of cases where PATHFID+ predicted an answer, that answer was directly supported by the facts identified within its own generated reasoning path. This suggests that the requirement to predict the reasoning chain acts as a powerful regularizer, grounding the model's outputs in the provided evidence.

Conclusion and Future Work

By modeling multi-hop QA as a single sequence prediction task, PATHFID and PATHFID+ achieve state-of-the-art results while improving model interpretability. While the computational cost of encoding passage pairs remains a challenge for scaling, the success of this approach highlights the benefits of early document interaction and explicit reasoning paths. Future research will focus on more efficient grounding techniques and further enhancing the human-readability of these generative reasoning chains.

Summary updated

BibTeX
@inproceedings{yavuz2022modeling,
  author = {Semih Yavuz and Kazuma Hashimoto and Yingbo Zhou and Nitish Shirish Keskar and Caiming Xiong},
  title = {{Modeling Multi-hop Question Answering as Single Sequence Prediction}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.acl-long.69},
}
Figure