TL;DR
This paper presents a rigorous reproducibility study of ANCE-PRF, a prominent pseudo-relevance feedback method designed to improve dense text retrieval. While the authors successfully replicate the original performance, they reveal critical, undocumented implementation details—such as strict query lowercasing and specific weight inheritance—and demonstrate that the method's effectiveness diminishes significantly when applied to stronger, modern dense retrievers.
What Problem Does This Paper Address?
Dense retrievers (DRs) have revolutionized information retrieval by using deep language models (like BERT) to embed queries and documents into a shared vector space, balancing high accuracy with low query latency. To push accuracy even further, researchers use Pseudo-Relevance Feedback (PRF). PRF takes the top-$k$ documents from an initial search pass, assumes they are relevant, and uses their content to refine the query for a second, more accurate search pass.
A recent state-of-the-art method called ANCE-PRF accomplishes this by concatenating the original query text with the text of the top-$k$ retrieved documents, feeding this long string into a newly trained query encoder. However, the original study only tested this on a single dense retriever (ANCE) and left out crucial implementation and hyperparameter details. This paper investigates two core questions:
- Is ANCE-PRF actually reproducible from both an inference and training standpoint?
- Does the underlying strategy generalize to other, more powerful dense retrievers?
Methods
The authors systematically audited ANCE-PRF by breaking their study into three phases:
- Inference Reproduction: Using the original authors' pre-trained model checkpoint, they integrated ANCE-PRF into the open-source Pyserini IR toolkit to see if they could match the published ranking scores.
- Training Reproduction: Since the original training code was proprietary, the authors rebuilt the training pipeline from scratch using the Tevatron toolkit. They evaluated the impact of hidden variables: learning rates ($1e-5$ vs. $1e-6$), optimizers (AdamW vs. LAMB), negative sampling strategies (in-batch negatives), and layer initialization choices.
- Generalization Testing: To see if the PRF strategy is architecture-agnostic, they applied the exact same concatenation and training pipeline to two superior dense retrievers: TCT ColBERT V2 HN+ and DistilBERT KD TASB.
Datasets
The experiments were conducted using standard, large-scale passage retrieval benchmarks:
- MS MARCO Passage Ranking V1: Used for training (~530K queries) and evaluation (Dev set of 6,980 queries).
- TREC DL 2019: 43 deeply judged queries.
- TREC DL 2020: 54 deeply judged queries.
- All datasets draw from the same underlying corpus of approximately 8.8 million passages.
Key Insights and Ideas
- The Devil is in the Casing: The authors discovered that ANCE-PRF is highly sensitive to text capitalization. Because the original queries were entirely lowercase, the original paper omitted a crucial detail: the tokenizer must force lowercasing at inference time. If mixed-case feedback documents are appended without forcing lowercase tokenization, token IDs shift, causing a noticeable drop in retrieval performance.
- Don't Lose Your Head: Standard deep learning practice often involves stripping and re-initializing the final linear projection layer ("head") when training a new variant of a model. For ANCE-PRF, doing this destroys performance. The model must inherit the exact embedding head and normalization layers of the base ANCE model to maintain the alignment of the document index.
- Diminishing Returns on Stronger Models: PRF acts as a massive crutch for weaker retrieval models (like the original ANCE). However, when applied to highly optimized models like TCT ColBERT V2, the benefits of text-concatenation PRF shrink dramatically. It is inherently easier to improve a mediocre baseline than a highly optimized one.
Key Results
- Successful Replication: When forcing lowercase tokenization, the authors perfectly matched the original paper's inference results (e.g., 0.344 MRR@10 on MS MARCO). Unhandled casing dropped the score to 0.342.
- Training from Scratch: The newly trained reproduced model slightly outperformed the original paper's reported metrics on MS MARCO, hitting an MRR@10 of 0.347.
Model / Dataset MS MARCO (MRR@10) TREC DL 2019 (nDCG@10)
-----------------------------------------------------------------------
ANCE (Baseline) 0.330 0.648
ANCE-PRF 3 (Original) 0.344 0.681
ANCE-PRF 3 (Reproduced) 0.347 0.672
- Limited Generalizability: When evaluating stronger models, the results were underwhelming. For TCT ColBERT V2, adding PRF actually decreased MS MARCO performance from 0.359 to 0.357, though it yielded minor improvements on the TREC datasets.
Model / Dataset MS MARCO (MRR@10) TREC DL 2019 (nDCG@10)
-----------------------------------------------------------------------
TCT ColBERT V2 (Baseline) 0.359 0.720
TCT ColBERT V2 + PRF 3 0.357 0.741
Limitations and Future Work
- Combinatorial Training Explosion: A major limitation of ANCE-PRF is that a unique query encoder must be trained from scratch for every single feedback depth ($k$). If you want to change your system from using 3 feedback documents to 5, you have to train a brand-new neural network.
- Length Constraints: Because the method relies on raw text concatenation, it quickly hits the hard 512-token limit of standard Transformer models, strictly capping how much feedback text can be utilized.
- Hyperparameter Sensitivity: The strategy is not robust across different dense retriever architectures, implying that future work must focus on developing either architecture-agnostic PRF techniques or automated hyperparameter tuning frameworks tailored to specific bi-encoders.
The code and trained checkpoints from this reproducibility study have been made publicly available by the authors at https://github.com/ielab/APR.
Summary updated