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

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

20 Apr 2021arXiv:2104.09791archive 2025-07-28

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

Pre-training and fine-tuning have achieved remarkable success in many downstream natural language processing (NLP) tasks. Recently, pre-training methods tailored for information retrieval (IR) have also been explored, and the latest success is the PROP method which has reached new SOTA on a variety of ad-hoc retrieval benchmarks. The basic idea of PROP is to construct the \textit{representative words prediction} (ROP) task for pre-training inspired by the query likelihood model. Despite its exciting performance, the effectiveness of PROP might be bounded by the classical unigram language model adopted in the ROP task construction process. To tackle this problem, we propose a bootstrapped pre-training method (namely B-PROP) based on BERT for ad-hoc retrieval. The key idea is to use the powerful contextual language model BERT to replace the classical unigram language model for the ROP task construction, and re-train BERT itself towards the tailored objective for IR. Specifically, we introduce a novel contrastive method, inspired by the divergence-from-randomness idea, to leverage BERT's self-attention mechanism to sample representative words from the document. By further fine-tuning on downstream ad-hoc retrieval tasks, our method achieves significant improvements over baselines without pre-training or with other pre-training methods, and further pushes forward the SOTA on a variety of ad-hoc retrieval tasks.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2104.09791")

Code

Syntology Ran 5 of 16 code samples harvested from 1 repository linked to this paper; 11 have no recorded run. Of those that ran: 2 ran · honoured contract; 3 ran · our draft was wrong.

By repository: official repository: 16 samples from 1 repository, 5 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Albert-Ma/PROP officialtfApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

16 samples harvested; 5 ran; 2 honoured the contract we drafted; 11 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · honoured contract
3ran · our draft was wrong
11unverified

Licence: 0 of the 16 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from Albert-Ma/PROP. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

swish Albert-Ma/PROP/pytorch_pretrain_bert/modeling.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 0f786c407fb1ee4c · report
whitespace_tokenize Albert-Ma/PROP/pytorch_pretrain_bert/tokenization.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · cf9ffa02a42184af · report
gelu Albert-Ma/PROP/pytorch_pretrain_bert/modeling.py official repository ran · honoured contract fingerprinted Apache-2.0 (permissive) · fdc64f4c72036ae4 · report
url_to_filename Albert-Ma/PROP/pytorch_pretrain_bert/file_utils.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 5eff22fa0a651276 · report
warmup_linear Albert-Ma/PROP/pytorch_pretrain_bert/optimization.py official repository ran · honoured contract fingerprinted Apache-2.0 (permissive) · e0960afdb0d64aa7 · report
cached_path Albert-Ma/PROP/pytorch_pretrain_bert/file_utils.py official repository unverified Apache-2.0 (permissive) · cf9c448c96f48428 · report
convert_example_to_features Albert-Ma/PROP/run_pretraining.py official repository unverified Apache-2.0 (permissive) · 31309d37109b349a · report
convert_examples_to_features Albert-Ma/PROP/bprop/extract_bert_attention.py official repository unverified Apache-2.0 (permissive) · 84da8d20deaf09f5 · report
create_masked_lm_predictions Albert-Ma/PROP/prop/multiprocessing_generate_pairwise_instances.py official repository unverified Apache-2.0 (permissive) · bfc2b26a3e70c602 · report
filename_to_url Albert-Ma/PROP/pytorch_pretrain_bert/file_utils.py official repository unverified Apache-2.0 (permissive) · a6aab787fcf8b10d · report
load_tf_weights_in_bert Albert-Ma/PROP/pytorch_pretrain_bert/modeling.py official repository unverified Apache-2.0 (permissive) · b1a7180868dd8d6a · report
load_vocab Albert-Ma/PROP/pytorch_pretrain_bert/tokenization.py official repository unverified Apache-2.0 (permissive) · a4e183f24a5ad1a7 · report
read_examples Albert-Ma/PROP/bprop/extract_bert_attention.py official repository unverified Apache-2.0 (permissive) · 3fb4a496ddda4d00 · report
softmax Albert-Ma/PROP/prop/multiprocessing_generate_word_sets.py official repository unverified Apache-2.0 (permissive) · 2871908e26a30647 · report
warmup_constant Albert-Ma/PROP/pytorch_pretrain_bert/optimization.py official repository unverified Apache-2.0 (permissive) · 59e4e730a9dc5dc6 · report
warmup_cosine Albert-Ma/PROP/pytorch_pretrain_bert/optimization.py official repository unverified Apache-2.0 (permissive) · 007a8d2955fb555d · report

Tasks

Information RetrievalLanguage ModelingLanguage ModellingRetrieval

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

AdamAttentionAttention DropoutBERTDense ConnectionsDropoutLayer NormalizationLinear LayerLinear Warmup With Linear DecayMulti-Head AttentionResidual ConnectionSoftmaxWeight DecayWordPiece

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections