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

EHI:面向高效稠密检索的分层索引端到端学习

EHI: End-to-end Learning of Hierarchical Index for Efficient Dense Retrieval

Google Inc.(谷歌公司);Microsoft(微软);UT Austin(德克萨斯大学奥斯汀分校)

Ramnath Kumar, Anshul Mittal, Nilesh Gupta, Aditya Kusupati, Inderjit Dhillon, Prateek Jain

AI总结:

针对传统稠密检索两阶段流程的错位问题,提出端到端分层索引方法EHI,联合优化嵌入生成与ANNS结构,在标准基准上显著超越现有最先进方法。

摘要:

基于稠密嵌入的检索被广泛用于语义搜索和排序。然而,传统的两阶段方法(包括对比嵌入学习及随后的近似最近邻搜索(ANNS))可能会受到这两个阶段之间错位问题的困扰。这种不匹配会降低检索性能。我们提出了端到端分层索引(EHI),这是一种通过联合优化嵌入生成和ANNS结构来直接解决此问题的新方法。EHI利用双编码器对查询和文档进行嵌入,同时学习倒排文件索引(IVF)风格的树结构。为了促进这种离散结构的有效学习,EHI引入了密集路径嵌入,用于编码查询和文档在树中遍历的路径。在包括MS MARCO(Dev set)和TREC DL19在内的标准基准上的广泛评估表明,EHI优于传统的ANNS索引。在相同的计算约束下,EHI在MS MARCO(Dev)上的MRR@10指标和TREC DL19上的nDCG@10指标上分别以+1.45%和+8.2%的优势超越了现有的最先进方法,突显了我们端到端方法的优势。

英文摘要:

Dense embedding-based retrieval is widely used for semantic search and ranking. However, conventional two-stage approaches, involving contrastive embedding learning followed by approximate nearest neighbor search (ANNS), can suffer from misalignment between these stages. This mismatch degrades retrieval performance. We propose End-to-end Hierarchical Indexing (EHI), a novel method that directly addresses this issue by jointly optimizing embedding generation and ANNS structure. EHI leverages a dual encoder for embedding queries and documents while simultaneously learning an inverted file index (IVF)-style tree structure. To facilitate the effective learning of this discrete structure, EHI introduces dense path embeddings that encodes the path traversed by queries and documents within the tree. Extensive evaluations on standard benchmarks, including MS MARCO (Dev set) and TREC DL19, demonstrate EHI's superiority over traditional ANNS index. Under the same computational constraints, EHI outperforms existing state-of-the-art methods by +1.45% in MRR@10 on MS MARCO (Dev) and +8.2% in nDCG@10 on TREC DL19, highlighting the benefits of our end-to-end approach.

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

↑