TL;DR
InstUPR is a novel, unsupervised passage reranking method that leverages the zero-shot instruction-following capabilities of open-source Large Language Models (LLMs). By introducing a "soft score aggregation" technique and a pairwise ranking scheme, it completely bypasses the need for expensive labeled data or fine-tuning, yet achieves performance on par with state-of-the-art supervised rerankers.
What Problem Does This Paper Address?
In modern Information Retrieval (IR), systems usually follow a two-stage pipeline. First, a fast, lightweight retriever (like BM25 or Dense Passage Retriever) pulls a broad set of candidate documents from a massive collection. Second, a more powerful reranker steps in to sort these candidates so the most relevant answers appear at the very top.
While deep learning has vastly improved reranking, the best models (like MonoT5) are heavily supervised—they require extensive training on large datasets of query-document pairs. On the flip side, existing unsupervised methods often rely on indirect metrics, such as calculating the likelihood of an LLM generating the user's query given a passage. These indirect methods lack direct guidance on what actually makes a passage relevant to a query.
The authors of this paper ask: Can we use an instruction-tuned LLM to directly evaluate and score relevance in a zero-shot, unsupervised manner?
Methods
The authors introduce InstUPR (Instruction-based Unsupervised Passage Reranking), which uses an off-the-shelf, open-source instruction-tuned model (flan-t5-xl) through two main strategies:
-
Pointwise Reranking with Soft Score Aggregation: Instead of just asking the LLM if a document is relevant, they prompt it to output a relevance score from 1 to 5 on a Likert scale. However, relying on a single generated token introduces ties (the LLM loves giving a score of "3" to everything). To fix this, they introduce Soft Relevance Score Aggregation. Instead of taking the top token, they compute the expected value by taking a weighted sum of the scores (1–5) multiplied by their predicted probabilities.
-
Pairwise Reranking: To capture finer distinctions, they also implement a pairwise approach. The LLM is fed a query and two candidate passages at a time and asked to choose which one is more relevant. The final score for a passage is the sum of its win probabilities against all other candidates.
The prompt templates used to instruct the LLM for both pointwise and pairwise tasks are straightforward and require no training data:
Datasets
The framework was evaluated using BM25 as the initial retriever (fetching the top 100 passages) across several standard benchmarks:
- TREC DL19 & DL20
- BEIR Benchmark: Evaluated across 12 diverse zero-shot retrieval tasks (including TREC-COVID, BioASQ, FiQA, Robust04, and SciFact).
Note: Datasets that overlapped with the LLM's original training data or presented extreme evaluation complexities (like CQADupStack or NaturalQuestions) were intentionally excluded to ensure a fair, zero-shot evaluation.
Key Insights and Ideas
- The Power of the Probability Distribution: The "aha moment" of the paper is that the raw token output of an LLM is too blunt an instrument for ranking. By looking under the hood at the probability distribution of the score tokens (Soft Aggregation), the authors extracted a smooth, continuous, and highly effective ranking signal from discrete prompts.
- Zero-Shot Parity with Supervised Models: Instruction tuning inherently teaches LLMs to understand the concept of "relevance" if prompted correctly. This generalized understanding is powerful enough that an unsupervised model can match a model explicitly fine-tuned on hundreds of thousands of MS MARCO examples.
Key Results
InstUPR demonstrated remarkable strength against both unsupervised and supervised baselines:
- Outperforming Unsupervised Baselines:
INSTUPR_pointbeat the standard unsupervised baseline (UPR) in 12 out of 14 tasks, showing an average relative improvement of over 10%. - Matching Supervised State-of-the-Art: When upgrading to the pairwise variant (
INSTUPR_+pair), the model achieved an average BEIR score of 46.63, virtually tying with the state-of-the-art supervised reranker, MonoT5-3B (46.65), and comfortably outperforming the supervised TART-Rerank (42.67).
An ablation study confirmed that both the Likert-scale prompting and the soft aggregation technique were critical to these performance gains:
Limitations and Future Work
Despite its strong performance, the authors highlight two main limitations:
- Computational Cost: Pairwise reranking requires evaluating $O(k^2)$ pairs. This quadratic complexity makes it difficult to scale to hundreds of candidate passages. The authors suggest that future work should explore more efficient sorting algorithms to mitigate this.
- LLM Generalization: The study only evaluated a single open-source model (
flan-t5-xl). How these prompting behaviors and soft scoring dynamics generalize across different architectures or larger LLMs remains an open question.
Summary updated