xPRT: Cross-Passage Signals for Unsupervised Retrieval Pretraining
Cross-passage relations inside a single unlabeled document provide a more complementary retrieval-pretraining signal than random crops or self-reconstruction.
On this page
You have 100,000 unlabeled web pages and a vendor pitch that continued pretraining, not annotation, will lift your search quality — but should you approve the budget? The usual advice is that unsupervised pretraining only builds random same-document pairs or reconstructs each passage from its own vector, so the gain is thin and unpredictable. xPRT challenges that assumption: it uses which passages represent a document and how passages relate to one another as the training signal [1].
The Default Bet: Are Random Pairs and Self-Reconstruction Enough?
Most teams assume that without labels the only option is to pair a passage with a random crop or an adjacent span, or to make a vector reconstruct its own passage. Both choices ignore document structure. A dense retriever (a model that maps queries and passages into vectors and ranks candidates by vector distance) is usually pretrained this way. Contrastive learning (pulling paired texts together and pushing other texts apart) collapses the relation between two spans into one same-document label; a random crop can pair a navigation block with the article body. Bottleneck auto-encoding (reconstructing a passage from its own compressed vector) lets the model rebuild what it has already read, so it never has to anticipate unseen content. xPRT (Cross-Passage Retrieval Pretraining) argues that a single document still contains two unused signals: which passages carry the topic, and how those passages complement or answer one another [1].
What xPRT Uses as Supervision
xPRT selects groups offline. For each document, a frozen E5 scorer measures passage embeddings; an anchor must lie close to the centroid of the document’s passage embeddings. Up to 10 anchors are kept per document. For each anchor, candidate siblings are ranked by fused dense and TF-IDF similarity, and the top 4 are kept. The positive is therefore a content-related passage from anywhere in the document, not a random crop or an adjacent span. On the 100K corpus, 99% of documents produce groups, with 7.0 groups per document on average covering 68% of all passages.
During training, the encoder reads a light view with 15% of tokens masked. A one-layer decoder, discarded after pretraining, reads a heavy view with 60% masked. The main contrastive loss asks the anchor embedding to identify its top sibling among passages from other documents, with temperature 0.05. A content-supervision loss asks the decoder to predict masked tokens of a sibling using only the anchor embedding, and vice versa. Self-distillation, MLM, and a uniformity regularizer complete the objective, with λc = 0.1 and λu = 0.01. Table 1 lists the key settings.
| Setting | Value | Role |
|---|---|---|
| Passage length | 128 tokens | Basic training and evaluation unit |
| Siblings per example | 4 | Cross-passage targets for each anchor |
| Anchors per document | Up to 10 | Controls groups per document |
| Light / heavy mask | 15% / 60% | Encoder reads light view, decoder reads heavy view |
| Contrastive temperature | 0.05 | Sharpness of the contrastive loss |
| Loss weights | λc = 0.1, λu = 0.01 | Content supervision and uniformity |
How the Comparison Controls Its Variables
Every run continues from the public e5-base-unsupervised checkpoint on FineWeb, at 100K to 1M documents. The backbone, schedule, batch size, passage length, retention regularizer, and seeds are fixed; evaluation is on MTEB English v2 without fine-tuning, so the objective is the only variable. This setup answers a narrow question: which objective adds complementary gain during continual pretraining, not which one wins when trained from scratch. The selected excerpt names four baselines: RetroMAE, DupMAE, SimLM, and BoW-DPR. The abstract says five objectives in total, but the excerpt does not give the fifth name; I do not fill it in. A reader checking reproducibility should use the paper’s table for the full list [1].
- RetroMAE: a bottleneck auto-encoding objective that reconstructs the passage.
- DupMAE: another auto-encoding-style comparison.
- SimLM: a pretraining method centered on passage representation.
- BoW-DPR: a dense-retrieval pretraining control using bag-of-words signals.
- Fifth baseline: the abstract says five comparison objectives, but the excerpt omits the fifth name; I do not invent it.
Results: 3.2% Average Gain and 6.1% nDCG@10
Results have three layers. Against the strongest baseline, xPRT is 3.2% higher on average over 41 tasks and 6.1% higher in nDCG@10 on the 10 retrieval tasks. Against its starting checkpoint, it gains 1.8 to 1.9 points at every scale from 100K to 1M documents and improves every task type; it wins 34 of 41 tasks. Against the regression problem, no baseline gains more than 0.4 points at any scale, and four of the five end below the checkpoint at 100K. In this continual-pretraining setting, many objectives partially erase what the initial retriever already knew; xPRT is the only one that adds a substantial complementary gain.
| Metric | Reported xPRT value | Control |
|---|---|---|
| MTEB English v2, 41 tasks | 3.2% above strongest baseline | Same checkpoint, corpus, schedule |
| 10 retrieval tasks, nDCG@10 | 6.1% above strongest baseline | No fine-tuning, one protocol |
| Vs. initial checkpoint | +1.8 to +1.9 points | 100K to 1M documents, every task type |
| Tasks won out of 41 | 34 | Reported in Figure 1 |
| Baselines vs. checkpoint | At most +0.4 points at any scale; 4 of 5 below at 100K | Shows regression during continual pretraining |
Ablation: Random Siblings Cost 9.3 nDCG@10
Ablation links the gain to the cross-passage signal. Replacing each anchor’s top sibling with a random passage from the same document costs 9.3 nDCG@10. Keeping only within-passage supervision, even with as much text or up to five times the steps, stays at 18.8 to 19.2 nDCG@10, below the strongest baseline. The result is not just “more training”; it is “which passage is paired with which.” For data buyers, this matters: if a vendor says “contrastive pretraining” without explaining how positives are selected, you cannot tell whether the method carries this signal.
Boundary: When the Method Does Not Apply
The method does not apply everywhere. The main evidence is English MTEB v2, continuing from e5-base-unsupervised on FineWeb with 128-token passages. It does not establish the same gains for Chinese, multilingual, long-document, or highly specialized domains. Group selection also depends on a frozen E5 scorer and IDF; if a document has no several related passages, or its body is buried under navigation and boilerplate, the cross-passage signal weakens. Evaluation is without fine-tuning and reports complementary gain over a starting point, not absolute search quality; production A/B tests remain necessary. The paper also does not quantify annotation-cost savings, latency, or index cost. My judgment: it is worth a small controlled run when a team already has a public retrieval checkpoint and web-like document streams; it is out of scope as a label-free replacement for an existing retriever in an untested language or domain [1].
