Skip to main content
QUICK REVIEW

[Paper Review] MurTree: Optimal Classification Trees via Dynamic Programming and Search

Emir Demirović, Anna Lukina|arXiv (Cornell University)|Jul 24, 2020
Machine Learning and Data ClassificationComputer Science1 citations
TL;DR

MurTree is a novel algorithm that uses dynamic programming and search to construct globally optimal decision trees with provable optimality in accuracy and size. It achieves orders-of-magnitude speedups over state-of-the-art methods, enabling practical deployment on datasets with tens of thousands of instances while supporting constraints on depth and number of nodes.

ABSTRACT

Decision tree learning is a widely used approach in machine learning, favoured in applications that require concise and interpretable models. Heuristic methods are traditionally used to quickly produce models with reasonably high accuracy. A commonly criticised point, however, is that the resulting trees may not necessarily be the best representation of the data in terms of accuracy and size. In recent years, this motivated the development of optimal classification tree algorithms that globally optimise the decision tree in contrast to heuristic methods that perform a sequence of locally optimal decisions. We follow this line of work and provide a novel algorithm for learning optimal classification trees based on dynamic programming and search. Our algorithm supports constraints on the depth of the tree and number of nodes. The success of our approach is attributed to a series of specialised techniques that exploit properties unique to classification trees. Whereas algorithms for optimal classification trees have traditionally been plagued by high runtimes and limited scalability, we show in a detailed experimental study that our approach uses only a fraction of the time required by the state-of-the-art and can handle datasets with tens of thousands of instances, providing several orders of magnitude improvements and notably contributing towards the practical realisation of optimal decision trees.

Motivation & Objective

  • To develop a practical and scalable algorithm for learning globally optimal decision trees that outperform heuristic methods in accuracy and interpretability.
  • To address the long-standing challenge of high runtime and limited scalability in optimal decision tree learning.
  • To support user-defined constraints on tree depth and number of nodes, enabling tailored model complexity.
  • To provide a mathematically rigorous alternative to heuristic methods that faithfully optimizes the specified objective function.
  • To enable the use of optimal decision trees in real-world applications requiring high accuracy, interpretability, and fairness.

Proposed method

  • The algorithm combines dynamic programming with branch-and-bound search to explore the space of possible decision trees efficiently.
  • It exploits structural properties unique to classification trees, such as the hierarchical nature of splits and the separability of class distributions.
  • A novel data structure and pruning techniques are used to compactly represent and update partial trees during search.
  • The method supports constraints on maximum depth and number of nodes, allowing users to control model complexity.
  • It uses a bottom-up dynamic programming approach to precompute optimal subtrees for all possible subsets of features and classes.
  • A search phase uses the precomputed results to guide the construction of the full optimal tree, avoiding redundant computation.

Experimental results

Research questions

  • RQ1Can optimal decision trees be constructed efficiently enough to be practical for real-world datasets with tens of thousands of instances?
  • RQ2How does the performance of optimal trees compare to heuristic methods like CART in terms of test accuracy and model size?
  • RQ3To what extent do constraints on depth and number of nodes affect the accuracy and scalability of optimal tree learning?
  • RQ4Can dynamic programming and search techniques be combined effectively to achieve significant speedups over existing optimal tree algorithms?
  • RQ5How does the performance of optimal trees compare to more complex models like random forests in terms of generalization?

Key findings

  • MurTree achieves several orders of magnitude speedup over the state-of-the-art optimal decision tree algorithm, reducing runtime from hours to seconds or minutes on most datasets.
  • On 84 benchmark datasets, MurTree produced optimal trees with higher out-of-sample accuracy than CART, especially under constrained depth and node count.
  • For half of the datasets, optimal trees matched or exceeded the generalization performance of random forests, demonstrating strong generalization capability.
  • The algorithm successfully scales to datasets with up to 1800+ instances, with runtime increasing moderately even as dataset size grows.
  • The use of dynamic programming and search enables exact optimality while maintaining practical runtime, making optimal trees viable for offline applications.
  • Caching techniques based on dataset characteristics further improved performance, as suggested by reviewer feedback.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.