Does Generative Retrieval Overcome the Limitations of Dense Retrieval?

Yingchen Zhang, Ruqing Zhang, Jiafeng Guo, Maarten de Rijke, Yixing Fan, Xueqi Cheng · OpenReview

Abstract

Generative retrieval (GR) has emerged as a new paradigm in neural information retrieval, offering an alternative to dense retrieval (DR) by directly generating identifiers of relevant documents. In this paper, we theoretically and empirically investigate how GR fundamentally diverges from DR in both learning objectives and representational capacity. GR performs globally normalized maximum-likelihood optimization and encodes corpus and relevance information directly in the model parameters, whereas DR adopts locally normalized objectives and represents the corpus with external embeddings before computing similarity via a bilinear interaction. Our analysis suggests that, under scaling, GR can overcome the inherent limitations of DR, yielding two major benefits. First, with larger corpora, GR avoids the sharp performance degradation caused by the optimization drift induced by DR's local normalization. Second, with larger models, GR's representational capacity scales with parameter size, unconstrained by the global low-rank structure that limits DR. We validate these theoretical insights through controlled experiments on the Natural Questions and MS MARCO datasets, across varying negative sampling strategies, embedding dimensions, and model scales. But despite its theoretical advantages, GR does not universally outperform DR in practice. We outline directions to bridge the gap between GR's theoretical potential and practical performance, providing guidance for future research in scalable and robust generative retrieval.

Introduction

Dense Retrieval (DR) has long served as the foundation for modern neural search systems. By mapping queries and documents into a shared embedding space, DR enables efficient retrieval via similarity search. However, as corpus sizes grow and model architectures evolve, DR faces two significant theoretical and practical bottlenecks: the Negative Sampling Wall and the Low-Rank Wall. This paper explores whether Generative Retrieval (GR)—a paradigm where models directly generate document identifiers—can overcome these limitations.

The Bottlenecks of Dense Retrieval

The Negative Sampling Wall and Optimization Drift

DR models are typically trained using local negative sampling because comparing a query against every document in a massive corpus is computationally prohibitive during training. This creates a gap between the training objective (local normalization) and the inference task (global retrieval), leading to a phenomenon termed "optimization drift."

As the corpus size ($N$) increases, the calibration error in DR grows logarithmically unless the number of negative samples ($K$) is scaled proportionally. This sensitivity is illustrated in the performance of standard DR and Multi-Vector DR (MVDR) models.

Effect of negative sampling on DR performance and calibration (Brier score) on the NQ dataset.

As shown in the figure, increasing the number of negative samples improves retrieval metrics like Hit@1 and Hit@10 while reducing the Brier score (calibration error). However, the reliance on local sampling remains a fundamental constraint that GR avoids by using a globally normalized objective over the entire document vocabulary by design.

The Low-Rank Wall

The second major limitation of DR is its representational capacity. In DR, the relevance of a document is determined by the dot product of fixed-size embeddings (e.g., 768 or 1024 dimensions). This forces the model to compress all document information into a low-rank structure. Mathematically, the rank of the relevance matrix is capped by the embedding dimension, creating a hard ceiling on the complexity of relationships the model can represent regardless of model size.

Generative Retrieval: A New Paradigm

Generative Retrieval sidesteps these issues by treating retrieval as a sequence-to-sequence task. Instead of computing similarities between vectors, the model directly generates the identifier (ID) of the relevant document.

The authors evaluate two primary GR approaches:

  • GR-codebook: Documents are assigned IDs via hierarchical clustering of their content.
  • GR-text: Documents are identified by natural language strings, such as Wikipedia titles.

Theoretically, GR has a higher representational capacity because it utilizes the model’s entire parameter set to store the index, rather than relying on a single external vector.

Empirical Findings

Corpus and Model Scaling

Experiments on the Natural Questions (NQ) and MS MARCO datasets confirm GR's theoretical advantages:

  • Corpus Scaling: When expanding the document pool, DR’s Hit@1 performance on NQ dropped by 6.9%, while GR’s performance only decreased by 3.3%. This suggests GR is significantly more robust to the introduction of "distractor" documents in large-scale corpora.
  • Model Scaling: Increasing model size (using adapters from 0.1B to 0.8B parameters) resulted in a 5% metric boost for GR. In contrast, DR gains were marginal (approx. 1%), indicating that increasing parameters does not overcome the embedding dimension bottleneck.

Test-Time Scaling (TTS)

An emergent benefit of GR is the ability to perform "Test-Time Scaling" or "Think-then-Retrieve." By prompting a large model (e.g., a 14B parameter Qwen model) to generate reasoning steps before the document ID, retrieval accuracy improves. This allows GR to leverage the internal world knowledge of Large Language Models (LLMs) directly during the retrieval process.

Practical Challenges and Future Directions

Despite its theoretical superiority, GR is not yet a universal replacement for DR due to several practical hurdles:

  1. The "Docid" Design: While titles work for Wikipedia (GR-text), assigning meaningful and unique IDs to arbitrary web snippets remains a challenge.
  2. Efficiency: DR benefits from highly optimized vector databases like FAISS. GR requires autoregressive decoding, which is computationally expensive and introduces higher latency.
  3. Dynamic Updates: Updating a DR index is as simple as adding a new vector. In contrast, adding new documents to a GR model often necessitates costly fine-tuning or re-training.

Conclusion

Generative Retrieval offers a promising path toward overcoming the inherent scaling limitations of Dense Retrieval. By moving from local to global normalization and breaking the low-rank embedding bottleneck, GR demonstrates superior robustness and scaling potential. Future research focusing on efficient decoding and flexible document identifier design will be crucial in bridging the gap between GR's theoretical promise and its deployment in production-scale search systems.

Summary updated

BibTeX
@misc{zhang2025does,
  author = {Yingchen Zhang and Ruqing Zhang and Jiafeng Guo and Maarten de Rijke and Yixing Fan and Xueqi Cheng},
  title = {{Does Generative Retrieval Overcome the Limitations of Dense Retrieval?}},
  year = {2025},
  eprint = {2509.22116},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.22116},
}

Loading related content...

Figure