改进的kSUM空时折衷算法
Improved Space-Time Tradeoffs for kSUM
摘要:
在kSUM问题中,我们给出了一个数字数组$a_1,a_2,...,a_n$,我们需要确定这个数组中是否有$k$不同的元素,使得它们的总和为0。这个问题是一个参数化版本的SUBSET-SUM问题,一个特殊的情况是3SUM问题,广泛用于证明条件硬度。有几部著作在SUBSET-SUM的背景下研究了时间和空间之间的相互作用。最近,改进的时间-空间权衡被证明为kSUM使用随机和确定性算法。在本文中,我们得到了最好的已知结果kSUM的时空权衡的改进。实现这些结果的一个主要因素是从kSUM到mSUM的一般自归约,其中$m<k$,以及实现这种归约及其影响的几个有用的观察。本文证明的主要结果包括:(i)对于$0 \leq δ\leq 1$,在近似$O(n^{k-δ\sqrt{2k}})$时间和使用$O(n^δ)$空间下,kSUM的最佳Las Vegas解。(ii)对于$0 \leq δ\leq 1$,在近似$O(n^{k-δ\sqrt{k}})$时间内运行并使用$O(n^δ)$空间的kSUM的最佳已知确定性解。(iii)对于$δ>1$,使用$O(n^δ)$空间求解kSUM的时空折衷。(iv)一种仅使用$O(n^{2/3})$空间在$O(n^4)$时间内运行的6 SUM算法。(v)在对随机位进行随机只读访问的假设下,使用$O(n^2)$时间和$O(n^{1/3})$空间对随机输入进行3 SUM的解决方案。
英文摘要:
In the kSUM problem we are given an array of numbers $a_1,a_2,...,a_n$ and we are required to determine if there are $k$ different elements in this array such that their sum is 0. This problem is a parameterized version of the well-studied SUBSET-SUM problem, and a special case is the 3SUM problem that is extensively used for proving conditional hardness. Several works investigated the interplay between time and space in the context of SUBSET-SUM. Recently, improved time-space tradeoffs were proven for kSUM using both randomized and deterministic algorithms. In this paper we obtain an improvement over the best known results for the time-space tradeoff for kSUM. A major ingredient in achieving these results is a general self-reduction from kSUM to mSUM where $m<k$, and several useful observations that enable this reduction and its implications. The main results we prove in this paper include the following: (i) The best known Las Vegas solution to kSUM running in approximately $O(n^{k-δ\sqrt{2k}})$ time and using $O(n^δ)$ space, for $0 \leq δ\leq 1$. (ii) The best known deterministic solution to kSUM running in approximately $O(n^{k-δ\sqrt{k}})$ time and using $O(n^δ)$ space, for $0 \leq δ\leq 1$. (iii) A space-time tradeoff for solving kSUM using $O(n^δ)$ space, for $δ>1$. (iv) An algorithm for 6SUM running in $O(n^4)$ time using just $O(n^{2/3})$ space. (v) A solution to 3SUM on random input using $O(n^2)$ time and $O(n^{1/3})$ space, under the assumption of a random read-only access to random bits.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。