利用全内存实现更快计算:催化算法打破时空下界
Computing faster with a full memory: Catalytic algorithms break time-space lower bounds
AI总结:
该研究证明催化空间可加速时空受限计算,在特定输出模型中,利用催化空间得到排序、DFT、矩阵乘法等的快速算法,还改进了低深度阈值电路的催化算法运行时间,首次证实催化logspace算法优于非催化对应算法。
摘要:
我们证明,添加“催化空间”(初始为满状态,计算结束时必须恢复原始内容)可显著加速受时间和空间限制的计算。在自然输出模型中,使用$O(\text{log}(n))$的自由空间和多项式级($\text{poly}(n)$)的催化空间,我们给出了排序和离散傅里叶变换(DFT)的算法,其运行时间为$n^{1+o(1)}$;还给出了矩阵乘法算法,运行时间为$n^{\text{ω}+o(1)}$。在同一输出模型中,若没有额外催化空间,已知排序和DFT的时空乘积需满足$\text{Ω}(n^2)$,矩阵乘法的时空乘积需满足$\text{Ω}(n^3)$[Borodin和Cook,1982;Beame,1991;Yesha,1984;Abrahamson,1991]。这是首次无条件证明(统一、非相对化的)催化对数空间(logspace)算法可优于其(非催化的)对数空间对应算法。我们还给出了若干与快速催化算法设计相关的进一步结果:观察到排序、快速傅里叶变换(FFT)和快速矩阵乘法的诸多应用(如kSUM、整数乘法和团计数)可通过催化方式实现,得到的催化对数空间算法在次多项式因子范围内匹配了已知最优的无界空间运行时间;此外,我们给出了一种快速且简单的催化算法,用于计算低深度阈值电路,将先前已知的运行时间界从$\tilde{O}(|C|4^d f)$改进为$\tilde{O}(|C|2^d)$,其中$|C|$为电路的总规模(即线数),$d$为深度,$f$为最大扇入。
英文摘要:
We show that adding "catalytic space" (which starts full and must have its original contents restored at the end of computation) provably speeds up time-and-space-bounded computation. In a natural output model, with $O(\log(n))$ free space and poly($n$) catalytic space, we give algorithms for sorting and the discrete Fourier transform running in time $n^{1+o(1)}$, and an algorithm for matrix multiplication running in time $n^{ω+ o(1)}$. In the same output model, without additional catalytic space, sorting and DFT are known to require time-space product $Ω(n^2)$, and matrix multiplication is known to require time-space product $Ω(n^3)$ [Borodin and Cook, 1982] [Beame, 1991] [Yesha, 1984] [Abrahamson, 1991]. This is the first unconditional demonstration that (uniform, non-relativized) catalytic logspace algorithms can outperform their (non-catalytic) logspace counterparts. We give several further results relevant to fast catalytic algorithm design. We observe that many applications of sorting, FFT, and fast matrix multiplication (e.g., kSUM, integer multiplication, and clique counting) can be performed catalytically, giving catalytic logspace algorithms matching (up to subpolynomial factors) the best known unbounded-space runtimes. Furthermore, we give a fast and simple catalytic algorithm for evaluating low-depth threshold circuits, improving the previously known runtime bound from $\widetilde O(|C|4^df)$ to $\widetilde O(|C|2^d)$, where $|C|$ is the total size (i.e. number of wires) of the circuit, $d$ is the depth, and $f$ is the maximum fan-in.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。