Introduction
DiffusionRet introduces a novel two-stage "reasoning chain" to generative information retrieval (GR), addressing the limitations of mapping short queries directly to abstract document identifiers. By first utilizing a parameter-efficient diffusion model to "hallucinate" a relevant pseudo-document and subsequently performing constrained n-gram retrieval, the framework achieves state-of-the-art performance on major benchmarks while leveraging natural language patterns learned during pre-training.
Problem Statement
In the emerging paradigm of Generative Retrieval, models are trained to generate a document identifier (docid) directly from a query. However, current GR methods face two primary bottlenecks:
- Lack of Intermediate Reasoning: Most models jump straight from a short query to a docid, lacking a "chain-of-thought" step to process the semantic content of a relevant document.
- Pretrain-Finetune Discrepancy: Many systems use artificial docids (e.g., hierarchical clusters) that never appeared during pre-training, hindering the model's ability to utilize its prior linguistic knowledge effectively.
Methodology
The authors propose DiffusionRet, a two-stage pipeline designed to bridge the semantic gap between queries and documents.
Stage 1: Diffusion-based Document Generation
Instead of predicting a docid, the model uses a sequence-to-sequence diffusion model (SeqDiffuSeq) to generate a "pseudo-document" based on the query. This process, akin to "semantic inpainting," allows the model to fill in surrounding context to create a realistic document snippet. Diffusion models are employed here for their high parameter efficiency compared to massive autoregressive LLMs.
Stage 2: N-gram-based Generative Retrieval
The generated pseudo-document is fed into a second model (based on the SEAL architecture) that generates specific n-grams guaranteed to exist in the actual collection. To ensure valid retrieval, an FM-index constrains the decoding process, allowing only n-grams present in the corpus to be produced. These n-grams are then used to calculate relevance scores for the source documents.
Experimental Results
DiffusionRet was evaluated on standard IR benchmarks, including MS MARCO (100k subset) and Natural Questions (NQ 320k).
On the MS MARCO 100k dataset, DiffusionRet achieved a Hits@1 of 85.29, a significant jump over previous generative models like TOME (71.93) and traditional dense retrieval like DPR (65.00). On Natural Questions 320k, it reached a Hits@1 of 71.66, outperforming SOTA models such as GenRet (68.10) and NCI (66.23).
Key Insights
- The Power of "Hallucination": By allowing the model to generate a "fake" document, the system creates a richer semantic bridge between queries and the corpus.
- Natural Language Identifiers: Using n-grams instead of artificial docids allows the model to fully utilize linguistic patterns learned during pre-training.
- Parameter Efficiency: A 103M parameter diffusion model can outperform much larger T5-based models (up to 3B parameters) at document generation, demonstrating diffusion's suitability for capturing text distributions.
Limitations and Future Work
Despite its performance, DiffusionRet faces challenges with inference latency due to the iterative nature of diffusion models. Future research will explore faster samplers like consistency models. Additionally, the authors aim to unify the two stages into a single end-to-end transformer and improve generation quality for "long-tail" or obscure queries where the model may currently produce repetitive text.
Summary updated