Witty: An Efficient Solver for Computing Minimum-Size Decision Trees
Luca Pascal Staus, Christian Komusiewicz, Frank Sommer, Manuel Sorge
Abstract
Decision trees are a classic model for summarizing and classifying data. To enhance interpretability and generalization properties, it has been proposed to favor small decision trees. Accordingly, in the minimum-size decision tree training problem (MSDT), the input is a set of training examples in R d with class labels and we aim to find a decision tree that classifies all training examples correctly and has a minimum number of nodes. MSDT is NP-hard and therefore presumably not solvable in polynomial time. Nevertheless, Komusiewicz et al. [ICML '23] developed a promising algorithmic paradigm called witness trees which solves MSDT efficiently if the solution tree is small. In this work, we test this paradigm empirically. We provide an implementation, augment it with extensive heuristic improvements, and scrutinize it on standard benchmark instances. The augmentations achieve a mean 324-fold (median 84-fold) speedup over the naive implementation. Compared to the state of the art they achieve a mean 32-fold (median 7-fold) speedup over the dynamic programming based MurTree solver [Demirović et al., J. Mach. Learn. Res. '22] and a mean 61-fold (median 25fold) speedup over SAT '20]. As a theoretical result we obtain an improved worst-case running-time bound for MSDT.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
5 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Optimal Decision Tree Pruning Revisited: Algorithms and Complexity cites Fast Sparse Decision Tree Optimization via Reference Ensembles
- Optimal Decision Tree Pruning Revisited: Algorithms and Complexity cites Learning Small Decision Trees with Few Outliers: A Parameterized Perspective
- Fast Sparse Decision Tree Optimization via Reference Ensembles cites Learning Optimal Decision Trees Using Caching Branch-and-Bound Search
- Fast Sparse Decision Tree Optimization via Reference Ensembles cites Generalized and Scalable Optimal Sparse Decision Trees
- Improving Decision Trees through the Lens of Parameterized Local Search cites Optimal Decision Tree Pruning Revisited: Algorithms and Complexity
- Improving Decision Trees through the Lens of Parameterized Local Search cites Learning Minimum-Size BDDs: Towards Efficient Exact Algorithms
- Improving Decision Trees through the Lens of Parameterized Local Search cites Learning Small Decision Trees with Few Outliers: A Parameterized Perspective
- Learning Minimum-Size BDDs: Towards Efficient Exact Algorithms cites Optimal Decision Tree Pruning Revisited: Algorithms and Complexity
- Learning Minimum-Size BDDs: Towards Efficient Exact Algorithms cites Learning Small Decision Trees with Few Outliers: A Parameterized Perspective
- Learning Small Decision Trees with Few Outliers: A Parameterized Perspective cites Efficient Inference of Optimal Decision Trees
Cited by top-tier papers5
- Learning Small Decision Trees with Few Outliers: A Parameterized PerspectiveHarmender Gahlawat, Meirav ZehaviAAAI 2024 · 7 citations
- Improving Decision Trees through the Lens of Parameterized Local SearchJuha Harviainen, Frank Sommer, Manuel SorgeNeurIPS 2025 · 1 citation
- Optimal Decision Tree Pruning Revisited: Algorithms and ComplexityJuha Harviainen, Frank Sommer, Manuel Sorge, Stefan SzeiderICML 2025
- Learning Minimum-Size BDDs: Towards Efficient Exact AlgorithmsChristian Komusiewicz, André Schidler, Frank Sommer, Manuel Sorge et al.ICML 2025
- Constrained and Robust Policy Synthesis with Satisfiability-Modulo-Probabilistic-Model-CheckingLinus Heck, Filip Macák, Milan Ceska, Sebastian JungesAAAI 2026
Builds on13
- Explainable k-Means and k-Medians ClusteringMichal Moshkovitz, Sanjoy Dasgupta, Cyrus Rashtchian, Nave FrostICML 2020 · 184 citations
- Generalized and Scalable Optimal Sparse Decision TreesJimmy Lin, Chudi Zhong, Diane Hu, Cynthia Rudin et al.ICML 2020 · 174 citations
- Learning Optimal Decision Trees Using Caching Branch-and-Bound SearchGaël Aglin, Siegfried Nijssen, Pierre SchausAAAI 2020 · 134 citations
- Efficient Inference of Optimal Decision TreesFlorent AvellanedaAAAI 2020 · 62 citations
- Fast Sparse Decision Tree Optimization via Reference EnsemblesHayden McTavish, Chudi Zhong, Reto Achermann, Ilias Karimalis et al.AAAI 2022 · 55 citations
Related papers
- The Influence of Dimensions on the Complexity of Computing Decision TreesStephen G. Kobourov, Maarten Löffler, Fabrizio Montecchiani, Marcin Pilipczuk et al.AAAI 2023 · 14 citations
- On Computing Optimal Tree EnsemblesChristian Komusiewicz, Pascal Kunz, Frank Sommer, Manuel SorgeICML 2023 · 7 citations
- SAT-based Decision Tree Learning for Large Data SetsAndré Schidler, Stefan SzeiderAAAI 2021 · 72 citations
- A Scalable Deterministic Global Optimization Algorithm for Training Optimal Decision TreeKaixun Hua, Jiayang Ren, Yankai CaoNeurIPS 2022 · 12 citations
- Breiman meets Bellman: Non-Greedy Decision Trees with MDPsHector Kohler, Riad Akrour, Philippe PreuxKDD 2025
