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

利用倒排索引搜索稠密表示

Searching Dense Representations with Inverted Indexes

Jimmy Lin, Tommaso Teofili

AI总结:

本文探索用倒排索引替代 HNSW 对稠密向量进行 top-$k$ 检索,在 MS MARCO 上验证其可行且索引紧凑,但速度过慢,尚不具备实用价值。

摘要:

如今,几乎所有基于稠密向量表示的 top-$k$ 检索实现都利用了分层可导航小世界网络(HNSW)索引。然而,向量表示的生成与大规模向量集合的高效搜索是两个不同的挑战,可以解耦处理。在这项工作中,我们探索了一种逆向方法:使用倒排索引对稠密向量表示执行 top-$k$ 检索。我们在 MS MARCO 段落排序数据集上进行了实验,评估了三个关注维度:输出质量、速度和索引大小。结果表明,使用倒排索引搜索稠密表示是可行的。我们的方法在紧凑索引下表现出合理的有效性,但速度慢到不切实际。因此,尽管可行,我们的解决方案并未提供令人信服的权衡,或许今天最好将其描述为一种“技术好奇心”。

英文摘要:

Nearly all implementations of top-$k$ retrieval with dense vector representations today take advantage of hierarchical navigable small-world network (HNSW) indexes. However, the generation of vector representations and efficiently searching large collections of vectors are distinct challenges that can be decoupled. In this work, we explore the contrarian approach of performing top-$k$ retrieval on dense vector representations using inverted indexes. We present experiments on the MS MARCO passage ranking dataset, evaluating three dimensions of interest: output quality, speed, and index size. Results show that searching dense representations using inverted indexes is possible. Our approach exhibits reasonable effectiveness with compact indexes, but is impractically slow. Thus, while workable, our solution does not provide a compelling tradeoff and is perhaps best characterized today as a "technical curiosity".

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

↑