TL;DR
This paper introduces LLM-VPRF, demonstrating that Vector Pseudo Relevance Feedback (VPRF)—a technique originally built for BERT-style models—successfully scales to modern Large Language Model (LLM) dense retrievers. By refining query embeddings directly in vector space using top-ranked passages, LLM-VPRF boosts retrieval accuracy across diverse benchmarks with virtually zero computational overhead.
What Problem Does This Paper Address?
Dense retrieval has largely shifted from BERT-style encoders to massive decoder-only LLMs. Because LLMs undergo extensive pre-training on vast text corpora, they generate incredibly rich, context-aware embeddings that capture deep semantic relationships. However, even these advanced models can struggle with complex queries or vocabulary mismatches.
In traditional Information Retrieval (IR), Pseudo Relevance Feedback (PRF) fixes this by taking the top-ranked documents from an initial search pass, assuming they are relevant, and using them to refine the original query. While traditional PRF expands queries textually (which can cause "query drift" if irrelevant words are added), Vector PRF (VPRF) updates the query directly in continuous vector space.
While VPRF has proven highly effective for BERT-based models, it remained an open question whether the technique generalizes to the much deeper, more complex embedding spaces of modern LLM-based retrievers. This paper bridges that gap.
Methods
The authors implement LLM-VPRF by applying two classic vector-space PRF algorithms to modern LLM embeddings:
- Average: Computes a new query vector by simply averaging the original query embedding with the embeddings of the top-$k$ retrieved passages.
- Rocchio: Formulates the new query embedding using a weighted combination: $$\mathbf{E}_{Q_{new}} = \alpha \cdot \mathbf{E}_{Q_{original}} + \beta \cdot \text{Avg}(\mathbf{E}_{p_1}, \dots, \mathbf{E}_{p_k})$$ Here, $\alpha$ and $\beta$ tune the influence of the original query versus the feedback passages.
The authors evaluate this framework across three state-of-the-art LLM embedding configurations:
- PromptReps: An unsupervised, zero-shot dense representation built on Llama-3-8B-Instruct.
- RepLLaMa: A supervised, fine-tuned retriever based on Llama-2-7b.
- LLM2Vec: A text-encoding framework that adapts Llama-3-8B-Instruct into a bidirectional encoder using unsupervised SimCSE.
Datasets
The approach was tested across a wide array of heterogeneous IR tasks:
- BEIR Benchmark: The authors selected 13 commonly used datasets from BEIR (including ArguAna, Climate-FEVER, DBPedia, HotpotQA, and Quora) to test zero-shot generalization.
- TREC Deep Learning (2019/2020): Used to evaluate performance in standard web search scenarios.
Performance was measured using standard IR metrics: nDCG@10 and Recall@100.
Key Insights and Ideas
- VPRF is Backbone-Agnostic: The core mechanism of vector-space feedback successfully transfers from encoder-only architectures (BERT) to decoder-only LLMs.
- Supervised vs. Unsupervised Discrepancies: Supervised embedding models (RepLLaMa and LLM2Vec) show immediate, robust improvements under average parameter settings. Unsupervised models (PromptReps) show mixed average results but massive Oracle potential (the best possible parameter combination per dataset), meaning they are highly sensitive to hyperparameter tuning.
- Exploiting Semantic Depth: LLM-VPRF performs exceptionally well on highly semantic datasets (like ArguAna and Quora) and web search (TREC DL), indicating that VPRF effectively capitalizes on the sophisticated contextual information latent within LLM embeddings.
Key Results
The experimental results show that vector feedback consistently enhances retrieval performance across different architectures:
- RepLLaMa achieved steady, positive gains across the board, showing a 1.6% improvement in Recall@100 on BEIR and a 2.1% boost in nDCG@10 on TREC DL.
- LLM2Vec saw the most substantial improvements on TREC DL, boosting nDCG@10 by 13.4% in the Best-In-Average (BIA) setting and up to 17.9% in the Oracle setting.
- Negligible Latency Overhead: Unlike generative PRF methods that force an LLM to generate text tokens (which is slow and expensive), LLM-VPRF operates entirely via vector arithmetic. As shown in the efficiency evaluation, it adds a mere 0.004s to 0.006s of latency per query, making it highly viable for production systems.
Limitations and Future Work
- Garbage In, Garbage Out: The success of VPRF is inherently tied to the quality of the initial retrieval. If the top-$k$ documents are entirely irrelevant, averaging their vectors can degrade the query representation (as observed in PromptReps' slight baseline dips).
- Scope of Models: The study only evaluates three specific LLM configurations in a controlled environment.
- Future Directions: The authors highlight the need for smarter feedback selection strategies—mechanisms that can dynamically filter out noisy or irrelevant passages before performing vector averaging—as well as testing on a broader variety of LLM scales and architectures.
Summary updated