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

矩阵乘法的推广可以解决灯泡问题

Generalizations of Matrix Multiplication can solve the Light Bulb Problem

Josh Alman, Hengjie Zhang

AI总结:

本文提出用可省略项并含误差项的推广张量替代矩阵乘法张量,结合局部敏感哈希解决灯泡问题,并给出比 Strassen 更快的新张量 $T_{2112}$。

摘要:

在灯泡问题中,给定均匀随机向量 $x_1, \ldots, x_n, y_1, \ldots, y_n \in \{-1,1\}^d$。它们全部独立选取,只有一个植入对 $(x_{i^*}, y_{j^*})$ 以相关系数 $\rho>0$ 选取。目标是找到这个植入对。该问题由 L. Valiant 在30多年前提出,并已知在数据分析、统计学和学习理论中有许多应用。朴素算法的运行时间为 $\Omega(n^2)$,而基于局部敏感哈希的算法在 $\rho\to 0$ 时趋近于二次时间。2012年,G. Valiant 利用快速矩阵乘法给出了一种突破性算法,无论 $\rho>0$ 多小,其运行时间均为 $O(n^{(5-\omega)/(4-\omega)}) < O(n^{1.615})$。随后,Karppa、Kaski 和 Kohonen 于2016年将其改进为 $O(n^{2\omega/3}) < O(n^{1.582})$。本文提出一种新方法,可用其他张量替代矩阵乘法张量。这些张量可以省略本应计算的某些项,并包含额外的误差项。我们的新方法能够利用以往没有已知算法应用的任意张量,包括在边界秩方法和 Laser 方法中作为中间步骤自然产生的张量。我们进一步表明,该方法可与局部敏感哈希相结合,设计出运行时间随 $\rho$ 增大而改进的算法。据我们所知,这是首个针对灯泡问题或任何最近点对问题将快速矩阵乘法与哈希相结合的算法,并为较小的 $\rho>0$ 带来了更快的算法。我们还引入了一种新张量 $T_{2112}$,其尺寸与 $2\times2$ 矩阵乘法张量相同,但在灯泡问题上运行得比 Strassen 算法更快。

英文摘要:

In the light bulb problem, one is given uniformly random vectors $x_1, \ldots, x_n, y_1, \ldots, y_n \in \{-1,1\}^d$. They are all chosen independently except a planted pair $(x_{i^*}, y_{j^*})$ is chosen with correlation $ρ>0$. The goal is to find the planted pair. This problem was introduced over 30 years ago by L.~Valiant, and is known to have many applications in data analysis, statistics, and learning theory. The naive algorithm runs in $Ω(n^2)$ time, and algorithms based on Locality-Sensitive Hashing approach quadratic time as $ρ\to 0$. In 2012, G.~Valiant gave a breakthrough algorithm using fast matrix multiplication that runs in time $O(n^{(5-ω)/(4-ω)}) < O(n^{1.615})$, no matter how small $ρ>0$ is. This was subsequently refined by Karppa, Kaski, and Kohonen in 2016 to $O(n^{2 ω/ 3}) < O(n^{1.582})$. In this paper, we propose a new approach which can replace matrix multiplication tensor with other tensors. Those tensors can omit some terms one is supposed to compute, and include additional error terms. Our new approach can make use of any tensors which previously had no known algorithmic applications, including tensors which arise naturally as intermediate steps in border rank methods and in the Laser method. We further show that our approach can be combined with locality-sensitive hashing to design an algorithm whose running time improves as $ρ$ gets larger. To our knowledge, this is the first algorithm which combines fast matrix multiplication with hashing for the light bulb problem or any closest pair problem, and it leads to faster algorithms for small $ρ>0$. We also introduce a new tensor $T_{2112}$, which has the same size of $2 \times 2$ matrix multiplication tensor, but runs faster than the Strassen's algorithm for light bulb problem.

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

↑