B-PROP: Bootstrapped Pre-training with Representative Words Prediction for Ad-hoc Retrieval

Xinyu Ma, Jiafeng Guo, Ruqing Zhang, Yixing Fan, Yingyan Li, Xueqi Cheng

Abstract

Ad-hoc retrieval is a fundamental task in information retrieval (IR) that involves ranking documents based on their relevance to a user's query. While pre-trained models like BERT have significantly advanced natural language processing, they often lack the specific inductive biases required for effective document ranking. This paper introduces B-PROP, a novel approach that enhances the Representative words Prediction (ROP) pre-training task by using BERT to "bootstrap" its own training process. By implementing a contrastive attention mechanism, B-PROP effectively filters out syntactic noise to identify truly representative topical terms. Our experiments demonstrate that B-PROP achieves state-of-the-art results across multiple large-scale and small-scale retrieval benchmarks.

Introduction: Bridging the Gap in Neural IR

The primary challenge in ad-hoc retrieval is matching the semantic intent of a query with the content of a document. Traditional pre-training objectives, such as Masked Language Modeling (MLM), focus on local context rather than global document relevance. A recent advancement, PROP, introduced the Representative words Prediction (ROP) task to align pre-training with ranking. However, PROP relied on a basic unigram language model to select representative words, ignoring the rich contextual information available in modern transformers.

Methodology: Bootstrapping with Contrastive Sampling

B-PROP improves upon ROP by using BERT's own internal representations to identify the most important terms in a document. The core of this method is Contrastive Sampling, which addresses the "noise" inherent in vanilla attention weights.

The Contrastive Attention Mechanism

In standard BERT models, the [CLS] token often attends heavily to common "stop words" (e.g., the, in, of) due to their structural importance in language. To isolate topical signals, B-PROP calculates a global "random" term distribution by averaging attention across the entire corpus. It then measures the divergence between a specific document's attention and this global average. Terms that receive significantly higher attention in a specific document compared to the corpus average are selected as representative.

Comparison of Vanilla vs. Contrastive Term Distribution showing how the contrastive method filters out non-informative stop words.

To prevent a single high-attention term from dominating the selection, the authors apply a saturation function inspired by the BM25 algorithm. The final pre-training task requires the model to predict which of two sampled word sets is more representative of a given document.

Experimental Results

The authors evaluated B-PROP on a diverse set of benchmarks, including MS MARCO, TREC DL, and several classic IR datasets like Robust04 and ClueWeb09-B.

Performance Gains

B-PROP consistently outperformed both vanilla BERT and the original PROP model. On the MS MARCO Document Ranking task, B-PROP achieved an MRR@100 of 0.441, a notable improvement over PROP's 0.435. The model showed even more dramatic gains on smaller datasets; for instance, it achieved a ~20% improvement in nDCG@20 on ClueWeb09-B compared to standard BERT.

Main retrieval results across five benchmarks, comparing B-PROP to traditional, neural, and other pre-trained models.

Key Insights

  • Contextual Sampling: Moving from frequency-based sampling to contextual sampling significantly enhances the quality of the pre-training signal.
  • Data Efficiency: B-PROP is highly effective in low-resource scenarios. Fine-tuning on just 10 queries can lead to performance that rivals standard models trained on thousands of examples.
  • Zero-Shot Capability: In settings without fine-tuning, B-PROP outperformed traditional BM25 baselines, indicating it learns a robust general representation of document relevance.

Conclusion and Future Work

B-PROP demonstrates that bootstrapping pre-training tasks using the model's own internal attention can lead to significant improvements in ad-hoc retrieval. By filtering out syntactic background noise through contrastive sampling, the model focuses on the topical terms most relevant for ranking. Future research may explore applying this ROP objective to first-stage retrieval to further optimize the entire search pipeline.

Summary updated

BibTeX
@inproceedings{ma2021b,
  author = {Xinyu Ma and Jiafeng Guo and Ruqing Zhang and Yixing Fan and Yingyan Li and Xueqi Cheng},
  title = {{B-PROP: Bootstrapped Pre-training with Representative Words Prediction for Ad-hoc Retrieval}},
  booktitle = {International ACM SIGIR Conference on Research and Development in Information Retrieval},
  year = {2021},
  doi = {10.1145/3404835.3462869},
}
Figure