基于Baur-Strassen定理的确定性稀疏模式匹配
Deterministic Sparse Pattern Matching via the Baur-Strassen Theorem
AI总结:
本文基于Baur-Strassen定理创新性地结合组合与代数技术,首次为Constellation等点模式匹配及稀疏通配符匹配问题提出了确定性近线性时间算法。
摘要:
如何快速测试一组星群是否出现在夜空中?这个问题可以被建模为这样的计算问题:测试点集 $P$ 能否在某个给定的变换群下,被移动到(或接近于)另一个点集 $Q$。\n作为一个简单的代表性例子,考虑以下问题:给定两个最多包含 $n$ 个整数的集合 $P,Q\subseteq[N]$,判断是否存在某个偏移量 $s$,使得 $P$ 偏移 $s$ 后是 $Q$ 的子集,即 $P+s=\{p+s:p\in P\}\subseteq Q$。我们称这个问题为 Constellation 问题,它可以通过蒙特卡洛随机算法在近线性时间 $O(n\log n)$ 内解决 [Cardoze, Schulman; FOCS'98],也可以通过拉斯维加斯随机算法在 $O(n\log^2 N)$ 时间内解决 [Cole, Hariharan; STOC'02]。此外,还有一种确定性算法在 $n\cdot2^{O(\sqrt{\log n\log\log N})}$ 时间内运行 [Chan, Lewenstein; STOC'15]。这些先前工作留下的一个有趣问题是,Constellation 是否可以在确定性的近线性时间内(即仅具有多对数开销)解决。\n我们通过为 Constellation 问题提供一种 $n\cdot(\log N)^{O(1)}$ 时间的确定性算法,对这个问题给出了肯定的回答。我们的算法可扩展到更高维度下的各种更复杂的点模式匹配问题,适用于平移和刚体运动,并可能带有不匹配的情况;此外,它也可用于字符串上稀疏通配符匹配问题的近线性时间去随机化。\n我们获得该确定性算法的方式同样引人关注。所有先前的算法都基于相同的基线思想,即使用加性哈希和快速傅里叶变换。相比之下,我们的算法基于新的思路,结合了令人惊讶的组合与代数技术。其核心在于对代数复杂性理论中 Baur-Strassen 定理的创新性应用。
英文摘要:
How fast can you test whether a constellation of stars appears in the night sky? This question can be modeled as the computational problem of testing whether a set of points $P$ can be moved into (or close to) another set $Q$ under some prescribed group of transformations. Consider, as a simple representative, the following problem: Given two sets of at most $n$ integers $P,Q\subseteq[N]$, determine whether there is some shift $s$ such that $P$ shifted by $s$ is a subset of $Q$, i.e., $P+s=\{p+s:p\in P\}\subseteq Q$. This problem, to which we refer as the Constellation problem, can be solved in near-linear time $O(n\log n)$ by a Monte Carlo randomized algorithm [Cardoze, Schulman; FOCS'98] and time $O(n\log^2 N)$ by a Las Vegas randomized algorithm [Cole, Hariharan; STOC'02]. Moreover, there is a deterministic algorithm running in time $n\cdot2^{O(\sqrt{\log n\log\log N})}$ [Chan, Lewenstein; STOC'15]. An interesting question left open by these previous works is whether Constellation is in deterministic near-linear time (i.e., with only polylogarithmic overhead). We answer this question positively by giving an $n\cdot(\log N)^{O(1)}$-time deterministic algorithm for the Constellation problem. Our algorithm extends to various more complex Point Pattern Matching problems in higher dimensions, under translations and rigid motions, and possibly with mismatches, and also to a near-linear-time derandomization of the Sparse Wildcard Matching problem on strings. We find it particularly interesting how we obtain our deterministic algorithm. All previous algorithms are based on the same baseline idea, using additive hashing and the Fast Fourier Transform. In contrast, our algorithms are based on new ideas, involving a surprising blend of combinatorial and algebraic techniques. At the heart lies an innovative application of the Baur-Strassen theorem from algebraic complexity theory.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。