Introduction
Generative Retrieval (GR) has emerged as a promising alternative to traditional dense retrieval. While dense retrieval maps queries and documents into a shared vector space, GR treats retrieval as a sequence-to-sequence task, directly generating a document's unique identifier (docid) from a query. However, GR models often struggle with a "semantic gap" caused by static docids—such as fixed titles or pre-computed clustering codes—that do not evolve as the model learns. This paper introduces BootRet, a framework that dynamically updates these identifiers during pre-training to better align document semantics with the model's internal representations.
The BootRet Framework
BootRet addresses the limitations of static docids by treating identifier generation as an iterative, evolving process. The methodology is structured into three primary phases:
- Initial Docid Generation: An initial encoder creates document vectors, which are clustered using Product Quantization (PQ) to establish the first set of docids.
- Pre-training with Dual Tasks: The model undergoes training on two specialized tasks to bridge the gap between indexing and retrieval:
- Corpus Indexing: The model learns to map documents to their docids. To ensure robustness, an LLM (LLaMA-13b) generates "noisy" document variants (e.g., via synonym replacement or sentence shuffling), and contrastive losses are applied to help the model distinguish between similar items.
- Relevance Prediction: The model predicts docids for LLM-generated pseudo-queries, simulating the actual retrieval process during the pre-training phase.
- Enhanced Bootstrapping: Periodically, the model uses its updated encoder to re-encode the corpus and generate refined docids. This iterative loop ensures that the identifiers remain synchronized with the model's evolving parameters.
Experimental Setup
The researchers evaluated BootRet on two major benchmarks:
- MS MARCO (300K subset): A dataset based on real-world Bing search queries.
- Natural Questions (NQ): A collection of real Google search queries paired with Wikipedia documents.
Pre-training utilized large-scale dumps from English Wikipedia and the MS MARCO Document Collection, sampling 500K documents from each to generate millions of noisy document-query pairs.
Key Insights
- Dynamic Identifiers: The core innovation is the flexibility of docids. By allowing identifiers to change, the model can "re-organize" its internal library as its understanding of the text improves.
- Semantic Consistency through Noise: By training on diverse noisy documents, the model is forced to learn semantic consistency rather than simple rote memorization of identifiers.
- Closing the Semantic Gap: Visual analysis via t-SNE plots confirms that BootRet effectively pushes irrelevant documents further away from queries in the representation space compared to static models.
Results and Performance
BootRet achieved state-of-the-art performance across multiple metrics, significantly outperforming both generative and dense retrieval baselines.
On the MS MARCO 300K benchmark, the multi-iteration version (BootRet-Mt) outperformed previous leaders like NOVO and showed an 11.8% improvement in Hits@1 over the Ultron-PQ baseline. Furthermore, BootRet demonstrated strong zero-shot capabilities and high efficiency; it requires 93% less memory than Dense Passage Retrieval (DPR) because it stores a compact prefix tree of docids instead of massive dense vector indexes.
Limitations and Future Work
While effective, the computational cost of re-indexing the entire corpus at every iteration is significant, posing challenges for scaling to billions of documents. Additionally, the model's performance is sensitive to the quality of LLM-generated prompts. Future research may explore more sophisticated prompt engineering or hard-negative mining to further refine the bootstrapping process and improve scalability for web-scale retrieval.
Summary updated