On the Calibration and Uncertainty of Neural Learning to Rank Models

Gustavo Penha, Claudia Hauff
1/12/2021
cs.IRcs.CLcs.LG

Official code: Guzpenha/transformer_rankers (160 stars, Python, MIT, last commit 2023-07-06).

Abstract

According to the Probability Ranking Principle (PRP), ranking documents in decreasing order of their probability of relevance leads to an optimal document ranking for ad-hoc retrieval. The PRP holds when two conditions are met: [C1] the models are well calibrated, and, [C2] the probabilities of relevance are reported with certainty.

Show full abstract

We know however that deep neural networks (DNNs) are often not well calibrated and have several sources of uncertainty, and thus [C1] and [C2] might not be satisfied by neural rankers. Given the success of neural Learning to Rank (L2R) approaches-and here, especially BERT-based approaches-we first analyze under which circumstances deterministic, i.e. outputs point estimates, neural rankers are calibrated. Then, motivated by our findings we use two techniques to model the uncertainty of neural rankers leading to the proposed stochastic rankers, which output a predictive distribution of relevance as opposed to point estimates. Our experimental results on the ad-hoc retrieval task of conversation response ranking reveal that (i) BERT-based rankers are not robustly calibrated and that stochastic BERT-based rankers yield better calibration; and (ii) uncertainty estimation is beneficial for both risk-aware neural ranking, i.e.taking into account the uncertainty when ranking documents, and for predicting unanswerable conversational contexts.

View on arXivView PDF

Code Implementations(1)

MIT

A library to conduct ranking experiments with transformers.

16019Python, ShellJun 8, 20203 years agoMIT

Similar Papers

Cite this paper

@article{penha2021calibration,
  title  = {On the Calibration and Uncertainty of Neural Learning to Rank Models},
  author = {Gustavo Penha and Claudia Hauff},
  year   = {2021},
  eprint = {2101.04356},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2101.04356}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2101.04356.svg)](https://codeofpaper.com/paper/2101.04356)

Discussion