TL;DR
This paper introduces MH-DEOCT, a novel GPU-accelerated algorithm for training deep, optimal classification trees on large, continuous datasets. It achieves near-optimal accuracy comparable to state-of-the-art global methods but with significantly reduced training times, making optimal decision trees more practical for real-world applications.
What Problem Does This Paper Address?
Training optimal decision trees is an NP-complete problem. Existing heuristic methods like CART are fast but often produce suboptimal results due to their greedy nature. While recent advances have enabled finding truly optimal decision trees, these methods are computationally expensive and struggle with continuous features, large datasets, and deep tree structures. This creates a gap between the desire for interpretable, optimal models and the practical limitations of current algorithms.
Methods
The core of the proposed solution is MH-DEOCT (Moving-Horizon Differential Evolution for Optimal Classification Trees). It combines several key innovations:
- Differential Evolution (DE) with a twist: DE is a metaheuristic optimization algorithm. Instead of optimizing the entire tree at once (which becomes computationally prohibitive for deep trees), MH-DEOCT employs a moving-horizon strategy. This means it iteratively trains shallow subtrees at each node, balancing the "global vision" of DE with the practical ability to handle complex structures.
- Discrete Tree Decoding: To efficiently map DE's real-valued individuals to discrete tree structures (split features and thresholds), a novel decoding method is introduced. This method avoids redundant searches between adjacent samples, improving efficiency.
- GPU Acceleration: The computationally intensive fitness evaluation of the DE population is parallelized on GPUs. This significantly speeds up the training process.
- Warm-Starts: The algorithm can leverage existing solutions (like those from CART) to initialize the DE process, further accelerating convergence.
Datasets
The authors evaluated their method on 68 UCI classification datasets. These datasets include both continuous and categorical features, with sample sizes ranging up to ten million samples. No new datasets were introduced; the focus was on evaluating performance on existing, diverse benchmarks.
Key Insights and Ideas
- Moving-Horizon for Scalability: The moving-horizon strategy is crucial for making optimal decision tree training feasible for deep trees and large datasets. It breaks down a complex global optimization problem into a series of more manageable local optimizations.
- GPU Power for Fitness Evaluation: The fitness evaluation step in DE is a bottleneck. Leveraging GPUs for this parallelizable task provides a substantial speedup, making the overall algorithm practical.
- Near-Optimal is Often "Good Enough": While theoretical guarantees of global optimality are hard to achieve for complex problems, MH-DEOCT demonstrates that achieving "near-optimal" solutions with significantly improved efficiency is a valuable practical outcome.
- Continuous Features are Key: The algorithm's ability to handle continuous features directly, without binarization, is a significant advantage over some existing optimal tree methods that require data preprocessing, which can lead to information loss.
Key Results
- Accuracy: MH-DEOCT outperforms the heuristic CART method by an average of 3.44% on training accuracy and 1.71% on testing accuracy across 68 UCI datasets. It achieves near-optimal performance, trailing the global optimal method Quant-BnB by only 0.38% (training) and 0.06% (testing) on average.
- Speed: The GPU acceleration leads to significant speedups. For instance, on the Htsensor dataset (928,991 samples), the GPU version completed calculations in seconds, while the CPU version couldn't finish within two days for deeper trees. The average speedup over CPU was 205x.
- Scalability: The algorithm scales well to deep trees (e.g., depth=8) and large datasets (up to ten million samples), outperforming other methods that struggle with these complexities.
Limitations and Future Work
- No Theoretical Guarantee of Global Optimality: The authors acknowledge that their algorithm, being a metaheuristic, lacks a theoretical guarantee of reaching the absolute global optimum. However, they emphasize that their extensive experiments show near-optimal practical performance.
- Future Work: The paper doesn't explicitly detail future work, but the success of the GPU acceleration and moving-horizon strategy suggests potential for further optimization and application to other complex tree-based learning problems. The authors also mention that their implementation will be open-sourced, which could foster community-driven improvements.
Summary updated