Optimal Decision Tree Pruning Revisited: Algorithms and Complexity
Juha Harviainen, Frank Sommer, Manuel Sorge, Stefan Szeider
Abstract
We present a comprehensive classical and parameterized complexity analysis of decision tree pruning operations, extending recent research on the complexity of learning small decision trees. Thereby, we offer new insights into the computational challenges of decision tree simplification, a crucial aspect of developing interpretable and efficient machine learning models. We focus on fundamental pruning operations of subtree replacement and raising, which are used in heuristics. Surprisingly, while optimal pruning can be performed in polynomial time for subtree replacement, the problem is NP-complete for subtree raising. Therefore, we identify parameters and combinations thereof that lead to fixed-parameter tractability or hardness, establishing a precise borderline between these complexity classes. For example, while subtree raising is hard for small domain size D or number d of features, it can be solved in D 2d • |I| O(1) time, where |I| is the input size. We complement our theoretical findings with preliminary experimental results, demonstrating the practical implications of our analysis.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 08fa01ad-df22-4ee6-8381-6f43302afe2bCited by top-tier papers2
- Improving Decision Trees through the Lens of Parameterized Local SearchJuha Harviainen, Frank Sommer, Manuel SorgeNeurIPS 2025 · 1 citation
- Learning Minimum-Size BDDs: Towards Efficient Exact AlgorithmsChristian Komusiewicz, André Schidler, Frank Sommer, Manuel Sorge et al.ICML 2025
Builds on8
- SAT-based Decision Tree Learning for Large Data SetsAndré Schidler, Stefan SzeiderAAAI 2021 · 72 citations
- Fast Sparse Decision Tree Optimization via Reference EnsemblesHayden McTavish, Chudi Zhong, Reto Achermann, Ilias Karimalis et al.AAAI 2022 · 55 citations
- Parameterized Complexity of Small Decision Tree LearningSebastian Ordyniak, Stefan SzeiderAAAI 2021 · 21 citations
- 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
- A General Theoretical Framework for Learning Smallest Interpretable ModelsSebastian Ordyniak, Giacomo Paesani, Mateusz Rychlicki, Stefan SzeiderAAAI 2024 · 7 citations
Related papers
- Learning Small Decision Trees with Few Outliers: A Parameterized PerspectiveHarmender Gahlawat, Meirav ZehaviAAAI 2024 · 7 citations
- The Computational Complexity of Positive Non-Clashing Teaching in GraphsRobert Ganian, Liana Khazaliya, Fionn Mc Inerney, Mathis RoctonICLR 2025
- Learning Small Decision Trees for Data of Low Rank-WidthKonrad K. Dabrowski, Eduard Eiben, Sebastian Ordyniak, Giacomo Paesani et al.AAAI 2024 · 4 citations
- Fair and Optimal Decision Trees: A Dynamic Programming ApproachJacobus G. M. van der Linden, Mathijs de Weerdt, Emir DemirovicNeurIPS 2022 · 16 citations
- Efficient Inference of Optimal Decision TreesFlorent AvellanedaAAAI 2020 · 62 citations
