Learning to Rank in Generative Retrieval

Yongqi Li, Nan Yang, Liang Wang, Furu Wei, Wenjie Li
6/27/2023
cs.CLcs.AIcs.IR

Official code: liyongqi67/LTRGR (21 stars, last commit 2024-08-09).

Abstract

Generative retrieval stands out as a promising new paradigm in text retrieval that aims to generate identifier strings of relevant passages as the retrieval target. This generative paradigm taps into powerful generative language models, distinct from traditional sparse or dense retrieval methods. However, only learning to generate is insufficient for generative retrieval. Generative retrieval learns to generate identifiers of relevant passages as an intermediate goal and then converts predicted identifiers into the final passage rank list. The disconnect between the learning objective of autoregressive models and the desired passage ranking target leads to a learning gap. To bridge this gap, we propose a learning-to-rank framework for generative retrieval, dubbed LTRGR. LTRGR enables generative retrieval to learn to rank passages directly, optimizing the autoregressive model toward the final passage ranking target via a rank loss. This framework only requires an additional learning-to-rank training phase to enhance current generative retrieval systems and does not add any burden to the inference stage. We conducted experiments on three public benchmarks, and the results demonstrate that LTRGR achieves state-of-the-art performance among generative retrieval methods. The code and checkpoints are released at https://github.com/liyongqi67/LTRGR.

View on arXivView PDF

Code Implementations(1)

liyongqi67/LTRGROfficial100%
210Dec 15, 20232 years ago

Similar Papers

Cite this paper

@article{li2023learning,
  title  = {Learning to Rank in Generative Retrieval},
  author = {Yongqi Li and Nan Yang and Liang Wang and Furu Wei and Wenjie Li},
  year   = {2023},
  eprint = {2306.15222},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.15222v2}
}

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

Discussion