arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2302.06587cs.IR
收藏

SLIM:基于倒排索引的多向量检索的稀疏化后期交互

SLIM: Sparsified Late Interaction for Multi-Vector Retrieval with Inverted Indexes

Minghan Li, Sheng-Chieh Lin, Xueguang Ma, Jimmy Lin

AI总结:

SLIM通过将多向量映射到稀疏词汇空间并利用倒排索引实现高效检索,在保持与ColBERT相当准确性的同时,显著减小模型规模并提升CPU上的速度。

摘要:

本文介绍了基于倒排索引的多向量稀疏化后期交互(SLIM)检索方法。多向量检索方法已在各种检索数据集上证明了其有效性,其中,ColBERT是基于预训练语言模型上下文化词元嵌入的后期交互的最成熟方法。然而,高效的ColBERT实现需要复杂的工程,且无法利用现成的搜索库,这阻碍了其实际应用。为解决此问题,SLIM首先将每个上下文化词元向量映射到稀疏的高维词汇空间,然后在这些稀疏词元嵌入之间执行后期交互。接着,我们引入了一种高效的两阶段检索架构,包括倒排索引检索和随后的分数细化模块,以近似稀疏化后期交互,该架构与Lucene等现成词汇搜索库完全兼容。与ColBERT相比,SLIM在MS MARCO Passages和BEIR上取得了具有竞争力的准确性,同时在CPU上体积更小、速度更快。据我们所知,我们是首个探索将稀疏词元表示用于多向量检索的研究。源代码和数据已集成到Pyserini IR工具包中。

英文摘要:

This paper introduces Sparsified Late Interaction for Multi-vector (SLIM) retrieval with inverted indexes. Multi-vector retrieval methods have demonstrated their effectiveness on various retrieval datasets, and among them, ColBERT is the most established method based on the late interaction of contextualized token embeddings of pre-trained language models. However, efficient ColBERT implementations require complex engineering and cannot take advantage of off-the-shelf search libraries, impeding their practical use. To address this issue, SLIM first maps each contextualized token vector to a sparse, high-dimensional lexical space before performing late interaction between these sparse token embeddings. We then introduce an efficient two-stage retrieval architecture that includes inverted index retrieval followed by a score refinement module to approximate the sparsified late interaction, which is fully compatible with off-the-shelf lexical search libraries such as Lucene. SLIM achieves competitive accuracy on MS MARCO Passages and BEIR compared to ColBERT while being much smaller and faster on CPUs. To our knowledge, we are the first to explore using sparse token representations for multi-vector retrieval. Source code and data are integrated into the Pyserini IR toolkit.

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

↑