New Applications of 3SUM-Counting in Fine-Grained Complexity and Pattern Matching
Nick Fischer, Ce Jin, Yinzhan Xu
摘要
The 3SUM problem is one of the cornerstones of fine-grained complexity. Its study has led to countless lower bounds, but as has been sporadically observed before-and as we will demonstrate again-insights on 3SUM can also lead to algorithmic applications.
The starting point of our work is that we spend a lot of technical effort to develop new algorithms for 3SUM-type problems such as approximate 3SUM-counting, small-doubling 3SUMcounting, and a deterministic subquadratic-time algorithm for the celebrated Balog-Szemerédi-Gowers theorem from additive combinatorics. All of these are relevant in their own right and may prove useful for future research on 3SUM.
But perhaps even more excitingly, as consequences of these tools, we derive diverse new results in fine-grained complexity and pattern matching algorithms, answering open questions from many unrelated research areas. Specifically: • A recent line of research on the "short cycle removal" technique culminated in tight 3SUMbased lower bounds for various graph problems via randomized fine-grained reductions [Abboud, Bringmann, Fischer; STOC '23] [Jin, Xu; STOC '23]. In this paper we derandomize the reduction to the important 4-Cycle Listing problem, answering a main open question of [Fischer, Kaliciak, Polak; ITCS '24]. • We establish that #3SUM and 3SUM are fine-grained equivalent under deterministic reductions, derandomizing a main result of [Chan, Vassilevska Williams, Xu; STOC '23].
• We give a deterministic algorithm for the (1 + ǫ)-approximate Text-to-Pattern Hamming Distances problem in time n 1+o(1) • ǫ -1 . While there is a large body of work addressing the randomized complexity, this is the first deterministic improvement over Karloff's O(nǫ -2 )time algorithm in over 30 years.
• In the k-Mismatch Constellation problem the input consists of two integer sets A, B ⊆ [N ], and the goal is to test whether there is a shift c such that |(c + B) A| ≤ k (i.e., whether B shifted by c matches A up to k mismatches). For moderately small k the previously best running time was O(|A| • k) [Cardoze, Schulman; FOCS '98] [Fischer; SODA '24]. We give a faster |A| • k 2/3 • N o(1) -time algorithm in the regime where |B| = Θ(|A|). This result also has implications for the k-Mismatch String Matching with Wildcards problem.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Universe Reduction for APSP: Equivalence of Three Fine-Grained Hypotheses 引用了 All-Pairs Shortest Paths with Few Weights per Node
- Universe Reduction for APSP: Equivalence of Three Fine-Grained Hypotheses 引用了 Monochromatic Triangles, Triangle Listing and APSP
- Universe Reduction for APSP: Equivalence of Three Fine-Grained Hypotheses 引用了 Hardness of approximation in p via short cycle removal: cycle detection, distance oracles, and beyond
- New Bounds for Matrix Multiplication: from Alpha to Omega 引用了 Faster Matrix Multiplication via Asymmetric Hashing
- Hardness of approximation in p via short cycle removal: cycle detection, distance oracles, and beyond 引用了 Monochromatic Triangles, Triangle Listing and APSP
引用它的顶会 Paper2
它引用的 Paper13
- New Bounds for Matrix Multiplication: from Alpha to OmegaVirginia Vassilevska Williams, Yinzhan Xu, Zixuan Xu, Renfei ZhouSODA 2024 · 90 次引用
- Faster Matrix Multiplication via Asymmetric HashingRan Duan, Hongxun Wu, Renfei ZhouFOCS 2023 · 54 次引用
- Monochromatic Triangles, Triangle Listing and APSPVirginia Vassilevska Williams, Yinzhan XuFOCS 2020 · 15 次引用
- A Fine-Grained Perspective on Approximating Subset Sum and PartitionKarl Bringmann, Vasileios NakosSODA 2021 · 14 次引用
- Hardness of approximation in p via short cycle removal: cycle detection, distance oracles, and beyondAmir Abboud, Karl Bringmann, Seri Khoury, Or ZamirSTOC 2022 · 11 次引用
相关 Paper
- Stronger 3-SUM Lower Bounds for Approximate Distance Oracles via Additive CombinatoricsAmir Abboud, Karl Bringmann, Nick FischerSTOC 2023 · 10 次引用
- Fredman's Trick Meets Dominance Product: Fine-Grained Complexity of Unweighted APSP, 3SUM Counting, and MoreTimothy M. Chan, Virginia Vassilevska Williams, Yinzhan XuSTOC 2023 · 4 次引用
- Faster Algorithms for Text-to-Pattern Hamming DistancesTimothy M. Chan, Ce Jin, Virginia Vassilevska Williams, Yinzhan XuFOCS 2023 · 3 次引用
- Removing Additive Structure in 3SUM-Based ReductionsCe Jin, Yinzhan XuSTOC 2023 · 9 次引用
- All non-trivial variants of 3-LDT are equivalentBartlomiej Dudek, Pawel Gawrychowski, Tatiana StarikovskayaSTOC 2020 · 1 次引用
