arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.03079cs.DScs.CG
收藏

超高维最近邻的次线性数据结构

Sublinear Data Structures for Nearest Neighbor in Ultra High Dimensions

Martin G. Herold, Danupon Nanongkai, Joachim Spoerhase, Nithin Varma, Zihang Wu

AI总结:

本文研究了超高维情形下的近似最近邻问题,提出了在 $d\gg n$ 时具有次线性空间和查询时间的数据结构,并通过归约为其他几何问题提供了次线性解决方案。

摘要:

几何数据结构在维数远小于输入点数的情形下已被广泛研究。但在机器学习的许多场景中,维数可能远高于点数,甚至高到数据结构可能无法读取并存储输入点与查询点的所有坐标。受这些场景以及特征选择和可解释聚类的相关研究启发,我们开启了在超高维情形下几何数据结构的研究。我们的重点是近似最近邻问题。在该问题中,给定一组 $n$ 个点 $C\subseteq \mathbb{R}^d$,需要构建一个小型数据结构,能够快速回答如下查询:给定 $q\in \mathbb{R}^d$,返回一个近似最接近 $q$ 的点 $c\in C$。本文的主要问题是:当 $d\gg n$ 时,是否存在具有次线性 ($o(nd)$) 空间和次线性 ($o(d)$) 查询时间的数据结构?本文给出了肯定的回答。我们提出了具有以下保证的 $(1+ε)$-近似数据结构。对于 $\ell_1$ 和 $\ell_2$ 范数距离:空间为 $\tilde O(n \log(d)/\mathrm{poly}(ε))$,查询时间为 $\tilde O(n/\mathrm{poly}(ε))$。我们证明了这些空间和时间界限在 $\mathrm{poly}{(\log n/ε)}$ 因子内是紧致的。对于 $\ell_p$ 范数距离:空间为 $\tilde O(n^2 \log(d) (\log\log (n)/ε)^p)$,查询时间为 $\tilde O\left(n(\log\log (n)/ε)^p\right)$。通过简单的归约,我们的数据结构为其他一些几何问题提供了 $d$ 的次线性数据结构;例如近似正交范围搜索、最远邻,并衍生出 $k$-median 和 $k$-means 聚类的次线性 $O(1)$-近似表示。

英文摘要:

Geometric data structures have been extensively studied in the regime where the dimension is much smaller than the number of input points. But in many scenarios in Machine Learning, the dimension can be much higher than the number of points and can be so high that the data structure might be unable to read and store all coordinates of the input and query points. Inspired by these scenarios and related studies in feature selection and explainable clustering, we initiate the study of geometric data structures in this ultra-high dimensional regime. Our focus is the {\em approximate nearest neighbor} problem. In this problem, we are given a set of $n$ points $C\subseteq \mathbb{R}^d$ and have to produce a {\em small} data structure that can {\em quickly} answer the following query: given $q\in \mathbb{R}^d$, return a point $c\in C$ that is approximately nearest to $q$. The main question in this paper is: {\em Is there a data structure with sublinear ($o(nd)$) space and sublinear ($o(d)$) query time when $d\gg n$?} In this paper, we answer this question affirmatively. We present $(1+ε)$-approximation data structures with the following guarantees. For $\ell_1$- and $\ell_2$-norm distances: $\tilde O(n \log(d)/\mathrm{poly}(ε))$ space and $\tilde O(n/\mathrm{poly}(ε))$ query time. We show that these space and time bounds are tight up to $\mathrm{poly}{(\log n/ε)}$ factors. For $\ell_p$-norm distances: $\tilde O(n^2 \log(d) (\log\log (n)/ε)^p)$ space and $\tilde O\left(n(\log\log (n)/ε)^p\right)$ query time. Via simple reductions, our data structures imply sublinear-in-$d$ data structures for some other geometric problems; e.g. approximate orthogonal range search, furthest neighbor, and give rise to a sublinear $O(1)$-approximate representation of $k$-median and $k$-means clustering.

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

↑