arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1507.05106cs.DScs.CCmath.CO
收藏

概率多项式与Hamming最近邻

Probabilistic Polynomials and Hamming Nearest Neighbors

Josh Alman, Ryan Williams

摘要:

我们展示了如何计算任何对称布尔函数的$n$变量在任何领域(以及整数)与概率多项式的程度$O(\sqrt{n \log(1/ε)})$和错误最$ε$。对$n$和$ε$的度依赖是最优的,匹配Razborov(1987)和Smolensky(1987)关于MAJORITY函数的下界。证明是建设性的:低次多项式可以有效地从分布中采样。这个多项式结构与其他代数思想相结合,给出了第一个次二次时间算法,用于计算(最坏情况下)一批超对数维度的汉明距离。为了说明,让$c(n) : \mathbb{N} \rightarrow \mathbb{N}$。假设我们给定了一个数据库$D$,其中包含$\{0,1\}^{c(n) \log n}$中的$n$向量,以及相同维度中的$n$查询向量$Q$的集合。对于所有的$u \in Q$,我们希望计算一个与$u$具有最小汉明距离的$v \in D$。我们解决这个问题在$n^{2-1/O(c(n) \log^2 c(n))}$随机时间。因此,对于$O(\log n)$维度,问题是在“真正的次二次”时间内,而对于$d = o((\log^2 n)/(\log \log n)^2)$维度,问题是在次二次时间内。我们应用该算法来计算对最大的内积,最接近的对在$\ell_1$有界整数项的向量,并对最大的Jaccard系数。

英文摘要:

We show how to compute any symmetric Boolean function on $n$ variables over any field (as well as the integers) with a probabilistic polynomial of degree $O(\sqrt{n \log(1/ε)})$ and error at most $ε$. The degree dependence on $n$ and $ε$ is optimal, matching a lower bound of Razborov (1987) and Smolensky (1987) for the MAJORITY function. The proof is constructive: a low-degree polynomial can be efficiently sampled from the distribution. This polynomial construction is combined with other algebraic ideas to give the first subquadratic time algorithm for computing a (worst-case) batch of Hamming distances in superlogarithmic dimensions, exactly. To illustrate, let $c(n) : \mathbb{N} \rightarrow \mathbb{N}$. Suppose we are given a database $D$ of $n$ vectors in $\{0,1\}^{c(n) \log n}$ and a collection of $n$ query vectors $Q$ in the same dimension. For all $u \in Q$, we wish to compute a $v \in D$ with minimum Hamming distance from $u$. We solve this problem in $n^{2-1/O(c(n) \log^2 c(n))}$ randomized time. Hence, the problem is in "truly subquadratic" time for $O(\log n)$ dimensions, and in subquadratic time for $d = o((\log^2 n)/(\log \log n)^2)$. We apply the algorithm to computing pairs with maximum inner product, closest pair in $\ell_1$ for vectors with bounded integer entries, and pairs with maximum Jaccard coefficients.

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

↑