Papers
Topics
Authors
Recent
Search
2000 character limit reached

FineWeb-PosQ: Position-Aware Retrieval Benchmark

Updated 5 July 2026
  • FineWeb-PosQ is a position-aware benchmark derived from FineWeb-edu that stratifies long passages into beginning, middle, and end to assess retrieval performance.
  • It employs GPT-generated queries and metrics such as nDCG@10 and PSI to quantify positional bias and the impact of evidence location.
  • Results show dense retrievers exhibit strong head bias compared to rerankers, while calibration techniques can effectively reduce performance gaps.

Searching arXiv for the papers on arXiv to ground the article and verify identifiers. arxiv_search: query="FineWeb-PosQ positional bias dense retrieval Spokes (Lee et al., 13 Jun 2026, Yu et al., 26 May 2026, Michail et al., 1 Jun 2026, Zeng et al., 20 May 2025)", max_results=10 arxiv_search({"query":"FineWeb-PosQ positional bias dense retrieval Spokes (Lee et al., 13 Jun 2026, Yu et al., 26 May 2026, Michail et al., 1 Jun 2026, Zeng et al., 20 May 2025)","max_results":10}) FineWeb-PosQ is primarily a position-aware retrieval benchmark derived from FineWeb-edu and designed to measure how retrieval effectiveness changes when query-relevant evidence occurs in the beginning, middle, or end of a long passage. In the positional-bias literature, it is used to expose the “Myopic Trap” of dense retrievers and to evaluate mitigation strategies at both training time and inference time (Zeng et al., 20 May 2025, Yu et al., 26 May 2026, Michail et al., 1 Jun 2026). The same label also appears in a distinct pretraining-data-selection setting, where “PosQ” denotes a positive-quality condition on FineWeb defined by FineWeb-Edu classifier scores and integrated into Spokes; that usage is technically separate from the retrieval benchmark (Lee et al., 13 Jun 2026).

1. Benchmark definition and corpus construction

FineWeb-PosQ is built from long passages sampled from FineWeb-edu, with passage length in [500,1024][500,1024] words. Each passage is divided into three contiguous thirds—Beginning, Middle, and End—and queries are generated so that the answer lies within a designated segment. The retrieval task keeps the document text unchanged and instead stratifies queries by answer location, making the benchmark semantics-preserving rather than based on artificial document rotation or content shifting (Zeng et al., 20 May 2025, Michail et al., 1 Jun 2026).

In one detailed specification, the benchmark contains 13,902 passages and 25,775 queries. The positional-group counts are Begin: 8,748, Middle: 8,414, and End: 8,613. The average passage length is 762 words with σ148\sigma \approx 148. Query generation uses GPT-4o-mini to produce one or more segment-focused questions for each segment, and each question is paired with its original passage as the relevant item while all other passages are treated as non-relevant under binary labels (Michail et al., 1 Jun 2026).

The positional grouping is defined over thirds of the passage. If a passage has length LL, then Group 1 (Begin) corresponds to tokens 1L/31 \ldots \lfloor L/3 \rfloor, Group 2 (Middle) to tokens L/3+12L/3\lfloor L/3 \rfloor + 1 \ldots \lfloor 2L/3 \rfloor, and Group 3 (End) to tokens 2L/3+1L\lfloor 2L/3 \rfloor + 1 \ldots L (Michail et al., 1 Jun 2026). A central design property is that the same corpus is used throughout; only the query grouping changes with evidence position (Zeng et al., 20 May 2025).

2. Evaluation formalism and bias metrics

FineWeb-PosQ is typically evaluated with nDCG@10 computed separately for each positional group. For a query qq, with binary relevance labels ri{0,1}r_i \in \{0,1\} at ranks i=1,,10i=1,\dots,10,

DCG@10(q)=i=1102ri1log2(i+1),nDCG@10(q)=DCG@10(q)IDCG@10(q).\mathrm{DCG@10}(q)=\sum_{i=1}^{10}\frac{2^{r_i}-1}{\log_2(i+1)}, \qquad \mathrm{nDCG@10}(q)=\frac{\mathrm{DCG@10}(q)}{\mathrm{IDCG@10}(q)}.

Group-specific scores are then averaged over all queries in the corresponding positional group (Michail et al., 1 Jun 2026).

Several summaries of positional bias are used. A common measure is the Position Sensitivity Index,

σ148\sigma \approx 1480

with σ148\sigma \approx 1481 and σ148\sigma \approx 1482. An equivalent form reported elsewhere is

σ148\sigma \approx 1483

A PSI of 0 indicates perfectly flat performance across positions; larger values indicate larger spread between the best and worst positional group (Yu et al., 26 May 2026, Michail et al., 1 Jun 2026).

A second summary is the retrieval-performance gap

σ148\sigma \approx 1484

which is proportional to PSI via σ148\sigma \approx 1485 (Yu et al., 26 May 2026). The “Myopic Trap” literature also defines a head-bias statistic

σ148\sigma \approx 1486

where σ148\sigma \approx 1487 is average nDCG@10 for model σ148\sigma \approx 1488 on bin σ148\sigma \approx 1489. On FineWeb-PosQ this specializes to beginning-versus-end performance, so a large positive LL0 indicates strong preference for early evidence (Zeng et al., 20 May 2025).

Inference-time calibration work further reports the harmonic mean across positional groups,

LL1

as a summary of consistency across Begin, Middle, and End. This metric emphasizes configurations that avoid catastrophic underperformance on any one position (Michail et al., 1 Jun 2026).

3. FineWeb-PosQ as a benchmark for the “Myopic Trap”

FineWeb-PosQ was introduced as part of a broader semantics-preserving framework for benchmarking positional bias in retrieval. The principal empirical finding is that dense first-stage retrieval often degrades as relevant evidence moves later in the passage, whereas BM25 and cross-encoder rerankers remain comparatively flat (Zeng et al., 20 May 2025).

On FineWeb-PosQ, BM25 changes from 89.56 to 88.80 between beginning and end, corresponding to LL2. Single-vector embedding models show markedly larger drops: bge-m3-dense goes from 88.64 to 80.35 (LL3); stella from 88.19 to 78.96 (LL4); voyage from 92.65 to 87.96 (LL5); text-embed-3-large from 86.09 to 82.09 (LL6); gte from 87.45 to 81.79 (LL7); and NV-embed-v2 from 87.35 to 88.10 (LL8) (Zeng et al., 20 May 2025).

ColBERT-style late interaction does not eliminate positional bias, but it can change its magnitude substantially. On FineWeb-PosQ, colbertv2.0 goes from 88.73 to 64.25, yielding LL9, while bge-m3-colbert goes from 92.08 to 86.66, yielding 1L/31 \ldots \lfloor L/3 \rfloor0. Cross-encoder rerankers remain close to position-flat; for example, bge-reranker-v2-m3 changes from 95.18 to 94.66 with 1L/31 \ldots \lfloor L/3 \rfloor1 (Zeng et al., 20 May 2025).

These results support three benchmark-level conclusions. First, embedding-only first stages are prone to head bias on long web passages. Second, late interaction can mitigate bias under some training configurations, but not uniformly. Third, interaction-rich reranking appears substantially more robust to where the relevant span occurs in the document (Zeng et al., 20 May 2025).

4. Training-position distribution as a control variable

A later line of work uses FineWeb-PosQ as an evaluation benchmark for studying whether positional bias is built into retriever architectures or learned from training data. The central formal object is a training-position distribution 1L/31 \ldots \lfloor L/3 \rfloor2 over Beginning, Middle, and End, with 1L/31 \ldots \lfloor L/3 \rfloor3. Canonical configurations include 1L/31 \ldots \lfloor L/3 \rfloor4 for begin-only, 1L/31 \ldots \lfloor L/3 \rfloor5 for mid-only, 1L/31 \ldots \lfloor L/3 \rfloor6 for end-only, and 1L/31 \ldots \lfloor L/3 \rfloor7 for uniform training (Yu et al., 26 May 2026).

The controlled training data are synthetic rather than drawn from FineWeb itself. English Wikipedia articles are stratified into five length bins 1L/31 \ldots \lfloor L/3 \rfloor8, cut into Beginning, Middle, and End segments, and paired with GPT-4 mini queries generated under a persona-conditioned prompt. Candidate triples are filtered by requiring unanimous agreement of three cross-encoder rerankers with a margin threshold 1L/31 \ldots \lfloor L/3 \rfloor9. At L/3+12L/3\lfloor L/3 \rfloor + 1 \ldots \lfloor 2L/3 \rfloor0, the pipeline retains 481,236 high-precision examples. Because retained counts remain skewed, the data are downsampled within each length bin to create four controlled splits; each split contains approximately 40k examples and has identical total size and length-bin composition (Yu et al., 26 May 2026).

The fine-tuning study covers eight pretrained models—BERT-base, Longformer-base, ModernBERT-base, ModernBERT-large, GPT-2-medium, BLOOM-560M, TinyLlama-NoPE, and Qwen3-0.6B—trained as dual-encoder retrievers with InfoNCE loss, chunk-aware negatives, batch size 256, AdamW, warmup 10%, 3 epochs, learning rate L/3+12L/3\lfloor L/3 \rfloor + 1 \ldots \lfloor 2L/3 \rfloor1 for models under 400M parameters and L/3+12L/3\lfloor L/3 \rfloor + 1 \ldots \lfloor 2L/3 \rfloor2 for larger models, similarity scale 20.0, seed 42, and no hard negatives or early stopping (Yu et al., 26 May 2026).

FineWeb-PosQ is then used to measure retrieval-level bias. Balanced training sharply reduces positional sensitivity. For ModernBERT-base, PSI falls from 0.476 under L/3+12L/3\lfloor L/3 \rfloor + 1 \ldots \lfloor 2L/3 \rfloor3 to 0.108 under L/3+12L/3\lfloor L/3 \rfloor + 1 \ldots \lfloor 2L/3 \rfloor4, a reduction of approximately 77.3%. For ModernBERT-large, PSI falls from 0.426 to 0.116, a reduction of approximately 72.8%. For Qwen3-0.6B, PSI falls from 0.359 to 0.116, a reduction of approximately 67.7% (Yu et al., 26 May 2026).

Balanced training is also competitive in mean retrieval quality on FineWeb-PosQ. ModernBERT-base has mean nDCG@10 values L/3+12L/3\lfloor L/3 \rfloor + 1 \ldots \lfloor 2L/3 \rfloor5, L/3+12L/3\lfloor L/3 \rfloor + 1 \ldots \lfloor 2L/3 \rfloor6, L/3+12L/3\lfloor L/3 \rfloor + 1 \ldots \lfloor 2L/3 \rfloor7, and L/3+12L/3\lfloor L/3 \rfloor + 1 \ldots \lfloor 2L/3 \rfloor8, with L/3+12L/3\lfloor L/3 \rfloor + 1 \ldots \lfloor 2L/3 \rfloor9 best. ModernBERT-large has 2L/3+1L\lfloor 2L/3 \rfloor + 1 \ldots L0, 2L/3+1L\lfloor 2L/3 \rfloor + 1 \ldots L1, 2L/3+1L\lfloor 2L/3 \rfloor + 1 \ldots L2, and 2L/3+1L\lfloor 2L/3 \rfloor + 1 \ldots L3. Qwen3-0.6B has 2L/3+1L\lfloor 2L/3 \rfloor + 1 \ldots L4, which is best over 0.578, 0.533, and 0.535. This suggests that flattening positional sensitivity need not require sacrificing aggregate retrieval effectiveness (Yu et al., 26 May 2026).

Representation-level analyses in the same study further connect FineWeb-PosQ outcomes to embedding geometry. In an evidence-moving experiment, begin-trained models peak at early insertion positions, end-trained models peak at late positions, mid-trained models peak in the middle, and uniform training yields the smallest peak-to-trough gap 2L/3+1L\lfloor 2L/3 \rfloor + 1 \ldots L5. For ModernBERT-base, 2L/3+1L\lfloor 2L/3 \rfloor + 1 \ldots L6 is nearly flat with 2L/3+1L\lfloor 2L/3 \rfloor + 1 \ldots L7, compared with 2L/3+1L\lfloor 2L/3 \rfloor + 1 \ldots L8 for 2L/3+1L\lfloor 2L/3 \rfloor + 1 \ldots L9 and qq0 for qq1 (Yu et al., 26 May 2026).

5. Inference-time attention calibration on FineWeb-PosQ

FineWeb-PosQ also serves as the main downstream testbed for an inference-time mitigation strategy based on attention calibration. The method modifies the pooling token’s attention distribution without retraining. Let qq2 be the softmax-normalized attention weights over qq3 key tokens. Keys are partitioned into contiguous baskets of size qq4, and a fully calibrated distribution qq5 redistributes mass uniformly over baskets: qq6 where qq7 is the number of baskets. A strength coefficient qq8 interpolates between original and calibrated attention,

qq9

Calibration can be applied to the last layer only or to the last 50% of layers, with tested basket sizes ri{0,1}r_i \in \{0,1\}0 and ri{0,1}r_i \in \{0,1\}1 plus a sweep in steps of .05 for ablation (Michail et al., 1 Jun 2026).

The benchmark results show a consistent directional effect: calibration lowers Begin performance and raises Middle and End performance, thereby reducing PSI. Partial calibration frequently outperforms full calibration in harmonic mean, especially when applied to half the layers (Michail et al., 1 Jun 2026).

Model No Cal. Harm / PSI HL, ri{0,1}r_i \in \{0,1\}2 Harm / PSI
GTE-multilingual-base 78.66 / 0.160 79.47 / 0.122
bge-m3-dense 79.10 / 0.190 80.34 / 0.130
Qwen3-Embedding-0.6B 76.49 / 0.259 79.94 / 0.094

For GTE-multilingual-base, full half-layer calibration further lowers PSI to 0.068 but reduces Harm to 77.63. For bge-m3-dense, the corresponding values are PSI 0.068 and Harm 77.21. For Qwen3-Embedding-0.6B, half-layer full calibration gives Begin 80.94, Middle 80.46, End 76.46, Harm 79.23, and PSI 0.055 (Michail et al., 1 Jun 2026).

A single default setting—ri{0,1}r_i \in \{0,1\}3, ri{0,1}r_i \in \{0,1\}4, and calibration on 50% of the layers—improves the harmonic mean of nDCG@10 across positional groups on FineWeb-PosQ for all three evaluated embedding models, without per-model tuning. The same work reports that this default transfers without modification to PosIR, reducing PSI in all 16 length-quartile ri{0,1}r_i \in \{0,1\}5 model ri{0,1}r_i \in \{0,1\}6 retrieval-setting combinations while preserving or improving aggregate nDCG@10 (Michail et al., 1 Jun 2026).

6. “PosQ” as positive-quality selection in FineWeb pretraining

A separate use of the label occurs in pretraining-data selection rather than retrieval benchmarking. In "Spokes: Optimizing for Diverse Pretraining Data Selection," “PosQ” on FineWeb means that positive quality scores from the FineWeb-Edu classifier are integrated into Spokes with a small ri{0,1}r_i \in \{0,1\}7 (Lee et al., 13 Jun 2026).

The underlying optimization starts from a fixed-size subset objective,

ri{0,1}r_i \in \{0,1\}8

where ri{0,1}r_i \in \{0,1\}9 is a per-example quality score and i=1,,10i=1,\dots,100 is the submatrix of the cosine-similarity kernel. The continuous relaxation introduces i=1,,10i=1,\dots,101, expected quality i=1,,10i=1,\dots,102, a weighted cosine kernel i=1,,10i=1,\dots,103, and the relaxed objective

i=1,,10i=1,\dots,104

Optimization uses exponentiated gradient descent with loss

i=1,,10i=1,\dots,105

followed after i=1,,10i=1,\dots,106 steps by selection of the top-i=1,,10i=1,\dots,107 indices of i=1,,10i=1,\dots,108. In practice i=1,,10i=1,\dots,109 (Lee et al., 13 Jun 2026).

For the pure quality baseline on FineWeb, the quality score is given by the FineWeb-Edu classifier, and selection simply thresholds DCG@10(q)=i=1102ri1log2(i+1),nDCG@10(q)=DCG@10(q)IDCG@10(q).\mathrm{DCG@10}(q)=\sum_{i=1}^{10}\frac{2^{r_i}-1}{\log_2(i+1)}, \qquad \mathrm{nDCG@10}(q)=\frac{\mathrm{DCG@10}(q)}{\mathrm{IDCG@10}(q)}.0 to keep the top 50% of FineWeb by score. The chosen threshold is DCG@10(q)=i=1102ri1log2(i+1),nDCG@10(q)=DCG@10(q)IDCG@10(q).\mathrm{DCG@10}(q)=\sum_{i=1}^{10}\frac{2^{r_i}-1}{\log_2(i+1)}, \qquad \mathrm{nDCG@10}(q)=\frac{\mathrm{DCG@10}(q)}{\mathrm{IDCG@10}(q)}.1, which yields a 50% data fraction. For joint quality-plus-diversity optimization on FineWeb, the reported settings are DCG@10(q)=i=1102ri1log2(i+1),nDCG@10(q)=DCG@10(q)IDCG@10(q).\mathrm{DCG@10}(q)=\sum_{i=1}^{10}\frac{2^{r_i}-1}{\log_2(i+1)}, \qquad \mathrm{nDCG@10}(q)=\frac{\mathrm{DCG@10}(q)}{\mathrm{IDCG@10}(q)}.2, gradient embeddings computed on Qwen3-0.6B-Base truncated to the last two transformer layers, a Rademacher JL projection with DCG@10(q)=i=1102ri1log2(i+1),nDCG@10(q)=DCG@10(q)IDCG@10(q).\mathrm{DCG@10}(q)=\sum_{i=1}^{10}\frac{2^{r_i}-1}{\log_2(i+1)}, \qquad \mathrm{nDCG@10}(q)=\frac{\mathrm{DCG@10}(q)}{\mathrm{IDCG@10}(q)}.3 dimensions, the same overall data budget as quality-only via top-50% downstream weight ranking, and pretraining from scratch on LLaMA-1B for 100B tokens with batch size 2,048 and sequence length 4,096 (Lee et al., 13 Jun 2026).

On the OLMES world-knowledge suite of 10 English tasks, all models are pretrained on the same 100B-token budget of FineWeb with 50% data selected by each method. The reported averages are: FineWeb (Random) 45.1, FineWeb (SemDeDup) 44.0, FineWeb-Spokes (diversity-only, DCG@10(q)=i=1102ri1log2(i+1),nDCG@10(q)=DCG@10(q)IDCG@10(q).\mathrm{DCG@10}(q)=\sum_{i=1}^{10}\frac{2^{r_i}-1}{\log_2(i+1)}, \qquad \mathrm{nDCG@10}(q)=\frac{\mathrm{DCG@10}(q)}{\mathrm{IDCG@10}(q)}.4) 45.6, FineWeb (quality-only, DCG@10(q)=i=1102ri1log2(i+1),nDCG@10(q)=DCG@10(q)IDCG@10(q).\mathrm{DCG@10}(q)=\sum_{i=1}^{10}\frac{2^{r_i}-1}{\log_2(i+1)}, \qquad \mathrm{nDCG@10}(q)=\frac{\mathrm{DCG@10}(q)}{\mathrm{IDCG@10}(q)}.5) 44.6, and FineWeb-Spokes (joint, DCG@10(q)=i=1102ri1log2(i+1),nDCG@10(q)=DCG@10(q)IDCG@10(q).\mathrm{DCG@10}(q)=\sum_{i=1}^{10}\frac{2^{r_i}-1}{\log_2(i+1)}, \qquad \mathrm{nDCG@10}(q)=\frac{\mathrm{DCG@10}(q)}{\mathrm{IDCG@10}(q)}.6) 46.5 (Lee et al., 13 Jun 2026).

Compared to Random (Avg 45.1), diversity-only Spokes gains +0.5 pt, the quality-only baseline loses DCG@10(q)=i=1102ri1log2(i+1),nDCG@10(q)=DCG@10(q)IDCG@10(q).\mathrm{DCG@10}(q)=\sum_{i=1}^{10}\frac{2^{r_i}-1}{\log_2(i+1)}, \qquad \mathrm{nDCG@10}(q)=\frac{\mathrm{DCG@10}(q)}{\mathrm{IDCG@10}(q)}.7 pt, and joint Spokes gains +1.4 pt absolute to 46.5. On individual tasks, joint Spokes raises ARC-E from 52.4 to 54.7 (+2.3), HellaSwag from 46.4 to 47.9 (+1.5), and MMLU from 27.8 to 28.7 (+0.9) (Lee et al., 13 Jun 2026).

A common misconception is to treat this “PosQ” condition as interchangeable with the retrieval benchmark FineWeb-PosQ. The literature does not support that equivalence. In the retrieval papers, FineWeb-PosQ denotes a benchmark for answer-position sensitivity in long-passage retrieval (Zeng et al., 20 May 2025, Michail et al., 1 Jun 2026, Yu et al., 26 May 2026). In Spokes, “PosQ” denotes a positive-quality selection condition on FineWeb for pretraining-data optimization (Lee et al., 13 Jun 2026). This suggests that the shared label names two distinct technical objects: one evaluative and position-aware, the other selective and quality-aware.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to FineWeb-PosQ.