Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/3519935.3520032acmconferencesArticle/Chapter ViewAbstractPublication PagesstocConference Proceedingsconference-collections
research-article

Hardness for triangle problems under even more believable hypotheses: reductions from real APSP, real 3SUM, and OV

Published: 10 June 2022 Publication History

Abstract

The 3SUM hypothesis, the All-Pairs Shortest Paths (APSP) hypothesis and the Strong Exponential Time Hypothesis are the three main hypotheses in the area of fine-grained complexity. So far, within the area, the first two hypotheses have mainly been about integer inputs in the Word RAM model of computation. The “Real APSP” and “Real 3SUM” hypotheses, which assert that the APSP and 3SUM hypotheses hold for real-valued inputs in a reasonable version of the Real RAM model, are even more believable than their integer counterparts.
Under the very believable hypothesis that at least one of the Integer 3SUM hypothesis, Integer APSP hypothesis or SETH is true, Abboud, Vassilevska W. and Yu [STOC 2015] showed that a problem called Triangle Collection requires n3−o(1) time on an n-node graph.
The main result of this paper is a nontrivial lower bound for a slight generalization of Triangle Collection, called All-Color-Pairs Triangle Collection, under the even more believable hypothesis that at least one of the Real 3SUM, the Real APSP, and the Orthogonal Vector (OV) hypotheses is true. Combined with slight modifications of prior reductions from Triangle Collection, we obtain polynomial conditional lower bounds for problems such as the (static) ST-Max Flow problem and dynamic versions of Max Flow, Single-Source Reachability Count, and Counting Strongly Connected Components, now under the new weaker hypothesis.
Our main result is built on the following two lines of reductions. In the first line of reductions, we show Real APSP and Real 3SUM hardness for the All-Edges Sparse Triangle problem. Prior reductions only worked from the integer variants of these problems. In the second line of reductions, we show Real APSP and OV hardness for a variant of the Boolean Matrix Multiplication problem.
Along the way we show that Triangle Collection is equivalent to a simpler restricted version of the problem, simplifying prior work. Our techniques also have other interesting implications, such as a super-linear lower bound of Integer All-Numbers 3SUM based on the Real 3SUM hypothesis, and a tight lower bound for a string matching problem based on the OV hypothesis.

References

[1]
Amir Abboud, Fabrizio Grandoni, and Virginia Vassilevska Williams. 2015. Subcubic equivalences between graph centrality problems, APSP and diameter. In Proc. 26th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA). 1681–1697. https://doi.org/10.1137/1.9781611973730.112
[2]
Amir Abboud and Virginia Vassilevska Williams. 2014. Popular conjectures imply strong lower bounds for dynamic problems. In Proc. 55th IEEE Symposium on Foundations of Computer Science (FOCS). 434–443. https://doi.org/10.1109/FOCS.2014.53
[3]
Amir Abboud, Virginia Vassilevska Williams, and Oren Weimann. 2014. Consequences of Faster Alignment of Sequences. In Proc. 41st International Colloquium on Automata, Languages, and Programming (ICALP), Part I (Lecture Notes in Computer Science, Vol. 8572). Springer, 39–51. https://doi.org/10.1007/978-3-662-43948-7_4
[4]
Amir Abboud, Virginia Vassilevska Williams, and Huacheng Yu. 2018. Matching triangles and basing hardness on an extremely popular conjecture. SIAM J. Comput., 47, 3 (2018), 1098–1122. https://doi.org/10.1137/15M1050987 Preliminary version in STOC 2015.
[5]
Amir Abboud, Ryan Williams, and Huacheng Yu. 2014. More applications of the polynomial method to algorithm design. In Proc. 26th ACM-SIAM Symposium on Discrete Algorithms (SODA). 218–230. https://doi.org/10.1137/1.9781611973730.17
[6]
Manuel Abellanas, Ferran Hurtado, Christian Icking, Rolf Klein, Elmar Langetepe, Lihong Ma, Belén Palop, and Vera Sacristán. 2001. Smallest Color-Spanning Objects. In Proc. 9th Annual European Symposium on Algorithms (ESA). 278–289. isbn:978-3-540-44676-7 https://doi.org/10.1007/3-540-44676-1_23
[7]
Karl Abrahamson. 1987. Generalized String Matching. SIAM J. Comput., 16, 6 (1987), Dec., 1039–1051. issn:0097-5397 https://doi.org/10.1137/0216067
[8]
Josh Alman and Virginia Vassilevska Williams. 2021. A refined laser method and faster matrix multiplication. In Proc. 2021 ACM-SIAM Symposium on Discrete Algorithms (SODA). 522–539. https://doi.org/10.1137/1.9781611976465.32
[9]
Josh Alman and Ryan Williams. 2015. Probabilistic Polynomials and Hamming Nearest Neighbors. In Proc. 56th IEEE Symposium on Foundations of Computer Science (FOCS). 136–150. https://doi.org/10.1109/FOCS.2015.18
[10]
Noga Alon, Zvi Galil, Oded Margalit, and Moni Naor. 1992. Witnesses for Boolean Matrix Multiplication and for Shortest Paths. In Proc. 33rd IEEE Symposium on Foundations of Computer Science (FOCS). 417–426. https://doi.org/10.1109/SFCS.1992.267748
[11]
Noga Alon, Raphael Yuster, and Uri Zwick. 1997. Finding and Counting Given Length Cycles. Algorithmica, 17, 3 (1997), 209–223. https://doi.org/10.1007/BF02523189
[12]
Daniel Archambault, William Evans, and David Kirkpatrick. 2005. Computing the Set of all the Distant Horizons of a Terrain. Int. J. Comput. Geometry Appl., 15 (2005), 12, 547–564. https://doi.org/10.1142/S0218195905001841
[13]
Boris Aronov and Sariel Har-Peled. 2008. On approximating the depth and related problems. SIAM J. Comput., 38, 3 (2008), 899–921. https://doi.org/10.1137/060669474
[14]
Arturs Backurs, Liam Roditty, Gilad Segal, Virginia Vassilevska Williams, and Nicole Wein. 2018. Towards tight approximation bounds for graph diameter and eccentricities. In Proc. the 50th ACM Symposium on Theory of Computing (STOC). 267–280. https://doi.org/10.1145/3188745.3188950
[15]
Ilya Baran, Erik D. Demaine, and Mihai Patrascu. 2008. Subquadratic Algorithms for 3SUM. Algorithmica, 50, 4 (2008), 584–596. https://doi.org/10.1007/s00453-007-9036-3 Preliminary version in WADS 2005
[16]
Gill Barequet and Sariel Har-Peled. 2001. Polygon Containment and Translational Min-Hausdorff-Distance Between Segment Sets are 3SUM-Hard. Int. J. Comput. Geom. Appl., 11, 4 (2001), 465–474. https://doi.org/10.1142/S0218195901000596 Preliminary version in SODA 1999
[17]
Karl Bringmann, Paweł Gawrychowski, Shay Mozes, and Oren Weimann. 2020. Tree Edit Distance Cannot be Computed in Strongly Subcubic Time (Unless APSP Can). ACM Trans. Algorithms, 16, 4 (2020), 48:1–48:22. https://doi.org/10.1145/3381878
[18]
Chris Calabro, Russell Impagliazzo, and Ramamohan Paturi. 2009. The complexity of satisfiability of small depth circuits. In Proc. 4th International Workshop on Parameterized and Exact Computation (IWPEC). 75–85. https://doi.org/10.1007/978-3-642-11269-0_6
[19]
Chris Calabro, Russell Impagliazzo, and Ramamohan Paturi. 2013. On the Exact Complexity of Evaluating Quantified k-CNF. Algorithmica, 65, 4 (2013), 817–827. https://doi.org/10.1007/s00453-012-9648-0 Preliminary version in IPEC 2010
[20]
Marco L. Carmosino, Jiawei Gao, Russell Impagliazzo, Ivan Mihajlin, Ramamohan Paturi, and Stefan Schneider. 2016. Nondeterministic extensions of the strong exponential time hypothesis and consequences for non-reducibility. In Proc. ACM Conference on Innovations in Theoretical Computer Science (ITCS). 261–270. https://doi.org/10.1145/2840728.2840746
[21]
Timothy M. Chan. 2020. More Logarithmic-Factor Speedups for 3SUM, (Median,+)-Convolution, and Some Geometric 3SUM-Hard Problems. ACM Trans. Algorithms, 16, 1 (2020), Article 7, 23 pages. issn:1549-6325 https://doi.org/10.1145/3363541 Preliminary version in SODA 2018
[22]
Timothy M. Chan and R. Ryan Williams. 2021. Deterministic APSP, Orthogonal Vectors, and More: Quickly Derandomizing Razborov-Smolensky. ACM Trans. Algorithms, 17, 1 (2021), 2:1–2:14. https://doi.org/10.1145/3402926 Preliminary version in SODA 2016
[23]
Otfried Cheong, Alon Efrat, and Sariel Har-Peled. 2007. Finding a Guard that Sees Most and a Shop that Sells Most. Discret. Comput. Geom., 37, 4 (2007), 545–563. https://doi.org/10.1007/s00454-007-1328-5 Preliminary version in SODA 2004
[24]
Norishige Chiba and Takao Nishizeki. 1985. Arboricity and subgraph listing algorithms. SIAM J. Comput., 14, 1 (1985), 210–223. https://doi.org/10.1137/0214017
[25]
Marek Cygan, Holger Dell, Daniel Lokshtanov, Dániel Marx, Jesper Nederlof, Yoshio Okamoto, Ramamohan Paturi, Saket Saurabh, and Magnus Wahlström. 2016. On Problems as Hard as CNF-SAT. ACM Trans. Algorithms, 12, 3 (2016), 41:1–41:24. https://doi.org/10.1145/2925416
[26]
Marek Cygan, Stefan Kratsch, and Jesper Nederlof. 2018. Fast Hamiltonicity Checking Via Bases of Perfect Matchings. J. ACM, 65, 3 (2018), Article 12, mar, 46 pages. issn:0004-5411 https://doi.org/10.1145/3148227
[27]
Søren Dahlgaard. 2016. On the Hardness of Partially Dynamic Graph Problems and Connections to Diameter. In Proc. 43rd International Colloquium on Automata, Languages, and Programming (ICALP) (LIPIcs, Vol. 55). 48:1–48:14. https://doi.org/10.4230/LIPIcs.ICALP.2016.48
[28]
Evgeny Dantsin and Alexander Wolpert. 2010. On moderately exponential time for SAT. In Proc. 13th International Conference on Theory and Applications of Satisfiability Testing (SAT). 313–325. https://doi.org/10.1007/978-3-642-14186-7_27
[29]
Mark de Berg, Otfried Cheong, Marc J. van Kreveld, and Mark H. Overmars. 2008. Computational Geometry: Algorithms and Applications (3rd ed.). Springer. isbn:9783540779735 https://www.worldcat.org/oclc/227584184
[30]
Mark de Berg, Marko M. de Groot, and Mark H. Overmars. 1997. Perfect binary space partitions. Comput. Geom., 7, 1 (1997), 81–91. issn:0925-7721 https://doi.org/10.1016/0925-7721(95)00045-3
[31]
Lech Duraj, Krzysztof Kleiner, Adam Polak, and Virginia Vassilevska Williams. 2020. Equivalences between triangle and range query problems. In Proceedings of the Fourteenth Annual ACM-SIAM Symposium on Discrete Algorithms. 30–47. https://doi.org/10.1137/1.9781611975994.3
[32]
Jeff Erickson. 1999. Lower Bounds for Linear Satisfiability Problems. Chic. J. Theor. Comput. Sci., 1999(8) (1999), https://doi.org/10.4086/cjtcs.1999.008 Preliminary version in SODA 1995
[33]
Jeff Erickson. 1999. New lower bounds for convex hull problems in odd dimensions. SIAM J. Comput., 28, 4 (1999), 1198–1214. https://doi.org/10.1137/S0097539797315410
[34]
Jeff Erickson, Ivor van der Hoog, and Tillmann Miltzow. 2020. Smoothing the gap between NP and ER. In Proc. 61st IEEE Symposium on Foundations of Computer Science. 1022–1033. https://doi.org/10.1109/FOCS46700.2020.00099 Full version available at
[35]
Michael J. Fischer and Albert R. Meyer. 1971. Boolean matrix multiplication and transitive closure. In Proc. 12th Annual Symposium on Switching and Automata Theory (SWAT). IEEE, 129–131. https://doi.org/10.1109/SWAT.1971.4
[36]
Robert W. Floyd. 1962. Algorithm 97: shortest path. Commun. ACM, 5, 6 (1962), 345. https://doi.org/10.1145/367766.368168
[37]
Michael L. Fredman. 1976. New bounds on the complexity of the shortest path problem. SIAM J. Comput., 5, 1 (1976), 83–89. https://doi.org/10.1137/0205006
[38]
Ari Freund. 2017. Improved subquadratic 3SUM. Algorithmica, 77, 2 (2017), 440–458. https://doi.org/10.1007/s00453-015-0079-6
[39]
Anka Gajentaan and Mark H. Overmars. 1995. On a class of O(n^2) problems in computational geometry. Comput. Geom., 5, 3 (1995), 165–185. https://doi.org/10.1016/0925-7721(95)00022-2
[40]
François Le Gall. 2014. Powers of tensors and fast matrix multiplication. In Proc. International Symposium on Symbolic and Algebraic Computation (ISSAC). 296–303. https://doi.org/10.1145/2608628.2608664
[41]
Paweł Gawrychowski and Przemysł aw Uznański. 2018. Towards Unified Approximate Pattern Matching for Hamming and L_1 Distance. In Proc. 45th International Colloquium on Automata, Languages, and Programming (ICALP) (LIPIcs, Vol. 107). 62:1–62:13. https://doi.org/10.4230/LIPIcs.ICALP.2018.62
[42]
Omer Gold and Micha Sharir. 2017. Improved Bounds for 3SUM, k-SUM, and Linear Degeneracy. In Proc. 25th European Symposium on Algorithms (ESA) (LIPIcs, Vol. 87). 42:1–42:13. https://doi.org/10.4230/LIPIcs.ESA.2017.42
[43]
Allan Grønlund and Seth Pettie. 2018. Threesomes, Degenerates, and Love Triangles. J. ACM, 65, 4 (2018), 22:1–22:25. https://doi.org/10.1145/3185378 Preliminary version in FOCS 2014
[44]
Russell Impagliazzo and Ramamohan Paturi. 2001. On the Complexity of k-SAT. J. Comput. Syst. Sci., 62, 2 (2001), 367–375. https://doi.org/10.1006/jcss.2000.1727 Preliminary version in CoCo 1999.
[45]
Daniel M. Kane, Shachar Lovett, and Shay Moran. 2019. Near-optimal Linear Decision Trees for k-SUM and Related Problems. J. ACM, 66, 3 (2019), 16:1–16:18. https://doi.org/10.1145/3285953 Preliminary version in STOC 2018
[46]
Tsvi Kopelowitz, Seth Pettie, and Ely Porat. 2016. Higher lower bounds from the 3SUM conjecture. In Proc. 27th ACM-SIAM Symposium on Discrete Algorithms (SODA). 1272–1287. https://doi.org/10.1137/1.9781611974331.ch89
[47]
Andrea Lincoln, Adam Polak, and Virginia Vassilevska Williams. 2020. Monochromatic Triangles, Intermediate Matrix Products, and Convolutions. In Proc. 11th Innovations in Theoretical Computer Science Conference (ITCS) (LIPIcs, Vol. 151). 53:1–53:18. https://doi.org/10.4230/LIPIcs.ITCS.2020.53
[48]
Daniel Lokshtanov, Dániel Marx, and Saket Saurabh. 2018. Known Algorithms on Graphs of Bounded Treewidth Are Probably Optimal. ACM Trans. Algorithms, 14, 2 (2018), Article 13, apr, 30 pages. issn:1549-6325 https://doi.org/10.1145/3170442
[49]
Mihai Pătraşcu. 2010. Towards polynomial lower bounds for dynamic problems. In Proc. 42nd ACM Symposium on Theory of Computing (STOC). 603–610. https://doi.org/10.1145/1806689.1806772
[50]
Liam Roditty and Uri Zwick. 2011. On Dynamic Shortest Paths Problems. Algorithmica, 61, 2 (2011), 389–401. https://doi.org/10.1007/s00453-010-9401-5 Preliminary version in ESA 2004
[51]
R. Seidel. 1995. On the All-Pairs-Shortest-Path Problem in Unweighted Undirected Graphs. J. Comput. Syst. Sci., 51, 3 (1995), 400–403. issn:0022-0000 https://doi.org/10.1006/jcss.1995.1078
[52]
Michael Soss, Jeff Erickson, and Mark Overmars. 2003. Preprocessing chains for fast dihedral rotations is hard or even impossible. Comput. Geom., 26, 3 (2003), 235–246. issn:0925-7721 https://doi.org/10.1016/S0925-7721(02)00156-6
[53]
Virginia Vassilevska Williams. 2012. Multiplying matrices faster than Coppersmith-Winograd. In Proc. 44th ACM Symposium on Theory of Computing (STOC). 887–898. https://doi.org/10.1145/2213977.2214056
[54]
Virginia Vassilevska Williams. 2018. On some fine-grained questions in algorithms and complexity. In Proceedings of the ICM. 3, 3431–3472. https://doi.org/10.1142/9789813272880_0188
[55]
Virginia Vassilevska Williams and Ryan Williams. 2013. Finding, Minimizing, and Counting Weighted Subgraphs. SIAM J. Comput., 42, 3 (2013), 831–854. https://doi.org/10.1137/09076619X Preliminary version in STOC 2009
[56]
Virginia Vassilevska Williams and R. Ryan Williams. 2018. Subcubic Equivalences Between Path, Matrix, and Triangle Problems. J. ACM, 65, 5 (2018), 27:1–27:38. https://doi.org/10.1145/3186893 Preliminary version in FOCS 2010
[57]
Virginia Vassilevska Williams and Yinzhan Xu. 2020. Monochromatic Triangles, Triangle Listing and APSP. In Proc. 61st IEEE Symposium on Foundations of Computer Science (FOCS). 786–797. https://doi.org/10.1109/FOCS46700.2020.00078
[58]
Ryan Williams. 2005. A new algorithm for optimal 2-constraint satisfaction and its implications. Theor. Comput. Sci., 348, 2-3 (2005), 357–365. https://doi.org/10.1016/j.tcs.2005.09.023 Preliminary version in ICALP 2004
[59]
Ryan Williams. 2014. Faster all-pairs shortest paths via circuit complexity. In Symposium on Theory of Computing, STOC 2014, New York, NY, USA, May 31 - June 03, 2014, David B. Shmoys (Ed.). ACM, 664–673. https://doi.org/10.1145/2591796.2591811
[60]
R. Ryan Williams. 2018. Faster All-Pairs Shortest Paths via Circuit Complexity. SIAM J. Comput., 47, 5 (2018), 1965–1985. https://doi.org/10.1137/15M1024524 Preliminary version in STOC 2014

Cited By

View all
  • (2023)Fredman’s Trick Meets Dominance Product: Fine-Grained Complexity of Unweighted APSP, 3SUM Counting, and MoreProceedings of the 55th Annual ACM Symposium on Theory of Computing10.1145/3564246.3585237(419-432)Online publication date: 2-Jun-2023

Index Terms

  1. Hardness for triangle problems under even more believable hypotheses: reductions from real APSP, real 3SUM, and OV

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    STOC 2022: Proceedings of the 54th Annual ACM SIGACT Symposium on Theory of Computing
    June 2022
    1698 pages
    ISBN:9781450392648
    DOI:10.1145/3519935
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

    Sponsors

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 10 June 2022

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tag

    1. fine-grained complexity

    Qualifiers

    • Research-article

    Conference

    STOC '22
    Sponsor:

    Acceptance Rates

    Overall Acceptance Rate 1,469 of 4,586 submissions, 32%

    Upcoming Conference

    STOC '25
    57th Annual ACM Symposium on Theory of Computing (STOC 2025)
    June 23 - 27, 2025
    Prague , Czech Republic

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)38
    • Downloads (Last 6 weeks)1
    Reflects downloads up to 05 Jan 2025

    Other Metrics

    Citations

    Cited By

    View all
    • (2023)Fredman’s Trick Meets Dominance Product: Fine-Grained Complexity of Unweighted APSP, 3SUM Counting, and MoreProceedings of the 55th Annual ACM Symposium on Theory of Computing10.1145/3564246.3585237(419-432)Online publication date: 2-Jun-2023

    View Options

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media