基于OpenAI嵌入的向量搜索:Lucene足矣
Vector Search with OpenAI Embeddings: Lucene Is All You Need
AI总结:
该研究在MS MARCO数据集上验证了Lucene的HNSW索引可实现基于OpenAI嵌入的向量搜索,挑战了专用向量存储的必要性,为利用现有搜索基础设施部署AI搜索提供了依据。
摘要:
我们在流行的MS MARCO段落排序测试集上,提供了一个可复现的、端到端的基于Lucene的OpenAI嵌入向量搜索演示。本研究的主要目标是挑战当前的主流观点,即认为必须使用专用向量存储才能利用深度神经网络应用于搜索领域的最新进展。恰恰相反,我们证明Lucene中的分层可导航小世界网络(HNSW)索引足以在标准双编码器架构中提供向量搜索能力。这表明,从简单的成本效益分析来看,似乎并没有令人信服的理由要在现代搜索“AI技术栈”中引入专用向量存储,因为这类应用已经在现有广泛部署的基础设施中获得了大量投入。
英文摘要:
We provide a reproducible, end-to-end demonstration of vector search with OpenAI embeddings using Lucene on the popular MS MARCO passage ranking test collection. The main goal of our work is to challenge the prevailing narrative that a dedicated vector store is necessary to take advantage of recent advances in deep neural networks as applied to search. Quite the contrary, we show that hierarchical navigable small-world network (HNSW) indexes in Lucene are adequate to provide vector search capabilities in a standard bi-encoder architecture. This suggests that, from a simple cost-benefit analysis, there does not appear to be a compelling reason to introduce a dedicated vector store into a modern "AI stack" for search, since such applications have already received substantial investments in existing, widely deployed infrastructure.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。