LLM-Based Listwise Reranking Under the Effect of Positional Bias

Jingfen Qiao, Jin Huang, Xinyu Ma, Shuaiqiang Wang, Dawei Yin, Evangelos Kanoulas, Andrew Yates

TL;DR

LLMs used for listwise passage reranking suffer from severe positional bias, heavily favoring documents placed at the beginning of the input context. This paper introduces DebiasFirst, a fine-tuning framework that mitigates this bias by combining Inverse Propensity Scoring (IPS) loss calibration with position-aware data augmentation. The result is a highly robust reranker that maintains strong performance regardless of the initial document order, outperforming existing models across multiple benchmarks.

What Problem Does This Paper Address?

In modern information retrieval, Large Language Models (LLMs) are frequently used as "listwise rerankers"—they take a query and a list of candidate passages and re-order them to ensure the most relevant ones are at the top. While highly effective, these models have a glaring Achilles' heel: positional bias.

Passages hidden in the middle or placed at the end of the input list are routinely ignored or down-ranked, a phenomenon closely related to the well-known "lost in the middle" problem. The authors identify two primary culprits behind this behavior:

  1. Architectural Bias: LLM mechanisms (like Rotary Position Embeddings, or RoPE) naturally cause attention to decay over long distances, while earlier tokens receive disproportionately high attention logits.
  2. Data Bias: Standard training sets are generated using first-stage retrievers (like BM25), which already place relevant documents near the top. Consequently, models learn a shortcut: "look at the beginning of the input to find the good stuff."

This dependency makes LLM rerankers fundamentally unreliable when dealing with unordered or shuffled inputs, such as real-time news streams or federated search results.

Causal relationships leading to positional bias

Methods

To tackle both architectural and data-driven biases, the authors propose DebiasFirst, which operates entirely during the fine-tuning stage. It consists of two core components:

1. Positional Calibration through Inverse Propensity Scoring (IPS)

Borrowing a technique from unbiased learning-to-rank literature, the authors use IPS to balance the loss function. They first estimate the model's inherent positional bias (propensity) by shuffling passages multiple times and observing where the model naturally places them. During training, the ranking loss for any pair of passages is inversely weighted by their propensities. If a certain position transition is overrepresented due to bias, its importance in the loss function is down-weighted; if it's underrepresented, its weight is boosted.

Overview of positional calibration using IPS

2. Position-Aware Augmentation (Pos-Aug)

To break the data bias inherited from first-stage retrievers, the authors implement a strict data augmentation strategy. Training passages are randomly shuffled using the Fisher-Yates algorithm and then systematically rotated. This ensures that every passage has an equal probability of appearing in any input position, forcing the LLM to rely on semantic relevance rather than positional shortcuts.

Comparison of document distribution before and after position-aware augmentation

Datasets

The model was trained on 40K instances from the MS MARCO training set (labeled by GPT-4).

Evaluation was conducted across a diverse suite of benchmarks using NDCG@10 as the primary metric:

  • In-domain: MS MARCO Dev, TREC DL 2019, and TREC DL 2020.
  • Out-of-domain: The BEIR benchmark, including datasets like HotpotQA, NFCorpus, DBPedia, Trec-covid, Climate-Fever, Scidocs, and Scifact.

Key Insights and Ideas

  • The Fine-Tuning Advantage: Most existing debiasing methods happen at the inference stage (e.g., PermSC), requiring multiple model passes over different permutations of the input. DebiasFirst fixes the problem during training, making inference significantly faster and less computationally expensive.
  • The Fairness Trade-off: By forcing the model to treat all input positions equitably, DebiasFirst slightly underperforms baseline models when the relevant document is already perfectly positioned at the very top of the input. However, it vastly outperforms them in every other scenario.
  • Complementary Effects: The authors found that tuning-stage debiasing can still be combined with inference-stage permutation aggregation for an extra performance bump, though it is far less critical because the base model is already robust.

Key Results

  • Order Agnosticism: When the position of the relevant passage was systematically shifted from index 1 to 20, baseline models (like RankZephyr and First) saw their NDCG@10 plummet. DebiasFirst maintained a remarkably flat, stable performance curve across all positions.
Performance comparison when changing the position of the relevant passage
  • Overall Performance Gains: On shuffled input lists (mimicking real-world challenges), DebiasFirst achieved a 2% to 4% increase in average NDCG@10 compared to baselines.
  • Retriever Robustness: Whether paired with a weak first-stage retriever (BM25) or stronger neural retrievers (Contriever, Splade++), DebiasFirst consistently improved or refined the final rankings.

Limitations and Future Work

The primary limitation acknowledged by the authors is context window scaling. This study evaluated reranking performance using a fixed window size of 20 candidate passages. How effectively IPS calibration and position-aware augmentation handle much longer contexts—such as a window size of 100 passages where attention decay is drastically more severe—remains an open question for future research.

Summary updated

BibTeX
@inproceedings{qiao2026llm,
  author = {Jingfen Qiao and Jin Huang and Xinyu Ma and Shuaiqiang Wang and Dawei Yin and Evangelos Kanoulas and Andrew Yates},
  title = {{LLM-Based Listwise Reranking Under the Effect of Positional Bias}},
  booktitle = {ECIR},
  year = {2026},
  doi = {10.1007/978-3-032-21289-4\_9},
}
Figure