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

自适应距离估计

On Adaptive Distance Estimation

Yeshwanth Cherapanamjeri, Jelani Nelson

摘要:

我们提供了一个静态数据结构的距离估计,支持{ \it自适应}查询。具体而言,给定$\mathbb{R}^d$和$0 < p \leq 2$中的$n$点的数据集$X = \{x_i\}_{i = 1}^n$,我们构造具有低内存消耗和查询时间的随机数据结构,当稍后给定任何查询点$q \in \mathbb{R}^d$时,输出$(1+ε)$ -对于所有$i\in[n]$具有高概率的$\lVert q - x_i \rVert_p$的近似。主要的新颖性是我们的数据结构的正确性保证,即使可以选择自适应的查询序列:对手被允许选择$j$第查询点$q_j$的方式,取决于报告的答案的数据结构为$q_1,\ldots,q_{j-1}$。以前的随机蒙特卡罗方法不提供自适应选择的查询设置中的错误保证。我们的内存消耗是$\tilde O((n+d)d/ε^2)$,略高于在内存中显式存储$X$所需的$O(nd)$,但好处是我们回答查询的时间只有$\tilde O(ε^{-2}(n + d))$,比在$n$和$d$非常大的情况下从线性扫描获得的原始$Θ(nd)$时间快得多。此处$\tilde O$隐藏了$\log(nd/ε)$因子。我们讨论应用程序的最近邻搜索和非参数估计。我们的方法是简单的,可能适用于其他领域:我们描述了一种通用的方法转换随机蒙特卡罗数据结构,不支持自适应查询的那些,并表明,对于手头的问题,它可以应用于标准的非自适应解决方案$\ell_p$范数估计与查询时间的开销可以忽略不计,在内存中的一个因素$d$开销。

英文摘要:

We provide a static data structure for distance estimation which supports {\it adaptive} queries. Concretely, given a dataset $X = \{x_i\}_{i = 1}^n$ of $n$ points in $\mathbb{R}^d$ and $0 < p \leq 2$, we construct a randomized data structure with low memory consumption and query time which, when later given any query point $q \in \mathbb{R}^d$, outputs a $(1+ε)$-approximation of $\lVert q - x_i \rVert_p$ with high probability for all $i\in[n]$. The main novelty is our data structure's correctness guarantee holds even when the sequence of queries can be chosen adaptively: an adversary is allowed to choose the $j$th query point $q_j$ in a way that depends on the answers reported by the data structure for $q_1,\ldots,q_{j-1}$. Previous randomized Monte Carlo methods do not provide error guarantees in the setting of adaptively chosen queries. Our memory consumption is $\tilde O((n+d)d/ε^2)$, slightly more than the $O(nd)$ required to store $X$ in memory explicitly, but with the benefit that our time to answer queries is only $\tilde O(ε^{-2}(n + d))$, much faster than the naive $Θ(nd)$ time obtained from a linear scan in the case of $n$ and $d$ very large. Here $\tilde O$ hides $\log(nd/ε)$ factors. We discuss applications to nearest neighbor search and nonparametric estimation. Our method is simple and likely to be applicable to other domains: we describe a generic approach for transforming randomized Monte Carlo data structures which do not support adaptive queries to ones that do, and show that for the problem at hand, it can be applied to standard nonadaptive solutions to $\ell_p$ norm estimation with negligible overhead in query time and a factor $d$ overhead in memory.

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

↑