预处理未知宇宙中的3SUM问题的亚二次空间
Preprocessed 3SUM for Unknown Universes with Subquadratic Space
AI总结:
本文提出了一种随机算法,在预处理宇宙中实现3SUM问题的亚二次空间和亚二次查询时间的折衷方案。
摘要:
我们考虑经典的3SUM问题:给定整数集合A、B、C,确定是否存在元组(a, b, c)∈A×B×C满足a + b + c = 0。3SUM假设,是细粒度复杂性中的核心假设,指出不存在真正的亚二次时间3SUM算法。鉴于这一长期存在的障碍,近年来十年来,人们从数据结构的角度探讨了3SUM问题。具体而言,在预处理宇宙的3SUM问题中,我们需要预处理大小为n的集合A、B,创建一个空间高效的数据库结构,能够快速回答查询,每个查询都是形式为A'、B'、C'的3SUM问题,其中A'⊆A且B'⊆B。一系列结果实现了~O(n²)预处理时间、~O(n²)空间以及查询时间逐步改进从~O(n^{1.9})[CL15]到~O(n^{11/6})[CVX23]到~O(n^{1.5})[KPS25]。鉴于这些逐步改进查询时间的工作,一个自然的开放问题出现了:能否在预处理宇宙中实现真正的亚二次空间和亚二次查询时间的3SUM问题?我们解决了这个问题,给出了查询和空间复杂度之间的折衷曲线。具体而言,我们提出了一种简单的随机算法,实现~O(n^{1.5 + ε})查询时间和~O(n^{2 - 2ε/3})空间复杂度。此外,我们的算法具有~O(n²)预处理时间,与以往工作相匹配。值得注意的是,二次预处理可能是必要的,因为根据3SUM假设,预处理或查询时间必须至少为n^{2-o(1)}。
英文摘要:
We consider the classic 3SUM problem: given sets of integers $A, B, C $, determine whether there is a tuple $(a, b, c) \in A \times B \times C$ satisfying $a + b + c = 0$. The 3SUM Hypothesis, central in fine-grained complexity, states that there does not exist a truly subquadratic time 3SUM algorithm. Given this long-standing barrier, recent work over the past decade has explored 3SUM from a data structural perspective. Specifically, in the 3SUM in preprocessed universes regime, we are tasked with preprocessing sets $A, B$ of size $n$, to create a space-efficient data structure that can quickly answer queries, each of which is a 3SUM problem of the form $A', B', C'$, where $A' \subseteq A$ and $B' \subseteq B$. A series of results have achieved $\tilde{O}(n^2)$ preprocessing time, $\tilde{O}(n^2)$ space, and query time improving progressively from $\tilde{O}(n^{1.9})$ [CL15] to $\tilde{O}(n^{11/6})$ [CVX23] to $\tilde{O}(n^{1.5})$ [KPS25]. Given these series of works improving query time, a natural open question has emerged: can one achieve both truly subquadratic space and truly subquadratic query time for 3SUM in preprocessed universes? We resolve this question affirmatively, presenting a tradeoff curve between query and space complexity. Specifically, we present a simple randomized algorithm achieving $\tilde{O}(n^{1.5 + \varepsilon})$ query time and $\tilde{O}(n^{2 - 2\varepsilon/3})$ space complexity. Furthermore, our algorithm has $\tilde{O}(n^2)$ preprocessing time, matching past work. Notably, quadratic preprocessing is likely necessary for our tradeoff as either the preprocessing or the query time must be at least $n^{2-o(1)}$ under the 3SUM Hypothesis.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。