arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2309.13335cs.IR
收藏

模型增强的向量索引

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… 展开作者

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

AI总结:

针对深度检索方案服务延迟高、不支持文档更新的问题,提出模型增强向量索引MEVI,结合双塔模型与残差量化码本,通过生成虚拟簇ID加细粒度检索的方式,在保持低延迟的同时提升了检索性能。

摘要:

基于嵌入的检索方法构建向量索引,以搜索与查询表示最相似的文档表示。这类方法因延迟低且召回率表现不错,被广泛应用于文档检索领域。近期研究表明,深度检索方案具备更优的模型质量,但受限于难以接受的服务延迟,且无法支持文档更新。本文旨在通过端到端深度生成模型增强向量索引,在维持理想服务效率的同时,发挥深度检索模型的可微优势。我们提出了模型增强向量索引(Model-enhanced Vector Index,MEVI)——一种由双塔表示模型赋能的可微模型增强索引。MEVI利用残差量化(Residual Quantization,RQ)码本,搭建起序列到序列深度检索模型与基于嵌入的模型之间的桥梁。为大幅降低推理时间,我们无需通过长序列步骤解码唯一文档ID,而是先在少量步骤内生成候选文档的若干语义虚拟簇ID,再利用适配良好的嵌入向量,在候选虚拟簇中对相关文档进一步执行细粒度搜索。我们通过实验证明,该模型在常用学术基准MSMARCO Passage和Natural Questions上取得了更优性能,且服务延迟与稠密检索方案相当。

英文摘要:

Embedding-based retrieval methods construct vector indices to search for document representations that are most similar to the query representations. They are widely used in document retrieval due to low latency and decent recall performance. Recent research indicates that deep retrieval solutions offer better model quality, but are hindered by unacceptable serving latency and the inability to support document updates. In this paper, we aim to enhance the vector index with end-to-end deep generative models, leveraging the differentiable advantages of deep retrieval models while maintaining desirable serving efficiency. We propose Model-enhanced Vector Index (MEVI), a differentiable model-enhanced index empowered by a twin-tower representation model. MEVI leverages a Residual Quantization (RQ) codebook to bridge the sequence-to-sequence deep retrieval and embedding-based models. To substantially reduce the inference time, instead of decoding the unique document ids in long sequential steps, we first generate some semantic virtual cluster ids of candidate documents in a small number of steps, and then leverage the well-adapted embedding vectors to further perform a fine-grained search for the relevant documents in the candidate virtual clusters. We empirically show that our model achieves better performance on the commonly used academic benchmarks MSMARCO Passage and Natural Questions, with comparable serving latency to dense retrieval solutions.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑