Regularized impurity reduction: accurate decision trees with complexity guarantees

Guangyi Zhang, Aristides Gionis

Introduction

Decision trees are widely regarded as the "gold standard" for interpretable machine learning because they mimic human decision-making through a series of simple if-then rules. However, practitioners often face a fundamental tension between accuracy and complexity.

Standard induction algorithms, such as CART or C4.5, utilize "impurity reduction" heuristics to select splits that maximize the homogeneity of child nodes. While effective for accuracy, these heuristics do not explicitly account for tree depth. Consequently, trees can grow into massive, uninterpretable structures that are difficult for humans to audit and computationally expensive to evaluate. Since finding the smallest possible tree that fits a dataset is an NP-hard problem, this research introduces a new algorithm designed to be both provably efficient in size and highly accurate in practice.

Methodology

The authors frame the construction of decision trees as a Non-overfitting Group Identification (NGI) problem. This approach leverages the theoretical framework of Adaptive Submodular Ranking (ASR), typically applied to identification tasks.

The core innovation is a novel greedy selection criterion used at each split. Instead of relying solely on traditional impurity reduction (like Information Gain), the algorithm maximizes a weighted sum of three distinct components:

  1. Balance: Encourages splits that divide the data into groups of roughly equal size.
  2. Efficiency: Measures the progress made toward correctly identifying all objects in the dataset.
  3. Discrimination: Incorporates traditional impurity reduction metrics (e.g., Entropy or Gini index).

By integrating these factors, the authors prove a logarithmic approximation guarantee: the complexity of the resulting tree is within a factor of $O(\log 1/p_{min} + \log n)$ of the mathematically optimal tree. This represents the best possible asymptotic guarantee unless $P=NP$.

Figure 2: A complex decision tree generated using standard heuristics, illustrating the potential for high depth and branching complexity.

Experimental Evaluation

The researchers evaluated their approach on 20 real-world datasets from the UCI Machine Learning Repository and OpenML. These ranged from small benchmarks like Iris and Heart Disease to large-scale datasets such as Covertype (581,012 objects). The experiments covered both "unit cost" scenarios (where all features have equal cost) and "non-uniform cost" scenarios, which simulate real-world constraints where certain data points (e.g., an MRI) are more expensive to obtain than others.

Key Results and Insights

  • Efficiency without Sacrifice: The "Enhanced" versions of C4.5 and CART (EC4.5 and ECART) achieved AUC ROC scores nearly identical to the original heuristics but with significantly lower "expected height."
  • Superiority over Post-Pruning: In many cases, the new algorithm produced trees that were twice as efficient (half the expected cost) as standard trees that had undergone traditional post-pruning. This suggests that considering complexity during the growth phase leads to better early-stage splits.
  • Massive Gains in Cost-Sensitive Scenarios: When features had varying costs, the enhanced algorithms reduced the expected classification cost by up to 90% compared to traditional methods.
  • Impurity as a Regularizer: While tree size is usually treated as a regularizer for accuracy, this paper flips the paradigm by using impurity reduction as a component to help a complexity-focused framework reach high accuracy.
Figure 3: A decision tree produced by the regularized algorithm, demonstrating a more efficient structure with reduced expected height.

Limitations and Future Work

Despite its advantages, the algorithm introduces some computational overhead. Calculating the new greedy score is more complex than simple entropy, making EC4.5 typically 3–4 times slower than standard C4.5. Additionally, the algorithm requires tuning a trade-off parameter ($\lambda$) via validation to balance accuracy and tree depth. Future research may explore different measures of tree complexity, such as total node count, and incorporate more diverse termination criteria to improve generalization on noisy data.

Summary updated

BibTeX
@article{zhang2023regularized,
  author = {Guangyi Zhang and Aristides Gionis},
  title = {{Regularized impurity reduction: accurate decision trees with complexity guarantees}},
  journal = {Data Min. Knowl. Discov.},
  year = {2023},
  doi = {10.1007/s10618-022-00884-7},
}
Figure