SmoothI: Smooth Rank Indicators for Differentiable IR Metrics

Thibaut Thonet, Yagmur Gizem Cinar, Eric Gaussier, Minghan Li, Jean-Michel Renders
5/3/2021
cs.IR

Official code: ygcinar/SmoothI (10 stars, Python, last commit 2021-05-09).

Abstract

Information retrieval (IR) systems traditionally aim to maximize metrics built on rankings, such as precision or NDCG. However, the non-differentiability of the ranking operation prevents direct optimization of such metrics in state-of-the-art neural IR models, which rely entirely on the ability to compute meaningful gradients.

Show full abstract

To address this shortcoming, we propose SmoothI, a smooth approximation of rank indicators that serves as a basic building block to devise differentiable approximations of IR metrics. We further provide theoretical guarantees on SmoothI and derived approximations, showing in particular that the approximation errors decrease exponentially with an inverse temperature-like hyperparameter that controls the quality of the approximations. Extensive experiments conducted on four standard learning-to-rank datasets validate the efficacy of the listwise losses based on SmoothI, in comparison to previously proposed ones. Additional experiments with a vanilla BERT ranking model on a text-based IR task also confirm the benefits of our listwise approach.

View on arXivView PDF

Code Implementations(1)

ygcinar/SmoothIOfficial100%
102PythonApr 30, 20215 years ago

Similar Papers

Cite this paper

@article{thonet2021smoothi,
  title  = {SmoothI: Smooth Rank Indicators for Differentiable IR Metrics},
  author = {Thibaut Thonet and Yagmur Gizem Cinar and Eric Gaussier and Minghan Li and Jean-Michel Renders},
  year   = {2021},
  eprint = {2105.00942},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.00942}
}

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/2105.00942.svg)](https://codeofpaper.com/paper/2105.00942)

Discussion