Introduction
Generative Information Retrieval (GR) represents a paradigm shift in search technology. Unlike traditional retrieval systems that rely on external indices, GR models—typically based on the Transformer architecture—internalize an entire document collection within their parameters. When presented with a query, the model directly generates the unique identifier (DocID) of the relevant document.
Despite its conceptual elegance, GR has historically struggled to scale. On large-scale benchmarks like MSMARCO (8.8 million passages), traditional GR models often underperform compared to simple keyword-matching algorithms like BM25 by significant margins. This research identifies two primary bottlenecks: the Beam Search Bottleneck, where early-stage generation errors lead to irreversible retrieval failure, and the Content-Relevance Mismatch, where IDs based on document semantics fail to capture query-specific relevance.
The RIPOR Framework
The authors propose RIPOR (Relevance-based Identifiers for Prefix-Oriented Ranking) to overcome these limitations. RIPOR introduces a novel approach to DocID construction and model optimization that aligns the generation process with the goals of information retrieval.
Relevance-Based DocID Construction
Standard GR models often assign DocIDs based on semantic clustering of document text. However, search is fundamentally about relevance to queries, not just document content. RIPOR addresses this by first training the model as a dense retriever to learn relevance-rich embeddings. These embeddings are then compressed into discrete token sequences using Residual Quantization (RQ). This ensures that documents relevant to similar queries share similar ID prefixes, facilitating more effective navigation of the search space.
Prefix-Oriented Ranking Optimization
To mitigate the beam search bottleneck, RIPOR employs a Margin-Decomposed Pairwise Loss. Instead of only optimizing for the final DocID, the model is trained to rank correct prefixes higher than incorrect ones at every step of the generation process. This "survival game" approach ensures that relevant documents are not pruned during the early stages of beam search.
Optimization and Training
The training process for RIPOR is progressive and multi-staged, moving from initial DocID assignment to complex ranking optimizations:
- Relevance-Based DocID Initialization ($M^0$): Establishing the initial mapping based on relevance embeddings.
- Seq2Seq Pretraining ($M^1$): Teaching the model the basic generation task.
- Rank-Oriented Fine-tuning ($M^2, M^3, M^4$): This includes initial fine-tuning, prefix-oriented ranking optimization, and self-negative fine-tuning to sharpen the model's discriminative power.
Key Insights and Results
A critical finding of the study is that the naming convention of documents is more vital than the model architecture itself. Transitioning from semantic-based to relevance-based IDs prevented a 73% performance drop. Furthermore, the hierarchical nature of Residual Quantization (RQ) was found to be superior to Product Quantization (PQ) for the tree-structured search inherent in beam search.
RIPOR achieves state-of-the-art results across major benchmarks:
- MSMARCO: A 30.5% improvement in MRR@10 over the previous best generative model (LTRGR).
- TREC Deep Learning: A 94% enhancement in NDCG@10 compared to prior generative methods.
- Performance Parity: For the first time, a generative retrieval model performs on par with established dense retrieval models like DPR and ANCE, without requiring their complex external indexing infrastructure.
Conclusion and Future Work
RIPOR demonstrates that Generative Retrieval is a viable and powerful approach for large-scale search. By aligning DocID construction with relevance and optimizing for the sequential nature of generation, it bridges the gap between academic promise and real-world effectiveness. Future work will focus on simplifying the multi-stage training pipeline and integrating RIPOR into broader knowledge-intensive tasks such as open-domain question answering.
Summary updated