小半径向量搜索
Vector search with small radiuses
AI总结:
本文提出范围搜索指标RSM,用于评估向量检索的端到端准确性,并证明倒排索引中访问有限簇并紧凑编码向量可接近最优。
摘要:
近年来,向量搜索的主导精度指标是固定大小结果列表(top-k检索)的召回率,以精确向量检索结果作为真实基准。尽管该指标计算方便,但它与集成向量搜索的完整系统的端到端准确性关系甚远。本文聚焦于常见场景:需要根据向量检索结果做出硬性决策,例如判断查询图像是否与数据库图像匹配。我们将此问题建模为范围搜索任务,即返回查询向量一定半径内的所有向量。我们证明,范围搜索结果的价值可以基于查询到向量的距离进行严格建模。由此产生一个范围搜索指标RSM,该指标既有理论依据又易于计算,无需运行端到端评估。我们将此指标应用于图像检索场景。结果表明,适用于top-k检索的索引方法不一定能最大化RSM。特别是,对于基于倒排文件的索引,访问有限的簇并紧凑编码向量可产生接近最优的结果。
英文摘要:
In recent years, the dominant accuracy metric for vector search is the recall of a result list of fixed size (top-k retrieval), considering as ground truth the exact vector retrieval results. Although convenient to compute, this metric is distantly related to the end-to-end accuracy of a full system that integrates vector search. In this paper we focus on the common case where a hard decision needs to be taken depending on the vector retrieval results, for example, deciding whether a query image matches a database image or not. We solve this as a range search task, where all vectors within a certain radius from the query are returned. We show that the value of a range search result can be modeled rigorously based on the query-to-vector distance. This yields a metric for range search, RSM, that is both principled and easy to compute without running an end-to-end evaluation. We apply this metric to the case of image retrieval. We show that indexing methods that are adapted for top-k retrieval do not necessarily maximize the RSM. In particular, for inverted file based indexes, we show that visiting a limited set of clusters and encoding vectors compactly yields near optimal results.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。