Consolidating Ranking and Relevance Predictions of Large Language Models through Post-Processing

Le Yan, Zhen Qin, Honglei Zhuang, Rolf Jagerman, Xuanhui Wang, Michael Bendersky, Harrie Oosterhuis

Introduction

Large Language Models (LLMs) have emerged as powerful tools in information retrieval, yet they exhibit a curious dichotomy in performance. When used as pointwise pseudo-raters—assigning absolute relevance scores to individual documents—they often produce mediocre rankings. Conversely, when employed as pairwise or listwise rankers, they achieve state-of-the-art ranking performance (e.g., high NDCG) but fail to provide calibrated relevance labels. This creates a significant trade-off: systems can achieve either high-quality rankings or accurate relevance labels, but rarely both simultaneously.

This paper addresses this "consolidation" problem by introducing a post-processing framework that aligns LLM-generated relevance labels with the model's own superior ranking preferences.

Methodology: The Ranking-Aware Pseudo-Rater

The authors propose an unsupervised pipeline called the Ranking-Aware Pseudo-Rater. The core innovation is a constrained regression step that "nudges" initial relevance labels to satisfy the ordering constraints derived from pairwise comparisons.

The Ranking-aware Pseudo-Rater architecture combines pointwise rating prompts with pairwise ranking prompts, using constrained regression to produce final ranking-aware ratings.

Constrained Regression

Given initial relevance labels ($\hat{y}$) and pairwise preferences (e.g., Document $d_i$ is more relevant than $d_j$), the system solves an optimization problem. It seeks the minimal adjustment ($\delta$) to the labels such that the final scores ($y + \delta$) perfectly align with the pairwise ranking order. This ensures that the absolute scores reflect the high-quality relative ordering the LLM is capable of producing.

Efficiency Variants: SlideWin and TopAll

Comparing every possible document pair is computationally expensive ($O(n^2)$). To mitigate this, the authors introduced two efficient variants:

  • SlideWin: This method uses a sliding window over a pre-sorted list to collect constraints only from adjacent documents, significantly reducing the number of required LLM calls.
  • TopAll: This variant focuses on the top-$k$ most relevant documents, ensuring they are correctly positioned relative to the entire document pool.
SlideWin and TopAll provide efficient ways to collect ranking constraints for the regression step.

Experimental Evaluation

The framework was evaluated on standard benchmarks, including TREC-DL 2019/2020 and various BEIR datasets (TREC-Covid, DBPedia, Robust04).

Key Results

  • Ranking Excellence: On TREC-DL 2019, the SlideWin method achieved an NDCG@10 of 0.7265, matching specialized rankers and significantly outperforming standard pointwise pseudo-raters (0.6461).
  • Calibration Improvement: The method substantially reduced the Empirical Calibration Error (ECE). On TREC-DL 2020, the consolidated Allpair method reduced ECE from 0.3690 (raw ranker) to 0.0865, providing highly accurate relevance scores.
  • Robustness: The unsupervised post-processing often outperformed supervised transformation methods, suggesting that the LLM's internal consistency is a more reliable signal than small amounts of labeled training data.

Discussion and Conclusion

The primary insight of this work is that high-quality ranking information is "hidden" within the LLM's internal state but is not fully expressed through independent pointwise scores. By forcing these scores to respect pairwise preferences, the framework pushes the Pareto front of ranking and calibration performance.

While effective, the approach currently relies on pairwise prompts, which can be computationally intensive for real-time applications. Future work may explore more efficient listwise consolidation techniques and further investigate the model's performance in highly specialized, low-knowledge domains.

Summary updated

BibTeX
@inproceedings{yan2024consolidating,
  author = {Le Yan and Zhen Qin and Honglei Zhuang and Rolf Jagerman and Xuanhui Wang and Michael Bendersky and Harrie Oosterhuis},
  title = {{Consolidating Ranking and Relevance Predictions of Large Language Models through Post-Processing}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.emnlp-main.25},
}
Figure