Modeling Multi-hop Question Answering as Single Sequence Prediction

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

Introduction

While modern Question Answering (QA) systems have achieved remarkable success in "single-hop" tasks—where the answer resides within a single document—they often falter when faced with multi-hop questions. Multi-hop QA requires a model to connect disparate pieces of evidence across multiple documents to reach a conclusion. For example, answering "What is the population of the city where the manager who recruited David Beckham was born?" requires identifying the manager, finding their birthplace, and then locating the population of that specific city.

Existing generative architectures, such as Fusion-in-Decoder (FiD), are powerful but suffer from two primary drawbacks in this context. First, they act as "black boxes," providing an answer without an explicit reasoning trace, making it difficult to verify the model's logic. Second, they typically encode passages independently, which prevents the model from identifying "bridge" entities or cross-document relationships during the initial encoding phase. To address these issues, researchers at Salesforce introduced PATHFID, a model that treats the reasoning process as a single sequence prediction task.

Methodology

PATHFID introduces two significant architectural and procedural innovations designed to improve both the interpretability and the accuracy of multi-hop reasoning.

1. Reasoning Path Linearization (PATHFID)

Rather than training the model to output only the final answer string, PATHFID is trained to generate a hierarchical reasoning path. This path is linearized into a single sequence that follows a strict structure:

[Title of Doc 1] -> [Relevant Sentences in Doc 1] -> [Title of Doc 2] -> [Relevant Sentences in Doc 2] -> [Final Answer]

By forcing the model to predict this path, the reasoning process becomes a unified sequence prediction task. This approach provides a built-in explanation for every answer the model generates, allowing users to trace the specific evidence used to reach a conclusion.

2. Cross-Passage Interaction (PATHFID+)

To overcome the "independent encoding" limitation of the standard FiD architecture, the researchers developed PATHFID+. In this version, the input format is redefined to encode pairs of passages together rather than processing them in isolation. This allows the model’s encoder to utilize self-attention mechanisms to identify links between documents—such as a name mentioned in one document that serves as the subject of another—before the information reaches the decoder. This cross-passage interaction is critical for making the logical "jump" required in multi-hop scenarios.

Both models are built upon the pre-trained T5-large architecture, leveraging its robust sequence-to-sequence capabilities to handle the complex linearized strings.

Experimental Evaluation

The models were evaluated on two challenging multi-hop benchmarks:

  • HotpotQA: A dataset requiring evidence from two Wikipedia passages, featuring both "bridge" and "comparison" questions.
  • IIRC (Incomplete Information Reading Comprehension): A dataset where the model must follow hyperlinks to additional Wikipedia articles to find missing information.

Key Results

On the HotpotQA development set (distractor setting), PATHFID+ demonstrated a substantial performance lead over the baseline FiD model:

Model Exact Match (EM) F1 Score Support-F1
Baseline FiD 64.4 77.8 N/A
PATHFID 65.8 78.9 N/A
PATHFID+ 72.7 84.2 88.7

The high Support-F1 score (88.7) indicates that PATHFID+ is exceptionally effective at identifying the specific supporting sentences required to justify its answers. Similar improvements were observed on the IIRC dataset, where PATHFID+ outperformed the baseline by over 4% in absolute EM score.

Insights and Discussion

Reasoning as a Scaffold

One of the most significant findings of this research is that predicting the reasoning path is not merely an interpretability feature; it is a performance enhancer. The linearized path acts as a "scaffold," providing a structured sequence that helps ground the model in factual evidence, thereby improving the accuracy of the final answer.

The Importance of Interaction

The jump from PATHFID to PATHFID+ highlights that the primary bottleneck in multi-hop QA is often the encoder's inability to perceive relationships between different documents. By allowing for paired encoding, the model can resolve coreferences and bridge entities much more effectively.

Faithfulness

The researchers observed a strong correlation between the quality of the generated reasoning path and the correctness of the final answer. This suggests that the model is "faithfully" following its own evidence rather than hallucinating answers or relying on statistical shortcuts.

Limitations and Future Work

Despite its success, PATHFID+ is computationally intensive. Encoding passage pairs increases memory requirements significantly, necessitating advanced techniques like gradient checkpointing and high-end hardware (e.g., 8x A100 GPUs). Scaling this approach to larger evidence pools (e.g., 100+ passages) remains a challenge. Additionally, the model's performance is still dependent on the quality of the initial document retriever; if the retriever fails to find the necessary "bridge" document, the reader cannot construct a valid reasoning path.

Future research will likely focus on more efficient cross-passage interaction methods that avoid the quadratic cost of full self-attention, as well as more explicit grounding techniques to further enhance model controllability.

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