[Paper Review] How Does Generative Retrieval Scale to Millions of Passages?
This paper presents the first large-scale empirical study of generative retrieval on the full MS MARCO passage corpus (8.8M passages), demonstrating that synthetic query-based document representation is the most critical factor for scalability. Despite scaling models up to 11B parameters, performance peaks at 3B parameters, revealing fundamental limitations in current generative retrieval paradigms when applied to massive corpora.
Popularized by the Differentiable Search Index, the emerging paradigm of generative retrieval re-frames the classic information retrieval problem into a sequence-to-sequence modeling task, forgoing external indices and encoding an entire document corpus within a single Transformer. Although many different approaches have been proposed to improve the effectiveness of generative retrieval, they have only been evaluated on document corpora on the order of 100k in size. We conduct the first empirical study of generative retrieval techniques across various corpus scales, ultimately scaling up to the entire MS MARCO passage ranking task with a corpus of 8.8M passages and evaluating model sizes up to 11B parameters. We uncover several findings about scaling generative retrieval to millions of passages; notably, the central importance of using synthetic queries as document representations during indexing, the ineffectiveness of existing proposed architecture modifications when accounting for compute cost, and the limits of naively scaling model parameters with respect to retrieval performance. While we find that generative retrieval is competitive with state-of-the-art dual encoders on small corpora, scaling to millions of passages remains an important and unsolved challenge. We believe these findings will be valuable for the community to clarify the current state of generative retrieval, highlight the unique challenges, and inspire new research directions.
Motivation & Objective
- To evaluate the scalability of generative retrieval techniques on massive corpora, specifically the full MS MARCO passage ranking dataset of 8.8 million passages.
- To identify which architectural and training components remain effective as corpus size and model scale increase.
- To analyze the trade-offs between model parameters, compute cost, and retrieval effectiveness in generative retrieval.
- To assess whether current generative retrieval methods can achieve competitive performance with state-of-the-art dual encoders on large-scale retrieval tasks.
- To provide insights into the fundamental limitations of generative retrieval when scaling to real-world corpus sizes.
Proposed method
- Conducted ablation studies on document identifier design (atomic, naive, semantic), document representation (document tokens, ground-truth queries, synthetic queries), and model architecture (prefix-aware decoding, constrained decoding, consistency loss).
- Evaluated techniques on small corpora (Natural Questions, TriviaQA) before scaling to 100k, 1M, and finally 8.8M passages from MS MARCO.
- Scaled model size from T5-base to T5-XXL (11B parameters) while keeping training objectives and data consistent to assess parameter scaling effects.
- Used synthetic queries as document representations during indexing, training the model to map from synthetic queries to document IDs.
- Compared different document ID strategies: atomic IDs (one-step output), sequential IDs (multi-step decoding), and naive IDs (no additional embedding cost).
- Measured retrieval effectiveness using standard metrics like MRR@10 and analyzed compute cost trade-offs across methods, especially in decoding complexity and parameter allocation.
Experimental results
Research questions
- RQ1How do existing generative retrieval techniques perform when scaled to 8.8 million passages, the full MS MARCO dataset?
- RQ2Which components—document representation, identifier design, or model architecture—remain effective and necessary at scale?
- RQ3What is the impact of model size on retrieval performance when training on large corpora, and does performance continue to improve with more parameters?
- RQ4How do compute costs and parameter efficiency trade-offs affect the practicality of different generative retrieval approaches at scale?
- RQ5Can generative retrieval achieve competitive performance with dual-encoder baselines on large-scale retrieval benchmarks like MS MARCO?
Key findings
- Synthetic query generation as a document representation strategy is the single most critical component for scaling generative retrieval to millions of passages.
- The best-performing model on MS MARCO uses only synthetic queries with naive document IDs and scales to T5-XL (3B parameters), achieving 26.7 MRR@10.
- Performance peaks at 3B parameters; increasing to 11B parameters (T5-XXL) results in a slight drop in performance, indicating diminishing returns and potential overfitting or optimization issues.
- Naive methods that do not increase model parameters outperform more complex, parameter-heavy approaches when compute cost is accounted for, even with identical parameter counts.
- Atomic IDs require expensive output projection over 8.8M classes but enable full corpus ranking in one step, while sequential IDs require O(d·k) decoding steps (k=40 beams), making them computationally heavier despite lower parameter cost.
- The generative retrieval paradigm remains fundamentally limited on large corpora, as it fails to match state-of-the-art dual encoders despite extensive scaling and architectural modifications.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.