Introduction
Open-domain Question Answering (QA) systems typically rely on a "retrieve-then-read" architecture. In this pipeline, a retriever first identifies a subset of relevant documents from a massive corpus, which a reader model then processes to extract or generate an answer. While efficient, standard retrievers—often based on bi-encoders like BM25 or Dense Passage Retrieval (DPR)—frequently struggle with the nuanced semantic interactions between queries and documents. To address this, re-ranking stages are employed. However, traditional re-rankers require extensive supervised training data, which is often unavailable for niche domains or low-resource languages.
This paper introduces the Unsupervised Passage Re-ranker (UPR), a zero-shot approach that leverages the generative capabilities of large language models (LLMs) to re-rank passages without any task-specific fine-tuning.
Methodology: Question Generation as Re-ranking
The core innovation of UPR lies in its "reverse-engineering" of the retrieval process. Instead of training a model to output a relevance score (a discriminative task), UPR treats re-ranking as a generative task. Specifically, it calculates the likelihood that a given passage would generate the user's question.
The Generative Approach
Using Bayes' Rule, the probability of a passage being relevant given a question can be viewed as proportional to the probability of the question being generated by that passage, assuming a uniform prior for the passages. UPR utilizes off-the-shelf LLMs, such as the T5 or T0 series, to compute this conditional probability.
The process involves:
- Prompting: The model is provided with a prompt such as: "Please write a question based on this passage..." followed by the passage text.
- Likelihood Calculation: The model calculates the average log-likelihood of the actual user query.
- Cross-Attention: Because the LLM uses a cross-attention mechanism during generation, it performs a deep, token-level comparison between the query and the document, capturing semantic relationships that bi-encoders miss.
Experimental Evaluation
The authors evaluated UPR across several rigorous benchmarks to test its versatility and robustness.
Datasets
- Standard QA Benchmarks: SQuAD-Open, TriviaQA, Natural Questions (NQ), and WebQuestions.
- Entity-Centric Retrieval: Entity Questions, a dataset where traditional neural retrievers often underperform.
- Zero-Shot Generalization: The BEIR benchmark, encompassing 15 diverse retrieval tasks including fact-checking and technical search.
Performance Metrics
UPR demonstrated substantial improvements in retrieval accuracy. On the four primary QA datasets, the method increased top-20 retrieval accuracy by 6% to 18% absolute. When integrated into an end-to-end system using a Fusion-in-Decoder (FiD) reader, the final answer accuracy (Exact Match) improved by up to 3 points.
Key Insights
- Instruction Tuning is Essential: The study found that models fine-tuned on instructions (e.g., T0) significantly outperformed raw language models (e.g., GPT-neo). The ability to follow the "write a question" instruction is vital for generating meaningful probability scores.
- Zero-Shot Superiority: A completely unsupervised pipeline—combining an unsupervised retriever like Contriever with UPR—outperformed several strong supervised models, including DPR. This indicates that the general knowledge and linguistic patterns captured during LLM pre-training are highly effective for relevance ranking.
- Generative vs. Discriminative Robustness: UPR’s generative likelihood approach proved more robust than discriminative "Yes/No" relevance models, particularly as the number of candidate passages increased.
Limitations and Challenges
Despite its success, UPR faces several practical hurdles:
- Computational Latency: Running a 3-billion parameter model for cross-attention over 1,000 candidate passages is computationally expensive and slower than vector-based lookups.
- Retrieval Ceiling: As a re-ranker, UPR is limited by the initial retriever's performance. If the correct passage is not within the initial candidate set, UPR cannot retrieve it.
- Prompt Sensitivity: The specific phrasing of the instruction prompt significantly impacts performance, necessitating careful prompt engineering.
Conclusion
UPR represents a significant step forward in unsupervised information retrieval. By reframing re-ranking as a zero-shot question generation task, it achieves state-of-the-art results on multiple benchmarks without the need for labeled training data. Future work may focus on distilling UPR into smaller, more efficient models to mitigate computational costs.
Summary updated