Skip to main content
QUICK REVIEW

[Paper Review] Learning to Rank in Generative Retrieval

Yongqi Li, Nan Yang|arXiv (Cornell University)|Jun 27, 2023
Topic ModelingComputer Science3 citations
TL;DR

This paper proposes LTRGR, a learning-to-rank framework that enhances generative retrieval by adding a rank loss during training to align autoregressive models with the final passage ranking objective. By introducing a two-phase training process—first generating identifiers and then optimizing for ranking—LTRGR improves retrieval performance without increasing inference cost, achieving state-of-the-art results on three benchmarks.

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.

Motivation & Objective

  • To address the learning gap in generative retrieval, where generating accurate identifiers does not guarantee optimal passage ranking.
  • To bridge the disconnect between the autoregressive generation objective and the final ranking target in retrieval systems.
  • To enable generative retrieval models to directly learn to rank passages by incorporating a learning-to-rank objective.
  • To maintain inference efficiency while improving ranking performance through an additional training phase.
  • To demonstrate that end-to-end optimization via rank loss leads to superior retrieval effectiveness.

Proposed method

  • The framework uses a two-phase training process: first, a standard generation loss trains the autoregressive model to predict passage identifiers.
  • Second, a rank loss is applied to fine-tune the model using the passage rank list generated from predicted identifiers via a heuristic function.
  • The rank loss optimizes the model toward achieving the correct ranking order of passages, directly aligning with the final evaluation metric.
  • The method only adds a training phase and does not alter the inference pipeline, preserving efficiency.
  • The loss function combines generation loss and rank loss with a learnable weight λ to balance both objectives.
  • The framework is applied to existing generative retrieval models, enhancing them with ranking-aware fine-tuning.

Experimental results

Research questions

  • RQ1Can a learning-to-rank objective improve the passage ranking performance of generative retrieval models?
  • RQ2Does adding a rank loss during training bridge the gap between identifier generation and final retrieval ranking?
  • RQ3Can the performance gain be achieved without increasing inference cost?
  • RQ4How do different margin values and loss weight λ affect the model’s ranking effectiveness?
  • RQ5To what extent does the rank loss improve the top-k retrieval results, such as hits@5 and hits@20?

Key findings

  • LTRGR achieves state-of-the-art performance on three public benchmarks, outperforming existing generative retrieval methods.
  • The model improves retrieval effectiveness primarily by pushing positive passages to higher ranking positions, especially in hits@5 and hits@20.
  • The number of correctly predicted identifiers increases after the learning-to-rank phase, indicating better identifier generation aligned with ranking.
  • The score assigned to correct identifiers increases after fine-tuning, showing improved confidence in relevant predictions.
  • A margin value of 100 performs poorly, while values from 200 to 500 yield stable performance, suggesting a minimum margin is necessary.
  • Setting the generation loss weight λ to 0 leads to a significant performance drop, confirming its importance, while higher λ values slightly degrade top-k performance.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.