Skip to main content

Advertisement

SpringerLink
Go to cart
  1. Home
  2. Annals of Mathematics and Artificial Intelligence
  3. Article
Time and space complexity of deterministic and nondeterministic decision trees
Download PDF
Your article has downloaded

Similar articles being viewed by others

Slider with three articles shown per slide. Use the Previous and Next buttons to navigate the slides or the slide controller buttons at the end to navigate through each slide.

Second-Order Finite Automata

22 June 2022

Alexsander Andrade de Melo & Mateus de Oliveira Oliveira

Computational Complexity of Theories of a Binary Predicate with a Small Number of Variables

08 December 2022

M. Rybakov

Optimal decision trees for categorical data via integer programming

24 March 2021

Oktay Günlük, Jayant Kalagnanam, … Katya Scheinberg

On the Decision Tree Complexity of Threshold Functions

23 August 2022

Anastasiya Chistopolskaya & Vladimir V. Podolskii

On the Complexity of Binary Polynomial Optimization Over Acyclic Hypergraphs

28 December 2022

Alberto Del Pia & Silvia Di Gregorio

Trees of Diameter 6 and 7 with Minimum Number of Independent Sets

01 January 2021

D. S. Taletskii

Fixed-point Selection Functions

01 April 2021

M. M. Arslanov

Bounded rationality: from fast and frugal heuristics to logic programming and back

15 March 2023

Francisco Vargas, Laura Martignon & Keith Stenning

Representations of Infinite Tree Sets

28 April 2020

J. Pascal Gollin & Jakob Kneip

Download PDF
  • Open Access
  • Published: 09 September 2022

Time and space complexity of deterministic and nondeterministic decision trees

  • Mikhail Moshkov  ORCID: orcid.org/0000-0003-0085-94831 

Annals of Mathematics and Artificial Intelligence volume 91, pages 45–74 (2023)Cite this article

  • 231 Accesses

  • Metrics details

Abstract

In this paper, we study arbitrary infinite binary information systems each of which consists of an infinite set called universe and an infinite set of two-valued functions (attributes) defined on the universe. We consider the notion of a problem over information system, which is described by a finite number of attributes and a mapping associating a decision to each tuple of attribute values. As algorithms for problem solving, we use deterministic and nondeterministic decision trees. As time and space complexity, we study the depth and the number of nodes in the decision trees. In the worst case, with the growth of the number of attributes in the problem description, (i) the minimum depth of deterministic decision trees grows either almost as logarithm or linearly, (ii) the minimum depth of nondeterministic decision trees either is bounded from above by a constant or grows linearly, (iii) the minimum number of nodes in deterministic decision trees has either polynomial or exponential growth, and (iv) the minimum number of nodes in nondeterministic decision trees has either polynomial or exponential growth. Based on these results, we divide the set of all infinite binary information systems into five complexity classes, and study for each class issues related to time-space trade-off for decision trees.

Download to read the full article text

Working on a manuscript?

Avoid the common mistakes

Data availability

Data sharing not applicable to this article as no datasets were generated or analysed during the current study.

References

  1. AbouEisha, H., Amin, T., Chikalov, I., Hussain, S., Moshkov, M.: Extensions of Dynamic Programming for Combinatorial Optimization and Data Mining. Intelligent Systems Reference Library, vol. 146. Springer (2019)

  2. Alsolami, F., Azad, M., Chikalov, I., Moshkov, M.: Decision and Inhibitory Trees and Rules for Decision Tables with Many-valued Decisions. Intelligent Systems Reference Library, vol. 156. Springer (2020)

  3. Breiman, L., Friedman, J.H., Olshen, R.A., Stone, C.J.: Classification and Regression Trees. Wadsworth (1984)

  4. Moshkov, M.: Time complexity of decision trees. In: Trans. Rough Sets III. Lecture Notes in Computer Science, vol. 3400, pp. 244–459. Springer (2005)

  5. Moshkov, M., Zielosko, B.: Combinatorial Machine Learning - A Rough Set Approach. Studies in Computational Intelligence, vol. 360. Springer (2011)

  6. Rokach, L., Maimon, O.: Data Mining with Decision Trees - Theory and Applications. Series in Machine Perception and Artificial Intelligence, vol. 69. WorldScientific (2007)

  7. Boros, E., Hammer, P.L., Ibaraki, T., Kogan, A.: Logical analysis of numerical data. Math. Program. 79, 163–190 (1997)

    Article  MathSciNet  MATH  Google Scholar 

  8. Boros, E., Hammer, P.L., Ibaraki, T., Kogan, A., Mayoraz, E., Muchnik, I.B.: An implementation of logical analysis of data. IEEE Trans. Knowl. Data Eng. 12(2), 292–306 (2000)

    Article  Google Scholar 

  9. Chikalov, I., Lozin, V.V., Lozina, I., Moshkov, M., Nguyen, H.S., Skowron, A., Zielosko, B.: Three Approaches to Data Analysis - Test Theory, Rough Sets and Logical Analysis of Data. Intelligent Systems Reference Library, vol. 41. Springer (2013)

  10. Fürnkranz, J., Gamberger, D., Lavrac, N.: Foundations of Rule Learning. Cognitive Technologies. Springer (2012)

  11. Lejeune, M.A., Lozin, V.V., Lozina, I., Ragab, A., Yacout, S.: Recent advances in the theory and practice of logical analysis of data. Eur. J. Oper. Res. 275(1), 1–15 (2019)

    Article  MathSciNet  MATH  Google Scholar 

  12. Moshkov, M., Piliszczuk, M., Zielosko, B.: Partial Covers, Reducts and Decision Rules in Rough Sets - Theory and Applications. Studies in Computational Intelligence, vol. 145. Springer (2008)

  13. Pawlak, Z.: Rough Sets - Theoretical Aspects of Reasoning About Data. Theory and Decision Library: Series D, vol. 9. Kluwer (1991)

  14. Pawlak, Z., Skowron, A.: Rudiments of rough sets. Inf. Sci. 177 (1), 3–27 (2007)

    Article  MathSciNet  MATH  Google Scholar 

  15. Abdelhalim, A., Traoré, I., Sayed, B.: RBDT-1: A new rule-based decision tree generation technique. In: Governatori, G, Hall, J., Paschke, A. (eds.) Rule Interchange and Applications, International Symposium, RuleML 2009, Las Vegas, Nevada, USA, November 5-7, 2009. Lecture Notes in Computer Science, vol. 5858, pp. 108–121. Springer (2009)

  16. Abdelhalim, A., Traoré, I., Nakkabi, Y.: Creating decision trees from rules using RBDT-1. Comput. Intell. 32(2), 216–239 (2016)

    Article  MathSciNet  Google Scholar 

  17. Aglin, G., Nijssen, S., Schaus, P.: Learning optimal decision trees using caching branch-and-bound search. In: 34th AAAI Conference on Artificial Intelligence, AAAI 2020, pp. 3146–3153 (2020)

  18. Avellaneda, F.: Efficient inference of optimal decision trees. In: 34th AAAI Conference on Artificial Intelligence, AAAI 2020, pp. 3195–3202 (2020)

  19. Bertsimas, D., Dunn, J.: Optimal classification trees. Mach. Learn. 106(7), 1039–1082 (2017)

    Article  MathSciNet  MATH  Google Scholar 

  20. Demirovic, E., Lukina, A., Hebrard, E., Chan, J., Bailey, J., Leckie, C., Ramamohanarao, K., Stuckey, P.J.: Murtree: Optimal decision trees via dynamic programming and search. J. Mach. Learn. Res. 23, 26–12647 (2022)

    MathSciNet  MATH  Google Scholar 

  21. Przybyla-Kasperek, M., Aning, S.: Bagging and single decision tree approaches to dispersed data. In: Paszynski, M., Kranzlmüller, D., Krzhizhanovskaya, V.V., Dongarra, J.J., Sloot, P.M.A. (eds.) Computational Science - ICCS 2021 - 21st International Conference, Krakow, Poland, June 16-18, 2021, Proceedings, Part III. Lecture Notes in Computer Science, vol. 12744, pp. 420–427. Springer (2021)

  22. Kaufman, K.A., Michalski, R.S., Pietrzykowski, J., Wojtusiak, J.: An integrated multi-task inductive database VINLEN: initial implementation and early results. In: Dzeroski, S., Struyf, J. (eds.) Knowledge Discovery in Inductive Databases, 5th International Workshop, KDID 2006, Berlin, Germany, September 18, 2006, Revised Selected and Invited Papers. Lecture Notes in Computer Science, vol. 4747, pp. 116–133. Springer (2006)

  23. Narodytska, N., Ignatiev, A., Pereira, F., Marques-Silva, J.: Learning optimal decision trees with SAT. In: 27th International Joint Conference on Artificial Intelligence, IJCAI 2018, pp. 1362–1368 (2018)

  24. Verwer, S., Zhang, Y.: Learning optimal classification trees using a binary linear program formulation. In: 33rd AAAI Conference on Artificial Intelligence, AAAI 2019, pp. 1625–1632 (2019)

  25. Zabinski, K., Zielosko, B.: Decision rules construction: Algorithm based on EAV model. Entropy 23(1), 14 (2021)

    Article  MathSciNet  Google Scholar 

  26. Zielosko, B., Zabinski, K.: Selected approaches for decision rules construction-comparative study. In: Knowledge-Based and Intelligent Information & Engineering Systems: 25th International Conference KES-2021, Virtual Event / Szczecin, Poland, 8-10 September 2021. Procedia Computer Science, vol. 192, pp. 3667–3676. Elsevier (2021)

  27. Molnar, C.: Interpretable Machine Learning. A Guide for Making Black Box Models Explainable, 2nd edn. christophm.github.io/interpretable-ml-book/ (2022)

  28. Wegener, I.: Time-space trade-offs for branching programs. J. Comput. Syst. Sci. 32(1), 91–96 (1986)

    Article  MathSciNet  MATH  Google Scholar 

  29. Beame, P., Jayram, T.S., Saks, M.E.: Time-space tradeoffs for branching programs. J. Comput. Syst. Sci. 63(4), 542–572 (2001)

    Article  MathSciNet  MATH  Google Scholar 

  30. Chikalov, I., Hussain, S., Moshkov, M.: Totally optimal decision trees for Boolean functions. Discret. Appl. Math. 215, 1–13 (2016)

    Article  MathSciNet  MATH  Google Scholar 

  31. Dobkin, D.P., Lipton, R.J.: A lower bound of the (1/2)n2 on linear search programs for the knapsack problem. J. Comput. Syst. Sci. 16(3), 413–417 (1978)

    Article  MATH  Google Scholar 

  32. Dobkin, D.P., Lipton, R.J.: On the complexity of computations under varying sets of primitives. J. Comput. Syst. Sci. 18(1), 86–91 (1979)

    Article  MathSciNet  MATH  Google Scholar 

  33. Morávek, J.: A localization problem in geometry and complexity of discrete programming. Kybernetika 8(6), 498–516 (1972)

    MathSciNet  MATH  Google Scholar 

  34. Ben-Or, M.: Lower bounds for algebraic computation trees (preliminary report). In: 15th Annual ACM Symposium on Theory of Computing, STOC 1983, pp. 80–86 (1983)

  35. Gabrielov, A., Vorobjov, N.: On topological lower bounds for algebraic computation trees. Found. Comput. Math. 17(1), 61–72 (2017)

    Article  MathSciNet  MATH  Google Scholar 

  36. Grigoriev, D., Karpinski, M., Vorobjov, N.: Improved lower bound on testing membership to a polyhedron by algebraic decision trees. In: 36th Annual Symposium on Foundations of Computer Science, FOCS 1995, pp. 258–265 (1995)

  37. Grigoriev, D., Karpinski, M., Yao, A.C.: An exponential lower bound on the size of algebraic decision trees for Max. Comput. Complex. 7(3), 193–203 (1998)

    Article  MathSciNet  MATH  Google Scholar 

  38. Steele, J.M., Yao, A.C.: Lower bounds for algebraic decision trees. J. Algorithms 3(1), 1–8 (1982)

    Article  MathSciNet  MATH  Google Scholar 

  39. Yao, A.C.: Algebraic decision trees and Euler characteristics. In: 33rd Annual Symposium on Foundations of Computer Science, FOCS 1992, pp. 268–277 (1992)

  40. Yao, A.C.: Decision tree complexity and Betti numbers. In: 26th Annual ACM Symposium on Theory of Computing, STOC 1994, pp. 615–624 (1994)

  41. Moshkov, M.: Optimization problems for decision trees. Fundam. Inform. 21(4), 391–401 (1994)

    Article  MathSciNet  MATH  Google Scholar 

  42. Moshkov, M.: Decision Trees. Theory and Applications (in Russian). Nizhny Novgorod University Publishers (1994)

  43. Moshkov, M.: Two approaches to investigation of deterministic and nondeterministic decision trees complexity. In: 2nd World Conference on the fundamentals of artificial intelligence, WOCFAI 1995, pp. 275–280 (1995)

  44. Moshkov, M.: Comparative analysis of deterministic and nondeterministic decision tree complexity. Global approach Fundam. Inform. 25(2), 201–214 (1996)

    MathSciNet  MATH  Google Scholar 

  45. Pawlak, Z.: Information systems theoretical foundations. Inf. Syst. 6(3), 205–218 (1981)

    Article  MATH  Google Scholar 

  46. Blum, M., Impagliazzo, R.: Generic oracles and oracle classes (extended abstract). In: 28th Annual Symposium on Foundations of Computer Science, Los Angeles, California, USA, 27-29 October 1987, pp. 118–126 (1987)

  47. Hartmanis, J., Hemachandra, L.A.: One-way functions, robustness, and the non-isomorphism of NP-complete sets. In: 2nd Annual Conference on Structure in Complexity Theory, Cornell University, Ithaca, New York, USA, June 16-19, 1987 (1987)

  48. Moshkov, M.: About the depth of decision trees computing Boolean functions. Fundam. Inform. 22(3), 203–215 (1995)

    Article  MathSciNet  MATH  Google Scholar 

  49. Tardos, G.: Query complexity, or why is it difficult to separate NPA ∩ coNPA from PA by random oracles A? Comb. 9(4), 385–392 (1989)

    MATH  Google Scholar 

  50. Buhrman, H., de Wolf, R.: Complexity measures and decision tree complexity: A survey. Theor. Comput. Sci. 288(1), 21–43 (2002)

    Article  MathSciNet  MATH  Google Scholar 

  51. Dobkin, D.P., Lipton, R.J.: Multidimensional searching problems. SIAM J. Comput. 5(2), 181–186 (1976)

    Article  MathSciNet  MATH  Google Scholar 

  52. Moshkov, M.: On conditional tests. Sov. Phys. Dokl. 27, 528–530 (1982)

    MATH  Google Scholar 

  53. Meyer auf der Heide, F.: A polynomial linear search algorithm for the n-dimensional knapsack problem. In: 15th Annual ACM Symposium on Theory of Computing, STOC 1983, pp. 70–79 (1983)

  54. Moshkov, M.: Classification of infinite information systems depending on complexity of decision trees and decision rule systems. Fundam. Inform. 54(4), 345–368 (2003)

    MathSciNet  MATH  Google Scholar 

  55. Moshkov, M.: Comparative analysis of deterministic and nondeterministic decision tree complexity. Local approach. In: Trans. Rough Sets IV. Lecture Notes in Computer Science, vol. 3700, pp. 125–143. Springer (2005)

  56. Moshkov, M.: Comparative Analysis of Deterministic and Nondeterministic Decision Trees. Intelligent Systems Reference Library, vol. 179. Springer (2020)

  57. Moshkov, M.: On time and space complexity of deterministic and nondeterministic decision trees. In: 8th International Conference Information Processing and Management of Uncertainty in Knowledge-based Systems, IPMU 2000, vol. 3, pp. 1932–1936 (2000)

  58. Naiman, D.Q., Wynn, H.P.: Independence number and the complexity of families of sets. Discr. Math. 154, 203–216 (1996)

    Article  MathSciNet  MATH  Google Scholar 

  59. Sauer, N.: On the density of families of sets. J. Comb. Theory (A) 13, 145–147 (1972)

    Article  MathSciNet  MATH  Google Scholar 

  60. Shelah, S.: A combinatorial problem; stability and order for models and theories in infinitary languages. Pacific J. Math. 41, 241–261 (1972)

    Article  MathSciNet  Google Scholar 

Download references

Acknowledgements

Research reported in this publication was supported by King Abdullah University of Science and Technology (KAUST).

The author is greatly indebted to the anonymous reviewers for very useful remarks and suggestions.

Funding

This work was supported by KAUST.

Author information

Authors and Affiliations

  1. Computer, Electrical and Mathematical Sciences and Engineering Division and Computational Bioscience Research Center, King Abdullah University of Science and Technology (KAUST), Thuwal, 23955-6900, Saudi Arabia

    Mikhail Moshkov

Authors
  1. Mikhail Moshkov
    View author publications

    You can also search for this author in PubMed Google Scholar

Corresponding author

Correspondence to Mikhail Moshkov.

Ethics declarations

Conflict of interests

The author has no conflicts of interests and competing interests to declare that are relevant to the content of this article.

Additional information

Publisher’s note

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

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.

Reprints and Permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Moshkov, M. Time and space complexity of deterministic and nondeterministic decision trees. Ann Math Artif Intell 91, 45–74 (2023). https://doi.org/10.1007/s10472-022-09814-1

Download citation

  • Accepted: 23 August 2022

  • Published: 09 September 2022

  • Issue Date: February 2023

  • DOI: https://doi.org/10.1007/s10472-022-09814-1

Share this article

Anyone you share the following link with will be able to read this content:

Sorry, a shareable link is not currently available for this article.

Provided by the Springer Nature SharedIt content-sharing initiative

Keywords

  • Deterministic decision trees
  • Nondeterministic decision trees
  • Time complexity
  • Space complexity
  • Complexity classes
  • Time-space trade-off
Download PDF

Working on a manuscript?

Avoid the common mistakes

Advertisement

Over 10 million scientific documents at your fingertips

Switch Edition
  • Academic Edition
  • Corporate Edition
  • Home
  • Impressum
  • Legal information
  • Privacy statement
  • Your US state privacy rights
  • How we use cookies
  • Your privacy choices/Manage cookies
  • Accessibility
  • FAQ
  • Contact us
  • Affiliate program

Not affiliated

Springer Nature

© 2023 Springer Nature Switzerland AG. Part of Springer Nature.