Improving Decision Trees through the Lens of Parameterized Local Search
Juha Harviainen, Frank Sommer, Manuel Sorge
TL;DR
This work analyzes improving decision trees via two natural local-search operations: threshold adjustment and cut exchange. It establishes NP-completeness of these problems and systematically maps the parameterized complexity landscape, showing fixed-parameter tractability when combining a small number of features $d$ with a small feature-domain size $D$, and providing DP-based FPT algorithms under the $(d+D)$ parameter. The authors connect hardness results from optimal decision-tree learning to the local-search variants, present reductions from problems like Partial Vertex Cover and Multicolored Independent Set, and supply a proof-of-concept implementation with empirical evaluation demonstrating that local search yields limited improvements on typical heuristics but can be valuable when pruning is extensive. Collectively, the results clarify when local search can meaningfully aid decision-tree construction and offer practical algorithms and insights for integrating local search with pruning in real-world settings.
Abstract
Algorithms for learning decision trees often include heuristic local-search operations such as (1) adjusting the threshold of a cut or (2) also exchanging the feature of that cut. We study minimizing the number of classification errors by performing a fixed number of a single type of these operations. Although we discover that the corresponding problems are NP-complete in general, we provide a comprehensive parameterized-complexity analysis with the aim of determining those properties of the problems that explain the hardness and those that make the problems tractable. For instance, we show that the problems remain hard for a small number $d$ of features or small domain size $D$ but the combination of both yields fixed-parameter tractability. That is, the problems are solvable in $(D + 1)^{2d} \cdot |I|^{O(1)}$ time, where $|I|$ is the size of the input. We also provide a proof-of-concept implementation of this algorithm and report on empirical results.
