Learning to Retrieve Reasoning Paths over Wikipedia Graph for Question Answering

Akari Asai, Kazuma Hashimoto, Hannaneh Hajishirzi, Richard Socher, Caiming Xiong

In the world of Open-Domain Question Answering (QA), machines are getting remarkably good at finding answers hidden in massive text collections like Wikipedia. However, most systems still struggle with "multi-hop" questions—the kind that require connecting disparate dots. If you ask, "When was the football club founded in which Walter Otto Davis played?" a standard search engine might find Walter Davis, but it might fail to find the founding date of his specific club, Millwall F.C., because the original question doesn't mention "Millwall" at all.

Example of a multi-hop reasoning question requiring a bridge entity.

This paper introduces a novel framework that doesn't just search for documents; it learns to follow "reasoning paths" through a graph of knowledge.

TL;DR

The authors introduce a graph-based recurrent retriever that sequentially navigates Wikipedia paragraphs to find chains of evidence for complex questions. By treating Wikipedia as a graph and using an RNN to "walk" through it, the model achieved a massive 14-point improvement over previous state-of-the-art results on the challenging HotpotQA dataset.

What Problem Does This Paper Address?

Traditional open-domain QA systems use a "retrieve-and-read" pipeline. First, a non-parameterized retriever (like TF-IDF or BM25) grabs a handful of documents based on keyword overlap. Then, a neural reader extracts the answer.

The "gap" is that multi-hop questions often involve a bridge entity. The first piece of evidence is easy to find, but the second piece might have zero lexical overlap with the original question. If your retriever only looks for keywords from the question, it will never find that second, crucial hop. While some newer models try to retrieve everything at once, they often fail to capture the relational structure between documents.

Methods

The authors propose a two-part system: a Graph-based Recurrent Retriever and a Reasoning Path Reader.

Architecture of the Graph-based Recurrent Retriever and Reasoning Path Reader.
  1. The Wikipedia Graph: They first turn Wikipedia into a massive directed graph where every node is a paragraph. Edges are created based on hyperlinks and document structure (e.g., paragraphs within the same article are connected).
  2. Recurrent Retrieval: Instead of a one-shot search, they use a Recurrent Neural Network (RNN). At each step, the RNN looks at the current paragraph (encoded via BERT) and the history of previously visited paragraphs to decide which linked paragraph to visit next. This allows the model to "condition" its search on what it has already found.
  3. Beam Search: To avoid getting stuck in a single dead-end path, the retriever uses beam search to maintain a set of the most promising reasoning paths.
  4. The Reader: Once the retriever provides a set of candidate paths, a multi-task BERT-based reader scores each path (re-ranking) and extracts the final answer span from the best one.

Key Insights and Ideas

  • Sequential Conditioning is Key: The "aha moment" here is that retrieval should be a sequential process. By using an RNN, the model can "remember" that it's looking for a football club's founding date because it just found a paragraph about Walter Davis playing for Millwall.
  • Adaptive Path Length: Unlike previous iterative models that used a fixed number of steps, this model uses an [EOE] (End-of-Evidence) symbol. It can stop after one hop for simple questions or keep going for complex ones.
  • The Power of Negative Sampling: To make the retriever robust, the authors trained it with "hard" negative examples—paragraphs that are linked to the right topic but don't actually lead to the answer. This prevents the model from being "distracted" by irrelevant hyperlinks.

Key Results

The model was evaluated on three major benchmarks (HotpotQA, SQuAD Open, and Natural Questions Open), with substantial performance gains on complex tasks:

  • HotpotQA (Full Wiki): The model achieved 73.0 F1, outperforming the previous state-of-the-art (Semantic Retrieval) by over 14 points.
  • SQuAD & Natural Questions: Even though these are primarily single-hop datasets, the model remained competitive or superior to existing specialized models, proving its robustness.
  • Interpretability: Because the model retrieves a "path," researchers can actually see the chain of logic the AI followed (e.g., Question $\rightarrow$ Paragraph A $\rightarrow$ Paragraph B $\rightarrow$ Answer).

Limitations and Future Work

  • Graph Dependency: The system relies heavily on the existence of hyperlinks. While Wikipedia is densely linked, other text corpora might not be, which could limit the method's portability.
  • Two-Stage Training: The retriever and reader are currently trained separately. The authors suggest that moving toward a fully end-to-end joint training process could further improve the "interplay" between finding and understanding evidence.
  • Computational Overhead: While more efficient than some dense retrieval methods, running BERT encodings during a beam search across a graph is still computationally more expensive than a simple keyword search.

Summary updated

BibTeX
@inproceedings{asai2020learning,
  author = {Akari Asai and Kazuma Hashimoto and Hannaneh Hajishirzi and Richard Socher and Caiming Xiong},
  title = {{Learning to Retrieve Reasoning Paths over Wikipedia Graph for Question Answering}},
  booktitle = {International Conference on Learning Representations},
  year = {2020},
  url = {https://openreview.net/forum?id=iR0MEsCmAdn},
}
Figure