Abstract
Generative Retrieval (GR) is a paradigm shift in information retrieval, training models to directly decode Document Identifiers (DocIDs) from queries. This study provides the first comprehensive stress test of GR, scaling from 100,000 to 8.8 million passages. The findings highlight the critical role of synthetic query generation and reveal significant performance and efficiency hurdles as the corpus size increases.
Introduction
Modern search typically relies on dual encoders that map queries and documents into a shared vector space. Generative Retrieval (GR) offers a radical alternative: a sequence-to-sequence model (e.g., T5) that "memorizes" the corpus and maps queries directly to unique DocIDs. While GR has shown competitive results on small benchmarks, its viability at the scale of millions of documents—representative of real-world web search—has been an open question.
Methodology
The authors investigate three primary design dimensions:
- Document Identifiers (DocIDs):
- Atomic: Each document is a unique token in the model's vocabulary.
- Naive: Document IDs are treated as simple strings.
- Semantic: Hierarchical clusters where similar documents share ID prefixes.
- Document Representation: During indexing, models are trained on document text (FirstP), random chunks (DaQ), or Synthetic Queries (generated via docT5query).
- Model Scaling: Evaluation across T5-Base (220M), Large (783M), XL (3B), and XXL (11B) architectures.
Scaling and Efficiency Trade-offs
A key finding is the "Atomic Parameter Trap." While Atomic DocIDs provide fast, one-step decoding, they significantly inflate the model's parameter count. For 8.8M documents, the output layer alone adds 7 billion parameters. When controlling for total parameters, Naive DocIDs often prove more efficient.
As shown in the scaling analysis, performance does not scale linearly with model size. While moving from T5-Base to T5-XL yields gains, the 11B parameter XXL model often sees a performance regression, suggesting that naive scaling is insufficient for the memorization demands of GR.
Results at Scale
The transition from 100K to 8.8M passages reveals a widening gap between GR and traditional methods. On the small-scale NQ100K, GR is competitive. However, on the MS MARCO Full dataset (8.8M passages), even the best GR configurations struggle.
Experimental results demonstrate that synthetic query generation (D2Q) is the only strategy that maintains efficacy at the million-document scale. Despite this, the best GR model (T5-XL) achieved an MRR@10 of 26.7 on MS MARCO Full, significantly trailing the 34.8 MRR@10 of the GTR-Base dual encoder.
Key Insights
- Synthetic Queries are Essential: Training on document text alone fails at scale. Mapping synthetic queries to DocIDs bridges the gap between indexing and retrieval-time query formats.
- Semantic DocID Limitations: Hierarchical semantic IDs, while helpful at small scales, become difficult to decode accurately as the ID tree grows deeper and noisier in large corpora.
- The Efficiency Gap: Sequential decoding (Naive/Semantic) is memory-efficient but computationally expensive due to multiple decoding steps, while Atomic IDs are fast but memory-intensive.
Conclusion
This large-scale evaluation serves as a reality check for Generative Retrieval. While a promising paradigm, GR currently faces a "scaling ceiling" where simply increasing model parameters or using hierarchical IDs does not bridge the gap with state-of-the-art dual encoders. Future research must address the performance gap, the challenges of dynamic corpora, and the need for efficient model updates without catastrophic forgetting.
Summary updated