Improving Passage Retrieval with Zero-Shot Question Generation

Devendra Singh Sachan, Mike Lewis, Mandar Joshi, Armen Aghajanyan, Wen-tau Yih, Joelle Pineau, Luke Zettlemoyer

Introduction

Open-domain question answering (QA) typically follows a "retriever-reader" pipeline. The system first retrieves a small set of relevant passages from a massive corpus (e.g., Wikipedia) and then uses a reader model to extract the final answer. However, the retrieval stage often acts as a bottleneck. While standard keyword-matching (BM25) or dense vector retrieval (DPR) are efficient, they struggle to capture the nuanced, token-level relationships required for high-precision retrieval.

Cross-attention models, which analyze the question and document simultaneously, offer a solution but are computationally prohibitive for large-scale search. This paper introduces the Unsupervised Passage Re-ranker (UPR), a zero-shot approach that leverages the generative power of large pre-trained language models (PLMs) to perform deep re-ranking without requiring task-specific training data.

The UPR Method

UPR re-imagines relevance as a generative task. Instead of training a classifier to predict if a passage is relevant, the method uses a PLM to calculate how likely a passage is to "generate" the user's specific question.

The UPR architecture uses a pre-trained language model to re-rank passages by calculating the likelihood of generating the input question.

The process involves four main steps:

  1. Initial Retrieval: A standard retriever (like BM25 or Contriever) identifies the top $K$ (e.g., 1,000) candidate passages.
  2. Zero-Shot Prompting: Each passage is paired with a simple instruction: "Please write a question based on this passage."
  3. Likelihood Scoring: The PLM computes the log-likelihood of the actual user question given the passage and the prompt.
  4. Re-ranking: Passages are re-ordered based on these scores, prioritizing those that most naturally "lead" to the question.

This approach utilizes cross-attention—forcing the model to explain every token in the question based on the passage—providing a much finer-grained analysis than standard vector-based methods.

Experimental Setup

The researchers evaluated UPR across several benchmarks to test accuracy and generalization:

  • Standard QA: Natural Questions (NQ), TriviaQA, SQuAD-Open, and WebQuestions.
  • Hard Retrieval: Entity Questions, where dense retrievers often struggle with specific named entities.
  • Robustness: The BEIR benchmark, covering 15 diverse tasks from fact-checking to specialized scientific domains. The experiments utilized a 2018 Wikipedia corpus containing over 21 million passages.

Key Insights

  • Generative as Discriminative: Question generation serves as a powerful proxy for relevance. By leveraging the deep linguistic knowledge in instruction-tuned PLMs (like T5 or T0), UPR identifies relevant content more effectively than traditional discriminative models.
  • Directionality Matters: The authors found that calculating $p(\text{question} | \text{passage})$ is significantly more effective than $p(\text{passage} | \text{question})$. The latter is often noisier due to the length and diversity of passages compared to concise questions.
  • Zero-Shot Superiority: A key finding is that a fully unsupervised pipeline (Contriever + UPR) can outperform strong supervised models like DPR, demonstrating the power of zero-shot transfer from large-scale pre-training.

Results and Impact

UPR consistently improved retrieval performance across all tested models and datasets. It boosted unsupervised retrieval models by 6%–18% absolute in top-20 accuracy.

Top-20 accuracy comparison showing that re-ranked unsupervised Contriever outperforms supervised DPR on Natural Questions and TriviaQA.

On Natural Questions and TriviaQA, the re-ranked unsupervised Contriever surpassed the supervised DPR model. Furthermore, when integrated into an end-to-end QA system (Fusion-in-Decoder), UPR achieved new state-of-the-art results on SQuAD-Open and Entity Questions, outperforming BM25 baselines by 14% and 8% respectively.

Limitations

While powerful, UPR introduces computational overhead. Performing cross-attention for 1,000 passages per query takes several seconds on a high-end GPU, which may be a barrier for real-time applications. Additionally, as a re-ranker, UPR's performance is capped by the recall of the initial retriever; it cannot find the correct answer if it was not included in the initial top-$K$ set. Future work will likely focus on optimizing latency through model distillation or quantization.

Summary updated

BibTeX
@inproceedings{sachan2022improving,
  author = {Devendra Singh Sachan and Mike Lewis and Mandar Joshi and Armen Aghajanyan and Wen-tau Yih and Joelle Pineau and Luke Zettlemoyer},
  title = {{Improving Passage Retrieval with Zero-Shot Question Generation}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2022},
  doi = {10.18653/v1/2022.emnlp-main.249},
}
Figure