Skip to main content
QUICK REVIEW

[Paper Review] Mitigating the Position Bias of Transformer Models in Passage Re-Ranking

Sebastian Hofstätter, Aldo Lipani|arXiv (Cornell University)|Jan 18, 2021
Topic ModelingComputer Science1 citations
TL;DR

This paper proposes a simple data augmentation technique to mitigate position bias in Transformer-based passage re-rankers by randomly swapping segments of passages in MS MARCO and SQuAD 2.0 datasets, preserving relevance labels while removing positional favoritism. The method significantly improves model generalization, reducing performance drop on debiased evaluations and enhancing transfer learning when pre-training on debiased MS MARCO data.

ABSTRACT

Supervised machine learning models and their evaluation strongly depends on the quality of the underlying dataset. When we search for a relevant piece of information it may appear anywhere in a given passage. However, we observe a bias in the position of the correct answer in the text in two popular Question Answering datasets used for passage re-ranking. The excessive favoring of earlier positions inside passages is an unwanted artefact. This leads to three common Transformer-based re-ranking models to ignore relevant parts in unseen passages. More concerningly, as the evaluation set is taken from the same biased distribution, the models overfitting to that bias overestimate their true effectiveness. In this work we analyze position bias on datasets, the contextualized representations, and their effect on retrieval results. We propose a debiasing method for retrieval datasets. Our results show that a model trained on a position-biased dataset exhibits a significant decrease in re-ranking effectiveness when evaluated on a debiased dataset. We demonstrate that by mitigating the position bias, Transformer-based re-ranking models are equally effective on a biased and debiased dataset, as well as more effective in a transfer-learning setting between two differently biased datasets.

Motivation & Objective

  • To investigate the presence of position bias in popular QA datasets used for passage re-ranking, particularly in MS MARCO and SQuAD 2.0.
  • To analyze how position bias in training and evaluation data propagates through Transformer models, affecting their effectiveness and generalization.
  • To propose a data augmentation method that removes positional favoritism without altering relevance judgments.
  • To evaluate the impact of debiasing on model performance across biased and unbiased test sets, and in transfer learning scenarios.
  • To demonstrate that debiased pre-training leads to more robust and transferable representations in retrieval models.

Proposed method

  • Randomly split each passage at a uniformly sampled position and swap the first and second segments to create a debiased version of the passage.
  • Preserve the original relevance label since judgments are at the passage level, not position-specific.
  • Train and evaluate three state-of-the-art Transformer re-rankers—BERTCAT, BERTDOT, and TK—on both original (biased) and debiased versions of the datasets.
  • Introduce a new metric, Mean Average Term Similarity (MATS), per positional delta, to quantify position bias in contextualized word representations.
  • Use transfer learning by pre-training on debiased MS MARCO and fine-tuning on SQuAD 2.0 to evaluate cross-dataset generalization.
  • Compare model performance across biased and unbiased evaluations to assess the effectiveness of debiasing.

Experimental results

Research questions

  • RQ1RQ1: How can we measure the degree of position bias in the passage representations learned by Transformer models?
  • RQ2RQ2: What effect does debiasing have on the evaluation of Transformer-based re-ranking models?
  • RQ3RQ3: Does training on a debiased dataset lead to better generalization across different evaluation distributions?
  • RQ4RQ4: Does debiased pre-training improve performance in transfer learning between differently biased datasets?

Key findings

  • Models trained on the original, biased MS MARCO dataset show a substantial drop in effectiveness—up to 15.5% in mean average precision—when evaluated on a debiased version of the dataset.
  • On the SQuAD 2.0 dataset, which is less biased, models show consistent performance across biased and debiased evaluations, indicating that bias is not a major factor there.
  • Debiased training results in models that perform equally well on both biased and unbiased test sets, demonstrating improved generalization and robustness.
  • In transfer learning, models pre-trained on debiased MS MARCO outperform those pre-trained on the original biased version when fine-tuned on SQuAD 2.0, showing superior transferability.
  • The proposed debiasing method effectively removes position bias from representations, as confirmed by the MATS metric, which shows reduced similarity between terms at different positions after debiasing.
  • The study concludes that debiasing the pre-training data, especially for large-scale collections like MS MARCO, is essential for reliable evaluation and effective transfer learning.

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.