Generative Document Retrieval (GDR) has emerged as a promising alternative to traditional ranking-based search. By using sequence-to-sequence models to directly generate document identifiers (IDs) from queries, GDR simplifies the retrieval pipeline. However, the effectiveness of these models is heavily dependent on how documents are indexed. This paper introduces Bottleneck-Minimal Indexing (BMI), a novel approach that shifts the indexing focus from document content to query distributions, yielding significant performance gains.
The Indexing Bottleneck in GDR
In a typical GDR framework, such as the Differentiable Search Index (DSI), documents are assigned hierarchical IDs based on their semantic content. This is usually achieved through clustering document embeddings. The underlying assumption is that semantically similar documents should share similar ID prefixes, making it easier for a model like T5 to learn the mapping.
However, this approach overlooks a fundamental mismatch: document content is often verbose and descriptive, whereas user queries are short and intent-driven. Indexing based purely on document space creates a "bottleneck" because the model must bridge the gap between the query space and a document-centric ID space. If the IDs do not reflect how users actually search, the retrieval performance suffers.
Proposed Method: Bottleneck-Minimal Indexing (BMI)
The authors reframe the indexing problem using Information Bottleneck (IB) theory. In this view, a document ID ($T$) should serve as a compressed representation of a document ($X$) that retains maximum information about the potential queries ($Q$).
Instead of clustering documents based on their own embeddings, BMI clusters them based on the mean embedding of their associated queries. To estimate this query distribution when real data is scarce, the authors employ three strategies:
- RealQ: Utilizing actual queries from training data.
- GenQ: Generating synthetic queries using a pre-trained
docT5querymodel. - DocSeg: Using random segments of the document as pseudo-queries.
By performing hierarchical k-means on these query-centric centroids, BMI creates an index optimized for the retrieval task itself rather than document similarity.
Experimental Results
The researchers evaluated BMI on the NQ320K and MS MARCO Lite benchmarks, comparing it against standard baselines like Hierarchical k-means Indexing (HKmI).
Key Findings:
- Transformative Gains for Small Models: While larger models (T5-base) showed steady improvement, smaller models saw the most dramatic benefits. On MS MARCO Lite, a T5-mini model using BMI achieved a 91% relative improvement in Recall@1 compared to standard indexing.
- Efficiency and Performance: BMI allows lightweight models to punch above their weight class, suggesting that optimized indexing can compensate for reduced model capacity.
- Competitive with State-of-the-Art: Despite using a static index determined before training, BMI achieved results comparable to complex "learned" index methods like GENRET and NOVO on the NQ320K dataset.
Conclusion and Future Directions
BMI demonstrates that the optimal document index is determined by the probability distribution of queries, not the documents themselves. By aligning the ID space with the query space, BMI significantly reduces the learning burden on the generative model.
Future work may explore relaxing the Gaussian assumptions used in the current derivation to better handle multi-modal query intents and investigating more advanced clustering algorithms to further refine the bottleneck-minimal ID space.
Summary updated