NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Model-enhanced Vector Index

Hailin Zhang, Yujing Wang, Qi Chen, Ruiheng Chang, Ting Zhang, Ziming Miao, Yingyan Hou, Yang Ding, Xupeng Miao, Haonan Wang, Bochen Pang, Yuefeng Zhan, Hao Sun, Weiwei Deng, Qi Zhang, Fan Yang, Xing Xie, Mao Yang, Bin Cui

Abstract

In modern information retrieval, a persistent trade-off exists between the scalability of Embedding-based Retrieval (Dense Retrieval) and the superior semantic accuracy of Generative Retrieval. While dense retrieval scales efficiently via Approximate Nearest Neighbor (ANN) search, generative models—which treat retrieval as a sequence-to-sequence task—often suffer from high latency and an inability to handle dynamic document corpora. This paper introduces Model-enhanced Vector Index (MEVI), a hybrid framework presented at NeurIPS 2023. MEVI utilizes a Residual Quantization (RQ) codebook to bridge these two paradigms, predicting semantic "virtual cluster IDs" to achieve state-of-the-art accuracy on massive datasets like MSMARCO while maintaining the low latency required for production environments.

1. Introduction

Information retrieval systems typically operate in a multi-stage pipeline: a retrieval stage to identify a set of candidates, followed by a ranking stage to refine the order.

Dense Retrieval has become the industry standard, utilizing "twin-tower" models to generate embeddings. However, these models are not fully end-to-end differentiable because the ANN index remains a separate, static structure. Conversely, Generative Retrieval (e.g., DSI or NCI) attempts to map queries directly to document IDs. Despite their accuracy, generative models face two primary bottlenecks:

  1. Inference Latency: Autoregressively decoding unique IDs for millions of documents is computationally expensive.
  2. Corpus Immutability: Most generative models rely on fixed tree structures, requiring full retraining when new documents are added.

MEVI addresses these challenges by introducing a differentiable index that combines the semantic depth of generative models with the efficiency of vector indices.

2. Methodology

The core innovation of MEVI is the integration of Residual Quantization (RQ) to organize the document space into a navigable, semantic structure.

2.1 The RQ Codebook

Rather than using a flat list or a rigid hierarchy, MEVI employs RQ to iteratively cluster document embeddings. The process involves clustering the data, calculating the residual (error), and subsequently clustering those residuals. This creates a hierarchical set of "cluster IDs" for every document, effectively acting as a differentiable index that learns the relationship between query text and the underlying vector space.

2.2 Predicting Semantic Clusters

During the inference phase, MEVI’s generative component does not attempt to predict specific document IDs. Instead, it predicts virtual cluster IDs derived from the RQ codes. Because these codes are short (typically requiring only 4 decoding steps), the process is significantly faster than traditional generative methods that decode long, unique document identifiers.

2.3 Hybrid Ensemble Strategy

MEVI retains the strengths of traditional vector search through an ensemble approach. It performs a standard ANN search and then "boosts" the results using candidates identified within the predicted semantic clusters. This ensures that the system explores the semantic neighborhood even if the generative model fails to identify a specific document ID.

3. Experimental Evaluation

Researchers evaluated MEVI on two rigorous benchmarks: MSMARCO Passage (~8.8 million passages) and Natural Questions (NQ) (~21 million Wikipedia passages).

3.1 Accuracy and Efficiency

MEVI demonstrated significant performance gains over strong ANN baselines such as AR2. On the MSMARCO dataset, MEVI achieved a +3.62% increase in MRR@10 and a +10.54% improvement in Recall@1000.

Crucially, MEVI solves the latency bottleneck. While previous state-of-the-art generative models like NCI required nearly 2.9 seconds per query, MEVI (targeting the top 10 clusters) processed queries in just 96.87ms, making it viable for real-time applications.

3.2 Handling Dynamic Corpora

One of the most significant advantages of MEVI is its flexibility. In experiments where 10% of the documents were hidden during the training phase, MEVI successfully retrieved these "unseen" documents by correctly mapping them to their respective semantic clusters based on their embeddings. This capability allows MEVI to handle dynamic document updates without the need for full model retraining.

4. Discussion and Future Work

MEVI represents a significant step toward unifying generative and embedding-based retrieval. By targeting coarse clusters rather than individual documents, it bypasses the decoding bottlenecks of previous architectures while maintaining high semantic fidelity.

Future research directions include:

  • Joint Optimization: Exploring the simultaneous training of the RQ codebook and retrieval models to achieve tighter semantic alignment.
  • Scaling Capacity: Investigating how model parameters must scale to accommodate corpora containing billions of documents.
  • Non-Autoregressive Decoding: Further reducing latency by moving away from autoregressive steps toward parallelized decoding techniques.

5. Conclusion

MEVI successfully bridges the gap between generative accuracy and vector search efficiency. By utilizing Residual Quantization to create a semantic bridge, it provides a scalable, flexible, and high-performance solution for large-scale information retrieval.

Summary updated

BibTeX
@inproceedings{zhang2023model,
  author = {Hailin Zhang and Yujing Wang and Qi Chen and Ruiheng Chang and Ting Zhang and Ziming Miao and Yingyan Hou and Yang Ding and Xupeng Miao and Haonan Wang and Bochen Pang and Yuefeng Zhan and Hao Sun and Weiwei Deng and Qi Zhang and Fan Yang and Xing Xie and Mao Yang and Bin Cui},
  title = {{Model-enhanced Vector Index}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=UZlAjSnmvB},
}
Figure