本文探索用倒排索引替代 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".
Hybrid Inverted Index Is a Robust Accelerator for Dense Retrieval
Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院);Beijing Academy of Artificial Intelligence(北京人工智能研究院);Microsoft Research Asia(微软亚洲研究院)
Dual Skipping Guidance for Document Retrieval with Learned Sparse Representations
本文提出了一种双跳转指导计划与混合评分,以加速文档检索,使用学习稀疏表示,同时仍然提供了良好的相关性。该方案使用词汇BM 25和学习的神经项权重来分别绑定和组合候选文档的排名得分,以用于跳过和最终排名,并在倒排索引遍历期间保持两个top-k阈值。本文评估的时间效率和排名的相关性所提出的计划在搜索MS MARCO TREC数据集。
Distill-VQ: Learning Retrieval Oriented Vector Quantization By Distilling Knowledge from Dense Embeddings
Beijing University of Posts and Telecommunications(北京邮电大学);Microsoft Research Asia(微软亚洲研究院);Microsoft Search Technology Center Asia(微软亚洲搜索技术中心);University of Science and Technology of China(中国科学技术大学)