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

使用 Lucene 实现基于学习到的稠密与稀疏表示的端到端检索

End-to-End Retrieval with Learned Dense and Sparse Representations Using Lucene

Haonan Chen, Carlos Lassance, Jimmy Lin

AI总结:

本文提出并验证了仅使用 Lucene 即可在 CPU 上用 Java 高效支持现代稠密与稀疏表示的端到端检索,从而以最少基础设施改动简化检索系统设计。

摘要:

双编码器架构为理解基于稠密和稀疏向量表示的机器学习检索模型提供了一个框架。尽管这些表示捕获了同一底层概念框架的参数化实现,但它们各自的 top-k 相似度搜索实现需要协调不同的软件组件(例如倒排索引、HNSW 索引和神经推理工具包),这些组件通常被编织成复杂的架构。在这项工作中,我们提出以下问题:就要求对现有基础设施进行最少改动而言,能够支持现代稠密和稀疏表示的端到端检索的最简单设计是什么?答案似乎是 Lucene 就足够了,正如我们在 Anserini(一个用于可复现信息检索研究的工具包)中所展示的那样。也就是说,使用现代单向量神经模型的有效检索可以直接在 CPU 上用 Java 高效执行。我们考察了这种设计对推动最先进技术的信息检索研究人员以及构建生产搜索系统的软件工程师的影响。

英文摘要:

The bi-encoder architecture provides a framework for understanding machine-learned retrieval models based on dense and sparse vector representations. Although these representations capture parametric realizations of the same underlying conceptual framework, their respective implementations of top-$k$ similarity search require the coordination of different software components (e.g., inverted indexes, HNSW indexes, and toolkits for neural inference), often knitted together in complex architectures. In this work, we ask the following question: What's the simplest design, in terms of requiring the fewest changes to existing infrastructure, that can support end-to-end retrieval with modern dense and sparse representations? The answer appears to be that Lucene is sufficient, as we demonstrate in Anserini, a toolkit for reproducible information retrieval research. That is, effective retrieval with modern single-vector neural models can be efficiently performed directly in Java on the CPU. We examine the implications of this design for information retrieval researchers pushing the state of the art as well as for software engineers building production search systems.

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

↑