Necessary and Sufficient Conditions for Optimal Decision Trees using Dynamic Programming

Jacobus G. M. van der Linden, Mathijs M. de Weerdt, Emir Demirović
5/31/2023
14 citations
cs.LGcs.AIcs.DS

Official code: AlgTUDelft/pystreed (21 stars, C++, MIT, last commit 2026-03-23).

Abstract

Global optimization of decision trees has shown to be promising in terms of accuracy, size, and consequently human comprehensibility. However, many of the methods used rely on general-purpose solvers for which scalability remains an issue.

Show full abstract

Dynamic programming methods have been shown to scale much better because they exploit the tree structure by solving subtrees as independent subproblems. However, this only works when an objective can be optimized separately for subtrees. We explore this relationship in detail and show the necessary and sufficient conditions for such separability and generalize previous dynamic programming approaches into a framework that can optimize any combination of separable objectives and constraints. Experiments on five application domains show the general applicability of this framework, while outperforming the scalability of general-purpose solvers by a large margin.

View on arXivView PDF

Code Implementations(1)

MIT

Python Implementation of STreeD: Dynamic Programming Approach for Optimal Decision Trees with Separable objectives and Constraints

216C++, PythonOct 24, 20238 months agoMIT

Similar Papers

Cite this paper

@article{linden2023necessary,
  title  = {Necessary and Sufficient Conditions for Optimal Decision Trees using Dynamic Programming},
  author = {Jacobus G. M. van der Linden and Mathijs M. de Weerdt and Emir Demirović},
  year   = {2023},
  eprint = {2305.19706},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.19706v4},
  journal = {NEURIPS 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.19706.svg)](https://codeofpaper.com/paper/2305.19706)

Discussion