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

基于聚类的近似最近邻搜索的排序学习公式化

A Learning-to-Rank Formulation of Clustering-Based Approximate Nearest Neighbor Search

Thomas Vecchiato, Claudio Lucchese, Franco Maria Nardini, Sebastian Bruch

AI总结:

该研究发现近似最近邻搜索中的聚类路由本质是排序问题,提出用排序学习方法优化路由函数,基于真实标签训练线性函数,有效提升了基于聚类的最大内积搜索准确率。

摘要:

近似最近邻搜索是现代信息检索体系中的关键一环,其目标是返回与查询点最接近的$k$个数据点,准确率以返回集合中包含的精确最近邻的比例来衡量。解决该问题的一种流行方法是聚类:索引算法将数据点划分为互不重叠的子集,并用质心等点来表示每个分区。查询处理算法首先识别最近的簇——这一过程称为路由——随后仅在这些簇中执行最近邻搜索。在本研究中,我们发现了一个简单的规律:路由函数本质上是在解决一个排序问题,因此其质量可以用排序指标来评估,这使得该函数适用于排序学习方法。有趣的是,真实标签通常是免费可得的:给定top-$k$配置下的查询分布,真实标签就是包含精确top-$k$向量的簇的集合。我们发展了这一见解,并将其应用于最大内积搜索(Maximum Inner Product Search, MIPS)。我们在多个数据集上的实验表明,学习一个简单的线性函数能够持续提升基于聚类的MIPS的准确率。

英文摘要:

A critical piece of the modern information retrieval puzzle is approximate nearest neighbor search. Its objective is to return a set of $k$ data points that are closest to a query point, with its accuracy measured by the proportion of exact nearest neighbors captured in the returned set. One popular approach to this question is clustering: The indexing algorithm partitions data points into non-overlapping subsets and represents each partition by a point such as its centroid. The query processing algorithm first identifies the nearest clusters -- a process known as routing -- then performs a nearest neighbor search over those clusters only. In this work, we make a simple observation: The routing function solves a ranking problem. Its quality can therefore be assessed with a ranking metric, making the function amenable to learning-to-rank. Interestingly, ground-truth is often freely available: Given a query distribution in a top-$k$ configuration, the ground-truth is the set of clusters that contain the exact top-$k$ vectors. We develop this insight and apply it to Maximum Inner Product Search (MIPS). As we demonstrate empirically on various datasets, learning a simple linear function consistently improves the accuracy of clustering-based MIPS.

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

↑