Skip to main content
Log in

The Fine-Grained Complexity of Multi-Dimensional Ordering Properties

  • Published:
Algorithmica Aims and scope Submit manuscript

Abstract

We define a class of problems whose input is an n-sized set of d-dimensional vectors, and where the problem is first-order definable using comparisons between coordinates. This class captures a wide variety of tasks, such as complex types of orthogonal range search, model-checking first-order properties on geometric intersection graphs, and elementary questions on multidimensional data like verifying Pareto optimality of a choice of data points. Focusing on constant dimension d, we show that any such k-quantifier, d-dimensional problem is solvable in \(O(n^{k-1} \log ^{d-1} n)\) time. Furthermore, this algorithm is conditionally tight up to subpolynomial factors: we show that assuming the 3-uniform hyperclique hypothesis, there is a k-quantifier, \((3k-3)\)-dimensional problem in this class that requires time \(\Omega (n^{k-1-o(1)})\). Towards identifying a single representative problem for this class, we study the existence of complete problems for the 3-quantifier setting (since 2-quantifier problems can already be solved in near-linear time \(O(n\log ^{d-1} n)\), and k-quantifier problems with \(k>3\) reduce to the 3-quantifier case). We define a problem Vector Concatenated Non-Domination \(\mathsf {VCND}_d\) (Given three sets of vectors XY and Z of dimension dd and 2d, respectively, is there an \(x \in X\) and a \(y \in Y\) so that their concatenation \(x \circ y\) is not dominated by any \(z \in Z\), where vector u is dominated by vector v if \(u_i \le v_i\) for each coordinate \(1 \le i \le d\)), and determine it as the “unique” candidate to be complete for this class (under fine-grained assumptions).

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

Notes

  1. The given expression could model the following feature: if a person is of working age (\(x_1\in [\ell _1,u_1]\)), use criterion \(x_2 \in [\ell _2,u_2]\), otherwise use \((x_3,\dots ,x_d)\in [\ell _3,u_3]\times \cdots \times [\ell _d,u_d]\).

  2. Recall that a set X is Pareto optimal if there are no distinct points \(x,x' \in X\) such that x is coordinate-wise at least as large as \(x'\).

  3. For even more involved types of algorithmic tasks beyond k-quantifier first-order properties, see, e.g., [20] (All-Pairs Shortest Paths) or [25] (NP-hard problems).

  4. Strictly speaking, we identify the following 3-dimensional problem (which is linear-time equivalent to triangle detection in sparse graphs) as complete for \(PTO_{\exists \exists \exists , d}\): \(\exists x,y,z: x_1=z_1 \wedge x_2 = y_2 \wedge y_3=z_3\).

  5. Strong Exponential Time Hypothesis (\(\mathsf {SETH}\)) for CNF-SAT: For all \(\epsilon > 0\), there exists a k so that k-CNF-SAT cannot be solved in time \(O(2^{n(1-\epsilon )})\) [34].

References

  1. Abboud, A., Backurs, A., Williams, V.V.: Tight hardness results for LCS and other sequence similarity measures. In: Foundations of Computer Science (FOCS), 2015 IEEE 56th Annual Symposium on, pp. 59–78. IEEE (2015)

  2. Abboud, A., Bringmann, K., Dell, H., Nederlof, J.: More consequences of falsifying SETH and the orthogonal vectors conjecture. In: Proceedings of the 50th Annual ACM SIGACT Symposium on Theory of Computing, pp. 253–266. ACM (2018)

  3. Abboud, A., Grandoni, F., Williams, V.V.: Subcubic equivalences between graph centrality problems, apsp and diameter. In: Proceedings of the twenty-sixth annual ACM-SIAM symposium on Discrete algorithms, pp. 1681–1697. SIAM (2014)

  4. Abboud, A., Williams, R., Yu, H.: More applications of the polynomial method to algorithm design. In: Proceedings of the Twenty-Sixth Annual ACM-SIAM Symposium on Discrete Algorithms, pp. 218–230. SIAM (2015)

  5. Abboud, A., Williams, V.V., Wang, J.R.: Approximation and fixed parameter subquadratic algorithms for radius and diameter in sparse graphs. In: Krauthgamer, R. (ed.) Proceedings of the Twenty-Seventh Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2016, January 10-12, 2016, pp. 377–391. SIAM, Arlington, VA, USA (2016)

  6. Abboud, A., Williams, V.V., Weimann, O.: Consequences of faster alignment of sequences. In: International Colloquium on Automata, Languages, and Programming, pp. 39–51. Springer (2014)

  7. Abiteboul, S., Hull, R., Vianu, V.: Foundations of databases: The logical level. Addison-Wesley Longman Publishing Co., Inc., Boston, MA (1995)

  8. Agarwal, P.K.: Range searching. In: Goodman, J.E., O’Rourke, J., Tóth, C.D. (eds.) Handbook of Discrete and Computational Geometry, chapter 40. 3rd edition, CRC Press LLC (2017)

  9. Agarwal, U., Ramachandran, V.: Fine-grained complexity for sparse graphs. In: Proceedings of the 50th Annual ACM SIGACT Symposium on Theory of Computing, STOC 2018, pp. 239–252 (2018)

  10. Alon, N., Yuster, R., Zwick, U.: Finding and counting given length cycles. Algorithmica 17(3), 209–223 (1997)

    Article  MathSciNet  Google Scholar 

  11. Alstrup, S., Brodal, G.S., Rauhe, T.: New data structures for orthogonal range searching. In: 41st Annual Symposium on Foundations of Computer Science, FOCS 2000, 12-14 November 2000, pp. 198–207. IEEE Computer Society, Redondo Beach, California, USA (2000)

  12. Backurs, A., Indyk, P.: Edit distance cannot be computed in strongly subquadratic time (unless SETH is false). In: Proceedings of the forty-seventh annual ACM symposium on Theory of computing, pp. 51–58. ACM (2015)

  13. Backurs, A., Roditty, L., Segal, G., Williams, V.V., Wein, N.: Towards tight approximation bounds for graph diameter and eccentricities. In: Proceedings of the 50th Annual ACM SIGACT Symposium on Theory of Computing, pp. 267–280. ACM (2018)

  14. Bringmann, K.: Why walking the dog takes time: Frechet distance has no strongly subquadratic algorithms unless seth fails. In: Foundations of Computer Science (FOCS), 2014 IEEE 55th Annual Symposium on, pp. 661–670. IEEE (2014)

  15. Bringmann, K., Fischer, N., Künnemann, M.: A fine-grained analogue of schaefer’s theorem in P: dichotomy of exists k-forall-quantified first-order graph properties. In: Shpilka, A. (ed.) 34th Computational Complexity Conference, CCC 2019, July 18-20, 2019, New Brunswick, NJ, USA, volume 137 of LIPIcs, pp. 31:1–31:27. Schloss Dagstuhl - Leibniz-Zentrum für Informatik (2019)

  16. Bringmann, K., Künnemann, M.: Quadratic conditional lower bounds for string problems and dynamic time warping. In: Foundations of Computer Science (FOCS), 2015 IEEE 56th Annual Symposium on, pp. 79–97. IEEE (2015)

  17. Carmosino, M.L., Gao, J., Impagliazzo, R., Mihajlin, I., Paturi, R., Schneider, S.: Nondeterministic extensions of the strong exponential time hypothesis and consequences for non-reducibility. In: Sudan, M. (ed.) Proceedings of the 2016 ACM Conference on Innovations in Theoretical Computer Science, Cambridge, MA, USA, January 14-16, 2016, pp. 261–270. ACM (2016)

  18. Chan, Timothy M.: Orthogonal range searching in moderate dimensions: k-d trees and range trees strike back. Discret. Comput. Geom. 61(4), 899–922 (2019)

    Article  MathSciNet  Google Scholar 

  19. Chan, T.M., Larsen, K.G., Patrascu, M.: Orthogonal range searching on the ram, revisited. In: Hurtado, F., van Kreveld, M.J. (eds.) Proceedings of the 27th ACM Symposium on Computational Geometry, Paris, France, June 13-15, 2011, pp. 1–10. ACM (2011)

  20. Chan, T.M., Skrepetos, D.: All-pairs shortest paths in geometric intersection graphs. JoCG 10(1), 27–41 (2019)

    MathSciNet  MATH  Google Scholar 

  21. Chan, T.M., Williams, R.: Deterministic APSP, Orthogonal Vectors, and More: Quickly derandomizing Razborov-Smolensky. In: Proceedings of the Twenty-Seventh Annual ACM-SIAM Symposium on Discrete Algorithms, pp. 1246–1255. SIAM (2016)

  22. Chan, T.M., Zhou, G.: Multidimensional range selection. In: Elbassioni, K.M., Makino, K. (eds.) Algorithms and Computation - 26th International Symposium, ISAAC 2015, Nagoya, Japan, December 9-11, 2015, Proceedings, volume 9472 of Lecture Notes in Computer Science, pp. 83–92. Springer (2015)

  23. Chazelle, B.: A functional approach to data structures and its use in multidimensional searching. SIAM J. Comput. 17(3), 427–462 (1988)

    Article  MathSciNet  Google Scholar 

  24. Chen, L., Williams, R.: An equivalence class for orthogonal vectors. In: Chan, T.M. (ed.) Proceedings of the Thirtieth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2019, January 6-9, 2019, pp. 21–40. SIAM, San Diego, California, USA (2019)

  25. de Berg, M., Bodlaender, H.L.., Kisfaludi-Bak, S., Marx, D., van der Zanden, T.C..: A framework for eth-tight algorithms and lower bounds in geometric intersection graphs. In: Diakonikolas, I., Kempe,D., Henzinger, M. (eds.) Proceedings of the 50th Annual ACM SIGACT Symposium on Theory of Computing, STOC 2018, June 25-29, 2018, pp. 574–586. ACM, Los Angeles, CA, USA (2018)

  26. de Berg, M., van Kreveld, M., Overmars, M., Schwarzkopf, O.C.: Orthogonal Range Searching, pp. 95–120. Springer Berlin Heidelberg, Berlin, Heidelberg (2000)

  27. Gajentaan, A., Overmars, M.H.: On a class of \(o(n^2)\) problems in computational geometry. Comput. geom. 5(3), 165–185 (1995)

    Article  MathSciNet  Google Scholar 

  28. Gao, J..: On the fine-grained complexity of least weight subsequence in multitrees and bounded treewidth dags. In: Jansen, B.M.P., Telle, J.A. (eds.) 14th International Symposium on Parameterized and Exact Computation, IPEC 2019, September 11-13, 2019, Munich, Germany, volume 148 of LIPIcs, pp. 16:1–16:17. Schloss Dagstuhl - Leibniz-Zentrum für Informatik (2019)

  29. Gao, J., Impagliazzo, R.: The fine-grained complexity of strengthenings of first-order logic. Electronic Colloquium on Computational Complexity (ECCC), 26, 9 (2019). URL: https://eccc.weizmann.ac.il/report/2019/009

  30. Gao, J., Impagliazzo, R., Kolokolova, A., Williams, R.: Completeness for first-order properties on sparse structures with algorithmic applications. In: Proceedings of the Twenty-Eighth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA ’17, pp. 2162–2181 (2017)

  31. Immerman, N.: Descriptive complexity. Graduate texts in computer science. Springer, New York, NY (1999)

  32. Impagliazzo, R., Lovett, S., Paturi, R., Schneider, S.: 0-1 integer linear programming with a linear number of constraints. (2014). arXiv:1401.5512

  33. Impagliazzo, R., Paturi, R., Schneider, S.: A satisfiability algorithm for sparse depth-2 threshold circuits. (2012). arXiv:1212.4548

  34. Impagliazzo, R., Paturi, R., Zane, F.: Which problems have strongly exponential complexity? In: Foundations of Computer Science, 1998. Proceedings. 39th Annual Symposium on, pp. 653–662. IEEE (1998)

  35. JáJá, J.F., Mortensen, C.W., Shi, Q.: Space-efficient and fast algorithms for multidimensional dominance reporting and counting. In: Fleischer, R., Trippen, G. (eds.) Algorithms and Computation, 15th International Symposium, ISAAC 2004, Hong Kong, China, December 20-22, 2004, Proceedings, volume 3341 of Lecture Notes in Computer Science, pp. 558–568. Springer (2004)

  36. Korhonen, T.: On multidimensional range queries. (2019). https://laakeri.kapsi.fi/a/rmq.pdf, Accessed: 2021-06-27

  37. Künnemann, M., Marx, D.: Finding small satisfying assignments faster than brute force: A fine-grained perspective into boolean constraint satisfaction. In: Saraf, S. (ed.) 35th Computational Complexity Conference, CCC 2020, July 28-31, 2020, Saarbrücken, Germany (Virtual Conference), volume 169 of LIPIcs, pp. 27:1–27:28. Schloss Dagstuhl - Leibniz-Zentrum für Informatik (2020)

  38. Künnemann, M., Paturi, R., Schneider, S.: On the Fine-Grained Complexity of One-Dimensional Dynamic Programming. In: 44th International Colloquium on Automata, Languages, and Programming (ICALP 2017), volume 80 of Leibniz International Proceedings in Informatics (LIPIcs), pp. 21:1–21:15 (2017)

  39. Lau, J., Ritossa, A.: Algorithms and hardness for multidimensional range updates and queries. In: Lee, J.R. (ed.) 12th Innovations in Theoretical Computer Science Conference, ITCS 2021, January 6-8, 2021, Virtual Conference, volume 185 of LIPIcs, pp. 35:1–35:20. Schloss Dagstuhl - Leibniz-Zentrum für Informatik (2021)

  40. Lincoln, A., Williams, V.V., Williams, R.: Tight hardness for shortest cycles and paths in sparse graphs. In: Proceedings of the Twenty-Ninth Annual ACM-SIAM Symposium on Discrete Algorithms, pp. 1236–1252. Society for Industrial and Applied Mathematics (2018)

  41. Lueker, G.S.: A data structure for orthogonal range queries. In: 19th Annual Symposium on Foundations of Computer Science, 16-18 October 1978, pp. 28–34. IEEE Computer Society, Ann Arbor, Michigan, USA (1978)

  42. Marx, D., Sidiropoulos, A.: The limited blessing of low dimensionality: when 1-1/d is the best possible exponent for d-dimensional geometric problems. In: Cheng, S.-W., Devillers, O. (eds.) 30th Annual Symposium on Computational Geometry, SOCG’14, June 08 - 11, 2014, pp. 67. ACM, Kyoto, Japan (2014)

  43. Moeller, D., Paturi, R., Schneider, S.: Subquadratic algorithms for succinct stable matching. In: International Computer Science Symposium in Russia, pp. 294–308. Springer (2016)

  44. Nekrich, Yakov: Orthogonal range searching in linear and almost-linear space. Comput. Geom. 42(4), 342–351 (2009)

    Article  MathSciNet  Google Scholar 

  45. Patrascu, M., Williams, R.: On the possibility of faster SAT algorithms. In: SODA, volume 10, pp. 1065–1075. SIAM (2010)

  46. Willard, D.E..: Predicate-oriented Database Search Algorithms. Center for Research in Computing Technology: Center for Research in Computing Technology. Garland Pub., (1979). URL: https://books.google.de/books?id=iLQmAAAAMAAJ

  47. Williams, Ryan: A new algorithm for optimal 2-constraint satisfaction and its implications. Theor. Comput. Sci. 348(2–3), 357–365 (2005)

    Article  MathSciNet  Google Scholar 

  48. Williams, R.: Faster decision of first-order graph properties. In: Proceedings of the Joint Meeting of the Twenty-Third EACSL Annual Conference on Computer Science Logic (CSL) and the Twenty-Ninth Annual ACM/IEEE Symposium on Logic in Computer Science (LICS), pp. 80. ACM (2014)

  49. Williams, V.V., Williams, R.: Subcubic equivalences between path, matrix and triangle problems. In: Foundations of Computer Science (FOCS), 2010 51st Annual IEEE Symposium on, pp. 645–654. IEEE (2010)

  50. Williams, V.V., Williams, R.: Finding, minimizing, and counting weighted subgraphs. SIAM J. Comput. 42(3), 831–854 (2013)

    Article  MathSciNet  Google Scholar 

Download references

Acknowledgements

We would like to thank Rex Lei, Jiawei Gao, and Victor Vianu for helpful comments and discussion.

Funding

Russell Impagliazzo: Work supported by the Simons Foundation and NSF grant CCF-1909634. Marvin Künnemann: Research supported by Dr. Max Rössler, by the Walter Haefner Foundation, and by the ETH Zürich Foundation. Part of this research was performed while the author was employed at MPI Informatics.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Mohit Gurumukhani.

Ethics declarations

Conflict of interest

The authors are not aware of any conflict of interests.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Haozhe An, Mohit Gurumukhani, Michael Jaber and Maria Paula Parga Nina: This research was conducted while the authors were undergraduates at UC San Diego.

Rights and permissions

Springer Nature or its licensor holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

An, H., Gurumukhani, M., Impagliazzo, R. et al. The Fine-Grained Complexity of Multi-Dimensional Ordering Properties. Algorithmica 84, 3156–3191 (2022). https://doi.org/10.1007/s00453-022-01014-x

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00453-022-01014-x

Keywords

2012 ACM Subject Classification

Navigation