Skip to main content
QUICK REVIEW

[Paper Review] Positional Bias in Long-Document Ranking: Impact, Assessment, and Mitigation

Leonid Boytsov, Akinpelu, David|arXiv (Cornell University)|Jul 4, 2022
Topic ModelingComputer Science5 citations
TL;DR

This paper investigates positional bias in long-document ranking, evaluating 13 models including specialized Transformers (Longformer, BigBird) and retrieval methods like PARADE. Surprisingly, simple FirstP baselines—truncating documents to fit standard Transformer input limits—outperform more complex models, largely due to the concentration of relevant content in early document positions. The study concludes that standard benchmarks like MS MARCO and Robust04 are inadequate for evaluating long-document models due to this bias.

ABSTRACT

We tested over 20 Transformer models for ranking long documents (including recent LongP models trained with FlashAttention and RankGPT models "powered" by OpenAI and Anthropic cloud APIs). We compared them with the simple FirstP baseline, which applied the same model to truncated input (up to 512 tokens). On MS MARCO, TREC DL, and Robust04 no long-document model outperformed FirstP by more than 5% (on average). We hypothesized that this lack of improvement is not due to inherent model limitations, but due to benchmark positional bias (most relevant passages tend to occur early in documents), which is known to exist in MS MARCO. To confirm this, we analyzed positional relevance distributions across four long-document corpora (with six query sets) and observed the same early-position bias. Surprisingly, we also found bias in six BEIR collections, which are typically categorized as short-document datasets. We then introduced a new diagnostic dataset, MS MARCO FarRelevant, where relevant spans were deliberately placed beyond the first 512 tokens. On this dataset, many long-context models (including RankGPT) performed at random-baseline level, suggesting overfitting to positional bias. We also experimented with debiasing training data, but with limited success. Our findings (1) highlight the need for careful benchmark design in evaluating long-context models for document ranking, (2) identify model types that are more robust to positional bias, and (3) motivate further work on approaches to debias training data. We release our code and data to support further research.

Motivation & Objective

  • To evaluate the performance of 13 recent long-document ranking models, including specialized Transformers with sparse attention.
  • To investigate whether models that process entire long documents (e.g., Longformer, BigBird) significantly outperform simple truncation baselines (FirstP).
  • To assess the limitations of standard benchmarks like MS MARCO and Robust04 for long-document ranking evaluation.
  • To analyze the distribution of relevant passages within documents to explain model performance disparities.
  • To improve the PARADE-Transformer model by injecting query embeddings into the aggregator, enhancing stability and performance.

Proposed method

  • Comprehensive evaluation of 13 models on two standard collections: MS MARCO and Robust04, using multiple metrics including MAP and NDCG@10.
  • Systematic ablation of sliding window size and stride in the PARADE framework to assess sensitivity and robustness.
  • Training and fine-tuning of models with consistent truncation thresholds (1431 tokens) to isolate the impact of input length.
  • Introduction of a modified PARADE-Transformer (PARADE Transf-PRETR-Q-L6) that injects query embeddings into the aggregator network to improve relevance modeling.
  • Use of multiple random seeds (three) for training and evaluation to ensure statistical reliability and reduce variance.
  • Public release of key software components to enable reproducibility and further benchmarking.

Experimental results

Research questions

  • RQ1RQ1: How much do state-of-the-art long-document ranking models improve over the FirstP baseline, and is there room for further improvement?
  • RQ2RQ2: How do Longformer and BigBird models compare to IR community models in long-document ranking, and do they outperform FirstP?
  • RQ3RQ3: Can the performance of PARADE-Transformer models be enhanced by feeding query embeddings into the aggregating Transformer layer?

Key findings

  • The FirstP baseline, which truncates documents to fit standard Transformer input length (e.g., 512 tokens), performs surprisingly well and often outperforms more complex models that process entire long documents.
  • Specialized long-context Transformers like Longformer and BigBird show minimal improvement over FirstP baselines, suggesting their architectural advantages are offset by positional bias in document content.
  • The distribution of relevant passages is heavily skewed toward the beginning of documents, which explains why truncation to early segments often captures the most relevant content.
  • PARADE-Transformer models with randomly initialized aggregators are difficult to train effectively, but fine-tuning with pre-trained weights (e.g., Sentence-BERT MiniLM) improves performance and stability.
  • The modified PARADE-Transformer (PARADE Transf-PRETR-Q-L6), which injects query embeddings into the aggregator, consistently outperforms the original model across different window sizes and strides on both MS MARCO and TREC DL datasets.
  • Robust04 and MS MARCO are found to be inadequate benchmarks for long-document ranking due to the dominance of early-position relevance, which favors simple truncation strategies and masks true model generalization.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.