Deterministic 3SUM-Hardness

Authors Nick Fischer, Piotr Kaliciak, Adam Polak



PDF
Thumbnail PDF

File

LIPIcs.ITCS.2024.49.pdf
  • Filesize: 0.87 MB
  • 24 pages

Document Identifiers

Author Details

Nick Fischer
  • Weizmann Institute of Science, Rehovot, Israel
Piotr Kaliciak
  • Jagiellonian University in Kraków, Poland
Adam Polak
  • Max Planck Institute for Informatics, Saarbrücken, Germany
  • Jagiellonian University in Kraków, Poland

Cite AsGet BibTex

Nick Fischer, Piotr Kaliciak, and Adam Polak. Deterministic 3SUM-Hardness. In 15th Innovations in Theoretical Computer Science Conference (ITCS 2024). Leibniz International Proceedings in Informatics (LIPIcs), Volume 287, pp. 49:1-49:24, Schloss Dagstuhl – Leibniz-Zentrum für Informatik (2024)
https://doi.org/10.4230/LIPIcs.ITCS.2024.49

Abstract

As one of the three main pillars of fine-grained complexity theory, the 3SUM problem explains the hardness of many diverse polynomial-time problems via fine-grained reductions. Many of these reductions are either directly based on or heavily inspired by Pătraşcu’s framework involving additive hashing and are thus randomized. Some selected reductions were derandomized in previous work [Chan, He; SOSA'20], but the current techniques are limited and a major fraction of the reductions remains randomized. In this work we gather a toolkit aimed to derandomize reductions based on additive hashing. Using this toolkit, we manage to derandomize almost all known 3SUM-hardness reductions. As technical highlights we derandomize the hardness reductions to (offline) Set Disjointness, (offline) Set Intersection and Triangle Listing - these questions were explicitly left open in previous work [Kopelowitz, Pettie, Porat; SODA'16]. The few exceptions to our work fall into a special category of recent reductions based on structure-versus-randomness dichotomies. We expect that our toolkit can be readily applied to derandomize future reductions as well. As a conceptual innovation, our work thereby promotes the theory of deterministic 3SUM-hardness. As our second contribution, we prove that there is a deterministic universe reduction for 3SUM. Specifically, using additive hashing it is a standard trick to assume that the numbers in 3SUM have size at most n³. We prove that this assumption is similarly valid for deterministic algorithms.

Subject Classification

ACM Subject Classification
  • Theory of computation → Problems, reductions and completeness
  • Theory of computation → Pseudorandomness and derandomization
Keywords
  • 3SUM
  • derandomization
  • fine-grained complexity

Metrics

  • Access Statistics
  • Total Accesses (updated on a weekly basis)
    0
    PDF Downloads

References

  1. Amir Abboud, Arturs Backurs, Karl Bringmann, and Marvin Künnemann. Impossibility results for grammar-compressed linear algebra. In Hugo Larochelle, Marc'Aurelio Ranzato, Raia Hadsell, Maria-Florina Balcan, and Hsuan-Tien Lin, editors, 33rd Advances in Neural Information Processing Systems (NeurIPS 2020), 2020. URL: https://proceedings.neurips.cc/paper/2020/hash/645e6bfdd05d1a69c5e47b20f0a91d46-Abstract.html.
  2. Amir Abboud, Karl Bringmann, and Nick Fischer. Stronger 3-SUM lower bounds for approximate distance oracles via additive combinatorics. In Barna Saha and Rocco A. Servedio, editors, Proceedings of the 55th Annual ACM Symposium on Theory of Computing, STOC 2023, Orlando, FL, USA, June 20-23, 2023, pages 391-404. ACM, 2023. URL: https://doi.org/10.1145/3564246.3585240.
  3. Amir Abboud, Karl Bringmann, Seri Khoury, and Or Zamir. Hardness of approximation in P via short cycle removal: Cycle detection, distance oracles, and beyond. In Stefano Leonardi and Anupam Gupta, editors, 54th Annual ACM Symposium on Theory of Computing (STOC 2022), pages 1487-1500. ACM, 2022. URL: https://doi.org/10.1145/3519935.3520066.
  4. Amir Abboud and Kevin Lewi. Exact weight subgraphs and the k-sum conjecture. In Fedor V. Fomin, Rusins Freivalds, Marta Z. Kwiatkowska, and David Peleg, editors, 40th International Colloquium on Automata, Languages, and Programming (ICALP 2013), volume 7965 of Lecture Notes in Computer Science, pages 1-12. Springer, 2013. URL: https://doi.org/10.1007/978-3-642-39206-1_1.
  5. Amir Abboud, Kevin Lewi, and Ryan Williams. Losing weight by gaining edges. In 22th Annual European Symposium on Algorithms (ESA 2014), volume 8737 of Lecture Notes in Computer Science, pages 1-12. Springer, 2014. URL: https://doi.org/10.1007/978-3-662-44777-2_1.
  6. Amir Abboud, Virginia Vassilevska Williams, and Oren Weimann. Consequences of faster alignment of sequences. In Automata, Languages, and Programming - 41st International Colloquium, ICALP 2014, volume 8572 of Lecture Notes in Computer Science, pages 39-51. Springer, 2014. URL: https://doi.org/10.1007/978-3-662-43948-7_4.
  7. Amir Abboud, Virginia Vassilevska Williams, and Huacheng Yu. Matching triangles and basing hardness on an extremely popular conjecture. SIAM J. Comput., 47(3):1098-1122, 2018. URL: https://doi.org/10.1137/15M1050987.
  8. Manuel Abellanas, Ferran Hurtado, Christian Icking, Rolf Klein, Elmar Langetepe, Lihong Ma, Belén Palop, and Vera Sacristán. Smallest color-spanning objects. In Friedhelm Meyer auf der Heide, editor, 9th Annual European Symposium on Algorithms (ESA 2001), volume 2161 of Lecture Notes in Computer Science, pages 278-289. Springer, 2001. URL: https://doi.org/10.1007/3-540-44676-1_23.
  9. Amihood Amir, Timothy M. Chan, Moshe Lewenstein, and Noa Lewenstein. On hardness of jumbled indexing. In Javier Esparza, Pierre Fraigniaud, Thore Husfeldt, and Elias Koutsoupias, editors, Automata, Languages, and Programming - 41st International Colloquium, ICALP 2014, Copenhagen, Denmark, July 8-11, 2014, Proceedings, Part I, volume 8572 of Lecture Notes in Computer Science, pages 114-125. Springer, 2014. URL: https://doi.org/10.1007/978-3-662-43948-7_10.
  10. Amihood Amir, Tsvi Kopelowitz, Avivit Levy, Seth Pettie, Ely Porat, and B. Riva Shalom. Mind the gap! - online dictionary matching with one gap. Algorithmica, 81(6):2123-2157, 2019. URL: https://doi.org/10.1007/s00453-018-0526-2.
  11. Daniel Archambault, William S. Evans, and David G. Kirkpatrick. Computing the set of all the distant horizons of a terrain. Int. J. Comput. Geom. Appl., 15(6):547-564, 2005. URL: https://doi.org/10.1142/S0218195905001841.
  12. Esther M. Arkin, Yi-Jen Chiang, Martin Held, Joseph S. B. Mitchell, Vera Sacristán, Steven Skiena, and Tae-Heng Yang. On minimum-area hulls. Algorithmica, 21(1):119-136, 1998. URL: https://doi.org/10.1007/PL00009204.
  13. Boris Aronov and Sariel Har-Peled. On approximating the depth and related problems. SIAM J. Comput., 38(3):899-921, 2008. URL: https://doi.org/10.1137/060669474.
  14. Ilya Baran, Erik D. Demaine, and Mihai Patrascu. Subquadratic algorithms for 3SUM. Algorithmica, 50(4):584-596, 2008. URL: https://doi.org/10.1007/s00453-007-9036-3.
  15. Gill Barequet and Sariel Har-Peled. Polygon containment and translational min-hausdorff-distance between segment sets are 3SUM-hard. Int. J. Comput. Geom. Appl., 11(4):465-474, 2001. URL: https://doi.org/10.1142/S0218195901000596.
  16. Prosenjit Bose, Marc J. van Kreveld, and Godfried T. Toussaint. Filling polyhedral molds. Comput. Aided Des., 30(4):245-254, 1998. URL: https://doi.org/10.1016/S0010-4485(97)00075-4.
  17. Karl Bringmann and Nofar Carmeli. Unbalanced triangle detection and enumeration hardness for unions of conjunctive queries. CoRR, abs/2210.11996, 2022. URL: https://doi.org/10.48550/arXiv.2210.11996.
  18. Karl Bringmann and André Nusser. Translating hausdorff is hard: Fine-grained lower bounds for hausdorff distance under translation. In Kevin Buchin and Éric Colin de Verdière, editors, 37th Annual Symposium on Computational Geometry (SoCG 2021), volume 189 of LIPIcs, pages 18:1-18:17. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2021. URL: https://doi.org/10.4230/LIPIcs.SoCG.2021.18.
  19. Ayelet Butman, Peter Clifford, Raphaël Clifford, Markus Jalsenius, Noa Lewenstein, Benny Porat, Ely Porat, and Benjamin Sach. Pattern matching under polynomial transformation. SIAM J. Comput., 42(2):611-633, 2013. URL: https://doi.org/10.1137/110853327.
  20. Timothy M. Chan. More logarithmic-factor speedups for 3SUM, (median, +)-convolution, and some geometric 3SUM-hard problems. ACM Trans. Algorithms, 16(1):7:1-7:23, 2020. URL: https://doi.org/10.1145/3363541.
  21. Timothy M. Chan and Sariel Har-Peled. Smallest k-enclosing rectangle revisited. In Gill Barequet and Yusu Wang, editors, 35th Annual Symposium on Computational Geometry (SoCG 2019), volume 129 of LIPIcs, pages 23:1-23:15. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2019. URL: https://doi.org/10.4230/LIPIcs.SoCG.2019.23.
  22. Timothy M. Chan and Qizheng He. Reducing 3SUM to convolution-3SUM. In Martin Farach-Colton and Inge Li Gørtz, editors, 3rd Symposium on Simplicity in Algorithms (SOSA 2020), pages 1-7. SIAM, 2020. URL: https://doi.org/10.1137/1.9781611976014.1.
  23. Timothy M. Chan and Moshe Lewenstein. Clustered integer 3SUM via additive combinatorics. In Rocco A. Servedio and Ronitt Rubinfeld, editors, 47th Annual ACM Symposium on Theory of Computing (STOC 2015), pages 31-40. ACM, 2015. URL: https://doi.org/10.1145/2746539.2746568.
  24. Lijie Chen, Erik D. Demaine, Yuzhou Gu, Virginia Vassilevska Williams, Yinzhan Xu, and Yuancheng Yu. Nearly optimal separation between partially and fully retroactive data structures. In 16th Scandinavian Symposium and Workshops on Algorithm Theory, SWAT 2018, volume 101 of LIPIcs, pages 33:1-33:12. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2018. URL: https://doi.org/10.4230/LIPIcs.SWAT.2018.33.
  25. Otfried Cheong, Alon Efrat, and Sariel Har-Peled. Finding a guard that sees most and a shop that sells most. Discret. Comput. Geom., 37(4):545-563, 2007. URL: https://doi.org/10.1007/s00454-007-1328-5.
  26. Raphaël Clifford, Pawel Gawrychowski, Tomasz Kociumaka, Daniel P. Martin, and Przemyslaw Uznanski. The dynamic k-mismatch problem. In 33rd Annual Symposium on Combinatorial Pattern Matching, CPM 2022, volume 223 of LIPIcs, pages 18:1-18:15. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2022. URL: https://doi.org/10.4230/LIPIcs.CPM.2022.18.
  27. Artur Czumaj and Andrzej Lingas. Finding a heaviest vertex-weighted triangle is not harder than matrix multiplication. SIAM J. Comput., 39(2):431-444, 2009. URL: https://doi.org/10.1137/070695149.
  28. Søren Dahlgaard. On the hardness of partially dynamic graph problems and connections to diameter. In 43rd International Colloquium on Automata, Languages, and Programming, ICALP 2016, volume 55 of LIPIcs, pages 48:1-48:14. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2016. URL: https://doi.org/10.4230/LIPIcs.ICALP.2016.48.
  29. Mark de Berg, Marko de Groot, and Mark H. Overmars. Perfect binary space partitions. Comput. Geom., 7:81-91, 1997. URL: https://doi.org/10.1016/0925-7721(95)00045-3.
  30. Bartlomiej Dudek, Pawel Gawrychowski, and Tatiana Starikovskaya. All non-trivial variants of 3-LDT are equivalent. In Proccedings of the 52nd Annual ACM SIGACT Symposium on Theory of Computing, STOC 2020, pages 974-981. ACM, 2020. URL: https://doi.org/10.1145/3357713.3384275.
  31. Lech Duraj, Krzysztof Kleiner, Adam Polak, and Virginia Vassilevska Williams. Equivalences between triangle and range query problems. In Proceedings of the 2020 ACM-SIAM Symposium on Discrete Algorithms, SODA 2020, pages 30-47. SIAM, 2020. URL: https://doi.org/10.1137/1.9781611975994.3.
  32. Jeff Erickson. New lower bounds for convex hull problems in odd dimensions. SIAM J. Comput., 28(4):1198-1214, 1999. URL: https://doi.org/10.1137/S0097539797315410.
  33. Jeff Erickson, Sariel Har-Peled, and David M. Mount. On the least median square problem. Discret. Comput. Geom., 36(4):593-607, 2006. URL: https://doi.org/10.1007/s00454-006-1267-6.
  34. Ari Freund. Improved subquadratic 3SUM. Algorithmica, 77(2):440-458, 2017. URL: https://doi.org/10.1007/s00453-015-0079-6.
  35. Anka Gajentaan and Mark H. Overmars. On a class of O(n²) problems in computational geometry. Comput. Geom., 5:165-185, 1995. URL: https://doi.org/10.1016/0925-7721(95)00022-2.
  36. Omer Gold and Micha Sharir. Improved bounds for 3SUM, k-SUM, and linear degeneracy. In Kirk Pruhs and Christian Sohler, editors, 25th Annual European Symposium on Algorithms (ESA 2017), volume 87 of LIPIcs, pages 42:1-42:13. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2017. URL: https://doi.org/10.4230/LIPIcs.ESA.2017.42.
  37. Isaac Goldstein, Tsvi Kopelowitz, Moshe Lewenstein, and Ely Porat. How hard is it to find (honest) witnesses? In Piotr Sankowski and Christos D. Zaroliagis, editors, 24th Annual European Symposium on Algorithms (ESA 2016), volume 57 of LIPIcs, pages 45:1-45:16. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2016. URL: https://doi.org/10.4230/LIPIcs.ESA.2016.45.
  38. Allan Grønlund and Seth Pettie. Threesomes, degenerates, and love triangles. J. ACM, 65(4):22:1-22:25, 2018. URL: https://doi.org/10.1145/3185378.
  39. Ce Jin and Yinzhan Xu. Removing additive structure in 3SUM-based reductions. In Barna Saha and Rocco A. Servedio, editors, Proceedings of the 55th Annual ACM Symposium on Theory of Computing, STOC 2023, Orlando, FL, USA, June 20-23, 2023, pages 405-418. ACM, 2023. URL: https://doi.org/10.1145/3564246.3585157.
  40. Daniel M. Kane, Shachar Lovett, and Shay Moran. Near-optimal linear decision trees for k-sum and related problems. J. ACM, 66(3):16:1-16:18, 2019. URL: https://doi.org/10.1145/3285953.
  41. Adam Karczmarz and Jakub Lacki. Fast and simple connectivity in graph timelines. In Frank Dehne, Jörg-Rüdiger Sack, and Ulrike Stege, editors, 14th International Symposium on Algorithms and Data Structures (WADS 2015), volume 9214 of Lecture Notes in Computer Science, pages 458-469. Springer, 2015. URL: https://doi.org/10.1007/978-3-319-21840-3_38.
  42. Mahmoud Abo Khamis, George Chichirim, Antonia Kormpa, and Dan Olteanu. The complexity of boolean conjunctive queries with intersection joins. In Leonid Libkin and Pablo Barceló, editors, 41st ACM Symposium on Principles of Database Systems (PODS 2022), pages 53-65. ACM, 2022. URL: https://doi.org/10.1145/3517804.3524156.
  43. Mahmoud Abo Khamis, Hung Q. Ngo, Christopher Ré, and Atri Rudra. Joins via geometric resolutions: Worst case and beyond. ACM Trans. Database Syst., 41(4):22:1-22:45, 2016. URL: https://doi.org/10.1145/2967101.
  44. Tsvi Kopelowitz, Seth Pettie, and Ely Porat. Higher lower bounds from the 3SUM conjecture. In Robert Krauthgamer, editor, 27th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA 2016), pages 1272-1287. SIAM, 2016. URL: https://doi.org/10.1137/1.9781611974331.ch89.
  45. Andrea Lincoln, Adam Polak, and Virginia Vassilevska Williams. Monochromatic triangles, intermediate matrix products, and convolutions. In Thomas Vidick, editor, 11th Innovations in Theoretical Computer Science Conference (ITCS 2020), volume 151 of LIPIcs, pages 53:1-53:18. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2020. URL: https://doi.org/10.4230/LIPIcs.ITCS.2020.53.
  46. Andrea Lincoln, Virginia Vassilevska Williams, Joshua R. Wang, and R. Ryan Williams. Deterministic time-space trade-offs for k-sum. In Ioannis Chatzigiannakis, Michael Mitzenmacher, Yuval Rabani, and Davide Sangiorgi, editors, 43rd International Colloquium on Automata, Languages, and Programming, ICALP 2016, July 11-15, 2016, Rome, Italy, volume 55 of LIPIcs, pages 58:1-58:14. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2016. URL: https://doi.org/10.4230/LIPIcs.ICALP.2016.58.
  47. Hung Q. Ngo, Dung T. Nguyen, Christopher Ré, and Atri Rudra. Beyond worst-case analysis for joins with minesweeper. In 33rd ACM Symposium on Principles of Database Systems (PODS 2014), pages 234-245. ACM, 2014. URL: https://doi.org/10.1145/2594538.2594547.
  48. Mihai Pătraşcu. Towards polynomial lower bounds for dynamic problems. In Leonard J. Schulman, editor, 42nd Annual ACM Symposium on Theory of Computing (STOC 2010), pages 603-610. ACM, 2010. URL: https://doi.org/10.1145/1806689.1806772.
  49. Jakub Radoszewski, Wojciech Rytter, Juliusz Straszynski, Tomasz Walen, and Wiktor Zuba. Hardness of detecting abelian and additive square factors in strings. In 29th Annual European Symposium on Algorithms, ESA 2021, volume 204 of LIPIcs, pages 77:1-77:19. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2021. URL: https://doi.org/10.4230/LIPIcs.ESA.2021.77.
  50. Michael A. Soss, Jeff Erickson, and Mark H. Overmars. Preprocessing chains for fast dihedral rotations is hard or even impossible. Comput. Geom., 26(3):235-246, 2003. URL: https://doi.org/10.1016/S0925-7721(02)00156-6.
  51. Virginia Vassilevska Williams and R. Ryan Williams. Subcubic equivalences between path, matrix, and triangle problems. J. ACM, 65(5):27:1-27:38, 2018. URL: https://doi.org/10.1145/3186893.
  52. Virginia Vassilevska Williams and Ryan Williams. Finding, minimizing, and counting weighted subgraphs. SIAM J. Comput., 42(3):831-854, 2013. URL: https://doi.org/10.1137/09076619X.
Questions / Remarks / Feedback
X

Feedback for Dagstuhl Publishing


Thanks for your feedback!

Feedback submitted

Could not send message

Please try again later or send an E-mail