TL;DR
Pseudo Relevance Feedback (PRF) significantly boosts the accuracy of dense text retrieval but traditionally doubles online search latency. This paper introduces a novel framework that shifts the heavy PRF computation entirely offline by using pre-generated pseudo-queries, reducing online search to a lightning-fast lexical lookup while maintaining high-quality retrieval results.
What Problem Does This Paper Address?
Modern Information Retrieval (IR) increasingly relies on dense retrieval, where deep learning models convert queries and documents into dense vector embeddings to capture semantic meaning. While efficient for a single-pass search, performance can be further improved using Pseudo Relevance Feedback (PRF). PRF takes the top results from a first-pass search, uses them to update the query representation, and runs a second-pass search.
The catch? Doing this online requires running heavy neural network inference twice and performing multiple vector space searches. This dramatically increases online latency—often doubling it—which scales linearly with the size of the document collection. The authors address this bottleneck by asking: Can we get the accuracy benefits of dense PRF without the crippling online latency?
Methods
The authors propose Offline Pseudo Relevance Feedback (OPRF), a framework that splits the retrieval pipeline into two distinct phases:
- Offline Preparation:
- For every document in the corpus, a sequence-to-sequence model (like
docT5query) generates a set of potential search queries, termed pseudo-queries. - For each pseudo-query, the system runs the full, heavy dense retrieval process augmented with PRF.
- The top-$k$ document results and their corresponding relevance scores for each pseudo-query are pre-computed and stored in an inverted index.
- Online Retrieval:
- When a user inputs a real query, the system avoids dense vector math entirely. Instead, it uses a lightweight, unsupervised lexical matching function (BM25) to find the top-$s$ most similar pre-generated pseudo-queries.
- It retrieves the pre-computed document lists for these matching pseudo-queries.
- The final ranking is produced by normalizing and aggregating these pre-stored scores using a softmax-weighted sum based on how well the user query matched the pseudo-queries.
The authors also introduce Score Fusion variants, allowing them to blend results from multiple dense models or inject the original query's sparse retrieval results to mitigate potential semantic drift caused by relying purely on pseudo-queries.
Datasets
The framework was evaluated on the widely recognized MS MARCO passage ranking dataset. Specifically, the authors tested performance using:
- TREC DL 2019 and TREC DL 2020 Deep Learning Track queries.
- DL-HARD, a dataset specifically designed with complex topics to rigorously test retrieval robustness.
Performance was measured using standard IR metrics: nDCG@10, MAP, and Recall@1k, alongside online latency.
Key Insights and Ideas
- Decoupling Intent from the Live Query: Instead of waiting for a user query to perform PRF, the system pre-computes PRF for a massive web of predicted user intents (the pseudo-queries).
- Lexical Bridges to Dense Spaces: Using BM25 online to match user queries to short pseudo-queries acts as an incredibly fast, low-overhead bridge to pre-computed dense retrieval space.
- Immunity to Corpus Scaling: A major advantage of this paradigm is that online latency does not scale significantly with the collection size, as the online phase bypasses dense vector space searches entirely.
Key Results
The proposed method achieves an exceptional trade-off between search quality (MAP) and online latency.
As shown in Figure 2, standard dense retrieval methods utilizing online PRF (such as Fusion(Avg)) suffer from massive latency penalties, taking over 240 times longer than a standard BM25 baseline. In contrast, the OPRF variants (Ours and Ours†) deliver comparable or superior effectiveness (MAP) while keeping online latency remarkably low—only 2.5x to 5.2x that of BM25.
On the TREC DL 2019 benchmark, the variant that fuses the original query (Ours†/Avg) achieved a MAP of 0.531, outperforming all individual dense baselines while maintaining high efficiency.
The authors also analyzed how hyperparameters influence performance (Figure 1). They discovered that retrieving just 4 pseudo-queries online strikes the optimal balance between capturing query semantics and minimizing aggregation overhead.
Limitations and Future Work
- Heavy Offline Computational Cost: Shifting computation offline means the upfront cost is steep. The authors estimate it takes roughly 188 days of computation on a single Titan RTX GPU to process the entire MS MARCO corpus (though this is highly parallelizable and represents only 3% of the offline cost of prior state-of-the-art methods like CROW).
- Storage Footprint: Storing pseudo-queries and their top-ranked document lists increases disk space requirements (up to 3.53x compared to ColBERT), though the authors demonstrate this can be optimized down to 0.15x with aggressive hyperparameter tuning and deduplication.
- Future Directions: The authors plan to explore more advanced generative large language models (LLMs) to generate higher-quality, more diverse pseudo-queries to better capture nuanced user search intents.
Summary updated