TL;DR
This paper systematically explores how to integrate Pseudo Relevance Feedback (PRF) with deep language models and dense retrievers. While text-based PRF methods suffer from severe latency and mixed results due to transformer input length limits, vector-based PRF methods operate directly in the embedding space to deliver consistent performance gains. Crucially, vector-based PRF is highly efficient, running up to 20 times faster than standard deep rerankers.
What Problem Does This Paper Address?
Pseudo Relevance Feedback (PRF) is a classic information retrieval technique. It takes the top-ranked documents from an initial search, assumes they are relevant, and uses them to expand or refine the original query to improve search results. While PRF is a proven staple for traditional bag-of-words models (like BM25), integrating it directly with modern deep language models (like BERT) and dense retrievers presents a major challenge.
The authors tackle two primary roadblocks:
- Input Size Limits: Transformers have strict token limits (typically 512 tokens). Concatenating a query with multiple feedback passages quickly exceeds this budget.
- Computational Cost: Running long, concatenated text sequences through deep language models at query time drastically increases latency, making them impractical for real-time search engines.
Methods
The authors investigate two main paradigms for deep PRF:
1. Text-Based PRF
This approach modifies the query in the text domain before feeding it into a BERT reranker. To handle transformer length constraints, they propose three text-handling strategies:
- Concatenate and Truncate (CT): Appends feedback passages to the query and cuts them off at 256 tokens.
- Concatenate and Aggregate (CA): Creates $k$ separate new queries (one for each feedback passage), runs them independently through BERT, and aggregates the scores using methods like Average, Max, or Borda voting.
- Sliding Window (SW): Uses a chunking window over the combined feedback text to create overlapping partitions, creating multiple sub-queries.
2. Vector-Based PRF
Instead of manipulating text, this method performs PRF directly within the vector embedding space of dense retrievers (such as ANCE or RepBERT). Because passage embeddings are pre-computed and indexed offline, query reformulation happens instantaneously via vector operations:
- Vector Average: The new query vector is simply the mean of the original query vector and the top-$k$ passage vectors.
- Vector Rocchio: A modified version of the classic Rocchio algorithm that interpolates the original query embedding with the average feedback embedding using weights ($\alpha$ and $\beta$).
Datasets
The approaches were evaluated across five distinct passage retrieval benchmarks:
- TREC DL 2019 & TREC DL 2020: Standard deep learning track datasets based on the MS MARCO passage collection (~8.8 million passages).
- TREC CAsT 2019: A conversational search dataset, evaluated here as independent query turns.
- WebAP (Web Answer Passages): A dataset containing longer web text passages.
- DL HARD: A benchmark specifically engineered with challenging queries where traditional systems fail.
Key Insights and Ideas
- The Pitfall of Text-Based PRF: Text-based methods often trigger query drift. If the initial retrieval contains noise (non-relevant documents), appending that text to the query steers the transformer completely off-topic. This was especially evident in the DL HARD dataset.
- Shallow Feedback is Better: For vector-based PRF, utilizing a "shallow" signal (only the top 3 to 5 passages) yields much better results than a "deep" signal (10+ passages). More passages introduce more noise.
- Query Dominance in Vector Space: In the Rocchio formulation, the best results occur when the original query retains the majority of the weight ($\alpha > \beta$). The feedback should nudge the query vector, not replace it.
- Data Mismatch: Text-based PRF creates long queries that deep rerankers aren't trained to handle. Since models like BERT are typically fine-tuned on short queries, they perform poorly when evaluated on long, concatenated PRF text.
Key Results
- Efficiency Breakthrough: Vector-based PRF retrievers achieved a query latency of just 163–174 ms, compared to 3,246 ms for a standard BM25+BERT reranker. This makes vector-based PRF fully viable for real-time production search engines.
- Effectiveness Gains: Vector-based PRF consistently outperformed baseline dense retrievers across deep evaluation metrics (MAP and Recall@1000) on nearly all datasets.
- Text Aggregation Winner: When text-based PRF did work (primarily on the "easier" TREC DL 2019 dataset), the Concatenate and Aggregate (CA) method combined with Borda voting proved to be the most effective configuration.
Limitations and Future Work
- Static Parameter Tuning: The weights for the Rocchio vector fusion ($\alpha, \beta$) currently have to be tuned globally on a validation set. The authors note that dynamically predicting these weights on a per-query basis remains an open challenge.
- Document-Level Scaling: This study focused entirely on passage retrieval. Scaling these methods to full-length documents will exacerbate the transformer length limitation problem even further.
- Hybrid Pipelines: The paper does not explore how these PRF techniques behave within modern hybrid retrieval pipelines that combine both sparse (lexical) and dense (semantic) architectures.
Summary updated