ExaRanker: Explanation-Augmented Neural Ranker

Fernando Ferraretto, Thiago Laitz, Roberto Lotufo, Rodrigo Nogueira
1/25/2023
cs.CLcs.AIcs.IR

No official code found. Best implementation: unicamp-dl/ExaRanker (29 stars, last commit 2024-02-02).

Abstract

Recent work has shown that inducing a large language model (LLM) to generate explanations prior to outputting an answer is an effective strategy to improve performance on a wide range of reasoning tasks. In this work, we show that neural rankers also benefit from explanations. We use LLMs such as GPT-3.5 to augment retrieval datasets with explanations and train a sequence-to-sequence ranking model to output a relevance label and an explanation for a given query-document pair. Our model, dubbed ExaRanker, finetuned on a few thousand examples with synthetic explanations performs on par with models finetuned on 3x more examples without explanations. Furthermore, the ExaRanker model incurs no additional computational cost during ranking and allows explanations to be requested on demand.

View on arXivView PDF

Code Implementations(1)

293Shell, PythonJan 16, 20232 years ago

Cite this paper

@article{ferraretto2023exaranker,
  title  = {ExaRanker: Explanation-Augmented Neural Ranker},
  author = {Fernando Ferraretto and Thiago Laitz and Roberto Lotufo and Rodrigo Nogueira},
  year   = {2023},
  eprint = {2301.10521},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2301.10521v2}
}

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

Discussion