矩阵乘法验证的编码理论方法
Matrix Multiplication Verification Using Coding Theory
AI总结:
本文针对稀疏差矩阵的矩阵乘法验证问题,提出确定性及低随机比特算法,并揭示该类算法的复杂度下界与SETH归约障碍。
摘要:
我们研究矩阵乘法验证问题(MMV),其目标是给定三个 $n \times n$ 矩阵 $A$、$B$ 和 $C$ 作为输入,判断是否 $AB = C$。Freivalds(MFCS, 1979)提出的经典随机算法在 $\widetilde{O}(n^2)$ 时间内解决 MMV,一个长期存在的挑战是(部分)去随机化该算法,同时仍以快于矩阵乘法的时间运行(即 $o(n^ω)$ 时间)。为此,我们在 $AB - C$ 稀疏的情况下给出了两个 MMV 算法。具体而言,当 $AB - C$ 对于常数 $0 \leq δ< 2$ 至多有 $O(n^δ)$ 个非零元素时,我们给出(1)一个确定性的 $O(n^{ω- \varepsilon})$ 时间算法,其中常数 $\varepsilon = \varepsilon(δ) > 0$,以及(2)一个使用 $δ/2 \cdot \log_2 n + O(1)$ 个随机比特的随机 $\widetilde{O}(n^2)$ 时间算法。前一种算法在 $δ\geq 1.056$ 时快于 Künnemann(ESA, 2018)的确定性算法,后一种算法使用的随机比特少于 Kimbrel 和 Sinha(IPL, 1993)的算法,后者以相同时间运行并使用 $\log_2 n + O(1)$ 个随机比特(进而少于 Freivalds 的算法)。我们进一步研究 MMV 的复杂性。我们首先表明,一类自然的确定性线性代数 MMV 算法(包括我们的算法)均需要 $Ω(n^ω)$ 时间。我们还展示了在强指数时间假设(SETH)下证明矩阵乘法(因此 MMV)超二次运行时间下界的障碍。最后,我们研究 MMV 的自然变体和特殊情况之间的关系(相对于确定性 $\widetilde{O}(n^2)$ 时间归约)。
英文摘要:
We study the Matrix Multiplication Verification Problem (MMV) where the goal is, given three $n \times n$ matrices $A$, $B$, and $C$ as input, to decide whether $AB = C$. A classic randomized algorithm by Freivalds (MFCS, 1979) solves MMV in $\widetilde{O}(n^2)$ time, and a longstanding challenge is to (partially) derandomize it while still running in faster than matrix multiplication time (i.e., in $o(n^ω)$ time). To that end, we give two algorithms for MMV in the case where $AB - C$ is sparse. Specifically, when $AB - C$ has at most $O(n^δ)$ non-zero entries for a constant $0 \leq δ< 2$, we give (1) a deterministic $O(n^{ω- \varepsilon})$-time algorithm for constant $\varepsilon = \varepsilon(δ) > 0$, and (2) a randomized $\widetilde{O}(n^2)$-time algorithm using $δ/2 \cdot \log_2 n + O(1)$ random bits. The former algorithm is faster than the deterministic algorithm of Künnemann (ESA, 2018) when $δ\geq 1.056$, and the latter algorithm uses fewer random bits than the algorithm of Kimbrel and Sinha (IPL, 1993), which runs in the same time and uses $\log_2 n + O(1)$ random bits (in turn fewer than Freivalds's algorithm). We additionally study the complexity of MMV. We first show that all algorithms in a natural class of deterministic linear algebraic algorithms for MMV (including ours) require $Ω(n^ω)$ time. We also show a barrier to proving a super-quadratic running time lower bound for matrix multiplication (and hence MMV) under the Strong Exponential Time Hypothesis (SETH). Finally, we study relationships between natural variants and special cases of MMV (with respect to deterministic $\widetilde{O}(n^2)$-time reductions).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。