[Paper Review] Optimal Generalized Decision Trees via Integer Programming
This paper proposes a mixed-integer programming (MIP) formulation to construct optimal decision trees for categorical data, enabling combinatorial branching rules on categorical features and handling numerical features via thresholding. The approach yields smaller, more accurate, and more interpretable trees than CART, achieving state-of-the-art performance on benchmark datasets including FICO's HELoc data and breast cancer classification.
Decision trees have been a very popular class of predictive models for decades due to their interpretability and good performance on categorical features. However, they are not always robust and tend to overfit the data. Additionally, if allowed to grow large, they lose interpretability. In this paper, we present a mixed integer programming formulation to construct optimal decision trees of a prespecified size. We take the special structure of categorical features into account and allow combinatorial decisions (based on subsets of values of features) at each node. Our approach can also handle numerical features via thresholding. We show that very good accuracy can be achieved with small trees using moderately-sized training sets. The optimization problems we solve are tractable with modern solvers.
Motivation & Objective
- To develop a method that constructs optimal decision trees for binary classification with categorical features, ensuring high accuracy and interpretability.
- To address the limitations of heuristic decision tree algorithms like CART, which often produce suboptimal trees due to greedy, sequential construction.
- To enable flexible branching rules on categorical features, such as subsets of values (e.g., 'married' or 'domestic partner' as a group), improving model expressiveness.
- To optimize for specific performance metrics like sensitivity and specificity, not just accuracy, enabling domain-specific model design.
- To demonstrate that optimal trees can be computed efficiently using modern MIP solvers, even on moderately sized datasets.
Proposed method
- Formulates the optimal decision tree problem as a mixed-integer linear program (MILP), with integer variables representing node decisions and branching rules.
- Incorporates combinatorial branching rules for categorical features by allowing subsets of values to define splits, improving model expressiveness over binary encoding.
- Handles numerical features by introducing threshold-based splits, consistent with CART-style decision rules.
- Uses a prespecified tree size (depth or number of nodes) to control complexity and prevent overfitting.
- Employs a branch-and-cut approach via modern MIP solvers to solve the formulation to optimality or near-optimality within practical time limits.
- Applies problem-specific valid inequalities and presolve techniques to reduce solution time, leveraging the structure of categorical features.
Experimental results
Research questions
- RQ1Can an exact integer programming approach outperform heuristic decision tree algorithms like CART in terms of classification accuracy and interpretability?
- RQ2To what extent can combinatorial branching rules on categorical features improve model performance compared to standard binary splits?
- RQ3Can optimal decision trees be constructed efficiently enough for practical use on real-world datasets with moderate size?
- RQ4How does the performance of optimal trees compare to heuristic trees when optimizing for sensitivity or specificity rather than accuracy?
- RQ5Does the proposed MIP formulation scale effectively with increasing training set size, and can solution time be reduced through problem-specific enhancements?
Key findings
- On the FICO HELoc dataset, the optimal decision tree (ODT) achieved 71.6% test accuracy with a depth-2 tree using 90% of the data, outperforming CART’s 71.0% accuracy.
- For the breast cancer dataset, a depth-2 ODT achieved 94.7% testing sensitivity (TPR) with a 95% training sensitivity constraint, while maintaining high specificity (93.0%)
- Depth-2 ODTs generalized better than depth-3 trees in sensitivity, achieving higher testing TPR (94.7%) compared to depth-3 trees (93.0%) under the same training constraint.
- The ODT model achieved 99.1% specificity and 79.6% sensitivity on the breast cancer dataset with a depth-2 tree and 100% training sensitivity constraint.
- The ODT formulation solved to optimality within 405 seconds on the HELoc dataset, demonstrating tractability for moderately sized datasets.
- The ODT approach consistently outperformed CART in both accuracy and interpretability, particularly when small, high-performing trees were required.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.