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

利用函数求逆改进空间高效的近似最近邻搜索

Improved Space-Efficient Approximate Nearest Neighbor Search Using Function Inversion

Samuel McCauley

AI总结:

本文利用函数求逆技术提出黑盒式方法降低LSH空间占用,并改进ALRW数据结构的查询时间,证明点列表数据结构对欧氏和曼哈顿ANN并非最优。

摘要:

近似最近邻搜索(ANN)数据结构在机器学习、计算生物学和文本处理中有着广泛的应用。ANN的目标是对集合S进行预处理,使得给定查询q时,我们能够找到一个点y,其与q的距离近似于q到S中任意点的最小距离。对于大多数距离函数而言,高维点集上已知最佳的ANN界是通过基于局部敏感哈希(LSH)的技术获得的。\n遗憾的是,空间效率是基于LSH的数据结构面临的一个主要挑战。经典的LSH技术需要极大的空间,通常为|S|的多项式级别。一系列长期的研究工作发展了复杂的技术来降低这种空间占用,但这些技术存在缺点:它们必须针对每个具体的LSH手工定制,往往较为复杂,并且其空间缩减是以显著增加查询时间为代价的。\n在本文中,我们探索了一种利用函数求逆技术来提高LSH空间效率的新方法,该技术最初由(Fiat和Naor 2000)提出。\n我们首先描述如何利用函数求逆来改进LSH数据结构。这给出了一种相当简单、黑盒式的方法来降低LSH的空间占用。\n随后,我们给出一种数据结构,利用函数求逆来改进欧氏距离下近似最近邻搜索的已知最佳近线性空间数据结构的查询时间:即(Andoni、Laarhoven、Razenshteyn和Waingarten 2017)提出的ALRW数据结构。ALRW此前被证明在欧氏和曼哈顿ANN的“点列表”数据结构中是最优的;因此,除了给出改进的界之外,我们的结果还意味着点列表数据结构对于欧氏或曼哈顿ANN并非最优。

英文摘要:

Approximate nearest neighbor search (ANN) data structures have widespread applications in machine learning, computational biology, and text processing. The goal of ANN is to preprocess a set S so that, given a query q, we can find a point y whose distance from q approximates the smallest distance from q to any point in S. For most distance functions, the best-known ANN bounds for high-dimensional point sets are obtained using techniques based on locality-sensitive hashing (LSH). Unfortunately, space efficiency is a major challenge for LSH-based data structures. Classic LSH techniques require a very large amount of space, oftentimes polynomial in |S|. A long line of work has developed intricate techniques to reduce this space usage, but these techniques suffer from downsides: they must be hand tailored to each specific LSH, are often complicated, and their space reduction comes at the cost of significantly increased query times. In this paper we explore a new way to improve the space efficiency of LSH using function inversion techniques, originally developed in (Fiat and Naor 2000). We begin by describing how function inversion can be used to improve LSH data structures. This gives a fairly simple, black box method to reduce LSH space usage. Then, we give a data structure that leverages function inversion to improve the query time of the best known near-linear space data structure for approximate nearest neighbor search under Euclidean distance: the ALRW data structure of (Andoni, Laarhoven, Razenshteyn, and Waingarten 2017). ALRW was previously shown to be optimal among "list-of-points" data structures for both Euclidean and Manhattan ANN; thus, in addition to giving improved bounds, our results imply that list-of-points data structures are not optimal for Euclidean or Manhattan ANN.

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

↑