利用GRIP实现基于图的学习稀疏检索搜索
Getting a GRIP on Graph-Based Search for Learned Sparse Retrieval
AI总结:
本文挑战学界认为基于图的ANN搜索不如倒排索引用于LSR的传统观点,提出GRIP系统结合三种技术,在MS MARCO v2基准上实现比最优倒排索引Seismic高2.5倍的延迟提升,质疑倒排索引的默认选择。
摘要:
学习稀疏检索(LSR)近年来在信息检索领域受到广泛关注,因为它兼具神经表示的泛化能力和基于关键词搜索的可解释性。多项近期研究表明,当为学习稀疏嵌入适当修改倒排索引时,其在LSR中能达到最优的召回率-延迟权衡,在固定召回目标下,延迟通常大幅优于基于图的索引。因此,学界普遍认为基于图的近似最近邻(ANN)搜索在LSR中不如倒排索引。本文挑战这一传统观点。核心见解是,直接将标准基于图的ANN索引应用于稀疏向量会导致性能不佳,但可通过将倒排索引的优势融入基于图的搜索来克服这些缺点。具体而言,本文引入三种加速基于图的LSR的技术:(i)基于术语的入口点初始化,(ii)通过稀疏草图的近似路由,(iii)基于稀疏分区的图构建。将这些技术结合成一个新的用于LSR的基于图的ANN系统,命名为GRIP。在MS MARCO v2基准(1.38亿个段落)上使用SPLADE嵌入时,GRIP在95%召回@10下,比专为LSR设计的最优倒排索引Seismic实现了2.5倍的延迟提升。最终,本文结果对部署学习稀疏检索时默认选择倒排索引的做法提出了质疑。
英文摘要:
Learned sparse retrieval (LSR) has recently gained traction in the information retrieval community for the ability to combine the generalization capabilities of neural representations with the interpretability of keyword-based search. A number of recent works have demonstrated that inverted indexes, when appropriately modified for learned sparse embeddings, achieve state-of-the-art recall-latency tradeoffs for LSR, often outperforming graph-based indexes by substantial margins in latency at a fixed recall target. As a result, the community has generally concluded that graph-based approximate nearest neighbor (ANN) search is inferior to inverted indexes for LSR. This paper challenges this conventional wisdom. Our key insight is that, while applying standard graph-based ANN indexes out-of-the-box to sparse vectors leads to uncompetitive performance, we can overcome these shortcomings by infusing the strengths of inverted indexes into graph-based search. In particular, we introduce three techniques to accelerate graph-based LSR: (i) term-based entry point seeding, (ii) approximate routing via sparse sketching, and (iii) sparse partition-based graph construction. We combine these techniques into a new graph-based ANN system for LSR we call GRIP. On the MS MARCO v2 benchmark (138M passages) with SPLADE embeddings, GRIP achieves a $2.5\times$ latency improvement over Seismic, a state-of-the-art inverted index tailored for LSR, at 95\% recall@10. Ultimately, our results call into question the default choice of inverted indexes for deploying learned sparse retrieval.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。