arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.18812cs.IR
收藏

用于学习稀疏表示近似检索的高效倒排索引

Efficient Inverted Indexes for Approximate Retrieval over Learned Sparse Representations

Sebastian Bruch, Franco Maria Nardini, Cosimo Rulli, Rossano Venturini

AI总结:

针对学习稀疏表示检索与传统倒排索引不兼容的问题,提出将倒排列表组织为带摘要向量的几何内聚块的Seismic方法,在MS MARCO数据集上实现亚毫秒级高召回检索,性能远超现有方案及BigANN挑战赛优胜方案。

摘要:

学习稀疏表示是一类颇具吸引力的文本检索上下文嵌入,原因在于它们是有效的相关性模型,且具备可解释性设计。然而,尽管它们与倒排索引具有明显的兼容性,基于稀疏嵌入的检索仍具挑战性,这源于学习嵌入与基于词频的词汇相关性模型(如BM25)之间存在分布差异。针对这一挑战,大量研究致力于设计适配学习稀疏表示特性的检索算法,其中包括近似检索系统。事实上,该任务在NeurIPS 2023最新一届BigANN挑战赛中占据重要地位,赛事基于大型基准数据集从吞吐量和召回率两方面评估近似算法。本文提出一种新颖的倒排索引组织结构,可实现学习稀疏嵌入的快速且高效的近似检索。该方法将倒排列表组织为几何内聚的块,每个块配备一个摘要向量;在查询处理阶段,利用摘要向量快速判断是否需要评估某个块。实验结果表明,本文提出的Seismic方法在MS MARCO数据集的各类稀疏嵌入上实现单线程查询处理,单查询延迟低于亚毫秒级,同时保持高召回率。结果显示,Seismic比现有最优的基于倒排索引的解决方案快一到两个数量级,且性能显著优于BigANN挑战赛中基于图的优胜提交方案。

英文摘要:

Learned sparse representations form an attractive class of contextual embeddings for text retrieval. That is so because they are effective models of relevance and are interpretable by design. Despite their apparent compatibility with inverted indexes, however, retrieval over sparse embeddings remains challenging. That is due to the distributional differences between learned embeddings and term frequency-based lexical models of relevance such as BM25. Recognizing this challenge, a great deal of research has gone into, among other things, designing retrieval algorithms tailored to the properties of learned sparse representations, including approximate retrieval systems. In fact, this task featured prominently in the latest BigANN Challenge at NeurIPS 2023, where approximate algorithms were evaluated on a large benchmark dataset by throughput and recall. In this work, we propose a novel organization of the inverted index that enables fast yet effective approximate retrieval over learned sparse embeddings. Our approach organizes inverted lists into geometrically-cohesive blocks, each equipped with a summary vector. During query processing, we quickly determine if a block must be evaluated using the summaries. As we show experimentally, single-threaded query processing using our method, Seismic, reaches sub-millisecond per-query latency on various sparse embeddings of the MS MARCO dataset while maintaining high recall. Our results indicate that Seismic is one to two orders of magnitude faster than state-of-the-art inverted index-based solutions and further outperforms the winning (graph-based) submissions to the BigANN Challenge by a significant margin.

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

↑