Enhancing Generative Retrieval with Reinforcement Learning from Relevance Feedback

Yujia Zhou, Zhicheng Dou, Ji-Rong Wen

Introduction: The Challenges of Generative Retrieval

The traditional search paradigm is undergoing a significant shift. Instead of relying on an inverted index to find documents, "Generative Retrieval" (or Differentiable Search Indexes) employs sequence-to-sequence models, such as T5, to directly generate a document identifier (docid) in response to a query. While promising, this approach faces two fundamental challenges that hinder its effectiveness compared to traditional dense or sparse retrieval methods.

First, the Token-Document Gap arises because these models are typically trained using a token-level cross-entropy loss. Maximizing the probability of a specific string of tokens (the docid) does not necessarily correlate with estimating document-level relevance. Second, the Top-1 Bias stems from training regimes that assume a deterministic distribution where all probability mass is assigned to a single "golden" docid. This leads the model to over-optimize for the top result while neglecting the quality and ranking of the rest of the retrieved list.

Comparison of dense and generative retrieval across rank positions, highlighting the sharp drop-off in generative retrieval scores and document counts.

The GenRRL Framework

To bridge these gaps, the authors propose GenRRL (Generative Retrieval with Reinforcement Learning), a comprehensive three-stage training pipeline designed to align document generation with actual search relevance. Unlike standard supervised approaches, GenRRL incorporates multi-faceted feedback to refine the model's ranking capabilities.

The three-stage GenRRL pipeline: Supervised Fine-tuning (SFT), Relevance Reward Model Training, and Reinforced Learning to Rank (RL2R).

1. Supervised Fine-tuning (SFT)

The process begins by training a base T5 model on query-docid pairs. A key innovation here is the use of "linguistic docids"—such as URLs or document summaries—rather than arbitrary integers. These provide the model with semantic clues that help it map queries to document content more effectively.

2. Relevance Reward Model Training

The "secret sauce" of GenRRL is its multi-dimensional reward model. To capture a holistic view of relevance, the authors combine three distinct signals:

  • Term-based Overlap: Using BM25 to ensure keyword matches.
  • Semantic Similarity: Using a Dual Encoder (DPR) to identify conceptual matches in vector space.
  • Contextual Dependency: Using a Large Language Model (LLaMA-13B) to assess how well a document satisfies the implicit information need of a query.

These signals are unified using Borda Rank to create a single preference signal, which is then used to train a dedicated reward model.

3. Reinforced Learning-to-Rank (RL2R)

In the final stage, the generative model is fine-tuned using Reinforcement Learning (PPO-style). Crucially, the authors implement Listwise Optimization. Instead of treating query-document pairs independently (pointwise), this approach encourages the model to generate a set of docids that match the preferred ranking order established by the reward model. This allows the model to "see" the competition between documents during training.

Key Insights and Results

Evaluation on the MS MARCO and Natural Questions (NQ) benchmarks revealed several critical insights:

  • Relevance is Multi-Dimensional: Ablation studies showed that combining sparse, dense, and LLM signals resulted in a significantly stronger reward model than using any single teacher.
  • Listwise > Pointwise: Treating the output as a ranked list during the RL phase outperformed independent pair assessments, suggesting that generative models benefit from understanding relative document importance.
  • Scaling and Semantics: Larger reward models were better at capturing nuanced distinctions. Furthermore, using semantically rich docids (like summaries) outperformed structural semantic IDs by bridging the gap between intent and content.

GenRRL achieved state-of-the-art performance, improving MRR@10 by over 9.6% on MS MARCO and 8.1% on Natural Questions compared to previous leading models like Ultron and NCI.

Limitations and Future Work

Despite its success, GenRRL faces hurdles regarding Web-Scale Scalability. Differentiable search indexes currently struggle with corpora containing millions of documents due to the memory requirements of the internal index. Additionally, Dynamic Updates remain a challenge; adding new documents currently requires expensive retraining. Future research will likely focus on making these RL-enhanced models more efficient and adaptable to rapidly changing document collections.

Summary updated

BibTeX
@inproceedings{zhou2023enhancing,
  author = {Yujia Zhou and Zhicheng Dou and Ji-Rong Wen},
  title = {{Enhancing Generative Retrieval with Reinforcement Learning from Relevance Feedback}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.emnlp-main.768},
}
Figure